/* Mobile-first corrections: keep all navigation and content inside the viewport. */
html,body{max-width:100%;overflow-x:clip}
img{max-width:100%}
@media(max-width:720px){
  .header{position:absolute;display:grid;grid-template-columns:46px minmax(0,1fr);grid-template-rows:56px 48px;height:116px;min-height:116px;align-content:center;column-gap:10px;row-gap:0;padding:6px 15px 7px;background:linear-gradient(180deg,#091923ee,#102630c7);}
  .header .hamb{grid-row:1;grid-column:1;width:42px;height:42px;justify-self:start;border-radius:50%}
  .header .logo-wrap{grid-column:2;grid-row:1;justify-self:start;min-width:0;gap:7px}
  .header .logo-img{width:45px;height:45px;flex:none}
  .header .wordmark{font-size:clamp(13px,3.7vw,18px);white-space:nowrap;letter-spacing:0}
  .header .wordmark small{font-size:7px;letter-spacing:.29em}
  .header .header-right{grid-column:1 / -1;grid-row:2;width:100%;min-width:0;display:flex;align-items:center;justify-content:space-between;margin:0;gap:10px}
  .header .header-right .header-phone{display:none}
  .header #vkLanguage{flex:1 1 45%;min-width:0;max-width:none!important;height:39px;padding:8px 10px!important;font-size:12px!important}
  .header .pill-outline{flex:0 0 auto;max-width:46%;height:39px;padding:8px 12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px!important}
  #top .hero{height:auto;min-height:690px;padding:150px 0 82px;display:block}
  #top .hero-content{width:auto;max-width:100%;margin:0 6%;padding:0}
  #top .hero .kicker{font-size:9px;letter-spacing:.19em;line-height:1.5;overflow-wrap:anywhere}
  #top .hero h1{font-size:clamp(37px,10vw,57px);line-height:1.1;margin:19px 0 21px;overflow-wrap:normal}
  #top .hero p{font-size:14px;line-height:1.72;max-width:100%}
  .hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:23px}
  .hero-actions .gold-btn,.hero-actions .ghost-btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:13px 18px;max-width:100%;font-size:12px}
  #top .hero-bottom{bottom:26px;left:6%;right:6%;font-size:9px;letter-spacing:.1em;gap:10px}
  #top .hero-bottom span:last-child{white-space:nowrap}
  .scroll-line{width:35px}
  .search-wrap{margin:-15px auto 0;width:100%;max-width:100%;padding:0 5%}
  .search{grid-template-columns:minmax(0,1fr);gap:13px;padding:17px}
  .search>div,.search input,.search select{min-width:0;width:100%}
  .search .dark-btn{grid-column:1;min-height:48px}
  .section,.band,.vip{min-width:0}
  .property-grid,.service-grid,.band-grid,.story,.vip,.footer-top{min-width:0}
  .section-heading h2,.band h2,.story h2,.vip h2{overflow-wrap:break-word}
  .demo-stamp{display:none}
  .topbar{height:auto;min-height:94px;padding:9px 4%;gap:7px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:45px 36px}
  .topbar .identity{min-width:0;gap:6px}
  .topbar .identity img{width:41px;height:41px;flex:none}
  .topbar .identity strong{font-size:13px;white-space:nowrap}
  .topbar .identity small{letter-spacing:.2em}
  .topbar .back{font-size:10px;text-align:center;padding:9px 8px}
  .topbar #vkLanguage{grid-column:1 / -1;grid-row:2;width:100%;max-width:none!important;padding:7px 9px!important;font-size:11px!important}
  .detail-shell,.list-layout{max-width:100%}
  .filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .filters>*{min-width:0}
  .details-grid,.detail-head{min-width:0}
  .detail-head h1{overflow-wrap:break-word}
}
@media(max-width:380px){
  .header{padding-inline:11px;grid-template-columns:40px minmax(0,1fr);column-gap:7px}
  .header .hamb{width:39px;height:39px}
  .header .logo-img{width:39px;height:39px}
  .header .wordmark{font-size:12px}
  .header .pill-outline{font-size:10px!important}
  #top .hero h1{font-size:clamp(34px,10.2vw,42px)}
  .hero-actions .gold-btn,.hero-actions .ghost-btn{width:100%}
  #top .hero-bottom span:last-child{display:none}
  .topbar .identity strong{font-size:11px}
  .topbar #vkLanguage{max-width:95px!important}
  .facts,.spec-list{grid-template-columns:minmax(0,1fr)}
}

/* VK MY CHOICE homepage hero photograph — typography and layout remain unchanged. */
.hero-photo{background-image:url('vk-hero-villa.webp')!important;background-position:center center!important}

/* On narrow screens use a true portrait wide-angle shot, showing the entire villa. */
@media(max-width:760px){
  .hero-photo{
    background-image:url('vk-hero-villa-mobile-wideview.webp')!important;
    background-position:center center!important;
    background-size:cover!important;
    animation:none!important;
    transform:none!important;
  }
}
