/* ═══════════════════════════════════════════════════════════════
   ARGOS ESTATES – Cleaned Premium Stylesheet
   ═══════════════════════════════════════════════════════════════ */

:root{
  --navy:#0c2340;
  --navy2:#112d50;
  --blue:#1a5fa8;
  --blue2:#2472c2;
  --blue-lt:#e8f2fb;
  --blue-pale:#f5f9fe;
  --sky:#4a9fd8;
  --white:#ffffff;
  --off:#f8f9fb;
  --g1:#f1f3f6;
  --g2:#e4e8ef;
  --g3:#c4cbd8;
  --g4:#8896aa;
  --g5:#4a5568;
  --text:#111827;
  --serif:'DM Serif Display', serif;
  --sans:'DM Sans', sans-serif;
  --r4:4px;
  --r8:8px;
  --r12:12px;
  --shadow-soft:0 12px 40px rgba(17,45,80,.06);
  --shadow-card:0 24px 64px rgba(0,0,0,.18);
}

*,
*::before,
*::after{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{scroll-behavior:smooth;}

body{
  font-family:var(--sans);
  background:var(--white);
  color:var(--text);
  font-size:15px;
  line-height:1.6;
}

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

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

/* ── TOPBAR ─────────────────────────────────────────────────── */
.topbar{
  height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 48px;
  background:var(--navy);
  color:rgba(255,255,255,.55);
  font-size:12px;
}

.topbar-info{
  display:flex;
  align-items:center;
  gap:24px;
}

.topbar-info span{
  display:flex;
  align-items:center;
  gap:6px;
}

.topbar-info svg{
  width:13px;
  height:13px;
  fill:rgba(255,255,255,.35);
  flex-shrink:0;
}

.topbar-lang{
  display:flex;
  gap:6px;
}

.lang-btn{
  padding:4px 14px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:3px;
  background:transparent;
  color:rgba(255,255,255,.5);
  font-size:11px;
  font-weight:600;
  letter-spacing:.8px;
  font-family:var(--sans);
  cursor:pointer;
  transition:.2s;
}

.lang-btn.active,
.lang-btn:hover{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.4);
  color:#fff;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  height:76px;
  display:flex;
  align-items:center;
  padding:0 48px;
  background:#fff;
  border-bottom:1px solid var(--g2);
  box-shadow:0 1px 0 var(--g2);
}

.logo{
  display:flex;
  align-items:center;
  flex-shrink:0;
  padding-right:22px;
  border-right:1px solid var(--g2);
  max-width:100%;
  overflow:hidden;
}

.site-logo{
  display:block;
  width:auto;
  height:74px;
  max-width:280px;
  object-fit:contain;
}

.main-nav{
  display:flex;
  align-items:stretch;
  flex:1;
  padding-left:8px;
}

.main-nav > ul{
  display:flex;
  align-items:stretch;
  list-style:none;
  height:76px;
  margin:0;
  padding:0;
}

.main-nav > ul > li{
  position:relative;
}

.main-nav > ul > li > a{
  display:flex;
  align-items:center;
  height:100%;
  padding:0 16px;
  color:var(--g5);
  font-size:12px;
  font-weight:600;
  letter-spacing:.8px;
  text-transform:uppercase;
  white-space:nowrap;
  border-bottom:2px solid transparent;
  transition:.2s;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active{
  color:var(--blue);
  border-bottom-color:var(--blue);
}

.has-sub > a .arrow{
  display:inline-block;
  width:0;
  height:0;
  margin-left:6px;
  vertical-align:middle;
  opacity:.5;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-top:4px solid currentColor;
}

.submenu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:220px;
  background:#fff;
  border:1px solid var(--g2);
  border-top:2px solid var(--blue);
  box-shadow:0 8px 32px rgba(0,0,0,.08);
  z-index:500;
}

.has-sub:hover .submenu{
  display:block;
}

.submenu li a{
  display:block;
  padding:11px 20px;
  border-bottom:1px solid var(--g1);
  font-size:12px;
  font-weight:600;
  letter-spacing:.5px;
  text-transform:uppercase;
}

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

.submenu li a:hover{
  color:var(--blue);
  background:var(--blue-pale);
}

.nav-cta{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}

.btn-nav{
  padding:10px 22px;
  border:none;
  border-radius:var(--r4);
  background:var(--blue);
  color:#fff;
  font-family:var(--sans);
  font-size:12px;
  font-weight:600;
  letter-spacing:.5px;
  cursor:pointer;
  transition:background .2s;
}

.btn-nav:hover{
  background:var(--blue2);
}

.hamburger{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  margin-left:auto;
  padding:8px;
  border:none;
  background:none;
  cursor:pointer;
  z-index:1001;
}

.hamburger span{
  display:block;
  width:22px;
  height:2px;
  background:var(--navy);
  border-radius:2px;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero{
  position:relative;
  overflow:hidden;
  min-height:680px;
  display:grid;
  grid-template-columns:1fr 440px;
  align-items:center;
  gap:60px;
  padding:100px 60px;
  background:var(--navy);
}

.hero-bg-image,
.hero-overlay{
  position:absolute;
  inset:0;
}

.hero-bg-image{
  z-index:0;
  background:url('/assets/images/hero-bg.jpg') center/cover no-repeat;
}

.hero-overlay{
  z-index:1;
  background:linear-gradient(160deg, rgba(8,22,50,.85) 0%, rgba(12,36,80,.72) 50%, rgba(8,22,50,.80) 100%);
}

.hero-left{
  position:relative;
  z-index:2;
  max-width:560px;
}

.hero-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:22px;
  padding:6px 14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:100px;
  background:rgba(255,255,255,.07);
}

.hero-dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--sky);
}

.hero-eyebrow span{
  color:rgba(255,255,255,.6);
  font-size:11px;
  font-weight:600;
  letter-spacing:1.5px;
  text-transform:uppercase;
}

.hero h1{
  font-family:var(--serif);
  font-size:clamp(34px, 4vw, 56px);
  line-height:1.12;
  font-weight:400;
  color:#fff;
  margin-bottom:18px;
}

.hero h1 em{
  color:var(--sky);
  font-style:italic;
}

.hero h1::after{
  content:"";
  display:block;
  width:60px;
  height:2px;
  margin-top:18px;
  background:var(--sky);
  opacity:.7;
}

.hero-desc{
  max-width:460px;
  margin-bottom:32px;
  color:rgba(255,255,255,.65);
  font-size:15px;
  line-height:1.8;
  font-weight:300;
}

.hero-stats{
  display:flex;
  gap:28px;
  flex-wrap:wrap;
}

.stat{
  padding-left:16px;
  border-left:2px solid rgba(255,255,255,.12);
}

.stat-num{
  color:#fff;
  font-family:var(--serif);
  font-size:26px;
  line-height:1;
}

.stat-lbl{
  margin-top:2px;
  color:rgba(255,255,255,.45);
  font-size:11px;
  font-weight:500;
}

/* SEARCH BOX */
.search-box{
  position:relative;
  z-index:3;
  padding:28px;
  background:#fff;
  border-radius:var(--r12);
  box-shadow:var(--shadow-card);
}

.sb-title{
  margin-bottom:18px;
  color:var(--navy);
  font-size:12px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
}

.sb-tabs{
  display:flex;
  gap:0;
  overflow:hidden;
  margin-bottom:18px;
  border:1.5px solid var(--g2);
  border-radius:var(--r4);
}

.sb-tab{
  flex:1;
  padding:9px;
  border:none;
  background:#fff;
  color:var(--g4);
  font-family:var(--sans);
  font-size:12px;
  font-weight:600;
  text-align:center;
  cursor:pointer;
  transition:.2s;
}

.sb-tab.active{
  background:var(--blue);
  color:#fff;
}

.sb-field{
  margin-bottom:14px;
}

.sb-field label{
  display:block;
  margin-bottom:6px;
  color:var(--g4);
  font-size:10px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
}

.sb-field select,
.sb-field input{
  width:100%;
  padding:10px 14px;
  border:1.5px solid var(--g2);
  border-radius:var(--r4);
  outline:none;
  background:#fff;
  color:var(--text);
  font-family:var(--sans);
  font-size:13px;
  transition:border-color .2s;
  -webkit-appearance:none;
}

.sb-field select:focus,
.sb-field input:focus{
  border-color:var(--blue);
}

.sb-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.btn-search{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  min-height:44px;
  margin-top:4px;
  padding:13px;
  border:none;
  border-radius:var(--r4);
  background:var(--navy);
  color:#fff;
  font-family:var(--sans);
  font-size:13px;
  font-weight:600;
  letter-spacing:.5px;
  cursor:pointer;
  transition:background .2s;
}

.btn-search:hover{
  background:var(--blue);
}

.btn-search svg{
  width:16px;
  height:16px;
  fill:#fff;
}

/* ── IMAGE TILES ─────────────────────────────────────────────── */
.tiles{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
}

.tile{
  position:relative;
  display:flex;
  align-items:flex-end;
  height:360px;
  overflow:hidden;
  border-right:3px solid #fff;
  cursor:pointer;
}

.tile:last-child{
  border-right:none;
}

.tile-photo{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transition:transform .6s ease;
}

.tile-sale .tile-photo{background-image:url('/uploads/properties/sale-cover.jpg');}
.tile-rental .tile-photo{background-image:url('/uploads/properties/rental-cover.jpg');}
.tile-vac .tile-photo{background-image:url('/uploads/properties/vacation-cover.jpg');}

.tile:hover .tile-photo{
  transform:scale(1.07);
}

.tile-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(8,22,60,.90) 0%, rgba(8,22,60,.25) 55%, transparent 100%);
}

.tile:hover .tile-overlay{
  background:linear-gradient(to top, rgba(8,22,60,.95) 0%, rgba(8,22,60,.35) 55%, transparent 100%);
}

.tile-icon{
  position:absolute;
  top:22px;
  right:22px;
  z-index:10;
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(26,95,168,.45);
  transition:.2s;
}

.tile:hover .tile-icon{
  background:var(--blue);
  border-color:rgba(255,255,255,.7);
}

.tile-icon svg{
  width:20px;
  height:20px;
  fill:#fff;
}

.tile-content{
  position:relative;
  z-index:10;
  width:100%;
  padding:28px;
}

.tile-label{
  margin-bottom:4px;
  color:rgba(255,255,255,.7);
  font-family:var(--sans);
  font-size:10px;
  font-weight:600;
  letter-spacing:3px;
  text-transform:uppercase;
}

.tile-title{
  margin-bottom:18px;
  color:#fff;
  font-family:var(--serif);
  font-size:26px;
  font-weight:400;
  letter-spacing:1px;
  line-height:1.2;
}

.tile-btn{
  display:inline-block;
  padding:9px 24px;
  border:1px solid rgba(255,255,255,.6);
  background:transparent;
  color:#fff;
  font-family:var(--sans);
  font-size:11px;
  font-weight:600;
  letter-spacing:2px;
  text-transform:uppercase;
  transition:.2s;
}

.tile:hover .tile-btn{
  background:#fff;
  color:var(--navy);
  border-color:#fff;
}

/* ── CATEGORY STRIP ──────────────────────────────────────────── */
.cat-strip{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  border-top:3px solid var(--blue);
  background:#fff;
}

.cat-item{
  display:flex;
  align-items:center;
  gap:18px;
  padding:28px 36px;
  border-right:1px solid var(--g2);
  cursor:pointer;
  transition:background .2s;
}

.cat-item:last-child{
  border-right:none;
}

.cat-item:hover{
  background:var(--blue-pale);
}

.cat-icon{
  width:50px;
  height:50px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:var(--r8);
  background:var(--blue-pale);
  transition:background .2s;
}

.cat-item:hover .cat-icon{
  background:var(--blue-lt);
}

.cat-icon svg{
  width:22px;
  height:22px;
  fill:var(--blue);
}

.cat-name{
  margin-bottom:2px;
  color:var(--navy);
  font-size:15px;
  font-weight:700;
}

.cat-count{
  color:var(--g4);
  font-size:12px;
  font-weight:500;
}

.cat-arrow{
  width:30px;
  height:30px;
  margin-left:auto;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1.5px solid var(--g2);
  border-radius:50%;
  transition:.2s;
}

.cat-item:hover .cat-arrow{
  background:var(--blue);
  border-color:var(--blue);
}

.cat-arrow svg{
  width:14px;
  height:14px;
  fill:var(--g3);
}

.cat-item:hover .cat-arrow svg{
  fill:#fff;
}

/* ── SECTIONS ────────────────────────────────────────────────── */
.section{
  padding:72px 48px;
  background:var(--white);
}

.section-alt{
  background:var(--off);
}

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

.section-eyebrow{
  margin-bottom:8px;
  color:var(--blue);
  font-size:11px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
}

.section-title{
  color:var(--navy);
  font-family:var(--serif);
  font-size:32px;
  font-weight:400;
  line-height:1.2;
}

.section-link{
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--blue);
  font-size:12px;
  font-weight:700;
  letter-spacing:.5px;
  text-transform:uppercase;
}

.section-link svg{
  width:16px;
  height:16px;
  fill:var(--blue);
  transition:transform .2s;
}

.section-link:hover svg{
  transform:translateX(3px);
}

/* PAGE HERO */
.page-hero{
  padding:60px 48px;
  background:var(--navy);
  text-align:center;
}

.page-hero .section-eyebrow{
  color:rgba(255,255,255,.5);
}

.page-hero h1{
  margin-top:8px;
  color:#fff;
  font-family:var(--serif);
  font-size:clamp(28px, 4vw, 44px);
  font-weight:400;
}

.page-hero .gold-line{
  width:48px;
  height:2px;
  margin:16px auto 0;
  background:var(--sky);
  opacity:.6;
}

/* ── PROPERTY CARDS ──────────────────────────────────────────── */
.prop-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));
  gap:24px;
}

.prop-card{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--g2);
  border-radius:var(--r12);
  transition:border-color .25s, box-shadow .25s;
}

.prop-card:hover{
  border-color:var(--blue);
  box-shadow:0 12px 40px rgba(26,95,168,.1);
}

.prop-card-img{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  height:210px;
  overflow:hidden;
  background:var(--g1);
}

.prop-card-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .5s ease;
}

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

.prop-card-img .no-photo{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.prop-badge{
  position:absolute;
  top:14px;
  left:14px;
  padding:5px 12px;
  border-radius:100px;
  font-family:var(--sans);
  font-size:10px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
}

.badge-sale{background:var(--navy);color:#fff;}
.badge-rental{background:#0f7a4a;color:#fff;}
.badge-vacation{background:var(--blue2);color:#fff;}

.prop-card-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:20px;
}

.prop-type{
  margin-bottom:6px;
  color:var(--blue);
  font-size:11px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
}

.prop-title{
  margin-bottom:6px;
  color:var(--navy);
  font-size:16px;
  font-weight:700;
  line-height:1.3;
}

.prop-loc{
  display:flex;
  align-items:center;
  gap:5px;
  margin-bottom:14px;
  color:var(--g4);
  font-size:13px;
}

.prop-loc svg{
  width:13px;
  height:13px;
  fill:var(--blue);
  flex-shrink:0;
}

.prop-specs{
  display:flex;
  gap:16px;
  margin-bottom:14px;
  padding:12px 0;
  border-top:1px solid var(--g1);
  border-bottom:1px solid var(--g1);
}

.prop-spec{
  display:flex;
  align-items:center;
  gap:5px;
  color:var(--g5);
  font-size:12px;
  font-weight:500;
}

.prop-spec svg{
  width:14px;
  height:14px;
  fill:var(--g3);
}

.prop-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:auto;
  gap:12px;
}

.prop-price{
  color:var(--navy);
  font-family:var(--serif);
  font-size:22px;
}

.prop-price small{
  color:var(--g4);
  font-family:var(--sans);
  font-size:12px;
  font-weight:400;
}

.prop-link{
  display:inline-block;
  padding:9px 20px;
  border:none;
  border-radius:var(--r4);
  background:var(--blue-pale);
  color:var(--blue);
  font-family:var(--sans);
  font-size:12px;
  font-weight:700;
  letter-spacing:.3px;
  transition:.2s;
}

.prop-link:hover{
  background:var(--blue);
  color:#fff;
}

/* FILTER TABS */
.filter-tabs{
  display:flex;
  gap:0;
  margin-bottom:32px;
  border-bottom:2px solid var(--g2);
}

.filter-tab{
  display:inline-block;
  margin-bottom:-2px;
  padding:10px 24px;
  border-bottom:3px solid transparent;
  color:var(--g4);
  font-family:var(--sans);
  font-size:12px;
  font-weight:700;
  letter-spacing:.8px;
  text-transform:uppercase;
  transition:.2s;
}

.filter-tab:hover,
.filter-tab.active{
  color:var(--blue);
  border-bottom-color:var(--blue);
}

/* ── FILTER LAYOUT ───────────────────────────────────────────── */
.properties-layout{
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  gap:28px;
  align-items:start;
}

.filters{
  position:sticky;
  top:96px;
  padding:22px;
  background:#fff;
  border:1px solid var(--g2);
  border-radius:var(--r12);
  box-shadow:var(--shadow-soft);
}

.filter-title{
  margin-bottom:18px;
  color:var(--navy);
  font-size:12px;
  font-weight:700;
  letter-spacing:1.4px;
  text-transform:uppercase;
}

.filter-group{
  margin-bottom:14px;
}

.filter-group label{
  display:block;
  margin-bottom:6px;
  color:var(--g4);
  font-size:10px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
}

.filter-group select,
.filter-group input{
  width:100%;
  padding:11px 14px;
  border:1.5px solid var(--g2);
  border-radius:var(--r4);
  background:#fff;
  color:var(--text);
  font-family:var(--sans);
  font-size:13px;
  outline:none;
}

.filter-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.results-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
  gap:12px;
}

.results-count{
  color:var(--g5);
  font-size:13px;
}

.btn-clear{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  margin-top:8px;
  padding:12px 14px;
  border:1.5px solid var(--g2);
  border-radius:var(--r4);
  background:#fff;
  color:var(--navy);
  font-size:13px;
  font-weight:600;
}

/* ── DETAIL PAGE ─────────────────────────────────────────────── */
.detail-gallery{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:4px;
  height:420px;
  overflow:hidden;
}

.gallery-main{
  height:100%;
  overflow:hidden;
}

.gallery-main img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.gallery-side{
  display:grid;
  grid-template-rows:1fr 1fr;
  gap:4px;
}

.gallery-side img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.detail-body{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:48px;
  padding:52px 48px;
}

.detail-title{
  margin-bottom:8px;
  color:var(--navy);
  font-family:var(--serif);
  font-size:30px;
  font-weight:400;
}

.detail-loc{
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:22px;
  color:var(--g4);
  font-size:13px;
}

.detail-loc svg{
  width:14px;
  height:14px;
  fill:var(--blue);
}

.detail-specs{
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  margin-bottom:28px;
  padding:20px;
  background:var(--blue-pale);
  border-radius:var(--r8);
}

.spec{
  text-align:center;
}

.spec-val{
  color:var(--navy);
  font-family:var(--serif);
  font-size:24px;
}

.spec-label{
  color:var(--g4);
  font-size:10px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
}

.detail-desc{
  color:var(--g5);
  font-size:14px;
  line-height:1.85;
}

.inquiry-box{
  position:sticky;
  top:90px;
  height:fit-content;
  padding:28px;
  background:var(--blue-pale);
  border:1px solid var(--g2);
  border-top:3px solid var(--blue);
  border-radius:var(--r12);
}

.inquiry-price{
  margin-bottom:20px;
  color:var(--navy);
  font-family:var(--serif);
  font-size:28px;
}

/* FORMS */
.form-group{
  margin-bottom:16px;
}

.form-group label{
  display:block;
  margin-bottom:6px;
  color:var(--g4);
  font-size:10px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
}

.form-group input,
.form-group textarea,
.form-group select{
  width:100%;
  padding:11px 14px;
  border:1.5px solid var(--g2);
  border-radius:var(--r4);
  outline:none;
  background:var(--white);
  color:var(--text);
  font-family:var(--sans);
  font-size:13px;
  transition:border-color .2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{
  border-color:var(--blue);
}

.form-group textarea{
  min-height:100px;
  resize:vertical;
}

.btn-primary{
  display:inline-block;
  min-height:44px;
  padding:13px 32px;
  border:none;
  border-radius:var(--r4);
  background:var(--blue);
  color:#fff;
  font-family:var(--sans);
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:background .2s;
}

.btn-primary:hover{
  background:var(--blue2);
}

.btn-outline-light{
  display:inline-block;
  padding:12px 30px;
  border:2px solid rgba(255,255,255,.4);
  border-radius:var(--r4);
  background:transparent;
  color:#fff;
  font-family:var(--sans);
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:.2s;
}

.btn-outline-light:hover{
  background:rgba(255,255,255,.1);
  border-color:#fff;
}

.alert{
  margin-bottom:16px;
  padding:12px 16px;
  border-radius:var(--r4);
  font-size:13px;
}

.alert-success{
  background:#e6f4ee;
  border-left:3px solid #2a8a5a;
  color:#1a5a3a;
}

.alert-error{
  background:#fde8e8;
  border-left:3px solid #c0392b;
  color:#7a1a1a;
}

/* PAGE CONTENT */
.page-content{
  max-width:860px;
  padding:52px 48px;
}

.page-content h2{
  margin:28px 0 10px;
  color:var(--navy);
  font-family:var(--serif);
  font-size:22px;
  font-weight:400;
}

.page-content p{
  margin-bottom:14px;
  color:var(--g5);
  font-size:15px;
  line-height:1.8;
}

.page-content ul{
  margin:0 0 14px 20px;
  color:var(--g5);
  font-size:15px;
  line-height:1.8;
}

.page-content strong{
  color:var(--blue);
}

/* WHY US */
.why-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:24px;
}

.why-card{
  padding:28px 24px;
  background:#fff;
  border:1px solid var(--g2);
  border-radius:var(--r12);
  text-align:center;
}

.why-icon{
  width:56px;
  height:56px;
  margin:0 auto 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--blue-pale);
  border-radius:12px;
}

.why-icon svg{
  width:26px;
  height:26px;
  fill:var(--blue);
}

.why-num{
  margin-bottom:4px;
  color:var(--navy);
  font-family:var(--serif);
  font-size:34px;
}

.why-label{
  color:var(--g4);
  font-size:13px;
  font-weight:500;
}

/* CONTACT */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
}

.contact-form-col{
  padding:52px 48px;
  background:var(--white);
}

.contact-map-col{
  position:relative;
  min-height:400px;
}

.contact-map-col iframe{
  width:100%;
  height:100%;
  border:none;
  filter:grayscale(20%);
}

/* PAGINATION */
.pagination{
  display:flex;
  justify-content:center;
  gap:6px;
  margin-top:44px;
}

.pagination a,
.pagination span{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1.5px solid var(--g2);
  border-radius:var(--r4);
  color:var(--g4);
  font-size:13px;
  font-weight:600;
  transition:.2s;
}

.pagination a:hover,
.pagination span.current{
  border-color:var(--blue);
  color:var(--blue);
}

.pagination span.current{
  background:var(--blue);
  color:#fff;
}

/* NO PHOTO */
.no-photo-lg{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:var(--g1);
}

.no-photo-lg svg{
  width:52px;
  height:52px;
  fill:var(--g3);
}

.no-photo-lg span{
  color:var(--g3);
  font-size:11px;
  font-weight:600;
  letter-spacing:1px;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer{
  display:grid;
  grid-template-columns:1fr 1fr;
  background:var(--navy);
}

.footer-col{
  padding:52px 48px;
}

.footer-col:first-child{
  border-right:1px solid rgba(255,255,255,.08);
}

.footer-col-title{
  margin-bottom:24px;
  color:rgba(255,255,255,.35);
  font-size:10px;
  font-weight:700;
  letter-spacing:2.5px;
  text-transform:uppercase;
}

.footer-hours-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:11px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.footer-hours-row:last-child{
  border-bottom:none;
}

.footer-hours-day{
  color:rgba(255,255,255,.5);
  font-size:13px;
}

.footer-hours-time{
  color:#fff;
  font-size:13px;
  font-weight:600;
}

.footer-contact-item{
  display:flex;
  align-items:flex-start;
  gap:14px;
  margin-bottom:20px;
}

.footer-contact-item:last-child{
  margin-bottom:0;
}

.footer-contact-icon{
  width:36px;
  height:36px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--r8);
  background:rgba(255,255,255,.06);
}

.footer-contact-icon svg{
  width:15px;
  height:15px;
  fill:var(--sky);
}

.footer-contact-label{
  margin-bottom:4px;
  color:rgba(255,255,255,.3);
  font-size:10px;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
}

.footer-contact-val{
  color:#fff;
  font-size:14px;
  font-weight:500;
}

.footer-contact-val a{
  color:#fff;
}

.footer-contact-val a:hover{
  color:var(--sky);
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 48px;
  background:#071828;
  color:rgba(255,255,255,.3);
  font-size:12px;
}

.footer-bottom-lang{
  display:flex;
  gap:6px;
}

.footer-bottom-lang a{
  padding:4px 12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:3px;
  color:rgba(255,255,255,.3);
  font-size:11px;
  font-weight:700;
  transition:.2s;
}

.footer-bottom-lang a:hover,
.footer-bottom-lang a.active{
  border-color:rgba(255,255,255,.4);
  color:#fff;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px){
  .hero{
    grid-template-columns:1fr 380px;
    gap:40px;
  }

  .why-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 1024px){
  .hero{
    grid-template-columns:1fr;
    gap:28px;
    padding:56px 24px;
    min-height:auto;
  }

  .hero-left{
    max-width:100%;
  }

  .search-box{
    width:100%;
    max-width:100%;
  }

  .properties-layout{
    grid-template-columns:1fr;
  }

  .filters{
    position:static;
    top:auto;
  }

  .site-footer{
    grid-template-columns:1fr;
  }

  .footer-col:first-child{
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,.08);
  }

  .detail-body{
    grid-template-columns:1fr;
  }

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

@media (max-width: 768px){
  .topbar{
    display:none;
  }

  .site-header{
    height:68px;
    padding:0 16px;
  }

  .logo{
    max-width:calc(100% - 56px);
    padding-right:0;
    border-right:none;
  }

  .site-logo{
    height:40px;
    max-width:190px;
  }

  .hamburger{
    display:flex;
  }

  .main-nav{
    display:none;
    position:fixed;
    top:68px;
    left:0;
    right:0;
    bottom:0;
    background:#fff;
    z-index:999;
    overflow-y:auto;
    padding:0 0 24px;
    flex-direction:column;
  }

  .main-nav.open{
    display:flex;
  }

  .main-nav > ul{
    flex-direction:column;
    width:100%;
    height:auto;
  }

  .main-nav > ul > li{
    width:100%;
  }

  .main-nav > ul > li > a{
    display:block;
    height:auto;
    padding:14px 18px;
    border-bottom:1px solid var(--g1);
  }

  .submenu{
    position:static;
    display:block;
    min-width:100%;
    border:none;
    box-shadow:none;
  }

  .submenu li a{
    padding:12px 30px;
    background:var(--off);
  }

  .nav-cta{
    display:none;
  }

  .hero{
    padding:36px 16px;
    gap:20px;
  }

  .hero h1{
    font-size:30px;
    line-height:1.15;
  }

  .hero-desc{
    margin-bottom:24px;
    font-size:14px;
    line-height:1.7;
  }

  .hero-stats{
    gap:12px;
  }

  .stat{
    min-width:calc(50% - 6px);
    padding-left:12px;
  }

  .stat-num{
    font-size:22px;
  }

  .stat-lbl{
    font-size:10px;
  }

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

  .sb-row,
  .filter-row{
    grid-template-columns:1fr;
  }

  .sb-tabs{
    flex-wrap:wrap;
  }

  .sb-tab{
    min-width:33.333%;
    padding:10px 6px;
    font-size:11px;
  }

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

  .tile{
    height:220px;
    border-right:none;
    border-bottom:3px solid #fff;
  }

  .tile:last-child{
    border-bottom:none;
  }

  .tile-content{
    padding:20px;
  }

  .tile-title{
    margin-bottom:12px;
    font-size:22px;
  }

  .tile-icon{
    width:38px;
    height:38px;
    top:14px;
    right:14px;
  }

  .tile-icon svg,
  .cat-icon svg,
  .why-icon svg,
  .footer-contact-icon svg,
  .btn-search svg{
    width:16px;
    height:16px;
  }

  .cat-strip{
    grid-template-columns:1fr;
  }

  .cat-item{
    padding:20px 16px;
    border-right:none;
    border-bottom:1px solid var(--g2);
  }

  .cat-item:last-child{
    border-bottom:none;
  }

  .cat-icon,
  .why-icon,
  .footer-contact-icon{
    width:42px;
    height:42px;
  }

  .section,
  .page-content,
  .contact-form-col,
  .detail-body{
    padding:36px 16px;
  }

  .section-head{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    margin-bottom:24px;
  }

  .section-title{
    font-size:26px;
  }

  .prop-grid,
  .why-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }

  .detail-gallery{
    grid-template-columns:1fr;
    height:auto;
  }

  .gallery-main{
    height:260px;
  }

  .gallery-side{
    display:none;
  }

  .inquiry-box{
    position:static;
    top:auto;
    margin-top:24px;
  }

  .filter-tabs{
    overflow-x:auto;
    white-space:nowrap;
    scrollbar-width:none;
  }

  .filter-tabs::-webkit-scrollbar{
    display:none;
  }

  .filter-tab{
    flex:0 0 auto;
    padding:10px 18px;
  }

  .footer-col,
  .footer-bottom{
    padding-left:16px;
    padding-right:16px;
  }

  .footer-bottom{
    flex-direction:column;
    gap:10px;
    text-align:center;
  }
}

@media (max-width: 480px){
  .site-logo{
    height:34px;
    max-width:160px;
  }

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

  .btn-search,
  .btn-primary,
  .btn-nav{
    min-height:44px;
  }
}
/* ── PROPERTY DETAIL REFACTOR ───────────────────────────── */
.detail-topbar{
  padding:14px 48px;
  background:var(--navy);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.detail-back-link{
  color:rgba(255,255,255,.6);
  font-family:var(--sans);
  font-size:12px;
  font-weight:600;
  letter-spacing:.5px;
  text-transform:uppercase;
}

.detail-back-link:hover{
  color:#fff;
}

.detail-hero-head{
  padding:34px 48px 28px;
  background:linear-gradient(180deg, #fff 0%, var(--off) 100%);
  border-bottom:1px solid var(--g2);
}

.detail-hero-inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
}

.detail-hero-main{
  max-width:860px;
}

.detail-badge{
  position:static;
  display:inline-block;
  margin-bottom:14px;
  border-radius:100px;
}

.detail-title-main{
  color:var(--navy);
  font-family:var(--serif);
  font-size:clamp(30px, 4vw, 42px);
  font-weight:400;
  line-height:1.15;
  margin-bottom:12px;
}

.detail-location-line{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--g4);
  font-size:14px;
}

.detail-location-line svg{
  width:16px;
  height:16px;
  fill:var(--blue);
  flex-shrink:0;
}

.detail-price-card{
  min-width:220px;
  padding:18px 20px;
  background:#fff;
  border:1px solid var(--g2);
  border-radius:var(--r12);
  box-shadow:var(--shadow-soft);
  text-align:right;
}

.detail-price-value{
  color:var(--navy);
  font-family:var(--serif);
  font-size:34px;
  line-height:1;
}

.detail-price-label{
  margin-top:6px;
  color:var(--g4);
  font-size:13px;
}

.detail-gallery-wrap{
  padding:24px 48px 0;
  background:#fff;
}

.detail-gallery-modern{
  display:grid;
  grid-template-columns:minmax(0, 2fr) minmax(280px, 1fr);
  gap:12px;
}

.detail-gallery-featured a,
.detail-thumb,
.detail-more-item{
  display:block;
  overflow:hidden;
  border-radius:var(--r12);
}

.detail-gallery-featured img{
  width:100%;
  height:520px;
  object-fit:cover;
}

.detail-gallery-thumbs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.detail-thumb img{
  width:100%;
  height:254px;
  object-fit:cover;
  transition:transform .3s ease;
}

.detail-gallery-featured img,
.detail-more-item img{
  transition:transform .3s ease;
}

.detail-gallery-featured a:hover img,
.detail-thumb:hover img,
.detail-more-item:hover img{
  transform:scale(1.04);
}

.detail-gallery-more{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:12px;
  margin-top:12px;
}

.detail-more-item img{
  width:100%;
  height:140px;
  object-fit:cover;
  border-radius:var(--r8);
}

.detail-no-photo{
  height:360px;
  border-radius:var(--r12);
  background:var(--g1);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
}

.detail-main{
  padding-top:28px;
}

.detail-main-grid{
  display:grid;
  grid-template-columns:minmax(0, 2fr) 360px;
  gap:32px;
  align-items:start;
}

.detail-content-card{
  display:flex;
  flex-direction:column;
  gap:24px;
}

.detail-block{
  background:#fff;
  border:1px solid var(--g2);
  border-radius:var(--r12);
  padding:24px;
}

.detail-block-eyebrow{
  margin-bottom:16px;
  color:var(--blue);
  font-size:11px;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
}

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

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

.detail-table tr:not(:last-child){
  border-bottom:1px solid var(--g1);
}

.detail-table th,
.detail-table td{
  padding:14px 10px;
  text-align:left;
  vertical-align:top;
}

.detail-table th{
  width:220px;
  color:var(--g4);
  font-size:12px;
  font-weight:700;
  letter-spacing:.4px;
}

.detail-table td{
  color:var(--navy);
  font-size:14px;
  font-weight:500;
}

@media (max-width: 1024px){
  .detail-hero-head,
  .detail-topbar,
  .detail-gallery-wrap{
    padding-left:24px;
    padding-right:24px;
  }

  .detail-main-grid{
    grid-template-columns:1fr;
  }

  .detail-price-card{
    text-align:left;
    min-width:0;
  }
}

@media (max-width: 768px){
  .detail-topbar,
  .detail-hero-head,
  .detail-gallery-wrap{
    padding-left:16px;
    padding-right:16px;
  }

  .detail-hero-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .detail-price-card{
    width:100%;
  }

  .detail-gallery-modern{
    grid-template-columns:1fr;
  }

  .detail-gallery-featured img{
    height:280px;
  }

  .detail-gallery-thumbs{
    grid-template-columns:1fr 1fr;
  }

  .detail-thumb img{
    height:140px;
  }

  .detail-gallery-more{
    grid-template-columns:1fr 1fr;
  }

  .detail-more-item img{
    height:120px;
  }

  .detail-block{
    padding:18px;
  }

  .detail-table th,
  .detail-table td{
    padding:12px 8px;
  }

  .detail-table th{
    width:140px;
    font-size:11px;
  }

  .detail-table td{
    font-size:13px;
  }
}

@media (max-width: 480px){
  .detail-gallery-thumbs,
  .detail-gallery-more{
    grid-template-columns:1fr;
  }

  .detail-thumb img,
  .detail-more-item img{
    height:160px;
  }
}

/* GALLERY MODAL */
.gallery-open-btn{
  display:block;
  width:100%;
  padding:0;
  border:none;
  background:none;
  cursor:pointer;
}

.gallery-modal{
  position:fixed;
  inset:0;
  z-index:2000;
  display:none;
}

.gallery-modal.open{
  display:block;
}

.gallery-modal-overlay{
  position:absolute;
  inset:0;
  background:rgba(7, 24, 40, .88);
  backdrop-filter:blur(4px);
}

.gallery-modal-dialog{
  position:relative;
  z-index:2;
  width:min(1200px, calc(100vw - 32px));
  max-height:calc(100vh - 32px);
  margin:16px auto;
  padding:18px;
  border-radius:16px;
  background:#0b1626;
  box-shadow:0 20px 80px rgba(0,0,0,.45);
}

.gallery-modal-image-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  height:70vh;
  min-height:320px;
  overflow:hidden;
  border-radius:12px;
  background:#081220;
}

.gallery-modal-image-wrap img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.gallery-modal-close{
  position:absolute;
  top:12px;
  right:12px;
  z-index:5;
  width:42px;
  height:42px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:26px;
  line-height:1;
  cursor:pointer;
}

.gallery-modal-close:hover{
  background:rgba(255,255,255,.2);
}

.gallery-modal-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:4;
  width:48px;
  height:48px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:34px;
  line-height:1;
  cursor:pointer;
}

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

.gallery-modal-nav:hover{
  background:rgba(255,255,255,.2);
}

.gallery-modal-counter{
  margin-top:12px;
  color:rgba(255,255,255,.75);
  text-align:center;
  font-size:13px;
  font-weight:600;
}

.gallery-modal-thumbs{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(90px, 1fr));
  gap:10px;
  margin-top:14px;
}

.gallery-modal-thumb{
  padding:0;
  border:2px solid transparent;
  border-radius:10px;
  overflow:hidden;
  background:none;
  cursor:pointer;
}

.gallery-modal-thumb.active{
  border-color:var(--blue);
}

.gallery-modal-thumb img{
  width:100%;
  height:72px;
  object-fit:cover;
  display:block;
}

body.gallery-modal-open{
  overflow:hidden;
}

/* PRIVACY AGREEMENT */
.privacy-check-wrap{
  margin-top:4px;
}

.privacy-check-label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  cursor:pointer;
  color:var(--g5);
  font-size:13px;
  line-height:1.55;
}

.privacy-check-label input{
  width:18px;
  height:18px;
  margin-top:2px;
  flex-shrink:0;
}

.privacy-check-label a{
  color:var(--blue);
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:2px;
}

.privacy-check-label a:hover{
  color:var(--blue2);
}

.property-strip-thumb.active{
  border-color:var(--blue);
}

@media (max-width: 768px){
  .gallery-modal-dialog{
    width:min(100vw - 16px, 100%);
    margin:8px auto;
    padding:12px;
  }

  .gallery-modal-image-wrap{
    height:52vh;
  }

  .gallery-modal-nav{
    width:42px;
    height:42px;
    font-size:28px;
  }

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

  .gallery-modal-thumb img{
    height:62px;
  }
}

/* ═══════════════════════════════════════════════════════════
   IMPROVEMENTS — Mobile Nav, Inner Pages, Prop Card
   ═══════════════════════════════════════════════════════════ */

/* ── HAMBURGER ANIMATION ─────────────────────────────────── */
.hamburger span {
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.hamburger.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Prevent body scroll when nav open */
body.nav-open {
  overflow: hidden;
}

/* Smooth header shadow on scroll */
.site-header {
  transition: box-shadow .25s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(12,35,64,.10);
}

/* Mobile submenu smooth reveal */
@media (max-width: 768px) {
  .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    display: block !important; /* override hover display:none */
  }
  .has-sub.sub-open .submenu {
    /* max-height set by JS */
  }
}

/* ── INNER HERO (about / services / contact) ─────────────── */
.inner-hero {
  position: relative;
  padding: 72px 48px 64px;
  background: var(--navy);
  text-align: center;
  overflow: hidden;
}
.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(26,95,168,.25) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(74,159,216,.12) 0%, transparent 70%);
  pointer-events: none;
}
.inner-hero-label {
  position: relative;
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.inner-hero-title {
  position: relative;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0;
}
.inner-hero .gold-line {
  width: 48px;
  height: 2px;
  margin: 18px auto 20px;
  background: var(--sky);
  opacity: .6;
}
.inner-hero-text {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255,255,255,.55);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
}

/* ── INNER SHELL ─────────────────────────────────────────── */
.inner-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.about-page-section {
  padding: 64px 0;
  background: var(--off);
}
.about-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 380px;
  gap: 40px;
  align-items: start;
}
.about-page-card {
  background: #fff;
  border: 1px solid var(--g2);
  border-radius: var(--r12);
  padding: 40px;
}
.about-page-kicker {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.about-page-heading {
  margin-bottom: 14px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}
.about-page-intro {
  margin-bottom: 24px;
  color: var(--g5);
  font-size: 15px;
  line-height: 1.8;
  font-style: italic;
  padding-left: 18px;
  border-left: 3px solid var(--blue-lt);
}
.about-page-content {
  color: var(--g5);
  font-size: 15px;
  line-height: 1.85;
}
.about-page-content h2,
.about-page-content h3 {
  margin: 22px 0 8px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}
.about-page-content p { margin-bottom: 14px; }
.about-page-content ul { margin: 0 0 14px 18px; }

/* Sidebar cards */
.about-page-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-page-side-card {
  background: #fff;
  border: 1px solid var(--g2);
  border-radius: var(--r12);
  padding: 28px;
}
.about-page-side-title {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
}

/* Numbered stat list */
.about-page-stat-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about-page-stat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--g1);
}
.about-page-stat:last-child { border-bottom: none; }
.about-page-stat-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
}
.about-page-stat-label {
  flex: 1;
  color: var(--g5);
  font-size: 13px;
  line-height: 1.6;
  padding-top: 6px;
}

/* Value list */
.about-page-value-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-page-value {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--g5);
  font-size: 13px;
  line-height: 1.6;
}
.about-page-value-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* CTA Banner */
.about-page-cta-wrap {
  margin-top: 40px;
}
.about-page-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 40px;
  background: var(--navy);
  border-radius: var(--r12);
}
.about-page-cta h3 {
  margin-bottom: 8px;
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}
.about-page-cta p {
  color: rgba(255,255,255,.55);
  font-size: 14px;
  line-height: 1.7;
}
.about-page-btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--r4);
  background: transparent;
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: .2s;
}
.about-page-btn:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.6);
}

/* ── SERVICES PAGE ───────────────────────────────────────── */
.services-page-section {
  padding: 64px 0;
  background: var(--off);
}
.services-page-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 360px;
  gap: 32px;
  margin-bottom: 40px;
}
.services-page-card {
  background: #fff;
  border: 1px solid var(--g2);
  border-radius: var(--r12);
  padding: 40px;
}
.services-page-card h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}
.services-page-content {
  color: var(--g5);
  font-size: 15px;
  line-height: 1.85;
}
.services-page-content p { margin-bottom: 14px; }
.services-page-panel {
  background: var(--navy);
  border-radius: var(--r12);
  padding: 32px;
}
.services-page-panel h3 {
  margin-bottom: 22px;
  color: rgba(255,255,255,.9);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}
.services-page-checks {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.services-page-check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  color: rgba(255,255,255,.6);
  font-size: 13px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.services-page-check:last-child { border-bottom: none; }
.services-page-check::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid var(--sky);
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.17L4.83 12 3.41 13.41 9 19 21 7l-1.41-1.41z' fill='%234a9fd8'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

/* Service cards grid */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.services-page-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--g2);
  border-radius: var(--r12);
  padding: 32px;
  transition: border-color .25s, box-shadow .25s;
  overflow: hidden;
}
.services-page-item:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 40px rgba(26,95,168,.10);
}
.services-page-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.services-page-item:hover::before {
  transform: scaleX(1);
}
.services-page-num {
  margin-bottom: 16px;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  opacity: .35;
  line-height: 1;
}
.services-page-item h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
}
.services-page-item p {
  color: var(--g5);
  font-size: 14px;
  line-height: 1.75;
}

/* Services CTA */
.services-page-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 40px;
  background: var(--navy);
  border-radius: var(--r12);
}
.services-page-cta h3 {
  margin-bottom: 8px;
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}
.services-page-cta p {
  color: rgba(255,255,255,.55);
  font-size: 14px;
  line-height: 1.7;
}
.services-page-btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--r4);
  background: transparent;
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: .2s;
}
.services-page-btn:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.6);
}

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-page-section {
  padding: 64px 0;
  background: var(--off);
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.contact-page-card {
  background: var(--navy);
  border-radius: var(--r12);
  padding: 36px;
  position: sticky;
  top: 96px;
}
.contact-page-title {
  margin-bottom: 10px;
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}
.contact-page-text {
  margin-bottom: 28px;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  line-height: 1.7;
}
.contact-page-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-page-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.contact-page-info-item:last-child { border-bottom: none; }
.contact-page-info-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r8);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--sky);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
}
.contact-page-info-item strong {
  display: block;
  margin-bottom: 3px;
  color: rgba(255,255,255,.4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.contact-page-info-item span,
.contact-page-info-item a {
  color: rgba(255,255,255,.85);
  font-size: 14px;
  font-weight: 500;
}
.contact-page-info-item a:hover { color: var(--sky); }

/* Contact stack (form + map) */
.contact-page-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-page-form-card {
  background: #fff;
  border: 1px solid var(--g2);
  border-radius: var(--r12);
  padding: 36px;
}
.contact-page-form-card .contact-page-title {
  color: var(--navy);
}
.contact-page-form-card .contact-page-text {
  color: var(--g4);
  margin-bottom: 24px;
}
.contact-page-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-page-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-page-field.full {
  grid-column: 1 / -1;
}
.contact-page-field label {
  color: var(--g4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.contact-page-field input,
.contact-page-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--g2);
  border-radius: var(--r4);
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}
.contact-page-field input:focus,
.contact-page-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,95,168,.07);
}
.contact-page-field textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-page-error {
  color: #c0392b;
  font-size: 12px;
}
.contact-page-alert {
  margin-bottom: 18px;
  padding: 13px 16px;
  border-radius: var(--r4);
  font-size: 13px;
  font-weight: 500;
}
.contact-page-alert.success {
  background: #e6f4ee;
  border-left: 3px solid #2a8a5a;
  color: #1a5a3a;
}
.contact-page-alert.error {
  background: #fde8e8;
  border-left: 3px solid #c0392b;
  color: #7a1a1a;
}
.contact-page-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 13px 32px;
  border: none;
  border-radius: var(--r4);
  background: var(--blue);
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  transition: background .2s;
}
.contact-page-submit:hover {
  background: var(--blue2);
}

.contact-page-map-card {
  border-radius: var(--r12);
  overflow: hidden;
  border: 1px solid var(--g2);
  min-height: 280px;
}
.contact-page-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: none;
  display: block;
  filter: grayscale(15%);
}

/* ── PROP CARD IMPROVEMENTS ──────────────────────────────── */
.prop-card-media-link {
  display: block;
  text-decoration: none;
}
.prop-title-link {
  color: inherit;
  text-decoration: none;
}
.prop-title-link:hover {
  color: var(--blue);
}
/* Fix: no-photo icon was using wrong SVG path */
.no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--g1);
}
.no-photo svg {
  width: 48px;
  height: 48px;
  fill: var(--g3);
}

/* ── RESPONSIVE: INNER PAGES ─────────────────────────────── */
@media (max-width: 1024px) {
  .inner-shell {
    padding: 0 24px;
  }
  .about-page-grid,
  .services-page-top {
    grid-template-columns: 1fr;
  }
  .about-page-side {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .about-page-side-card {
    flex: 1 1 280px;
  }
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
  .contact-page-card {
    position: static;
  }
  .services-page-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .inner-hero {
    padding: 52px 20px 48px;
  }
  .inner-shell {
    padding: 0 16px;
  }
  .about-page-section,
  .services-page-section,
  .contact-page-section {
    padding: 40px 0;
  }
  .about-page-card,
  .services-page-card,
  .contact-page-form-card {
    padding: 24px;
  }
  .about-page-cta,
  .services-page-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }
  .about-page-btn,
  .services-page-btn {
    width: 100%;
    text-align: center;
  }
  .services-page-grid {
    grid-template-columns: 1fr;
  }
  .contact-page-form-grid {
    grid-template-columns: 1fr;
  }
  .contact-page-field.full {
    grid-column: 1;
  }
  .about-page-side {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════════════
   PROPERTY DETAIL PAGE — missing variables & layout classes
   ═══════════════════════════════════════════════════════════ */

:root {
  --max-w:    1280px;
  --pad-x:    48px;
  --shadow-sm: 0 4px 16px rgba(12,35,64,.07);
}

/* ── PROPERTY BACK BAR ───────────────────────────────────── */
.property-bar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.property-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px var(--pad-x);
}
.property-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: color .2s;
}
.property-back:hover { color: #fff; }

/* ── PROPERTY HEADER ─────────────────────────────────────── */
.property-header {
  padding: 32px 0 28px;
  background: linear-gradient(180deg, #fff 0%, var(--off) 100%);
  border-bottom: 1px solid var(--g2);
}
.property-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.property-header-main { flex: 1; min-width: 0; }

.property-page-badge {
  display: inline-block;
  margin-bottom: 14px;
}

.property-page-title {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 12px;
}

/* ── THE FIX: constrain the location pin SVG ─────────────── */
.property-page-location {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--g4);
  font-size: 14px;
}
.property-page-location svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: var(--blue);
}

/* ── PROPERTY HEADER PRICE ───────────────────────────────── */
.property-header-price {
  flex-shrink: 0;
  min-width: 200px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--g2);
  border-radius: var(--r12);
  box-shadow: var(--shadow-sm);
  text-align: right;
}
.property-header-price-main {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
}
.property-header-price-sub {
  margin-top: 5px;
  color: var(--g4);
  font-size: 13px;
}

/* ── RESPONSIVE: PROPERTY HEADER ────────────────────────── */
@media (max-width: 768px) {
  :root {
    --pad-x: 16px;
  }
  .property-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .property-header-price {
    width: 100%;
    text-align: left;
    min-width: 0;
  }
}

/* ── NAV FLAG LANGUAGE SELECTOR ──────────────────────────── */
.nav-lang-flags {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-flag {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1.5px solid var(--g2);
  border-radius: var(--r4);
  background: #fff;
  color: var(--g5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  transition: border-color .2s, background .2s, color .2s;
  text-decoration: none;
}
.nav-flag img {
  display: block;
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
.nav-flag:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-pale);
}
.nav-flag.active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

/* Mobile: show flags in nav panel */
@media (max-width: 768px) {
  .nav-cta {
    display: flex !important;
    justify-content: flex-start;
    padding: 16px 18px;
    border-top: 1px solid var(--g1);
  }
  .nav-lang-flags { gap: 10px; }
  .nav-flag { padding: 8px 16px; font-size: 12px; }
}

/* ── PROP CARD — DETAILS BUTTON RED ─────────────────────── */
.prop-link {
  background: #A60000;
  color: #fff;
}
.prop-link:hover {
  background: #C90E0E;
  color: #fff;
}

/* ── FOOTER BOTTOM: full-width copyright, no lang column ─── */
.footer-bottom {
  justify-content: center;
}

/* Advanced property filters */
.properties-layout-improved{
  display:grid;
  grid-template-columns:minmax(300px, 360px) minmax(0, 1fr);
  gap:24px;
  align-items:start;
}

.filters-card{
  position:sticky;
  top:96px;
  padding:22px;
  border:1px solid var(--g2);
  border-radius:20px;
  background:linear-gradient(180deg,#ffffff 0%, #f7fafc 100%);
  box-shadow:0 18px 45px rgba(16,42,67,.08);
}

.filters-modern{
  display:grid;
  gap:18px;
}

.filters-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding-bottom:16px;
  border-bottom:1px solid rgba(148,163,184,.2);
}

.filter-title{
  margin:0 0 4px;
  color:var(--navy);
  font-size:13px;
  font-weight:800;
  letter-spacing:1.5px;
  text-transform:uppercase;
}

.filter-subtitle{
  color:var(--g4);
  font-size:13px;
  line-height:1.6;
}

.btn-reset-inline{
  padding:9px 14px;
  border:1px solid var(--g2);
  border-radius:999px;
  background:#fff;
  color:var(--navy);
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}

.filter-searchbar,
.filter-section{
  padding:16px;
  border:1px solid rgba(148,163,184,.18);
  border-radius:18px;
  background:#fff;
}

.filter-section-label{
  margin-bottom:12px;
  color:var(--navy);
  font-size:11px;
  font-weight:800;
  letter-spacing:1.1px;
  text-transform:uppercase;
}

.search-input-wrap{
  position:relative;
}

.search-input-wrap svg{
  position:absolute;
  left:13px;
  top:50%;
  width:18px;
  height:18px;
  fill:#94a3b8;
  transform:translateY(-50%);
}

.filter-group-search input{
  padding-left:40px;
}

.quick-filter-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.quick-check,
.location-pill{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:11px 14px;
  border:1px solid var(--g2);
  border-radius:14px;
  background:#fff;
  color:var(--navy);
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:.2s ease;
}

.quick-check input,
.location-pill input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.quick-check.active,
.location-pill.active,
.quick-check:hover,
.location-pill:hover{
  border-color:rgba(38,99,235,.28);
  background:#eff6ff;
  box-shadow:0 10px 24px rgba(37,99,235,.10);
}

.location-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.location-pill{
  min-height:auto;
  padding:10px 14px;
  border-radius:999px;
}

.filter-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.filter-group{
  margin-bottom:0;
}

.filter-group label{
  display:block;
  margin-bottom:7px;
  color:var(--g4);
  font-size:10px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
}

.filter-group select,
.filter-group input{
  width:100%;
  min-height:46px;
  padding:12px 14px;
  border:1.5px solid var(--g2);
  border-radius:14px;
  background:#fff;
  color:var(--text);
  font-family:var(--sans);
  font-size:13px;
  outline:none;
  transition:border-color .2s, box-shadow .2s;
}

.filter-group select:focus,
.filter-group input:focus{
  border-color:#93c5fd;
  box-shadow:0 0 0 4px rgba(59,130,246,.10);
}

.filter-actions-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.btn-clear-inline{
  margin-top:0;
}

.properties-results-wrap{
  min-width:0;
}

#propertiesResults{
  position:relative;
  transition:opacity .2s ease;
}

#propertiesResults.is-loading{
  opacity:.5;
  pointer-events:none;
}

#propertiesResults.is-loading::after{
  content:'';
  position:absolute;
  inset:32px auto auto 50%;
  width:42px;
  height:42px;
  margin-left:-21px;
  border:3px solid rgba(37,99,235,.15);
  border-top-color:var(--blue);
  border-radius:50%;
  animation:argosSpin .8s linear infinite;
}

@keyframes argosSpin{
  to{ transform:rotate(360deg); }
}

.results-bar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
  padding:16px 18px;
  border:1px solid rgba(148,163,184,.18);
  border-radius:18px;
  background:#fff;
}

.results-count{
  color:var(--g5);
  font-size:14px;
}

.results-active-filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}

.results-chip{
  padding:7px 11px;
  border-radius:999px;
  background:#eff6ff;
  color:var(--navy);
  font-size:12px;
  font-weight:700;
}

@media (max-width: 1100px){
  .properties-layout-improved{
    grid-template-columns:1fr;
  }

  .filters-card{
    position:static;
  }
}

@media (max-width: 700px){
  .filter-row,
  .filter-actions-row{
    grid-template-columns:1fr;
  }

  .results-bar{
    flex-direction:column;
  }

  .results-active-filters{
    justify-content:flex-start;
  }
}


/* Clean modern filter refresh */
.search-box{
  padding:30px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:24px;
  background:rgba(255,255,255,.96);
  box-shadow:0 24px 64px rgba(7,18,34,.20);
  backdrop-filter:blur(10px);
}

.search-box form{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.search-box .sb-title{
  margin-bottom:18px;
  font-size:13px;
  letter-spacing:1.6px;
}

.search-box .sb-field,
.search-box .sb-row{
  margin:0;
}

.search-box .sb-field label{
  margin-bottom:7px;
  color:#64748b;
  font-size:10px;
  letter-spacing:1.1px;
}

.search-box .sb-field select,
.search-box .sb-field input{
  min-height:48px;
  padding:13px 15px;
  border-radius:14px;
  border:1px solid #dbe3ee;
  background:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}

.search-box .sb-row{
  display:contents;
}

.search-box .btn-search,
.search-box .btn-clear{
  min-height:48px;
  border-radius:14px;
}

.search-box .btn-search{
  grid-column:1 / 2;
}

.search-box .btn-clear{
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--g2);
  background:#fff;
  color:var(--navy);
  font-size:13px;
  font-weight:700;
}

.filters-card-modern{
  padding:24px;
  border-radius:24px;
  background:linear-gradient(180deg,#ffffff 0%, #f8fbff 100%);
  box-shadow:0 22px 55px rgba(15,23,42,.08);
}

.filters-modern-clean{
  gap:20px;
}

.filters-head-clean{
  padding-bottom:18px;
  border-bottom:1px solid rgba(148,163,184,.16);
}

.filters-grid-clean{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.filter-group-full{
  grid-column:1 / -1;
}

.filters-modern-clean .filter-group label{
  margin-bottom:8px;
  color:#64748b;
  font-size:10px;
  font-weight:800;
  letter-spacing:1.1px;
}

.filters-modern-clean .filter-group select,
.filters-modern-clean .filter-group input{
  min-height:50px;
  padding:13px 15px;
  border:1px solid #dbe3ee;
  border-radius:16px;
  background:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
}

.filter-actions-row-clean{
  grid-template-columns:1fr 1fr;
}

@media (max-width: 1100px){
  .search-box form,
  .filters-grid-clean{
    grid-template-columns:1fr;
  }

  .search-box .btn-search,
  .search-box .btn-clear,
  .filter-group-full{
    grid-column:auto;
  }
}
