:root{
  --orange:#ff5a1f;
  --ink:#101827;
  --muted:#667085;
  --line:#e5e9ef;
  --navy:#071a33;
  --container:1320px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:'Manrope',Arial,sans-serif;color:var(--ink);background:#fff}
button,input,a{font:inherit}
button{cursor:pointer}
a{text-decoration:none;color:inherit}
img{display:block;width:100%}
svg{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.container{width:min(var(--container),calc(100% - 48px));margin:0 auto}

/* HEADER */
.site-header{height:88px;border-bottom:1px solid var(--line);background:#fff;position:relative;z-index:20}
.header-inner{height:100%;display:flex;align-items:center}
.brand{display:flex;align-items:center;font-size:29px;font-weight:800;letter-spacing:-1px}
.brand span:last-child{color:var(--orange)}
.brand-mark{width:42px;height:42px;margin-right:10px;background:var(--orange);color:#fff;clip-path:polygon(50% 0,93% 25%,93% 75%,50% 100%,7% 75%,7% 25%);display:grid;place-items:center;font-size:16px}
.desktop-nav{margin-left:auto;display:flex;align-items:center;gap:30px;font-size:15px;font-weight:600}
.rb-nav-mega{position:relative;height:100%;display:flex;align-items:center}
.rb-nav-mega>a{display:inline-flex;align-items:center;gap:5px}
.rb-nav-mega .svg-chevron{width:13px;height:13px;transition:transform .15s ease}
.rb-nav-mega:hover .svg-chevron{transform:rotate(180deg)}
.rb-mega-panel{position:absolute;left:50%;top:100%;transform:translate(-50%,-6px);margin-top:0;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 34px rgba(16,24,39,.14);display:none;grid-template-columns:repeat(2,210px);gap:30px;padding:22px 26px;z-index:25;opacity:0;transition:opacity .15s ease,transform .15s ease}
.rb-nav-mega:hover .rb-mega-panel{display:grid;opacity:1;transform:translate(-50%,4px)}
.rb-mega-panel>div{display:flex;flex-direction:column;gap:3px}
.rb-mega-panel span{font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#9aa4b2;margin-bottom:8px;white-space:nowrap}
.site-header .rb-mega-panel a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:9px;color:#172033 !important;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}
.rb-mega-panel a:hover{background:#fff3eb;color:var(--orange)}
.rb-mega-panel a i{color:var(--orange);font-size:16px;flex-shrink:0}
@media(max-width:1100px){.rb-mega-panel{display:none !important}.rb-nav-mega .svg-chevron{display:none}}
.header-actions{margin-left:28px;display:flex;align-items:center;gap:14px}
.icon-button{width:42px;height:42px;border:0;background:transparent;position:relative;font-size:20px}
.favourite span{position:absolute;top:1px;right:0;width:17px;height:17px;background:var(--orange);color:#fff;border-radius:50%;display:grid;place-items:center;font-size:10px}
.lang-button,.list-button{height:42px;border-radius:9px;background:#fff;font-weight:700}
.lang-button{border:1px solid var(--line);padding:0 13px;display:flex;align-items:center;gap:7px}
.lang-button .fa-chevron-down{font-size:9px}
.list-button{border:1px solid var(--orange);color:var(--orange);padding:0 16px}
.mobile-only{display:none}

/* HERO */
.hero{min-height:min(calc(100svh - 88px),720px);color:#fff;background:
linear-gradient(90deg,rgba(6,19,38,.95) 0%,rgba(6,19,38,.85) 35%,rgba(6,19,38,.36) 67%,rgba(6,19,38,.07) 100%),
url('images/hero-desktop.jpg') center/cover no-repeat}
.hero-container{padding-top:58px;padding-bottom:54px}
.hero-copy{max-width:600px}
.ai-label{display:inline-flex;align-items:center;gap:8px;width:max-content;border:1px solid var(--orange);color:#ff7040;padding:7px 12px;border-radius:999px;font-size:12px;font-weight:700}
.ai-label span{width:7px;height:7px;background:var(--orange);border-radius:50%}
.hero h1{font-size:64px;line-height:1.03;letter-spacing:-2.4px;margin:23px 0 17px}
.hero h1 em{font-style:normal;color:var(--orange)}
.hero-copy>p{font-size:20px;line-height:1.45;color:#e3e8ef;margin:0}
.hero-benefits{display:flex;gap:28px;margin-top:28px}
.hero-benefits>div{display:flex;gap:9px;align-items:flex-start;font-size:14px}
.hero-benefits i{font-size:20px;margin-top:1px}
.hero-benefits b{display:block}
.hero-benefits small{display:block;font-size:12px;color:#bdc7d5;margin-top:3px}

.search-shell{margin-top:42px;width:min(1220px,100%)}
.search-tabs{height:60px;background:var(--navy);border-radius:16px 16px 0 0;display:flex;align-items:stretch;padding:0 10px}
.search-tab{min-width:125px;border:0;background:transparent;color:#fff;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center;gap:8px}
.search-tab.active{background:#fff;color:var(--ink);border-radius:12px 12px 0 0}
.search-tab.active i{color:var(--orange)}
.mobile-new{display:none}
.search-tab-actions{margin-left:auto;display:flex;align-items:center;gap:10px}
.ai-search,.save-search{height:40px;border-radius:8px;font-weight:700}
.ai-search{border:0;background:#fff;color:#323aa5;padding:0 15px}
.save-search{border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;padding:0 14px}
.search-panel{min-height:96px;background:#fff;color:var(--ink);border-radius:0 0 16px 16px;display:grid;grid-template-columns:minmax(300px,1fr) minmax(0,1.65fr);gap:12px;align-items:center;padding:18px 20px;box-shadow:0 12px 30px rgba(16,24,39,.16)}
.main-search{height:56px;border:1px solid #dfe4eb;border-radius:11px;display:flex;align-items:center;gap:10px;padding:0 14px;color:#667085;font-size:14px;min-width:0}
.main-search span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.main-search>i:first-child{color:var(--ink)}
.ai-mini{margin-left:auto}
.desktop-filters{display:grid;grid-template-columns:1.05fr .95fr 1.2fr 1fr 1fr;gap:9px;min-width:0}
.desktop-filters button{height:56px;border:1px solid #dfe4eb;border-radius:10px;background:#fff;display:flex;align-items:center;gap:8px;padding:0 12px;min-width:0;color:var(--ink);font-size:13px;font-weight:600}
.desktop-filters button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.desktop-filters button .fa-chevron-down{font-size:9px;margin-left:auto}
.desktop-filters .search-submit{justify-content:center;background:var(--orange);border-color:var(--orange);color:#fff;font-size:14px}
.mobile-search-actions{display:none}

/* SECTIONS */
.section{padding:42px 0}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.section-heading h2{font-size:31px;line-height:1.1;letter-spacing:-.8px;margin:0 0 5px}
.section-heading p{font-size:15px;color:var(--muted);margin:0}
.section-heading>a,.ai-strip>a{color:var(--orange);font-size:14px;font-weight:700;display:inline-flex;align-items:center;gap:7px}
.section-heading svg,.ai-strip svg{width:17px;height:17px}

/* CATEGORY CARDS */
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.category-card{position:relative;height:300px;border-radius:22px;overflow:hidden;border:1px solid var(--line);background:#f7f8fb}
.category-card>img{position:absolute;inset:0;height:100%;object-fit:cover}
.category-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.76) 46%,rgba(255,255,255,.08) 84%)}
.category-content{position:absolute;z-index:2;left:18px;top:18px;max-width:60%}
.category-icon{width:56px;height:56px;border-radius:17px;background:rgba(255,255,255,.94);display:grid;place-items:center;font-size:22px;margin-bottom:18px}
.category-icon.orange{color:#ff5317}.category-icon.green{color:#139c4b}.category-icon.purple{color:#7b2cf6}.category-icon.amber{color:#f59e0b}
.category-content h3{font-size:20px;line-height:1.18;margin:0;letter-spacing:-.3px}
.round-arrow{position:absolute;z-index:3;left:18px;bottom:18px;width:52px;height:52px;border:0;border-radius:50%;background:#fff;color:var(--ink);display:grid;place-items:center;box-shadow:0 5px 15px rgba(16,24,39,.12)}
.round-arrow svg{width:19px;height:19px}

/* Full-card link overlay: the whole box is clickable, not just its arrow/
   "View" link. Card containers must be position:relative (added below for
   the ones that weren't already); any element that needs to stay separately
   clickable on top of it (e.g. a favorite-heart button) needs z-index:2+ —
   this overlay always sits at z-index:1. */
.card-link-overlay{position:absolute;inset:0;z-index:1}
.jl-card,.agency-card,.development-featured,.development-card,.insight-main,.insight-side-card,.property-card{position:relative}
.jl-heart,.heart{z-index:2}

.ai-strip{margin-top:18px;min-height:54px;border:1px solid var(--line);border-radius:14px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.ai-strip>div{display:flex;align-items:center;gap:10px;font-size:14px}
.ai-strip>div i{color:var(--orange)}

/* PROPERTY CARDS */
.property-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.property-card{border:1px solid #e2e7ee;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(16,24,39,.055);display:flex;flex-direction:column;min-width:0}
.property-media{height:210px;position:relative}
.property-media img{height:100%;object-fit:cover}
.featured-badge{position:absolute;left:12px;top:12px;background:var(--orange);color:#fff;border-radius:8px;padding:7px 9px;font-size:12px;font-weight:800}
.heart{position:absolute;right:12px;top:12px;width:38px;height:38px;border:0;border-radius:50%;background:rgba(16,24,39,.18);backdrop-filter:blur(5px);color:#fff;font-size:20px}
.deal-chip{position:absolute;left:12px;bottom:10px;background:rgba(255,255,255,.94);border-radius:9px;padding:6px 9px;font-size:12px}
.property-body{padding:17px;display:flex;flex-direction:column;flex:1}
.property-body h3{font-size:19px;line-height:1.25;letter-spacing:-.25px;margin:0 0 10px;min-height:48px}
.location{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted);margin-bottom:14px}
.location i{color:var(--orange);width:16px;text-align:center}
.facts{display:flex;align-items:center;gap:18px;font-size:14px;color:#475467;margin-bottom:18px}
.facts span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.facts i{color:#384150;width:16px;text-align:center}
.price-row{margin-top:auto;display:flex;align-items:center;min-height:44px}
.price-row strong{font-size:22px;letter-spacing:-.3px}
.property-arrow{margin-left:auto;width:42px;height:42px;border:1px solid #ffb59b;border-radius:11px;background:#fff;color:var(--orange);display:grid;place-items:center}
.property-arrow svg{width:18px;height:18px}

/* MOBILE */
@media(max-width:680px){
  .container{width:calc(100% - 32px)}
  .site-header{height:68px}
  .brand{font-size:22px}
  .brand-mark{width:34px;height:34px;margin-right:8px;font-size:13px}
  .desktop-nav,.lang-button,.list-button{display:none}
  .header-actions{margin-left:auto;gap:2px}
  .icon-button{width:36px;height:36px;font-size:19px}
  .mobile-only{display:block}

  .hero{
    min-height:560px;
    background:
      linear-gradient(90deg,rgba(20,20,20,.58),rgba(20,20,20,.12)),
      url('images/hero-mobile.jpg') center/cover no-repeat;
  }
  .hero-container{padding-top:34px;padding-bottom:28px}
  .ai-label,.hero-benefits{display:none}
  .hero h1{font-size:40px;line-height:1.04;letter-spacing:-1.2px;margin:0;max-width:315px}
  .hero-copy>p{font-size:16px;line-height:1.45;margin-top:20px;max-width:300px}
  .search-shell{margin-top:28px;width:100%}
  .search-tabs{height:52px;border-radius:14px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;background:rgba(22,22,22,.72)}
  .search-tab{min-width:0;font-size:14px;padding:0 5px}
  .search-tab.active{border-radius:14px}
  .desktop-extra,.search-tab-actions{display:none}
  .mobile-new{display:flex}

  .search-panel{min-height:0;height:56px;margin-top:8px;border-radius:15px;padding:0 7px 0 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;background:#fff}
  .main-search{height:100%;border:0;padding:0;gap:9px;font-size:13px}
  .main-search .ai-mini{display:none}
  .desktop-filters{display:none}
  .mobile-search-actions{display:flex;align-items:center;gap:6px}
  .mobile-filter,.mobile-submit{border:0;border-radius:50%;display:grid;place-items:center}
  .mobile-filter{width:36px;height:36px;background:#fff;border:1px solid var(--line);font-size:14px}
  .mobile-submit{width:46px;height:46px;background:var(--orange);color:#fff;font-size:17px}

  .section{padding:34px 0}
  .section-heading{align-items:center;margin-bottom:18px}
  .section-heading h2{font-size:27px;margin:0}
  .section-heading p{display:none}
  .section-heading>a{font-size:12px}

  .category-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .category-card{height:225px;border-radius:17px}
  .category-content{left:13px;top:13px;max-width:70%}
  .category-icon{width:44px;height:44px;border-radius:13px;font-size:18px;margin-bottom:12px}
  .category-content h3{font-size:17px}
  .round-arrow{left:13px;bottom:13px;width:40px;height:40px}
  .round-arrow svg{width:15px;height:15px}
  .ai-strip{display:none}

  .property-grid{display:flex;overflow-x:auto;gap:12px;margin-right:-16px;padding-right:16px;scroll-snap-type:x mandatory;scrollbar-width:none}
  .property-grid::-webkit-scrollbar{display:none}
  .property-card{flex:0 0 84%;scroll-snap-align:start;border-radius:16px}
  .property-media{height:230px}
  .property-body{padding:14px}
  .property-body h3{font-size:18px;min-height:0}
  .location{font-size:12px;margin-bottom:10px}
  .facts{font-size:12px;gap:14px;margin-bottom:12px}
  .price-row strong{font-size:21px}
  .featured-badge{font-size:10px;padding:6px 8px}
  .deal-chip{font-size:11px}
}


/* ===== 2026-08 HERO/HEADER REFINEMENT ===== */
.svg-icon{
  width:20px;height:20px;display:inline-block;flex:0 0 20px;
  fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
.site-header{
  position:absolute;top:0;left:0;right:0;
  height:82px;
  z-index:30;
  border-bottom:1px solid rgba(255,255,255,.18);
  background:linear-gradient(180deg,rgba(4,17,34,.44),rgba(4,17,34,.06));
  color:#fff;
}
.site-header .brand{color:#fff}
.site-header .brand span:last-child{color:var(--orange)}
.site-header .desktop-nav a{color:#fff}
.site-header .icon-button{color:#fff}
.site-header .lang-button{
  color:#fff;border-color:rgba(255,255,255,.28);background:rgba(6,20,39,.18);
  backdrop-filter:blur(8px)
}
.site-header .list-button{
  background:rgba(255,255,255,.96);border-color:#fff;color:var(--orange)
}
.site-header .svg-icon{width:21px;height:21px;flex-basis:21px}

.hero{
  min-height:min(100svh,460px);
  padding-top:82px;
}
.hero-container{
  padding-top:46px;
  padding-bottom:44px;
}
.search-shell{margin-top:28px}
.search-tabs{height:54px}
.search-panel{
  min-height:82px;
  padding:13px 15px;
  grid-template-columns:minmax(350px,1.12fr) minmax(0,1.88fr);
}
.main-search{height:52px}
.desktop-filters{
  grid-template-columns:minmax(142px,1.05fr) minmax(128px,.9fr) minmax(170px,1.2fr) minmax(135px,.95fr) minmax(120px,.9fr);
  gap:8px;
}
.desktop-filters button{
  height:52px;
  padding:0 12px;
  gap:10px;
  font-size:12.5px;
  overflow:visible;
}
.desktop-filters button span{
  overflow:visible;
  text-overflow:clip;
  white-space:nowrap;
}
.desktop-filters button .svg-icon{
  width:18px;height:18px;flex-basis:18px;
}
.desktop-filters button .fa-chevron-down{
  margin-left:auto;flex:0 0 auto;
}
.desktop-filters .search-submit{
  padding-left:15px;padding-right:15px;gap:8px
}
.desktop-filters .search-submit .svg-icon{width:17px;height:17px}

.search-tab .svg-icon{width:18px;height:18px;flex-basis:18px}
.main-search .svg-icon{width:19px;height:19px;flex-basis:19px}
.facts .svg-icon,.location .svg-icon{
  width:17px;height:17px;flex-basis:17px;
}
.location{gap:9px}
.facts span{gap:8px}

@media (max-width:1180px) and (min-width:681px){
  .desktop-nav{gap:18px;font-size:13px}
  .header-actions{margin-left:18px}
  .search-panel{grid-template-columns:1fr}
  .desktop-filters{grid-template-columns:repeat(5,minmax(0,1fr))}
  .desktop-filters button span{overflow:hidden;text-overflow:ellipsis}
}

@media(max-width:680px){
  .site-header{
    position:absolute;height:68px;
    background:linear-gradient(180deg,rgba(7,18,33,.42),rgba(7,18,33,.03));
    border-bottom-color:rgba(255,255,255,.16);
  }
  .hero{
    min-height:100svh;
    padding-top:68px;
  }
  .hero-container{
    min-height:calc(100svh - 68px);
    display:flex;
    flex-direction:column;
    padding-top:30px;
    padding-bottom:22px;
  }
  .hero-copy{flex:0 0 auto}
  .search-shell{
    margin-top:24px;
  }
  .search-tabs{height:48px}
  .search-tab{font-size:13px;gap:7px}
  .search-tab .svg-icon{width:17px;height:17px;flex-basis:17px}
  .search-panel{
    height:52px;min-height:52px;
    margin-top:7px;
    padding:0 6px 0 11px;
  }
  .main-search{
    font-size:12.5px;gap:9px;
  }
  .main-search .svg-icon{width:18px;height:18px;flex-basis:18px}
  .mobile-filter{width:34px;height:34px}
  .mobile-filter .svg-icon{width:16px;height:16px;flex-basis:16px}
  .mobile-submit{width:42px;height:42px}
  .mobile-submit .svg-icon{width:18px;height:18px;flex-basis:18px}
}


/* ===== SEARCH WIDTH + SVG VISIBILITY FIX ===== */
.svg-icon{
  display:inline-block;
  width:20px;height:20px;
  flex:0 0 20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.85;
  stroke-linecap:round;
  stroke-linejoin:round;
  vertical-align:middle;
}
.brand-svg{width:18px;height:18px}
.svg-chevron{width:14px;height:14px;flex-basis:14px}

@media(min-width:681px){
  .hero-container{
    width:min(1480px,calc(100% - 72px));
    max-width:none;
  }

  .search-shell{
    width:min(1380px,100%);
    max-width:none;
  }

  .search-panel{
    min-height:84px;
    padding:13px 14px;
    grid-template-columns:minmax(430px,1.25fr) minmax(0,2.05fr);
    gap:12px;
  }

  .main-search{
    height:54px;
    padding:0 15px;
    gap:11px;
    font-size:14px;
  }

  .desktop-filters{
    grid-template-columns:
      minmax(165px,1.05fr)
      minmax(145px,.9fr)
      minmax(205px,1.22fr)
      minmax(155px,.95fr)
      minmax(138px,.9fr);
    gap:9px;
  }

  .desktop-filters button{
    height:54px;
    min-width:0;
    padding:0 13px;
    gap:10px;
    font-size:13px;
    white-space:nowrap;
    overflow:visible;
  }

  .desktop-filters button span{
    overflow:visible;
    text-overflow:clip;
    white-space:nowrap;
  }

  .desktop-filters button .svg-icon:first-child{
    margin-right:1px;
  }

  .desktop-filters .search-submit{
    justify-content:center;
    padding-left:16px;
    padding-right:16px;
  }

  .search-tabs{width:100%}

  .search-tab .svg-icon,
  .ai-search .svg-icon,
  .save-search .svg-icon{
    margin-right:1px;
  }

  .hero-benefits .svg-icon{
    width:21px;height:21px;flex-basis:21px;margin-top:1px;
  }

  .category-icon .svg-icon{
    width:24px;height:24px;flex-basis:24px;
  }

  .location .svg-icon,
  .facts .svg-icon{
    width:17px;height:17px;flex-basis:17px;
  }
}

@media(min-width:681px) and (max-width:1360px){
  .hero-container{width:calc(100% - 40px)}
  .search-shell{width:100%}
  .search-panel{
    grid-template-columns:minmax(340px,1fr) minmax(0,2fr);
  }
  .desktop-filters{
    grid-template-columns:
      minmax(145px,1fr)
      minmax(130px,.9fr)
      minmax(180px,1.18fr)
      minmax(145px,.95fr)
      minmax(125px,.85fr);
  }
  .desktop-filters button{
    font-size:12.5px;
    padding:0 11px;
    gap:9px;
  }
}

@media(max-width:680px){
  .site-header .svg-icon{width:20px;height:20px;flex-basis:20px}
  .search-tab .svg-icon{width:17px;height:17px;flex-basis:17px}
  .main-search .svg-icon{width:18px;height:18px;flex-basis:18px}
  .mobile-filter .svg-icon{width:16px;height:16px;flex-basis:16px}
  .mobile-submit .svg-icon{width:18px;height:18px;flex-basis:18px}
  .category-icon .svg-icon{width:20px;height:20px;flex-basis:20px}
  .location .svg-icon,.facts .svg-icon{width:15px;height:15px;flex-basis:15px}
}


/* ===== SEARCH HEIGHT CORRECTION =====
   Width remains unchanged. Increase vertical proportions only. */
@media (min-width:681px){
  .search-tabs{
    height:62px;
  }

  .search-tab{
    padding-left:28px;
    padding-right:28px;
  }

  .search-panel{
    min-height:112px;
    padding:20px 18px;
    align-items:center;
  }

  .main-search{
    height:68px;
    padding:0 18px;
    border-radius:11px;
    font-size:14px;
  }

  .desktop-filters button{
    height:68px;
    border-radius:11px;
    padding-left:15px;
    padding-right:15px;
  }

  .desktop-filters .search-submit{
    height:68px;
  }

  .search-tab .svg-icon{
    width:19px;
    height:19px;
    flex-basis:19px;
  }

  .main-search .svg-icon{
    width:20px;
    height:20px;
    flex-basis:20px;
  }

  .desktop-filters button .svg-icon{
    width:19px;
    height:19px;
    flex-basis:19px;
  }
}

@media (max-width:680px){
  /* mobile also gets a little more breathing room, without becoming oversized */
  .search-tabs{
    height:54px;
  }

  .search-panel{
    height:64px;
    min-height:64px;
    padding:0 7px 0 14px;
  }

  .main-search{
    height:64px;
  }

  .mobile-filter{
    width:40px;
    height:40px;
  }

  .mobile-submit{
    width:50px;
    height:50px;
  }
}


/* ===== SEARCH CONTAINER / HEIGHT FINAL FIX =====
   - Width back inside fixed container
   - White block taller
   - Button/input dimensions kept as before
*/
@media (min-width:681px){
  .hero-container{
    width:min(var(--container),calc(100% - 48px)) !important;
    max-width:var(--container) !important;
  }

  .search-shell{
    width:100% !important;
    max-width:100% !important;
  }

  .search-panel{
    min-height:138px !important;
    padding:28px 20px !important;
    align-items:center !important;
  }

  /* Keep controls at the previous sizes */
  .main-search{
    height:68px !important;
  }

  .desktop-filters button,
  .desktop-filters .search-submit{
    height:68px !important;
  }

  .search-tabs{
    height:62px !important;
  }
}

/* Large desktop: never let search escape container */
@media (min-width:1361px){
  .search-shell{
    width:100% !important;
  }
}


/* ===== FINAL TAB HEIGHT + SEARCH OVERFLOW FIX ===== */
@media (min-width:681px){
  .search-tabs{
    height:52px !important;
    min-height:52px !important;
  }

  .search-tab{
    padding-top:0 !important;
    padding-bottom:0 !important;
  }

  .search-panel{
    min-height:138px !important;
    padding:28px 20px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }

  .desktop-filters{
    grid-template-columns:
      minmax(128px,1fr)
      minmax(118px,.92fr)
      minmax(164px,1.18fr)
      minmax(136px,1fr)
      minmax(124px,.92fr) !important;
    gap:8px !important;
    min-width:0 !important;
    width:100% !important;
  }

  .desktop-filters button,
  .desktop-filters .search-submit{
    min-width:0 !important;
    width:100% !important;
    box-sizing:border-box !important;
  }

  .desktop-filters .search-submit{
    padding-left:14px !important;
    padding-right:14px !important;
  }
}


/* =========================================================
   JUST LISTED
   ========================================================= */
.just-listed-section{
  padding-top:54px;
  padding-bottom:64px;
  overflow:hidden;
}
.just-listed-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:28px;
}
.section-kicker{
  display:block;
  margin-bottom:10px;
  color:var(--orange);
  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;
}
.just-listed-head h2{
  margin:0 0 7px;
  font-size:36px;
  line-height:1.08;
  letter-spacing:-1px;
}
.just-listed-head p{
  margin:0;
  color:var(--muted);
  font-size:15px;
}
.just-listed-viewall{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--orange);
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
}
.just-listed-viewall svg{
  width:18px;
  height:18px;
}

.just-listed-filters{
  display:flex;
  gap:8px;
  margin-bottom:28px;
}
.jl-filter{
  height:48px;
  padding:0 20px;
  border-radius:999px;
  border:1px solid #dfe4eb;
  background:#fff;
  color:#384150;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font-size:14px;
  font-weight:700;
}
.jl-filter svg{
  width:18px;height:18px;
  fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;
}
.jl-filter.active{
  border-color:#ffb399;
  color:var(--orange);
  background:#fff7f4;
}

.just-listed-slider-wrap{
  position:relative;
}
.just-listed-slider{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.jl-card{
  min-width:0;
  border:1px solid #e2e7ee;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  display:flex;
  flex-direction:column;
  box-shadow:0 6px 22px rgba(16,24,39,.045);
}
.jl-media{
  height:250px;
  position:relative;
}
.jl-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.jl-new{
  position:absolute;
  left:14px;
  top:14px;
  padding:7px 10px;
  background:#fff;
  color:var(--orange);
  border-radius:9px;
  font-size:12px;
  font-weight:800;
  box-shadow:0 4px 12px rgba(16,24,39,.08);
}
.jl-heart{
  position:absolute;
  right:14px;
  top:14px;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.96);
  color:#101827;
  display:grid;
  place-items:center;
  box-shadow:0 4px 12px rgba(16,24,39,.08);
}
.jl-heart svg{
  width:20px;height:20px;
}
.jl-body{
  padding:16px 17px 17px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.jl-type{
  margin-bottom:10px;
  font-size:12px;
  font-weight:800;
}
.jl-type.sale{color:var(--orange)}
.jl-type.rent{color:#2c91df}
.jl-body h3{
  margin:0 0 12px;
  min-height:50px;
  font-size:19px;
  line-height:1.3;
  letter-spacing:-.25px;
}
.jl-location{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:13px;
  margin-bottom:14px;
}
.jl-location svg{
  width:17px;height:17px;
  color:#566176;
}
.jl-facts{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  margin-bottom:18px;
  color:#475467;
  font-size:13px;
}
.jl-facts span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
}
.jl-facts svg{
  width:17px;height:17px;
}
.jl-price-row{
  margin-top:auto;
  min-height:42px;
  display:flex;
  align-items:center;
  gap:12px;
}
.jl-price-row strong{
  font-size:22px;
  letter-spacing:-.35px;
}
.jl-open{
  margin-left:auto;
  width:40px;
  height:40px;
  border:1px solid #ffb59b;
  border-radius:10px;
  background:#fff;
  color:var(--orange);
  display:grid;
  place-items:center;
}
.jl-open svg{
  width:17px;height:17px;
}

.jl-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:52px;
  height:52px;
  border:1px solid #e3e7ed;
  border-radius:50%;
  background:#fff;
  color:#101827;
  display:grid;
  place-items:center;
  box-shadow:0 8px 22px rgba(16,24,39,.08);
  z-index:3;
}
.jl-prev{left:-26px}
.jl-next{right:-26px}
.jl-nav svg{
  width:20px;height:20px;
}
.jl-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:28px;
}
.jl-dots span{
  width:8px;height:8px;border-radius:50%;
  background:#d5d9df;
}
.jl-dots span.active{background:var(--orange)}

/* mobile */
@media(max-width:680px){
  .just-listed-section{
    padding-top:36px;
    padding-bottom:44px;
  }
  .just-listed-head{
    align-items:flex-start;
    margin-bottom:20px;
  }
  .section-kicker{display:none}
  .just-listed-head h2{
    font-size:30px;
    margin-bottom:6px;
  }
  .just-listed-head p{
    font-size:14px;
  }
  .just-listed-viewall{
    font-size:13px;
    margin-top:5px;
  }

  .just-listed-filters{
    gap:8px;
    margin-bottom:20px;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .just-listed-filters::-webkit-scrollbar{display:none}
  .jl-filter{
    height:42px;
    padding:0 18px;
    font-size:13px;
    flex:0 0 auto;
  }

  .just-listed-slider{
    display:flex;
    overflow-x:auto;
    gap:12px;
    margin-right:-16px;
    padding-right:16px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  .just-listed-slider::-webkit-scrollbar{display:none}
  .jl-card{
    flex:0 0 88%;
    scroll-snap-align:start;
    border-radius:16px;
  }
  .jl-media{
    height:270px;
  }
  .jl-body{
    padding:15px;
  }
  .jl-type{
    font-size:12px;
  }
  .jl-body h3{
    min-height:0;
    font-size:19px;
  }
  .jl-location{
    font-size:13px;
  }
  .jl-facts{
    font-size:13px;
  }
  .jl-price-row strong{
    font-size:22px;
  }
  .jl-nav{display:none}
  .jl-dots{
    margin-top:24px;
    gap:11px;
  }
  .jl-dots span{
    width:8px;height:8px;
  }
}




/* =========================================================
   NEW AGENTS
   ========================================================= */
.new-agents-section{
  padding-top:56px;
  padding-bottom:72px;
  overflow:hidden;
}
.new-agents-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:30px;
}
.new-agents-head h2{
  margin:0 0 8px;
  font-size:38px;
  line-height:1.08;
  letter-spacing:-1px;
}
.new-agents-head p{
  margin:0;
  color:var(--muted);
  font-size:16px;
}
.new-agents-viewall{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--orange);
  font-weight:700;
  font-size:14px;
  white-space:nowrap;
}
.new-agents-viewall svg{
  width:18px;height:18px;
}

.new-agents-slider-wrap{position:relative}
.new-agents-slider{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.agent-card{
  height:520px;
  position:relative;
  border-radius:20px;
  overflow:hidden;
  background:#111820;
  color:#fff;
  box-shadow:0 8px 28px rgba(16,24,39,.08);
}
.agent-card>img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 20%;
}
.agent-card-alt-1>img{object-position:62% 20%}
.agent-card-alt-2>img{object-position:42% 20%;filter:saturate(.9) contrast(1.03)}
.agent-card-alt-3>img{object-position:70% 20%;filter:saturate(.8) brightness(.95)}
.agent-card-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(8,15,24,.02) 20%,rgba(8,15,24,.14) 47%,rgba(8,15,24,.94) 88%,rgba(8,15,24,.98) 100%);
}
.agent-new{
  position:absolute;
  top:16px;
  left:16px;
  z-index:2;
  padding:7px 11px;
  border-radius:8px;
  background:var(--orange);
  color:#fff;
  font-size:12px;
  font-weight:800;
}
.agent-card-content{
  position:absolute;
  left:20px;
  right:20px;
  bottom:18px;
  z-index:2;
}
.agent-card-content h3{
  margin:0 0 14px;
  font-size:27px;
  line-height:1.1;
  letter-spacing:-.6px;
  color:#fff;
}
.agent-company{
  display:flex;
  align-items:center;
  gap:12px;
}
.agent-company-logo{
  width:52px;
  height:52px;
  flex:0 0 52px;
  border-radius:10px;
  background:#111a28;
  border:1px solid rgba(255,255,255,.26);
  display:grid;
  place-items:center;
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
}
.agent-company-logo.light{
  background:#fff;
  color:#9c711f;
}
.agent-company-logo.green-logo{
  background:#17392d;
  color:#fff;
}
.agent-company strong{
  display:block;
  font-size:15px;
  margin-bottom:5px;
}
.agent-company span{
  display:flex;
  align-items:center;
  gap:6px;
  color:#edf0f4;
  font-size:13px;
}
.agent-company span svg{
  width:15px;height:15px;
}
.agent-card-footer{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.24);
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}
.agent-card-footer>div strong{
  display:block;
  color:var(--orange);
  font-size:25px;
  line-height:1;
}
.agent-card-footer>div span{
  display:block;
  margin-top:4px;
  color:#e3e7ed;
  font-size:13px;
}
.agent-card-footer>a{
  color:#fff;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  font-weight:700;
}
.agent-card-footer>a svg{
  width:18px;height:18px;
  color:var(--orange);
}

.agent-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:4;
  width:52px;
  height:52px;
  border-radius:50%;
  border:1px solid #e3e7ed;
  background:#fff;
  color:#101827;
  display:grid;
  place-items:center;
  box-shadow:0 8px 22px rgba(16,24,39,.08);
}
.agent-nav svg{width:20px;height:20px}
.agent-prev{left:-26px}
.agent-next{right:-26px}
.agent-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:28px;
}
.agent-dots span{
  width:8px;height:8px;border-radius:50%;background:#d5d9df;
}
.agent-dots span.active{background:var(--orange)}

@media(max-width:680px){
  .new-agents-section{
    padding-top:38px;
    padding-bottom:48px;
  }
  .new-agents-head{
    align-items:flex-start;
    margin-bottom:22px;
  }
  .new-agents-head h2{
    font-size:30px;
    margin-bottom:7px;
  }
  .new-agents-head p{
    max-width:250px;
    font-size:14px;
    line-height:1.45;
  }
  .new-agents-viewall{
    margin-top:5px;
    font-size:13px;
  }

  .new-agents-slider{
    display:flex;
    overflow-x:auto;
    gap:12px;
    margin-right:-16px;
    padding-right:16px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  .new-agents-slider::-webkit-scrollbar{display:none}
  .agent-card{
    flex:0 0 88%;
    height:520px;
    scroll-snap-align:start;
    border-radius:18px;
  }
  .agent-card-content{
    left:18px;
    right:18px;
    bottom:18px;
  }
  .agent-card-content h3{
    font-size:28px;
  }
  .agent-company-logo{
    width:54px;height:54px;flex-basis:54px;
  }
  .agent-company strong{font-size:16px}
  .agent-company span{font-size:13px}
  .agent-card-footer>div strong{font-size:27px}
  .agent-card-footer>div span{font-size:14px}
  .agent-card-footer>a{font-size:14px}
  .agent-nav{display:none}
  .agent-dots{margin-top:24px}
}




/* =========================================================
   NEW REAL ESTATE AGENCIES
   ========================================================= */
.new-agencies-section{
  padding-top:58px;
  padding-bottom:76px;
  overflow:hidden;
}
.new-agencies-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:30px;
}
.new-agencies-head h2{
  margin:0 0 10px;
  font-size:40px;
  line-height:1.08;
  letter-spacing:-1.1px;
}
.new-agencies-head p{
  margin:0;
  color:var(--muted);
  font-size:16px;
}
.new-agencies-viewall{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--orange);
  font-weight:700;
  font-size:14px;
  white-space:nowrap;
}
.new-agencies-viewall svg{width:18px;height:18px}

.agencies-slider-wrap{position:relative}
.agencies-layout{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:18px;
}
.agency-featured-card{
  height:510px;
  position:relative;
  overflow:hidden;
  border-radius:20px;
  background:#0c1721;
  color:#fff;
}
.agency-featured-card>img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.agency-featured-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(8,16,25,.06) 20%,rgba(8,16,25,.18) 43%,rgba(8,16,25,.92) 76%,rgba(8,16,25,.98) 100%);
}
.agency-promoted{
  position:absolute;
  top:16px;
  left:16px;
  z-index:2;
  padding:8px 12px;
  border-radius:8px;
  background:var(--orange);
  color:#fff;
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  font-weight:800;
}
.agency-promoted svg{width:17px;height:17px}
.agency-featured-content{
  position:absolute;
  z-index:2;
  left:22px;
  right:22px;
  bottom:20px;
}
.agency-logo{
  width:94px;
  height:94px;
  border-radius:14px;
  background:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#121827;
  box-shadow:0 6px 20px rgba(0,0,0,.12);
}
.agency-logo-premium{
  margin-bottom:14px;
}
.agency-logo span{
  font-size:18px;
  font-weight:800;
  letter-spacing:.05em;
}
.agency-logo small{
  margin-top:2px;
  font-size:9px;
  letter-spacing:.16em;
}
.agency-featured-info h3{
  margin:0 0 6px;
  font-size:28px;
  letter-spacing:-.6px;
}
.agency-type{
  color:#f1a156;
  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;
}
.agency-location{
  margin-top:8px;
  display:flex;
  align-items:center;
  gap:7px;
  font-size:13px;
}
.agency-location svg{width:16px;height:16px}
.agency-featured-divider{
  height:1px;
  background:rgba(255,255,255,.25);
  margin:16px 0;
}
.agency-featured-bottom{
  display:grid;
  grid-template-columns:1fr auto;
  gap:16px;
  align-items:end;
}
.agency-featured-bottom p{
  margin:0;
  color:#fff;
  font-size:14px;
  line-height:1.5;
}
.agency-stats{
  grid-column:2;
  grid-row:1;
  display:flex;
  gap:18px;
}
.agency-stats>div{
  display:grid;
  grid-template-columns:auto auto;
  column-gap:7px;
  align-items:center;
}
.agency-stats svg{
  grid-row:1 / span 2;
  width:22px;height:22px;
  color:var(--orange);
}
.agency-stats strong{
  font-size:24px;
  line-height:1;
}
.agency-stats span{
  font-size:11px;
  color:#eef1f5;
}
.agency-open-link{
  grid-column:2;
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  color:var(--orange);
  font-size:14px;
  font-weight:700;
}
.agency-open-link svg{width:18px;height:18px}

.agencies-small-slider{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.agency-card{
  border:1px solid #e3e7ed;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 7px 24px rgba(16,24,39,.055);
}
.agencies-small-slider .agency-card:nth-child(3){display:none}
.agency-card-media{
  height:200px;
  position:relative;
}
.agency-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.agency-new{
  position:absolute;
  top:14px;
  left:14px;
  padding:7px 10px;
  border-radius:8px;
  background:var(--orange);
  color:#fff;
  font-size:12px;
  font-weight:800;
}
.agency-card-body{
  position:relative;
  padding:50px 18px 18px;
}
.floating-logo{
  position:absolute;
  left:18px;
  top:-42px;
  width:82px;
  height:82px;
  border-radius:13px;
}
.floating-logo span{font-size:32px}
.floating-logo.gold span{color:#b9955f}
.floating-logo.navy{background:#0b3156;color:#fff}
.floating-logo.navy span{font-size:20px}
.agency-card-body h3{
  margin:0 0 6px;
  font-size:20px;
}
.agency-card-body .agency-location{
  color:#475467;
  margin-top:8px;
}
.agency-card-stats{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid #e4e7ec;
  display:grid;
  grid-template-columns:1fr 1fr;
}
.agency-card-stats>div{
  display:grid;
  grid-template-columns:auto auto;
  column-gap:7px;
  align-items:center;
}
.agency-card-stats>div+div{
  padding-left:16px;
  border-left:1px solid #e4e7ec;
}
.agency-card-stats svg{
  grid-row:1 / span 2;
  width:22px;height:22px;
  color:var(--orange);
}
.agency-card-stats strong{
  font-size:23px;
  line-height:1;
}
.agency-card-stats span{
  font-size:11px;
  color:#667085;
}
.agency-card-link{
  margin-top:16px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--orange);
  font-size:14px;
  font-weight:700;
}
.agency-card-link svg{width:18px;height:18px}

.agency-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:52px;
  height:52px;
  border-radius:50%;
  border:1px solid #e3e7ed;
  background:#fff;
  color:#101827;
  display:grid;
  place-items:center;
  box-shadow:0 8px 22px rgba(16,24,39,.08);
  z-index:4;
}
.agency-nav svg{width:20px;height:20px}
.agency-prev{left:-26px}
.agency-next{right:-26px}
.agency-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:28px;
}
.agency-dots span{
  width:8px;height:8px;border-radius:50%;background:#d5d9df;
}
.agency-dots span.active{background:var(--orange)}

/* mobile */
@media(max-width:680px){
  .new-agencies-section{
    padding-top:40px;
    padding-bottom:48px;
  }
  .new-agencies-head{
    align-items:flex-start;
    margin-bottom:22px;
  }
  .new-agencies-head h2{
    font-size:30px;
    margin-bottom:8px;
  }
  .new-agencies-head p{
    max-width:250px;
    font-size:14px;
    line-height:1.45;
  }
  .new-agencies-viewall{
    font-size:13px;
    margin-top:6px;
  }

  .agencies-layout{
    display:block;
  }
  .agency-featured-card{
    height:430px;
    border-radius:18px;
  }
  .agency-featured-content{
    left:18px;
    right:18px;
    bottom:17px;
  }
  .agency-logo{
    width:76px;
    height:76px;
  }
  .agency-logo span{font-size:15px}
  .agency-logo small{font-size:8px}
  .agency-featured-info h3{font-size:24px}
  .agency-featured-bottom{
    grid-template-columns:1fr auto;
    gap:12px;
  }
  .agency-featured-bottom p{
    grid-column:1 / -1;
    font-size:13px;
  }
  .agency-stats{
    grid-column:1;
    grid-row:auto;
  }
  .agency-open-link{
    grid-column:2;
    align-self:center;
  }

  .agencies-small-slider{
    margin-top:22px;
    display:flex;
    overflow-x:auto;
    gap:12px;
    margin-right:-16px;
    padding-right:16px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  .agencies-small-slider::-webkit-scrollbar{display:none}
  .agencies-small-slider .agency-card,
  .agencies-small-slider .agency-card:nth-child(3){
    display:block;
    flex:0 0 78%;
    scroll-snap-align:start;
    border-radius:16px;
  }
  .agency-card-media{height:185px}
  .agency-card-body{padding:46px 15px 15px}
  .floating-logo{
    left:15px;
    width:72px;
    height:72px;
  }
  .agency-card-body h3{font-size:19px}
  .agency-card-stats strong{font-size:20px}
  .agency-card-link{font-size:13px}
  .agency-nav{display:none}
  .agency-dots{margin-top:22px}
}



/* HOME SERVICES */
.home-services-section{padding:60px 0 76px;overflow:hidden}
.hs-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:30px}
.hs-head h2{margin:0 0 10px;font-size:42px;line-height:1.03;letter-spacing:-1.2px}
.hs-head p{margin:0;max-width:520px;color:var(--muted);font-size:16px;line-height:1.5}
.hs-viewall{display:inline-flex;align-items:center;gap:8px;color:var(--orange);font-size:14px;font-weight:700;white-space:nowrap}
.hs-viewall svg,.hs-card svg,.hs-promoted-body>a svg{width:18px;height:18px}
.hs-main{display:grid;grid-template-columns:1.15fr 1.75fr;gap:18px}
.hs-promoted,.hs-card{position:relative;height:470px;border-radius:20px;overflow:hidden;background:#18212b;color:#fff}
.hs-promoted>img,.hs-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hs-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,15,22,.02) 20%,rgba(8,15,22,.08) 45%,rgba(8,15,22,.91) 100%)}
.hs-badge{position:absolute;top:16px;left:16px;z-index:2;padding:8px 11px;border-radius:8px;background:var(--orange);font-size:11px;font-weight:800}
.hs-promoted-body{position:absolute;left:20px;right:20px;bottom:20px;z-index:2;display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:end}
.hs-logo{width:86px;height:86px;border-radius:13px;background:#fff;color:#111827;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:26px}
.hs-logo strong{font-size:11px;letter-spacing:.08em}.hs-logo small{font-size:8px;letter-spacing:.12em}
.hs-company h3{margin:0 0 5px;font-size:25px}.hs-company b{font-size:14px}.hs-company span{display:block;margin-top:8px;font-size:12px}
.hs-promoted-body>a{grid-column:2;margin-top:8px;width:max-content;height:44px;padding:0 18px;border-radius:8px;background:var(--orange);color:#fff;display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:700}
.hs-slider{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.hs-slider .hs-card:nth-child(4){display:none}
.hs-icon{position:absolute;left:18px;bottom:136px;z-index:2;width:54px;height:54px;border-radius:50%;background:#fff;color:var(--orange);display:grid;place-items:center;font-size:25px}
.hs-copy{position:absolute;left:18px;right:18px;bottom:18px;z-index:2}
.hs-copy h3{margin:0 0 7px;font-size:22px}.hs-copy p{margin:0 0 14px;font-size:13px;line-height:1.45}.hs-copy>div{display:flex;align-items:center;font-size:12px;gap:4px}.hs-copy strong{font-size:16px}.hs-copy svg{margin-left:auto;color:var(--orange)}
.hs-dots{display:flex;justify-content:center;gap:10px;margin-top:22px}.hs-dots i{width:8px;height:8px;border-radius:50%;background:#d7dbe0}.hs-dots i:first-child{background:var(--orange)}
.hs-mini-grid{margin-top:26px;border:1px solid #e4e8ee;border-radius:16px;display:grid;grid-template-columns:repeat(6,1fr);box-shadow:0 8px 26px rgba(16,24,39,.04)}
.hs-mini{min-height:100px;padding:14px 10px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;align-content:center;border-right:1px solid #e5e8ed}
.hs-mini:last-child{border-right:0}.hs-mini-icon{grid-row:1/3;width:46px;height:46px;display:grid;place-items:center;color:#24324b;font-size:30px}
.hs-mini strong{font-size:13px}.hs-mini span{font-size:11px;color:#667085}

@media(max-width:680px){
 .home-services-section{padding:42px 0 50px}.hs-head{align-items:flex-start;margin-bottom:22px}.hs-head h2{font-size:31px}.hs-head p{font-size:14px;max-width:260px}.hs-viewall{font-size:13px;margin-top:6px}
 .hs-main{display:block}.hs-promoted{height:390px;border-radius:18px}.hs-promoted-body{left:16px;right:16px;bottom:16px}.hs-logo{width:72px;height:72px}.hs-company h3{font-size:22px}.hs-company b{font-size:13px}.hs-company span{font-size:11px}.hs-promoted-body>a{height:42px;font-size:12px}
 .hs-slider{margin-top:14px;display:flex;gap:10px;overflow-x:auto;margin-right:-16px;padding-right:16px;scroll-snap-type:x mandatory;scrollbar-width:none}.hs-slider::-webkit-scrollbar{display:none}.hs-slider .hs-card:nth-child(4){display:block}
 .hs-card{flex:0 0 64%;height:330px;border-radius:16px;scroll-snap-align:start}.hs-icon{left:14px;bottom:150px;width:46px;height:46px}.hs-copy{left:14px;right:14px;bottom:14px}.hs-copy h3{font-size:20px}.hs-copy p{font-size:12px;margin-bottom:12px}
 .hs-mini-grid{grid-template-columns:repeat(3,1fr);margin-top:22px}.hs-mini{min-height:126px;grid-template-columns:1fr;grid-template-rows:auto auto auto;justify-items:center;text-align:center;gap:5px;border-bottom:1px solid #e5e8ed}.hs-mini:nth-child(3n){border-right:0}.hs-mini:nth-child(n+4){border-bottom:0}.hs-mini-icon{grid-row:auto;width:52px;height:52px;border-radius:50%;background:#edf4fb;font-size:28px}.hs-mini strong{font-size:12px}.hs-mini span{font-size:10px}
}

.places-section{padding:60px 0 76px}
.places-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px}
.places-head h2{margin:0 0 9px;font-size:42px;line-height:1.05;letter-spacing:-1.2px}
.places-head p{margin:0;max-width:520px;color:var(--muted);font-size:16px;line-height:1.5}
.places-viewall{display:inline-flex;align-items:center;gap:8px;color:var(--orange);font-size:14px;font-weight:700}.places-viewall svg{width:18px;height:18px}
.places-grid{display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:235px;gap:12px}
.place-card{position:relative;overflow:hidden;border-radius:18px;color:#fff;background:#13202f}
.place-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.place-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,16,25,.03) 26%,rgba(8,16,25,.78) 100%)}
.place-brussels{grid-column:span 4;grid-row:span 2}.place-antwerp{grid-column:span 2;grid-row:span 2}.place-small,.place-coast{grid-column:span 2}
.place-count{display:none;position:absolute;top:14px;left:14px;z-index:2;height:38px;padding:0 12px;border-radius:10px;background:#fff;color:#101827;align-items:center;font-size:12px;font-weight:700}
.place-copy{position:absolute;left:26px;bottom:82px;z-index:2}.place-small .place-copy,.place-coast .place-copy{left:20px;bottom:44px}.place-antwerp .place-copy{bottom:76px}
.place-copy h3{margin:0 0 5px;font-size:34px;line-height:1.05;text-transform:uppercase}.place-small .place-copy h3,.place-coast .place-copy h3{font-size:25px}.place-copy p{margin:0;font-size:15px}
.place-cta{position:absolute;left:26px;bottom:22px;z-index:2;height:44px;padding:0 18px;border-radius:10px;background:#fff;color:#101827;display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:700}.place-cta svg,.place-link svg,.place-mobile-arrow svg{width:18px;height:18px}.place-cta svg,.place-link svg{color:var(--orange)}
.place-link{position:absolute;left:20px;bottom:16px;z-index:2;display:inline-flex;align-items:center;gap:8px;font-size:13px}.place-antwerp .place-link{left:26px;bottom:22px}
.place-mobile-arrow{display:none;position:absolute;right:15px;bottom:15px;z-index:3;width:48px;height:48px;border-radius:50%;background:#fff;color:var(--orange);align-items:center;justify-content:center}
.places-bottom-cta{display:none;margin-top:18px;border:1px solid #e5e9ef;border-radius:17px;min-height:100px;padding:18px 22px;grid-template-columns:auto 1fr auto;gap:16px;align-items:center}
.places-bottom-icon{width:56px;height:56px;border-radius:50%;background:#fff1eb;display:grid;place-items:center;font-size:29px}.places-bottom-cta strong{display:block;font-size:15px;margin-bottom:5px}.places-bottom-cta span{color:#667085;font-size:13px}.places-bottom-cta a{display:flex;align-items:center;gap:8px;color:var(--orange);font-size:13px;font-weight:700}.places-bottom-cta svg{width:18px;height:18px}
@media(max-width:680px){
 .places-section{padding:42px 0 50px}.places-head{align-items:flex-start;margin-bottom:22px}.places-head h2{font-size:31px;max-width:265px}.places-head p{font-size:14px;max-width:270px}.places-viewall{font-size:13px;margin-top:74px}
 .places-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:auto;gap:10px}.place-card{border-radius:16px;height:220px}.place-brussels,.place-antwerp,.place-coast{grid-column:1/-1}.place-brussels{height:350px}.place-antwerp{height:290px}.place-small{height:220px}.place-coast{height:210px}
 .place-count{display:flex}.place-copy,.place-small .place-copy,.place-coast .place-copy,.place-antwerp .place-copy{left:16px;bottom:24px}.place-copy h3,.place-small .place-copy h3,.place-coast .place-copy h3{font-size:28px;text-transform:none}.place-small .place-copy h3{font-size:23px}.place-copy p{font-size:13px}
 .place-cta,.place-link{display:none}.place-mobile-arrow{display:flex}.places-bottom-cta{display:grid}
}




/* =========================================================
   EXPLORE PLACES — MOBILE REBUILD
   Matches supplied mobile composition:
   Brussels full width
   Antwerp full width
   Ghent + Bruges 2 columns
   Belgian Coast full width
   CTA at bottom
   ========================================================= */
@media(max-width:680px){

  .places-section{
    padding:46px 0 54px !important;
    overflow:hidden;
  }

  .places-section .container{
    width:calc(100% - 32px) !important;
  }

  .places-head{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:start !important;
    gap:14px !important;
    margin-bottom:24px !important;
  }

  .places-head>div{
    min-width:0;
  }

  .places-head .section-kicker{
    display:block !important;
    margin-bottom:10px !important;
    font-size:12px !important;
    line-height:1 !important;
    letter-spacing:.08em !important;
    font-weight:800 !important;
    color:var(--orange) !important;
  }

  .places-head h2{
    margin:0 0 12px !important;
    max-width:265px !important;
    font-size:32px !important;
    line-height:1.08 !important;
    letter-spacing:-.85px !important;
  }

  .places-head p{
    margin:0 !important;
    max-width:275px !important;
    font-size:14px !important;
    line-height:1.55 !important;
    color:var(--muted) !important;
  }

  .places-viewall{
    margin:95px 0 0 !important;
    align-self:start !important;
    display:inline-flex !important;
    align-items:center !important;
    gap:7px !important;
    white-space:nowrap !important;
    font-size:13px !important;
    font-weight:700 !important;
  }

  .places-viewall svg{
    width:18px !important;
    height:18px !important;
  }

  .places-grid{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
    grid-auto-flow:row !important;
  }

  .place-card{
    position:relative !important;
    overflow:hidden !important;
    border-radius:18px !important;
    min-width:0 !important;
    box-shadow:none !important;
  }

  .place-card img{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }

  .place-shade{
    background:
      linear-gradient(
        180deg,
        rgba(7,15,25,.02) 25%,
        rgba(7,15,25,.12) 54%,
        rgba(7,15,25,.78) 100%
      ) !important;
  }

  /* exact card geometry */
  .place-brussels{
    grid-column:1 / -1 !important;
    grid-row:auto !important;
    height:355px !important;
  }

  .place-antwerp{
    grid-column:1 / -1 !important;
    grid-row:auto !important;
    height:325px !important;
  }

  .place-small{
    grid-column:auto !important;
    grid-row:auto !important;
    height:225px !important;
  }

  .place-coast{
    grid-column:1 / -1 !important;
    grid-row:auto !important;
    height:220px !important;
  }

  /* listing counter badge */
  .place-count{
    display:inline-flex !important;
    align-items:center !important;
    gap:7px !important;
    top:14px !important;
    left:14px !important;
    height:40px !important;
    padding:0 12px !important;
    border-radius:11px !important;
    background:rgba(255,255,255,.97) !important;
    color:#101827 !important;
    font-size:12px !important;
    font-weight:700 !important;
    box-shadow:0 4px 14px rgba(16,24,39,.08) !important;
  }

  /* card copy */
  .place-copy,
  .place-antwerp .place-copy,
  .place-small .place-copy,
  .place-coast .place-copy{
    left:18px !important;
    right:72px !important;
    bottom:22px !important;
  }

  .place-copy h3,
  .place-small .place-copy h3,
  .place-coast .place-copy h3{
    margin:0 0 6px !important;
    font-size:29px !important;
    line-height:1.03 !important;
    letter-spacing:-.65px !important;
    text-transform:none !important;
    color:#fff !important;
  }

  .place-small .place-copy h3{
    font-size:23px !important;
  }

  .place-copy p{
    margin:0 !important;
    font-size:14px !important;
    line-height:1.35 !important;
    color:#fff !important;
  }

  .place-small .place-copy p{
    font-size:12px !important;
  }

  /* desktop links hidden, circular mobile CTA only */
  .place-cta,
  .place-link{
    display:none !important;
  }

  .place-mobile-arrow{
    display:flex !important;
    right:16px !important;
    bottom:16px !important;
    width:50px !important;
    height:50px !important;
    border-radius:50% !important;
    background:#fff !important;
    color:var(--orange) !important;
    align-items:center !important;
    justify-content:center !important;
    box-shadow:0 6px 18px rgba(16,24,39,.12) !important;
  }

  .place-mobile-arrow svg{
    width:20px !important;
    height:20px !important;
  }

  .place-small .place-mobile-arrow{
    width:46px !important;
    height:46px !important;
    right:12px !important;
    bottom:12px !important;
  }

  /* bottom CTA */
  .places-bottom-cta{
    display:grid !important;
    margin-top:16px !important;
    min-height:108px !important;
    padding:16px !important;
    grid-template-columns:54px minmax(0,1fr) auto !important;
    gap:12px !important;
    align-items:center !important;
    border-radius:17px !important;
    background:#fff !important;
  }

  .places-bottom-icon{
    width:54px !important;
    height:54px !important;
    border-radius:50% !important;
    background:#fff1eb !important;
    color:#253957 !important;
    display:grid !important;
    place-items:center !important;
    font-size:27px !important;
  }

  .places-bottom-cta strong{
    display:block !important;
    margin-bottom:4px !important;
    font-size:13px !important;
    line-height:1.3 !important;
  }

  .places-bottom-cta span{
    display:block !important;
    font-size:11px !important;
    line-height:1.45 !important;
    color:#667085 !important;
  }

  .places-bottom-cta a{
    display:inline-flex !important;
    align-items:center !important;
    gap:6px !important;
    white-space:nowrap !important;
    font-size:11px !important;
    font-weight:700 !important;
    color:var(--orange) !important;
  }

  .places-bottom-cta a svg{
    width:16px !important;
    height:16px !important;
  }
}

/* narrow phones */
@media(max-width:380px){
  .places-head h2{
    font-size:29px !important;
    max-width:230px !important;
  }

  .places-viewall{
    margin-top:90px !important;
    font-size:11px !important;
  }

  .place-brussels{height:330px !important}
  .place-antwerp{height:300px !important}
  .place-small{height:210px !important}
  .place-coast{height:205px !important}

  .place-copy h3,
  .place-coast .place-copy h3{
    font-size:26px !important;
  }

  .place-small .place-copy h3{
    font-size:21px !important;
  }
}

/* =========================================================
   NEW DEVELOPMENTS
   ========================================================= */
.developments-section{padding:60px 0 76px}
.developments-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px}
.developments-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--orange);font-size:12px;font-weight:800;letter-spacing:.03em;margin-bottom:10px}
.developments-kicker svg{width:20px;height:20px}
.developments-head h2{margin:0 0 10px;font-size:42px;line-height:1.05;letter-spacing:-1.2px}
.developments-head p{margin:0;color:var(--muted);font-size:16px;line-height:1.5}
.developments-viewall{height:48px;padding:0 18px;border:1px solid var(--orange);border-radius:10px;color:var(--orange);display:inline-flex;align-items:center;gap:9px;font-size:14px;font-weight:700;white-space:nowrap}
.developments-viewall svg{width:18px;height:18px}

.developments-layout{display:grid;grid-template-columns:1.45fr 1fr;gap:18px}
.development-featured,.development-card{border:1px solid #e2e7ee;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 7px 24px rgba(16,24,39,.045)}
.development-featured-media{position:relative;height:470px;overflow:hidden}
.development-featured-media>img,.development-card-media>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.development-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,16,25,.02) 30%,rgba(8,16,25,.08) 55%,rgba(8,16,25,.86) 100%)}
.development-status{position:absolute;top:16px;left:16px;z-index:2;background:var(--orange);color:#fff;border-radius:8px;padding:8px 11px;font-size:11px;font-weight:800}
.development-heart{position:absolute;right:16px;top:16px;z-index:2;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.96);color:#101827;display:grid;place-items:center;box-shadow:0 4px 12px rgba(16,24,39,.08)}
.development-heart svg{width:20px;height:20px}
.development-featured-copy{position:absolute;left:20px;right:20px;bottom:20px;z-index:2;color:#fff;display:grid;grid-template-columns:1fr auto;gap:18px;align-items:end}
.development-featured-copy h3{margin:0 0 7px;font-size:28px;letter-spacing:-.6px}
.development-location{display:flex;align-items:center;gap:7px;color:inherit;font-size:13px}
.development-location svg{width:16px;height:16px}
.development-featured-copy p{margin:13px 0 0;max-width:560px;font-size:13px;line-height:1.5;color:#f3f5f7}
.development-featured-price{text-align:right}.development-featured-price span,.development-card-price span{display:block;font-size:12px;color:#e9edf2}.development-featured-price strong{font-size:30px;white-space:nowrap}
.development-featured-meta{min-height:78px;padding:14px 18px;display:flex;align-items:center;gap:24px}
.development-featured-meta>span,.development-card-meta>span{display:inline-flex;align-items:center;gap:7px;font-size:13px;white-space:nowrap}
.development-featured-meta svg,.development-card-meta svg{width:20px;height:20px}
.development-featured-meta small,.development-card-meta small{color:#667085;margin-left:2px}
.epc-meta b{display:inline-grid;place-items:center;min-width:25px;height:25px;border-radius:5px;background:#d9f0df;color:#238342;padding:0 6px}
.development-project-link{margin-left:auto;height:42px;padding:0 15px;border:1px solid #ffb59b;border-radius:9px;color:var(--orange);display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700}
.development-project-link svg{width:17px;height:17px}

.development-side{display:grid;grid-template-rows:1fr 1fr;gap:18px}
.development-card-media{position:relative;height:190px;overflow:hidden}
.development-card-body{padding:14px 16px 15px}
.development-card-title{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.development-card-title h3{margin:0 0 6px;font-size:20px}
.development-card-title .development-location{color:#475467}
.development-card-price{text-align:right}.development-card-price span{color:#667085}.development-card-price strong{display:block;margin-top:2px;font-size:20px;white-space:nowrap}
.development-card-meta{margin-top:14px;padding-top:13px;border-top:1px solid #e5e9ef;display:grid;grid-template-columns:repeat(4,auto);gap:14px;align-items:center}
.developments-dots{margin-top:28px;display:flex;justify-content:center;align-items:center;gap:10px}
.developments-dots>span{width:8px;height:8px;border-radius:50%;background:#d5d9df}.developments-dots>span.active{background:var(--orange)}
.developments-dots>button{width:46px;height:46px;border:1px solid #e3e7ed;border-radius:50%;background:#fff;color:#101827;display:grid;place-items:center;margin:0 10px}
.developments-dots button svg{width:19px;height:19px}

@media(max-width:680px){
  .developments-section{padding:42px 0 50px}
  .developments-head{align-items:flex-start;margin-bottom:22px}
  .developments-kicker{font-size:11px}
  .developments-head h2{font-size:31px;margin-bottom:8px}
  .developments-head p{font-size:14px;max-width:270px}
  .developments-viewall{height:42px;padding:0 14px;font-size:12px}
  .developments-layout{display:block}
  .development-featured{border-radius:16px}
  .development-featured-media{height:390px}
  .development-featured-copy{left:16px;right:16px;bottom:16px;grid-template-columns:1fr auto;gap:12px}
  .development-featured-copy h3{font-size:24px}
  .development-featured-copy p{display:none}
  .development-featured-price strong{font-size:25px}
  .development-featured-meta{min-height:0;padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}
  .development-featured-meta>span{font-size:12px}
  .development-project-link{grid-column:1/-1;margin:2px 0 0;height:40px;justify-content:space-between}
  .development-side{margin-top:14px;display:grid;gap:14px}
  .development-card{display:grid;grid-template-columns:48% 52%;border-radius:16px;min-height:190px}
  .development-card-media{height:100%;min-height:190px}
  .development-card-body{padding:14px}
  .development-card-title{display:block}
  .development-card-title h3{font-size:19px}
  .development-card-price{text-align:left;margin-top:14px}
  .development-card-price span{font-size:11px}.development-card-price strong{font-size:20px}
  .development-card-meta{grid-template-columns:1fr 1fr;margin-top:12px;padding-top:11px;gap:10px 12px}
  .development-card-meta>span{font-size:11px}
  .development-heart{width:38px;height:38px;right:12px;top:12px}
  .development-status{top:12px;left:12px;font-size:10px;padding:7px 9px}
  .developments-dots{margin-top:22px}
}

/* --- visual section separation --- */
.rb-section-soft{background:#f5f7fa!important;border-top:1px solid #e9edf2;border-bottom:1px solid #e9edf2}
.rb-section-white{background:#fff!important}
.rb-dev-ad{background:#eef2f6;padding:30px 0;border-top:1px solid #e5eaf0;border-bottom:1px solid #e5eaf0}
.rb-dev-ad__inner{height:286px;border-radius:22px;overflow:hidden;position:relative;display:block;color:#fff;background:radial-gradient(circle at 80% 35%,rgba(255,90,31,.14),transparent 28%),linear-gradient(110deg,#061528,#0a1b31 58%,#13273f);box-shadow:0 16px 45px rgba(12,28,48,.14)}
.rb-dev-ad__copy{position:absolute;z-index:2;left:50px;top:38px;width:43%}
.rb-dev-ad__tag{display:flex;align-items:center;gap:9px;color:#ff5a1f;font-size:12px;font-weight:800;letter-spacing:.12em}
.rb-dev-ad__tag svg{width:25px;height:25px}
.rb-dev-ad__copy h3{margin:19px 0 12px;font-size:35px;line-height:1.05;letter-spacing:-1px;color:#fff}
.rb-dev-ad__copy h3 span{color:#ff5a1f}
.rb-dev-ad__copy p{display:flex;align-items:center;gap:9px;margin:0;color:#b8c3d1;font-size:13px}
.rb-dev-ad__copy p i{width:3px;height:3px;border-radius:50%;background:#ff5a1f}
.rb-dev-ad__copy>b{margin-top:24px;height:46px;width:max-content;padding:0 18px;display:flex;align-items:center;gap:11px;border-radius:9px;background:#ff531d;font-size:13px;box-shadow:0 8px 22px rgba(255,83,29,.25)}
.rb-dev-ad__copy>b svg{width:18px;height:18px}
.rb-dev-ad__ui{position:absolute;right:-22px;top:25px;width:59%;height:300px;display:grid;grid-template-columns:155px 1fr;background:#fff;color:#142033;border-radius:20px 0 0 0;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.25);transform:rotate(-.5deg)}
.rb-crm-side{background:#0b1d35;color:#dbe4ef;padding:22px 14px;display:flex;flex-direction:column;gap:8px;font-size:10px}
.rb-crm-side strong{color:#d9a12e;letter-spacing:.12em;margin-bottom:15px}.rb-crm-side span{padding:9px;border-radius:7px}.rb-crm-side .active{background:rgba(255,255,255,.09);color:#fff}
.rb-crm-main{background:#fbfcfd}.rb-crm-head{height:62px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9edf2;font-size:12px}
.rb-crm-head em{font-style:normal;color:#238342;background:#dcf5e3;border-radius:20px;padding:5px 9px;font-size:9px}
.rb-crm-tabs{height:42px;padding:0 22px;display:flex;align-items:center;border-bottom:1px solid #e9edf2;font-size:9px;color:#667085}.rb-crm-tabs strong{color:#101827;border-bottom:2px solid #ff5a1f;height:42px;display:inline-flex;align-items:center}
.rb-crm-grid{padding:17px;display:grid;grid-template-columns:120px 1fr;gap:14px}.rb-floors{background:#fff;border:1px solid #e5eaf0;border-radius:8px;overflow:hidden;font-size:9px}.rb-floors>strong,.rb-floors>span{display:block;padding:9px}.rb-floors span{border-top:1px solid #edf0f3}.rb-floors small{display:block;color:#8a96a6;margin-top:2px}.rb-floors .sel{background:#fff0e8;border-left:3px solid #ff5a1f}
.rb-units{padding-top:30px;display:grid;grid-template-columns:repeat(3,1fr)}.rb-units>span{height:90px;padding:12px 7px;text-align:center;background:#e5f6e9;border:1px solid #91d0a1;font-size:9px}.rb-units small,.rb-units strong{display:block;margin-top:6px}.rb-units .reserved{background:#fff0c7;border-color:#e9c04f}

@media(max-width:680px){
 .rb-dev-ad{padding:18px 0}
 .rb-dev-ad__inner{height:260px;border-radius:18px}
 .rb-dev-ad__copy{left:20px;top:24px;width:50%}
 .rb-dev-ad__tag{font-size:9px;gap:6px}.rb-dev-ad__tag svg{width:19px;height:19px}
 .rb-dev-ad__copy h3{font-size:24px;margin:16px 0 11px}
 .rb-dev-ad__copy p{font-size:9px;gap:5px;flex-wrap:wrap;max-width:150px}
 .rb-dev-ad__copy>b{height:40px;padding:0 12px;font-size:10px;margin-top:18px}
 .rb-dev-ad__ui{right:-205px;top:14px;width:132%;height:275px;grid-template-columns:115px 1fr}
 .rb-crm-side{padding:16px 9px;font-size:7px}.rb-crm-side span{padding:7px}
 .rb-crm-head{height:52px;padding:0 13px;font-size:9px}.rb-crm-tabs{height:34px;padding:0 13px;font-size:7px}.rb-crm-tabs strong{height:34px}
 .rb-crm-grid{padding:10px;grid-template-columns:95px 1fr;gap:8px}.rb-units{padding-top:24px}.rb-units>span{font-size:7px;height:78px}
}

/* DEVELOPER PROMO V2 */
.rb-dev-ad{padding:34px 0 38px;background:#f2f4f7;border-top:1px solid #e7ebf0;border-bottom:1px solid #e7ebf0}
.dev-banner{position:relative;display:block;height:300px;overflow:hidden;border-radius:24px;color:#fff;background:#07172c;box-shadow:0 14px 36px rgba(17,31,50,.10)}
.dev-banner__bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,17,34,.98) 0%,rgba(6,23,43,.95) 39%,rgba(7,23,40,.38) 72%,rgba(7,23,40,.06) 100%),url('images/new-developments.jpg') right center/cover no-repeat}
.dev-banner__copy{position:absolute;z-index:3;left:58px;top:42px;width:40%}.dev-banner__eyebrow{display:flex;align-items:center;gap:12px;color:#ff632f;font-size:12px;font-weight:800;letter-spacing:.14em}.dev-banner__hex{width:34px;height:34px;display:grid;place-items:center;border:1px solid #ff5a1f;clip-path:polygon(25% 6%,75% 6%,100% 50%,75% 94%,25% 94%,0 50%)}.dev-banner__hex svg{width:20px;height:20px}.dev-banner h3{margin:24px 0 17px;max-width:530px;color:#fff;font-size:38px;line-height:1.04;letter-spacing:-1.2px}.dev-banner h3 span{color:#ff5a1f}.dev-banner__meta{display:flex;align-items:center;gap:12px;color:#b9c4d2;font-size:14px}.dev-banner__meta i{width:4px;height:4px;border-radius:50%;background:#ff5a1f}.dev-banner__button{margin-top:30px;height:50px;padding:0 20px;border-radius:10px;display:inline-flex;align-items:center;gap:14px;background:#ff531d;box-shadow:0 9px 23px rgba(255,83,29,.24);color:#fff;font-size:14px;font-weight:750}.dev-banner__button svg{width:19px;height:19px}
.dev-dashboard{position:absolute;z-index:2;right:-35px;top:31px;width:59%;height:325px;display:grid;grid-template-columns:175px 1fr;overflow:hidden;border-radius:22px 0 0 0;border:1px solid rgba(255,255,255,.40);background:#fff;color:#152033;box-shadow:0 22px 52px rgba(0,0,0,.24);transform:perspective(1400px) rotateY(-5deg) rotateZ(.3deg);transform-origin:right center}.dev-dashboard__sidebar{background:#0c1d35;color:#dfe6ef;padding:25px 15px}.dev-dashboard__logo{display:flex;align-items:center;gap:11px;margin-bottom:28px}.dev-dashboard__logo strong{display:block;font-size:10px;letter-spacing:.18em;color:#fff}.dev-dashboard__logo small{display:block;margin-top:3px;font-size:7px;letter-spacing:.25em;color:#a7b2c2}.dev-dashboard__cube{width:30px;height:30px;border:2px solid #d4a126;transform:rotate(30deg);border-radius:4px}.dev-dashboard__nav{display:grid;gap:4px}.dev-dashboard__nav span{height:38px;padding:0 11px;border-radius:8px;display:flex;align-items:center;gap:9px;position:relative;font-size:10px}.dev-dashboard__nav span.active{background:rgba(255,255,255,.09);color:#fff}.dev-dashboard__nav em{margin-left:auto;width:19px;height:19px;border-radius:50%;display:grid;place-items:center;background:#ff5a1f;color:#fff;font-style:normal;font-size:8px}
.dev-dashboard__main{background:#fbfcfd}.dev-dashboard__head{height:72px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8edf2}.dev-project{display:flex;align-items:center;gap:10px}.dev-project__thumb{width:54px;height:42px;border-radius:7px;background:url('images/property-3.jpg') center/cover no-repeat}.dev-project strong{display:block;font-size:11px}.dev-project small{display:block;margin-top:4px;color:#738095;font-size:8px}.dev-project em{margin-left:6px;padding:5px 9px;border-radius:18px;background:#dff5e5;color:#238342;font-style:normal;font-size:8px}.dev-dashboard__head button{height:34px;padding:0 13px;border-radius:8px;border:1px solid #dfe5eb;background:#fff;color:#1b2637;font-size:8px;font-weight:700}.dev-dashboard__tabs{height:43px;padding:0 22px;display:flex;align-items:center;gap:30px;border-bottom:1px solid #e8edf2}.dev-dashboard__tabs span{height:43px;display:flex;align-items:center;position:relative;color:#667085;font-size:8px;font-weight:650}.dev-dashboard__tabs .active{color:#101827}.dev-dashboard__tabs .active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#ff5a1f}.dev-dashboard__workspace{padding:16px 18px 0;display:grid;grid-template-columns:128px 1fr;gap:16px}.dev-dashboard__workspace aside{overflow:hidden;border:1px solid #e7ebf0;border-radius:8px;background:#fff}.dev-dashboard__workspace aside>strong,.dev-dashboard__workspace aside>span{display:block;padding:9px 10px;border-bottom:1px solid #eef1f4;font-size:8px}.dev-dashboard__workspace aside small{display:block;margin-top:3px;color:#8793a4}.dev-dashboard__workspace aside .selected{background:#fff0e8;border-left:3px solid #ff5a1f;color:#ff5a1f}.dev-dashboard__units{padding-top:30px;display:grid;grid-template-columns:repeat(5,1fr);align-items:start}.dev-unit{min-height:100px;padding:14px 8px;text-align:center;border:1px solid #cfd8e2;font-size:8px}.dev-unit b,.dev-unit small,.dev-unit strong{display:block}.dev-unit small{margin:7px 0;color:#566476}.dev-unit strong{font-size:9px}.dev-unit.green{background:#e4f6e8;border-color:#8dd09e}.dev-unit.yellow{background:#fff2c8;border-color:#efc74f}.dev-unit.neutral{background:#f7f9fb}
@media(max-width:680px){.rb-dev-ad{padding:20px 0 24px}.dev-banner{height:320px;border-radius:18px}.dev-banner__copy{left:22px;top:28px;width:46%}.dev-banner__eyebrow{gap:8px;font-size:9px;letter-spacing:.10em}.dev-banner__hex{width:27px;height:27px}.dev-banner__hex svg{width:16px;height:16px}.dev-banner h3{margin:20px 0 15px;font-size:28px;line-height:1.05;letter-spacing:-.75px}.dev-banner__meta{gap:7px;flex-wrap:wrap;max-width:160px;font-size:10px}.dev-banner__button{margin-top:24px;height:43px;padding:0 14px;font-size:11px;gap:9px}.dev-dashboard{right:-230px;top:17px;width:142%;height:340px;grid-template-columns:128px 1fr;transform:perspective(1000px) rotateY(-4deg)}.dev-dashboard__sidebar{padding:18px 10px}.dev-dashboard__logo{margin-bottom:20px;gap:7px}.dev-dashboard__cube{width:24px;height:24px}.dev-dashboard__logo strong{font-size:7px}.dev-dashboard__logo small{font-size:5px}.dev-dashboard__nav span{height:31px;padding:0 7px;font-size:7px}.dev-dashboard__head{height:58px;padding:0 14px}.dev-project__thumb{width:42px;height:34px}.dev-project strong{font-size:8px}.dev-project small{font-size:6px}.dev-dashboard__head button{display:none}.dev-dashboard__tabs{height:36px;padding:0 14px;gap:18px}.dev-dashboard__tabs span{height:36px;font-size:6px}.dev-dashboard__workspace{padding:12px;grid-template-columns:102px 1fr;gap:10px}.dev-dashboard__workspace aside>strong,.dev-dashboard__workspace aside>span{padding:7px;font-size:6px}.dev-dashboard__units{padding-top:25px}.dev-unit{min-height:82px;padding:10px 4px;font-size:6px}.dev-unit strong{font-size:7px}}
/* Agent CRM promo */
.rb-agent-ad{padding:38px 0;background:#fff}
.agent-banner{height:300px;border-radius:24px;overflow:hidden;display:block;position:relative;background:radial-gradient(circle at 80% 35%,#1b2d42 0,transparent 34%),linear-gradient(105deg,#061527 0%,#07182b 60%,#0b1b2e 100%);color:#fff;box-shadow:0 14px 36px rgba(17,31,50,.1)}
.agent-banner__copy{position:absolute;z-index:3;left:48px;top:45px;width:42%}.agent-banner__eyebrow{display:flex;align-items:center;gap:12px;color:#ff5a1f;font-weight:800;font-size:12px;letter-spacing:.06em}.agent-banner__eyebrow span{width:36px;height:36px;border:1px solid #ff5a1f;display:grid;place-items:center;clip-path:polygon(25% 6%,75% 6%,100% 50%,75% 94%,25% 94%,0 50%)}.agent-banner__eyebrow svg{width:22px;height:22px}.agent-banner__copy h3{font-size:36px;line-height:1.12;letter-spacing:-1px;margin:25px 0 20px;color:#fff}.agent-banner__copy h3 span{color:#ff5a1f}.agent-banner__meta{display:flex;gap:11px;align-items:center;color:#c5ced9;font-size:14px}.agent-banner__meta b{font-weight:500}.agent-banner__meta i{width:4px;height:4px;border-radius:50%;background:#ff5a1f}.agent-banner__button{height:48px;padding:0 20px;margin-top:24px;background:#ff531d;border-radius:9px;display:inline-flex;align-items:center;gap:14px;font-weight:700;font-size:14px}.agent-banner__button svg{width:18px;height:18px}
.agent-ui{position:absolute;right:-22px;top:17px;width:56%;height:310px;background:#f7f9fc;color:#101827;border-radius:22px 0 0 0;display:grid;grid-template-columns:145px 1fr;overflow:hidden;box-shadow:0 20px 45px rgba(0,0,0,.26);transform:perspective(1400px) rotateY(-3deg)}.agent-ui aside{background:#0b1c32;padding:22px 12px;color:#e9eef5}.agent-brand{display:flex;gap:9px;align-items:center;color:#d7a82c;font-weight:800;font-size:18px;margin-bottom:24px}.agent-brand span{font-size:8px;line-height:1.2;letter-spacing:.2em;color:#fff}.agent-ui nav{display:grid;gap:5px}.agent-ui nav span,.agent-ui nav b{font-size:9px;padding:10px;border-radius:7px;font-weight:500;position:relative}.agent-ui nav b{background:rgba(255,255,255,.09);font-weight:700}.agent-ui nav em{position:absolute;right:8px;background:#ff5a1f;color:#fff;border-radius:50%;font-style:normal;font-size:7px;width:18px;height:18px;display:grid;place-items:center;top:6px}
.agent-ui main{padding:20px 18px}.agent-ui header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.agent-ui header strong{display:block;font-size:14px}.agent-ui header small{display:block;color:#758196;font-size:8px;margin-top:4px}.avatar{width:31px;height:31px;border-radius:50%;background:#df8c59;display:grid;place-items:center;color:#fff;font-size:11px}.agent-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.agent-kpis>div{height:79px;background:#fff;border:1px solid #edf0f4;border-radius:8px;padding:10px;position:relative;box-shadow:0 3px 10px rgba(30,45,65,.04)}.agent-kpis small{display:block;font-size:7px}.agent-kpis strong{display:inline-block;font-size:16px;margin-top:8px}.agent-kpis em{font-size:6px;color:#159447;font-style:normal;margin-left:5px}.agent-kpis u{position:absolute;left:10px;right:10px;bottom:10px;height:9px;border-bottom:2px solid #ff6a38;text-decoration:none;transform:skewY(-5deg)}.agent-bottom{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin-top:10px}.agent-bottom section{background:#fff;border:1px solid #edf0f4;border-radius:8px;min-height:100px;padding:10px}.agent-bottom section>strong{font-size:8px}.agent-bottom section>div{display:grid;grid-template-columns:1fr 1.2fr auto;gap:8px;border-top:1px solid #f0f2f5;padding:9px 0;font-size:6px}.agent-bottom section:nth-child(2)>div{grid-template-columns:40px 1fr}.agent-bottom em{font-style:normal;background:#fff0c8;padding:3px 5px;border-radius:4px}.agent-bottom a{font-size:7px;color:#ff5a1f;font-weight:700}
@media(max-width:680px){.rb-agent-ad{padding:20px 0}.agent-banner{height:300px;border-radius:18px}.agent-banner__copy{left:21px;top:26px;width:49%}.agent-banner__eyebrow{font-size:9px;gap:7px}.agent-banner__eyebrow span{width:27px;height:27px}.agent-banner__eyebrow svg{width:16px;height:16px}.agent-banner__copy h3{font-size:26px;line-height:1.08;margin:19px 0 15px}.agent-banner__meta{font-size:9px;gap:6px;flex-wrap:wrap;max-width:150px}.agent-banner__button{height:41px;padding:0 13px;font-size:10px;margin-top:20px}.agent-ui{right:-226px;top:14px;width:142%;height:315px;grid-template-columns:112px 1fr}.agent-ui aside{padding:15px 8px}.agent-brand{font-size:13px;margin-bottom:15px}.agent-brand span{font-size:6px}.agent-ui nav span,.agent-ui nav b{font-size:6px;padding:7px}.agent-ui main{padding:14px 10px}.agent-ui header strong{font-size:9px}.agent-ui header small{font-size:6px}.agent-kpis{gap:5px}.agent-kpis>div{height:64px;padding:7px}.agent-kpis small{font-size:5px}.agent-kpis strong{font-size:11px}.agent-bottom{gap:5px}.agent-bottom section{padding:7px}.agent-bottom section>div{font-size:5px}}


/* =========================================================
   AGENT CRM DOM REPAIR
   Prevents the preview from breaking the page's real <main>.
   ========================================================= */
.agent-ui-main{
  min-width:0;
  height:100%;
  padding:20px 16px;
  background:#f8fafc;
  color:#172033;
  overflow:hidden;
}
.agent-ui-header{
  min-height:42px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.agent-ui-header strong{display:block;font-size:12px;line-height:1.2}
.agent-ui-header small{display:block;margin-top:4px;color:#667085;font-size:8px;line-height:1.35}

.agent-ui-main .agent-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.agent-ui-main .agent-bottom{
  margin-top:10px;
  display:grid;
  grid-template-columns:1.65fr .85fr;
  gap:8px;
}
.agent-bottom-panel{
  min-width:0;
  padding:10px;
  border:1px solid #e5e9ef;
  border-radius:8px;
  background:#fff;
  overflow:hidden;
}
.agent-bottom-panel>strong{display:block;margin-bottom:8px;font-size:8px}
.agent-bottom-panel>div{
  min-height:32px;
  display:grid;
  grid-template-columns:.85fr 1.25fr auto;
  align-items:center;
  gap:6px;
  border-top:1px solid #eef1f4;
  font-size:6px;
}
.agent-bottom-panel>div b{font-size:6px}
.agent-bottom-panel>div span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#526071;
}
.agent-bottom-panel>div em{
  padding:3px 5px;
  border-radius:4px;
  background:#fff0c7;
  color:#9a6500;
  font-style:normal;
}
.agent-bottom-panel>a{
  display:block;
  margin-top:8px;
  color:#ff5a1f;
  font-size:7px;
}

/* Give the two advertising bands their own breathing space. */
.rb-dev-ad{padding-bottom:28px!important}
.rb-agent-ad{
  padding:24px 0 42px!important;
  background:#f5f7fa!important;
  border-top:1px solid #e9edf2;
  border-bottom:1px solid #e9edf2;
}

/* Clear visual separation for the repeating content sections. */
.featured-section,
.new-agents-section,
.home-services-section,
.developments-section{
  background:#f5f7fa!important;
  border-top:1px solid #e9edf2;
  border-bottom:1px solid #e9edf2;
}
.just-listed-section,
.new-agencies-section,
.places-section{
  background:#fff!important;
}

@media(max-width:680px){
  .agent-ui-main{padding:14px 10px}
  .agent-ui-header{min-height:32px;margin-bottom:8px}
  .agent-ui-header strong{font-size:9px}
  .agent-ui-header small{font-size:6px}
  .agent-ui-main .agent-kpis{gap:5px}
  .agent-ui-main .agent-bottom{gap:5px;margin-top:7px}
  .agent-bottom-panel{padding:7px}
  .rb-agent-ad{padding:16px 0 26px!important}
}

/* === FINAL ISOLATED AGENT CRM BANNER === */
.rb-agent-ad{position:relative!important;display:block!important;clear:both!important;width:100%!important;padding:28px 0 44px!important;background:#f3f6f9!important;overflow:hidden!important;z-index:1!important}
.rb-agent-ad>.container{position:relative!important;display:block!important}
.rb-agent-ad .agent-banner{position:relative!important;inset:auto!important;display:block!important;width:100%!important;max-width:100%!important;height:300px!important;margin:0!important;overflow:hidden!important;border-radius:24px!important;background:linear-gradient(108deg,#061426 0%,#08182b 58%,#10243a 100%)!important;transform:none!important;isolation:isolate!important}
.rb-agent-ad .agent-banner__copy{position:absolute!important;left:48px!important;top:42px!important;width:39%!important;height:auto!important;z-index:4!important;transform:none!important}
.rb-agent-ad .agent-ui{position:absolute!important;left:auto!important;right:-10px!important;top:16px!important;bottom:auto!important;width:58%!important;height:304px!important;margin:0!important;z-index:2!important;display:grid!important;grid-template-columns:142px minmax(0,1fr)!important;overflow:hidden!important;border-radius:22px 0 0 0!important;background:#f8fafc!important;transform:perspective(1400px) rotateY(-2deg)!important;transform-origin:right center!important}
.rb-agent-ad .agent-ui>aside{display:block!important;min-width:0!important;height:100%!important;background:#0b1c32!important;padding:20px 12px!important;overflow:hidden!important}
.rb-agent-ad .agent-ui-main{position:relative!important;display:block!important;min-width:0!important;width:auto!important;height:100%!important;padding:18px 16px!important;background:#f8fafc!important;overflow:hidden!important;transform:none!important}
.rb-agent-ad .agent-ui-header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;min-height:38px!important;margin:0 0 12px!important}
.rb-agent-ad .agent-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;width:100%!important}
.rb-agent-ad .agent-kpis>div{min-width:0!important;height:76px!important}
.rb-agent-ad .agent-bottom{display:grid!important;grid-template-columns:1.65fr .85fr!important;gap:8px!important;margin-top:9px!important;width:100%!important}
.rb-agent-ad .agent-bottom-panel{display:block!important;min-width:0!important;height:103px!important;background:#fff!important}

@media (max-width:680px){
 .rb-agent-ad{padding:18px 0 28px!important}
 .rb-agent-ad .agent-banner{height:286px!important;border-radius:18px!important}
 .rb-agent-ad .agent-banner__copy{left:20px!important;top:24px!important;width:51%!important}
 .rb-agent-ad .agent-banner__copy h3{font-size:25px!important;line-height:1.07!important;margin:18px 0 14px!important}
 .rb-agent-ad .agent-banner__meta{max-width:155px!important;font-size:9px!important;gap:6px!important;flex-wrap:wrap!important}
 .rb-agent-ad .agent-banner__button{height:40px!important;padding:0 12px!important;margin-top:18px!important;font-size:10px!important}
 .rb-agent-ad .agent-ui{left:48%!important;right:auto!important;top:14px!important;width:118%!important;height:286px!important;grid-template-columns:104px minmax(0,1fr)!important;transform:none!important;border-radius:18px 0 0 0!important}
 .rb-agent-ad .agent-ui>aside{padding:14px 8px!important}
 .rb-agent-ad .agent-ui-main{padding:12px 9px!important}
 .rb-agent-ad .agent-ui-header{min-height:30px!important;margin-bottom:7px!important}
 .rb-agent-ad .agent-kpis{gap:5px!important}
 .rb-agent-ad .agent-kpis>div{height:59px!important;padding:6px!important}
 .rb-agent-ad .agent-bottom{gap:5px!important;margin-top:6px!important}
 .rb-agent-ad .agent-bottom-panel{height:91px!important;padding:6px!important}
}


/* =========================================================
   CRM PROMO BANNERS — IMAGE BASED / ISOLATED
   Developer CRM: after Browse Everything
   Agent CRM: after New Agencies, before Home Services
   ========================================================= */
.rb-crm-promo{
  position:relative;
  padding:30px 0;
  background:#eef2f6;
  border-top:1px solid #e5eaf0;
  border-bottom:1px solid #e5eaf0;
}

.rb-crm-promo--agent{
  background:#fff;
  padding-top:38px;
  padding-bottom:42px;
}

.rb-crm-promo__banner{
  position:relative;
  height:300px;
  display:block;
  overflow:hidden;
  border-radius:24px;
  background:
    radial-gradient(circle at 70% 30%,rgba(255,90,31,.10),transparent 26%),
    linear-gradient(105deg,#061528 0%,#091a31 58%,#10233a 100%);
  box-shadow:0 15px 38px rgba(12,28,48,.12);
  color:#fff;
}

.rb-crm-promo__copy{
  position:absolute;
  z-index:3;
  left:54px;
  top:42px;
  width:41%;
}

.rb-crm-promo__eyebrow{
  display:flex;
  align-items:center;
  gap:11px;
  color:#ff5a1f;
  font-size:12px;
  font-weight:800;
  letter-spacing:.13em;
}

.rb-crm-promo__icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid #ff5a1f;
  clip-path:polygon(25% 6%,75% 6%,100% 50%,75% 94%,25% 94%,0 50%);
}

.rb-crm-promo__icon svg{
  width:20px;
  height:20px;
}

.rb-crm-promo__copy h3{
  margin:23px 0 15px;
  color:#fff;
  font-size:36px;
  line-height:1.06;
  letter-spacing:-1.05px;
}

.rb-crm-promo__copy h3 span{
  color:#ff5a1f;
}

.rb-crm-promo__meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:11px;
  color:#bcc6d3;
  font-size:14px;
}

.rb-crm-promo__meta i{
  width:4px;
  height:4px;
  flex:0 0 4px;
  border-radius:50%;
  background:#ff5a1f;
}

.rb-crm-promo__button{
  margin-top:28px;
  height:48px;
  width:max-content;
  padding:0 19px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  border-radius:9px;
  background:#ff531d;
  color:#fff;
  font-size:14px;
  font-weight:750;
  box-shadow:0 8px 22px rgba(255,83,29,.24);
}

.rb-crm-promo__button svg{
  width:18px;
  height:18px;
}

.rb-crm-promo__preview{
  position:absolute;
  z-index:2;
  right:-8px;
  top:18px;
  width:57%;
  height:calc(100% - 18px);
  overflow:hidden;
  border-radius:22px 0 0 0;
  box-shadow:0 22px 48px rgba(0,0,0,.22);
  background:#fff;
}

.rb-crm-promo__preview img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:left top;
  display:block;
}

.rb-crm-promo--developer .rb-crm-promo__preview{
  width:59%;
}

.rb-crm-promo--agent .rb-crm-promo__preview{
  width:58%;
  top:20px;
  height:calc(100% - 20px);
}

/* keep the two CRM promotions far apart in the document rhythm */
.rb-crm-promo--developer + .section{
  margin-top:0;
}

.new-agencies-section + .rb-crm-promo--agent{
  margin-top:0;
}

/* mobile */
@media(max-width:680px){
  .rb-crm-promo{
    padding:18px 0;
  }

  .rb-crm-promo--agent{
    padding-top:24px;
    padding-bottom:26px;
  }

  .rb-crm-promo__banner{
    height:286px;
    border-radius:18px;
  }

  .rb-crm-promo__copy{
    left:20px;
    top:25px;
    width:48%;
  }

  .rb-crm-promo__eyebrow{
    gap:7px;
    font-size:9px;
    letter-spacing:.10em;
  }

  .rb-crm-promo__icon{
    width:27px;
    height:27px;
  }

  .rb-crm-promo__icon svg{
    width:16px;
    height:16px;
  }

  .rb-crm-promo__copy h3{
    margin:18px 0 12px;
    font-size:25px;
    line-height:1.07;
    letter-spacing:-.65px;
  }

  .rb-crm-promo__meta{
    max-width:155px;
    gap:6px;
    font-size:9px;
  }

  .rb-crm-promo__button{
    margin-top:20px;
    height:41px;
    padding:0 12px;
    gap:8px;
    font-size:10px;
  }

  .rb-crm-promo__button svg{
    width:15px;
    height:15px;
  }

  .rb-crm-promo__preview,
  .rb-crm-promo--developer .rb-crm-promo__preview,
  .rb-crm-promo--agent .rb-crm-promo__preview{
    right:-185px;
    top:15px;
    width:126%;
    height:calc(100% - 15px);
    border-radius:17px 0 0 0;
  }

  .rb-crm-promo--agent .rb-crm-promo__preview{
    right:-198px;
  }
}


/* =========================================================
   MOBILE HERO — FINAL REPAIR
   Keeps desktop unchanged.
   Fixes:
   - baked "New" UI at the bottom of hero image
   - oversized tabs/search
   - search overflow on the right
   - hero/search proportions
   ========================================================= */
@media (max-width:680px){

  .site-header{
    height:68px !important;
  }

  .hero{
    min-height:min(100svh,480px) !important;
    height:min(100svh,480px) !important;
    padding-top:68px !important;
    overflow:hidden !important;

    /* The source mobile photo contains old UI at its very bottom.
       Zooming the background slightly removes that baked UI from view. */
    background-image:
      linear-gradient(90deg,rgba(13,18,24,.54),rgba(13,18,24,.12)),
      url('images/hero-mobile.jpg') !important;
    background-repeat:no-repeat !important;
    background-position:center center !important;
    background-size:auto 118% !important;
  }

  .hero-container{
    width:calc(100% - 28px) !important;
    min-height:0 !important;
    height:auto !important;
    padding-top:34px !important;
    padding-bottom:0 !important;
    display:block !important;
  }

  .hero-copy{
    width:100% !important;
    max-width:none !important;
  }

  .hero h1{
    margin:0 !important;
    max-width:320px !important;
    font-size:40px !important;
    line-height:1.04 !important;
    letter-spacing:-1.3px !important;
  }

  .hero-copy>p{
    margin-top:20px !important;
    max-width:300px !important;
    font-size:16px !important;
    line-height:1.45 !important;
  }

  .ai-label,
  .hero-benefits{
    display:none !important;
  }

  /* Search must sit directly under the hero copy, not float lower. */
  .search-shell{
    width:100% !important;
    max-width:100% !important;
    margin-top:24px !important;
    position:relative !important;
  }

  .search-tabs{
    width:100% !important;
    height:50px !important;
    min-height:50px !important;
    padding:0 !important;
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    border-radius:14px !important;
    overflow:hidden !important;
    background:rgba(20,20,20,.72) !important;
  }

  .search-tab{
    min-width:0 !important;
    height:50px !important;
    padding:0 5px !important;
    gap:7px !important;
    justify-content:center !important;
    font-size:13px !important;
    white-space:nowrap !important;
  }

  .search-tab.active{
    border-radius:14px !important;
  }

  .search-tab .svg-icon{
    width:16px !important;
    height:16px !important;
    flex-basis:16px !important;
  }

  .desktop-extra,
  .search-tab-actions{
    display:none !important;
  }

  .mobile-new{
    display:flex !important;
  }

  .search-panel{
    box-sizing:border-box !important;
    width:100% !important;
    max-width:100% !important;
    height:58px !important;
    min-height:58px !important;
    margin-top:8px !important;
    padding:0 6px 0 12px !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    gap:6px !important;
    align-items:center !important;
    overflow:hidden !important;
    border-radius:15px !important;
    background:#fff !important;
  }

  .main-search{
    min-width:0 !important;
    width:100% !important;
    height:58px !important;
    padding:0 !important;
    border:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    overflow:hidden !important;
    font-size:12.5px !important;
  }

  .main-search>span{
    min-width:0 !important;
    flex:1 1 auto !important;
    overflow:hidden !important;
    white-space:nowrap !important;
    text-overflow:ellipsis !important;
  }

  .main-search>.svg-icon{
    width:18px !important;
    height:18px !important;
    flex:0 0 18px !important;
  }

  /* Hide the AI wand inside the text field on mobile;
     it was taking useful text width and visually cluttering the field. */
  .main-search>.svg-icon:last-child{
    display:none !important;
  }

  .desktop-filters{
    display:none !important;
  }

  .mobile-search-actions{
    flex:0 0 auto !important;
    display:flex !important;
    align-items:center !important;
    gap:5px !important;
  }

  .mobile-filter{
    width:36px !important;
    height:36px !important;
    flex:0 0 36px !important;
  }

  .mobile-submit{
    width:46px !important;
    height:46px !important;
    flex:0 0 46px !important;
  }

  .mobile-filter .svg-icon{
    width:16px !important;
    height:16px !important;
  }

  .mobile-submit .svg-icon{
    width:18px !important;
    height:18px !important;
  }
}

/* Slightly shorter phones: keep the same composition without the search
   falling below the viewport. */
@media (max-width:680px) and (max-height:760px){
  .hero-container{
    padding-top:26px !important;
  }

  .hero h1{
    font-size:36px !important;
  }

  .hero-copy>p{
    margin-top:14px !important;
  }

  .search-shell{
    margin-top:18px !important;
  }

  .search-tabs{
    height:46px !important;
    min-height:46px !important;
  }

  .search-tab{
    height:46px !important;
  }

  .search-panel,
  .main-search{
    height:54px !important;
    min-height:54px !important;
  }

  .mobile-submit{
    width:44px !important;
    height:44px !important;
    flex-basis:44px !important;
  }
}


/* =========================================================
   CRM PROMOS — CLEAN MOBILE COMPOSITION
   No text/UI overlap. Desktop remains unchanged.
   ========================================================= */
@media(max-width:680px){

  .rb-crm-promo{
    padding:16px 0 !important;
  }

  .rb-crm-promo__banner{
    height:238px !important;
    display:grid !important;
    grid-template-columns:44% 56% !important;
    align-items:stretch !important;
    overflow:hidden !important;
    border-radius:18px !important;
  }

  .rb-crm-promo__copy{
    position:relative !important;
    inset:auto !important;
    width:auto !important;
    min-width:0 !important;
    z-index:3 !important;
    padding:22px 10px 18px 18px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:center !important;
    box-sizing:border-box !important;
  }

  .rb-crm-promo__eyebrow{
    gap:6px !important;
    margin:0 0 13px !important;
    font-size:8px !important;
    letter-spacing:.09em !important;
    white-space:nowrap !important;
  }

  .rb-crm-promo__icon{
    width:23px !important;
    height:23px !important;
    flex:0 0 23px !important;
  }

  .rb-crm-promo__icon svg{
    width:14px !important;
    height:14px !important;
  }

  .rb-crm-promo__copy h3{
    margin:0 !important;
    max-width:145px !important;
    font-size:22px !important;
    line-height:1.06 !important;
    letter-spacing:-.55px !important;
  }

  /* Remove the extra line of feature labels on mobile.
     The banner should read as an ad, not another information card. */
  .rb-crm-promo__meta{
    display:none !important;
  }

  .rb-crm-promo__button{
    margin-top:19px !important;
    height:38px !important;
    max-width:142px !important;
    padding:0 11px !important;
    gap:7px !important;
    border-radius:8px !important;
    font-size:9.5px !important;
    white-space:nowrap !important;
    box-sizing:border-box !important;
  }

  .rb-crm-promo__button svg{
    width:14px !important;
    height:14px !important;
  }

  .rb-crm-promo__preview,
  .rb-crm-promo--developer .rb-crm-promo__preview,
  .rb-crm-promo--agent .rb-crm-promo__preview{
    position:relative !important;
    inset:auto !important;
    right:auto !important;
    top:auto !important;
    width:100% !important;
    height:100% !important;
    min-width:0 !important;
    border-radius:0 18px 18px 0 !important;
    box-shadow:none !important;
    overflow:hidden !important;
    align-self:stretch !important;
  }

  .rb-crm-promo__preview img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:left top !important;
  }

  /* Agent screenshot has a wider sidebar; shift it slightly so
     the useful dashboard area gets more visual priority. */
  .rb-crm-promo--agent .rb-crm-promo__preview img{
    object-position:18% top !important;
  }

  .rb-crm-promo--developer .rb-crm-promo__copy h3{
    max-width:138px !important;
  }

  .rb-crm-promo--agent .rb-crm-promo__copy h3{
    max-width:145px !important;
    font-size:21px !important;
  }
}

@media(max-width:380px){
  .rb-crm-promo__banner{
    height:226px !important;
    grid-template-columns:46% 54% !important;
  }

  .rb-crm-promo__copy{
    padding-left:15px !important;
    padding-right:8px !important;
  }

  .rb-crm-promo__copy h3{
    font-size:20px !important;
  }

  .rb-crm-promo--agent .rb-crm-promo__copy h3{
    font-size:19px !important;
  }

  .rb-crm-promo__button{
    max-width:132px !important;
    padding:0 9px !important;
    font-size:8.8px !important;
  }
}


/* =========================================================
   AI TOOLS PROMO
   ========================================================= */
.ai-tools-section{
  padding:46px 0;
  background:#f5f7fa;
  border-top:1px solid #e9edf2;
  border-bottom:1px solid #e9edf2;
}

.ai-tools-banner{
  position:relative;
  display:block;
  height:320px;
  overflow:hidden;
  border-radius:24px;
  color:#fff;
  background:
    radial-gradient(circle at 74% 34%,rgba(255,90,31,.12),transparent 28%),
    linear-gradient(105deg,#061528 0%,#081a31 57%,#102239 100%);
  box-shadow:0 16px 42px rgba(12,28,48,.12);
}

.ai-tools-copy{
  position:absolute;
  z-index:3;
  left:54px;
  top:40px;
  width:40%;
}

.ai-tools-eyebrow{
  display:flex;
  align-items:center;
  gap:11px;
  color:#ff5a1f;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
}

.ai-tools-icon{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid #ff5a1f;
  clip-path:polygon(25% 6%,75% 6%,100% 50%,75% 94%,25% 94%,0 50%);
}

.ai-tools-icon svg{
  width:20px;
  height:20px;
}

.ai-tools-copy h2{
  margin:23px 0 18px;
  color:#fff;
  font-size:38px;
  line-height:1.04;
  letter-spacing:-1.1px;
}

.ai-tools-copy h2 span{
  color:#ff5a1f;
}

.ai-tools-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:11px;
  color:#bcc6d3;
  font-size:14px;
}

.ai-tools-meta i{
  width:4px;
  height:4px;
  border-radius:50%;
  background:#ff5a1f;
}

.ai-tools-cta{
  margin-top:29px;
  height:49px;
  padding:0 19px;
  width:max-content;
  display:inline-flex;
  align-items:center;
  gap:13px;
  border-radius:9px;
  background:#ff531d;
  color:#fff;
  font-size:14px;
  font-weight:750;
  box-shadow:0 8px 22px rgba(255,83,29,.24);
}

.ai-tools-cta svg{
  width:18px;
  height:18px;
}

.ai-tools-preview{
  position:absolute;
  right:-4px;
  top:18px;
  width:58%;
  height:calc(100% - 18px);
  overflow:hidden;
  border-radius:22px 0 0 0;
  background:#fff;
  box-shadow:0 22px 48px rgba(0,0,0,.22);
}

.ai-tools-preview img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:left top;
  display:block;
}

/* =========================================================
   LATEST INSIGHTS
   ========================================================= */
.insights-section{
  padding:70px 0 82px;
  background:#fff;
}

.insights-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:28px;
  margin-bottom:40px;
}

.insights-kicker{
  display:flex;
  align-items:center;
  gap:11px;
  margin-bottom:16px;
  color:#ff5a1f;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
}

.insights-kicker i{
  width:29px;
  height:1px;
  background:#ff5a1f;
}

.insights-head h2{
  margin:0 0 12px;
  color:#101827;
  font-size:45px;
  line-height:1.03;
  letter-spacing:-1.4px;
}

.insights-head p{
  margin:0;
  color:#667085;
  font-size:16px;
  line-height:1.55;
}

.insights-viewall{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:57px;
  color:#ff5a1f;
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
}

.insights-viewall svg{
  width:19px;
  height:19px;
}

.insights-layout{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:42px;
}

.insight-main-image{
  position:relative;
  display:block;
  height:455px;
  overflow:hidden;
  border-radius:18px;
}

.insight-main-image img,
.insight-side-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.insight-main-image>span{
  position:absolute;
  left:18px;
  top:18px;
  padding:7px 11px;
  border-radius:8px;
  background:#fff;
  color:#ff5a1f;
  font-size:11px;
  font-weight:800;
}

.insight-main-body{
  padding:22px 10px 0;
}

.insight-main-body time{
  display:block;
  margin-bottom:10px;
  color:#667085;
  font-size:13px;
}

.insight-main-body h3{
  margin:0;
  color:#101827;
  font-size:28px;
  line-height:1.18;
  letter-spacing:-.55px;
}

.insight-read{
  margin-top:22px;
  display:flex;
  align-items:center;
  gap:24px;
}

.insight-read>span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#475467;
  font-size:13px;
}

.insight-read>span svg{
  width:18px;
  height:18px;
  color:#ff5a1f;
}

.insight-read>a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#ff5a1f;
}

.insight-read>a svg{
  width:21px;
  height:21px;
}

.insight-side{
  display:grid;
  gap:26px;
}

.insight-side-card{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:28px;
  align-items:center;
  padding-bottom:25px;
  border-bottom:1px solid #e5e8ed;
}

.insight-side-card:last-child{
  border-bottom:0;
  padding-bottom:0;
}

.insight-side-image{
  display:block;
  height:285px;
  overflow:hidden;
  border-radius:16px;
}

.insight-category{
  display:block;
  margin-bottom:16px;
  color:#ff5a1f;
  font-size:11px;
  font-weight:800;
  letter-spacing:.05em;
}

.insight-side-copy h3{
  margin:0;
  color:#101827;
  font-size:23px;
  line-height:1.25;
  letter-spacing:-.35px;
}

/* mobile */
@media(max-width:680px){
  .ai-tools-section{
    padding:18px 0 24px;
  }

  .ai-tools-banner{
    height:250px;
    display:grid;
    grid-template-columns:46% 54%;
    border-radius:18px;
  }

  .ai-tools-copy{
    position:relative;
    inset:auto;
    width:auto;
    padding:22px 9px 18px 18px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    box-sizing:border-box;
  }

  .ai-tools-eyebrow{
    gap:7px;
    font-size:9px;
    letter-spacing:.09em;
  }

  .ai-tools-icon{
    width:25px;
    height:25px;
  }

  .ai-tools-icon svg{
    width:15px;
    height:15px;
  }

  .ai-tools-copy h2{
    margin:16px 0 0;
    font-size:24px;
    line-height:1.05;
    letter-spacing:-.6px;
  }

  .ai-tools-meta{
    display:none;
  }

  .ai-tools-cta{
    margin-top:20px;
    height:39px;
    padding:0 11px;
    gap:7px;
    font-size:9.5px;
  }

  .ai-tools-cta svg{
    width:14px;
    height:14px;
  }

  .ai-tools-preview{
    position:relative;
    inset:auto;
    width:100%;
    height:100%;
    border-radius:0 18px 18px 0;
    box-shadow:none;
  }

  .ai-tools-preview img{
    object-position:15% top;
  }

  .insights-section{
    padding:46px 0 54px;
  }

  .insights-head{
    align-items:flex-start;
    margin-bottom:26px;
  }

  .insights-kicker{
    margin-bottom:11px;
    font-size:10px;
  }

  .insights-head h2{
    font-size:31px;
    margin-bottom:9px;
  }

  .insights-head p{
    max-width:250px;
    font-size:14px;
  }

  .insights-head p br{
    display:none;
  }

  .insights-viewall{
    margin:42px 0 0;
    font-size:12px;
  }

  .insights-layout{
    display:block;
  }

  .insight-main-image{
    height:285px;
    border-radius:16px;
  }

  .insight-main-body{
    padding:16px 2px 0;
  }

  .insight-main-body h3{
    font-size:23px;
  }

  .insight-main-body h3 br{
    display:none;
  }

  .insight-read{
    margin-top:16px;
  }

  .insight-side{
    margin-top:28px;
    gap:18px;
  }

  .insight-side-card{
    grid-template-columns:42% 58%;
    gap:14px;
    padding-bottom:18px;
  }

  .insight-side-image{
    height:150px;
    border-radius:14px;
  }

  .insight-category{
    margin-bottom:8px;
    font-size:9px;
  }

  .insight-side-copy h3{
    font-size:17px;
    line-height:1.25;
  }

  .insight-side-copy h3 br{
    display:none;
  }

  .insight-side-copy .insight-read{
    margin-top:12px;
  }

  .insight-side-copy .insight-read>span{
    font-size:11px;
  }
}


/* =========================================================
   FOOTER CTA + FOOTER
   ========================================================= */
.footer-cta-section{padding:32px 0;background:#fff}
.footer-cta{
  min-height:112px;
  padding:20px 26px;
  border:1px solid #e5e9ef;
  border-radius:16px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:20px;
  background:#fff;
  box-shadow:0 4px 16px rgba(16,24,39,.02);
}
.footer-cta__icon{
  width:66px;height:66px;border-radius:14px;background:#ff531d;color:#fff;
  display:grid;place-items:center;
}
.footer-cta__icon svg{width:34px;height:34px}
.footer-cta__copy strong{display:block;font-size:23px;line-height:1.2;margin-bottom:6px}
.footer-cta__copy span{color:#667085;font-size:14px}
.footer-cta__button{
  height:52px;padding:0 22px;border-radius:9px;background:#ff531d;color:#fff;
  display:inline-flex;align-items:center;gap:14px;font-size:14px;font-weight:750;
}
.footer-cta__button svg{width:18px;height:18px}

.site-footer{
  background:
    radial-gradient(circle at 80% 45%,rgba(20,45,74,.38),transparent 30%),
    linear-gradient(120deg,#0b1a2b,#071424 75%);
  color:#d7dee8;
  padding:54px 0 24px;
}
.footer-top-grid{
  display:grid;
  grid-template-columns:1.55fr repeat(5,1fr);
  gap:30px;
}
.footer-logo{width:210px;max-width:100%;height:auto;display:block;margin-bottom:22px}
.footer-brand-col>p{max-width:310px;margin:0;color:#c5ced9;font-size:14px;line-height:1.7}
.footer-socials{display:flex;gap:12px;margin-top:22px;padding-bottom:28px;border-bottom:1px solid rgba(255,255,255,.09)}
.footer-socials a{
  width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#1b2a3f;color:#fff;font-size:18px;font-weight:700;
}
.footer-socials svg{width:20px;height:20px}
.footer-newsletter{margin-top:28px}
.footer-newsletter h4,.footer-middle-grid h4{margin:0 0 10px;color:#fff;font-size:14px}
.footer-newsletter p,.footer-app p{margin:0;color:#aeb9c7;font-size:13px;line-height:1.55}
.footer-newsletter form{display:grid;grid-template-columns:1fr 44px;gap:10px;margin-top:14px}
.footer-newsletter input{
  height:44px;padding:0 14px;border:1px solid #607086;border-radius:8px;background:transparent;color:#fff;outline:none;
}
.footer-newsletter button{width:44px;height:44px;border:0;border-radius:8px;background:#ff531d;color:#fff;display:grid;place-items:center}
.footer-newsletter button svg{width:19px;height:19px}

.footer-link-group{min-width:0}
.footer-accordion-head{
  width:100%;padding:0 0 14px;border:0;background:none;color:#fff;text-align:left;font-size:13px;font-weight:800;
  display:flex;align-items:center;justify-content:space-between;position:relative;
}
.footer-accordion-head:after{content:"";position:absolute;bottom:0;left:0;width:24px;height:2px;background:#ff5a1f}
.footer-accordion-head svg{display:none;width:19px;height:19px;color:#ff5a1f}
.footer-links{display:grid;gap:10px;margin-top:18px}
.footer-links a,.footer-secondary a{color:#c8d0da;font-size:13px}

.footer-middle-grid{
  margin-top:34px;padding-top:28px;border-top:1px solid rgba(255,255,255,.09);
  display:grid;grid-template-columns:1.3fr 1fr 1.05fr 1.25fr;gap:38px;align-items:start;
}
.footer-secondary{display:grid;grid-template-columns:1fr 1fr;gap:34px}
.footer-secondary>div{display:grid;gap:10px}
.country-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px}
.country-grid a{display:flex;align-items:center;gap:9px;color:#d6dde6;font-size:13px}
.flag{width:18px;height:13px;border-radius:3px;overflow:hidden;display:inline-block;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.flag-be{background:linear-gradient(90deg,#111 0 33%,#ffd90a 33% 66%,#ef3340 66%)}
.flag-nl{background:linear-gradient(#ae1c28 0 33%,#fff 33% 66%,#21468b 66%)}
.flag-de{background:linear-gradient(#111 0 33%,#dd0000 33% 66%,#ffce00 66%)}
.flag-fr{background:linear-gradient(90deg,#0055a4 0 33%,#fff 33% 66%,#ef4135 66%)}
.flag-es{background:linear-gradient(#aa151b 0 25%,#f1bf00 25% 75%,#aa151b 75%)}
.flag-it{background:linear-gradient(90deg,#009246 0 33%,#fff 33% 66%,#ce2b37 66%)}
.countries-viewall{margin-top:17px;display:inline-flex;align-items:center;gap:8px;color:#ff5a1f;font-size:12px;font-weight:700}
.countries-viewall svg{width:17px;height:17px}

.app-buttons{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
.store-badge{height:44px;padding:0 12px;border:1px solid #65758a;border-radius:8px;background:#050505;color:#fff;display:flex;align-items:center;gap:9px}
.store-badge small{display:block;font-size:7px;line-height:1}
.store-badge strong{display:block;font-size:16px;line-height:1.05;margin-top:2px}
.store-icon{width:24px;height:24px;display:inline-block;position:relative}
.store-icon.apple:before{content:"";position:absolute;width:15px;height:18px;left:5px;top:5px;background:#fff;border-radius:50% 50% 45% 45%}
.store-icon.apple:after{content:"";position:absolute;width:7px;height:5px;left:11px;top:0;background:#fff;border-radius:100% 0}
.store-icon.play{clip-path:polygon(0 0,100% 50%,0 100%);background:linear-gradient(135deg,#1bc5ff 0 33%,#53d769 33% 58%,#ffd000 58% 78%,#ff4b55 78%)}

.footer-map{position:relative;height:190px;opacity:.72}
.map-dots{position:absolute;inset:8px 0 0;background:
  radial-gradient(circle,#7b8ea8 1px,transparent 1.5px) 0 0/8px 8px;
  mask-image:radial-gradient(ellipse at center,black 45%,transparent 76%);
}
.map-pin{position:absolute;width:8px;height:8px;border-radius:50%;background:#ff5a1f;box-shadow:0 0 12px rgba(255,90,31,.8)}
.map-pin.p1{left:30%;top:55%}.map-pin.p2{left:42%;top:35%}.map-pin.p3{left:51%;top:52%}.map-pin.p4{left:67%;top:40%}.map-pin.p5{left:78%;top:68%}

.footer-bottom{
  margin-top:28px;padding-top:24px;border-top:1px solid rgba(255,255,255,.09);
  display:flex;align-items:center;justify-content:space-between;gap:22px;color:#aeb9c7;font-size:12px;
}
.footer-trust{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.footer-trust span{display:inline-flex;align-items:center;gap:8px}
.footer-trust svg{width:18px;height:18px}

@media(max-width:680px){
  .footer-cta-section{padding:18px 0}
  .footer-cta{min-height:86px;padding:14px;border-radius:14px;grid-template-columns:50px 1fr;gap:12px}
  .footer-cta__icon{width:50px;height:50px;border-radius:12px}.footer-cta__icon svg{width:26px;height:26px}
  .footer-cta__copy strong{font-size:17px}.footer-cta__copy span{font-size:11px}
  .footer-cta__button{grid-column:1/-1;height:42px;justify-content:center;font-size:12px}

  .site-footer{padding:34px 0 22px}
  .footer-top-grid{display:block}
  .footer-logo{width:190px;margin-bottom:18px}
  .footer-brand-col>p{max-width:none;font-size:13px;line-height:1.65}
  .footer-socials{gap:14px;margin-top:20px;padding-bottom:24px}
  .footer-socials a{width:38px;height:38px}
  .footer-newsletter{margin-top:24px;padding-bottom:26px;border-bottom:1px solid rgba(255,255,255,.12)}
  .footer-newsletter h4{font-size:15px}
  .footer-newsletter p{font-size:12px}
  .footer-newsletter form{grid-template-columns:1fr 48px}.footer-newsletter input,.footer-newsletter button{height:48px}.footer-newsletter button{width:48px}

  .footer-link-group{border-bottom:1px solid rgba(255,255,255,.12)}
  .footer-accordion-head{height:64px;padding:0;font-size:14px}
  .footer-accordion-head:after{display:none}
  .footer-accordion-head svg{display:block;transition:transform .2s}
  .footer-link-group.open .footer-accordion-head svg{transform:rotate(180deg)}
  .footer-links{display:none;margin:0;padding:0 0 18px;gap:11px}
  .footer-link-group.open .footer-links{display:grid}
  .footer-links a{font-size:13px}

  .footer-middle-grid{margin-top:26px;padding-top:0;border-top:0;display:block}
  .footer-secondary{display:none}
  .footer-countries{padding:4px 0 26px;border-bottom:1px solid rgba(255,255,255,.12)}
  .footer-countries h4{font-size:14px;margin-bottom:18px}
  .country-grid{grid-template-columns:repeat(4,1fr);gap:18px 12px}
  .country-grid a{font-size:12px;gap:7px}
  .country-grid a:nth-child(n+5){grid-column:auto}
  .countries-viewall{margin-top:18px;font-size:12px}

  .footer-app{padding:26px 0;border-bottom:1px solid rgba(255,255,255,.12)}
  .footer-app h4{font-size:14px}
  .footer-app p{font-size:12px}
  .app-buttons{gap:10px}
  .store-badge{height:48px;flex:1 1 145px;justify-content:center}
  .footer-map{display:none}

  .footer-bottom{margin-top:22px;padding-top:0;border-top:0;display:block;font-size:12px}
  .footer-trust{margin-top:24px;display:grid;grid-template-columns:1fr 1fr;gap:18px 10px}
  .footer-trust span{font-size:11px}
}


/* FOOTER MAP + LOGO FIX */
.footer-logo{
  width:245px !important;
  height:auto !important;
  object-fit:contain !important;
  object-position:left center !important;
  margin-bottom:22px !important;
}

.footer-map{
  position:relative !important;
  height:205px !important;
  opacity:1 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
}

.footer-map .map-dots,
.footer-map .map-pin{
  display:none !important;
}

.footer-europe-map{
  width:100% !important;
  max-width:390px !important;
  height:auto !important;
  display:block !important;
  opacity:.92 !important;
}

.footer-mini-map{
  width:100% !important;
  height:100% !important;
  border-radius:14px !important;
  overflow:hidden !important;
  border:1px solid rgba(255,255,255,.12) !important;
  background:#0b1220 !important;
}
.footer-mini-map .leaflet-tooltip{
  background:#0d1731 !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.18) !important;
  font-size:11px !important;
  font-weight:700 !important;
  border-radius:6px !important;
  box-shadow:none !important;
}
.footer-mini-map .leaflet-tooltip-top:before{border-top-color:#0d1731 !important}

@media(max-width:680px){
  .footer-logo{
    width:220px !important;
    margin-bottom:18px !important;
  }
  .footer-map{
    display:none !important;
  }
}
