/* Match the existing gold/ivory design; scope new rules to the house controls. */
[hidden],.gallery-extra{display:none!important}
.house-selector{padding:55px 0 25px;scroll-margin-top:90px}
.house-selector .section-title{text-align:center;margin-bottom:25px}
.house-tabs{display:flex;justify-content:center;gap:18px;margin:0 auto 30px;max-width:660px}
.house-tab{flex:1;min-height:90px;border:1px solid #d8c394;background:transparent;color:#494949;padding:15px 24px;cursor:pointer;transition:background .2s}
.house-tab span,.house-tab strong{display:block}.house-tab span{font-size:14px;margin-bottom:5px}.house-tab strong{font-family:Georgia,serif;font-size:24px;font-weight:400}
.house-tab.active{background:#e2ce94;border-color:#e2ce94}
.house-tab:hover{background:#f0e6cd}.house-tab.active:hover{background:#e2ce94}
.house-tab:focus-visible,.house-nav a:focus-visible,.custom-splide-arrow:focus-visible,.tab-list-item:focus-visible{outline:2px solid #997b36;outline-offset:4px}
.house-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 28px;border-bottom:1px solid #dccaa5;padding-bottom:22px}
.house-nav a{color:#4c4c4c;text-decoration:none;font-size:14px}.house-nav a:hover{text-decoration:underline}
.house-panel .about-section{padding-top:35px}.house-panel .section-title{overflow-wrap:break-word}
.house-image-placeholder{width:100%;min-height:350px;display:flex;align-items:center;justify-content:center;border:7px solid #fbefd5;background:#faf9f6;text-align:center;color:#82775e;font-family:Georgia,serif;font-size:22px;line-height:1.5;padding:30px}
.house-panel .rooms-slider-item{min-height:350px}.house-panel .rooms-content-title{overflow-wrap:break-word}
.house-panel .rooms-content-table-row:has(.rooms-content-table-td:first-child:empty){display:none}
.house-documents,.house-contact{padding:45px 0}.house-document-list{list-style:none;padding:0;margin:25px 0 0;display:flex;flex-wrap:wrap;gap:16px}
.house-document-list a{display:block;border:1px solid #dfcda2;padding:18px 24px;color:#4a4437;text-decoration:none}.house-document-list a:hover{background:#f5ecd9}
.house-empty{padding:25px;background:#f5f1e8;color:#756f63}
.house-contact-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;border-top:1px solid #dfcda2;padding-top:35px}
.house-contact-inner .section-title{margin-bottom:16px}.house-contact-actions{display:flex;flex-direction:column;gap:15px;flex-shrink:0}.house-phone{font-size:22px;color:#4d493e}
.house-panel section{scroll-margin-top:90px}.map>.container{padding-top:35px;padding-bottom:15px}
.house-panel .gallery-item>*{display:block}
@media(max-width:767px){
 .house-selector{padding-top:30px}.house-tabs{gap:10px}.house-tab{padding:12px 10px;min-height:80px}.house-tab strong{font-size:22px}
 .house-nav{gap:15px 20px}.house-nav a{font-size:13px}.house-contact-inner{display:block}.house-contact-actions{margin-top:25px;align-items:flex-start}
 .house-image-placeholder,.house-panel .rooms-slider-item{min-height:270px}.house-image-placeholder{font-size:19px;padding:20px}
 .house-panel .rooms-tab-list,.house-panel .rooms-tab-list-inner{flex-wrap:wrap;gap:10px}.house-panel .rooms-tab-list-inner .tab-list-item{margin-right:0}
 .house-documents,.house-contact{padding:30px 0}.house-document-list a{padding:14px 16px}
}


/* October 2026: banner sizing, visible CTAs and mobile spacing. */
.onegin-form-triggers{display:none}
.complex-title-mobile{display:none}
.main-slider .onegin-hero{height:100vh;height:100svh;min-height:520px;padding:100px 0 24px;display:flex;flex-direction:column;background:#444;gap:18px}
.onegin-hero-picture{display:block;flex:1;min-height:0;width:100%}
.onegin-hero-picture img{display:block;width:100%;height:100%;max-height:none;object-fit:contain}
.onegin-hero>.container{flex:none;text-align:center}
.onegin-hero .main-slider-item-title{width:auto;font-size:clamp(24px,3vw,48px);margin:0 0 12px}
.onegin-hero .main-slider-item-btn{margin-top:0}
.main-slider .splide__pagination:has(li:only-child){display:none}
.onegin-hero .main-slider-item-image{max-height:70%;width:auto;pointer-events:none}
.house-selector .section-title{text-align:left}
.house-panel>.about-section{margin-top:12px;padding-top:12px}
.house-selector{padding-bottom:12px}
.offer-section{z-index:3;padding-bottom:40px}
.offer-content{position:relative;transform:none!important;opacity:1!important}
.offer-content .offer-btn{position:relative;z-index:3}
.contacts-section{isolation:isolate}
.contacts-section .container:before{top:-50px;height:50px;pointer-events:none}
.contacts-section .container:after{pointer-events:none}
.house-contact .btn{max-width:100%}
@media(max-width:991px){
 .offer-section{padding-bottom:35px}
 .offer-content .col-lg-3{flex:0 0 100%;max-width:100%}
 .offer-content .offer-btn{display:block;margin-top:22px}
 .contacts-section .container:before{display:none}
 .header-logo{margin-left:12px;min-width:0}
 .header-contacts-phone{margin-left:12px}
 .header-menu{flex-shrink:0;margin-left:12px}
}
@media(max-width:767px){
 .main-slider .onegin-hero{height:auto;min-height:0;padding:64px 0 18px;gap:16px}
 .onegin-hero-picture{flex:none}
 .onegin-hero-picture img{height:auto;max-height:none}
 .main-slider .onegin-hero.has-mobile-cover{height:100vh;height:100svh;min-height:460px}
 .onegin-hero.has-mobile-cover .onegin-hero-picture{flex:1;min-height:0}
 .onegin-hero.has-mobile-cover .onegin-hero-picture img{height:100%;object-fit:contain}
 .onegin-hero .main-slider-item-image{display:none}
 .onegin-hero .main-slider-item-btn{width:100%;max-width:340px}
 .header,.header.active{background:#444}
 .header-grid{min-height:54px}
 .header-logo img{display:block;width:112px;height:auto;max-height:34px}
 .header.active .header-logo{transform:none}
 .header-contacts-phone a{font-size:clamp(12px,3.7vw,17px);white-space:nowrap}
 .header-menu,.header.active .header-menu{width:48px;height:54px;margin-left:10px;padding:9px}
 .header-contacts-btn{display:none}
 .complex-title-desktop{display:none}
 .complex-title-mobile{display:inline}
 #about-section{margin-top:34px}
 #about-section .complex-title{font-size:clamp(25px,7vw,42px);white-space:nowrap;line-height:1.2;margin:0}
 #about-section .about-text{margin-top:18px}
 #about-section .about-info{margin:12px 0 0;padding:0;gap:12px}
 #about-section .about-info li{margin:0;padding:0}
 .house-selector{margin-top:32px;padding-top:0;padding-bottom:8px}
 .house-selector .section-title{font-size:clamp(27px,7.8vw,40px);margin-bottom:20px}
 .house-tabs{margin-bottom:22px}
 .house-panel>.about-section{margin-top:16px;padding-top:0}
 .house-panel>.about-section .about-text{margin-top:18px}
 .house-panel [data-aos],#about-section [data-aos],.offer-section [data-aos],.contacts-section [data-aos]{transform:none!important;opacity:1!important}
 .house-contact-actions{align-items:stretch}
 .house-contact-actions .btn{width:100%;max-width:340px}
 .contacts-section .section-title{text-align:left}
 .contacts-section .oferta-row{padding-top:45px;padding-bottom:45px}
 .contacts-content-table{width:100%;table-layout:fixed}
 .contacts-content-table td{overflow-wrap:anywhere;font-size:16px}
 .contacts-content-table td:first-child{width:30%}
}
@media(max-width:359px){
 .header-logo img{width:92px}
 .header-contacts-phone{margin-left:6px}
 .header-menu,.header.active .header-menu{width:42px;margin-left:6px}
}

/* Allow the smallest screens to use their actual available width. */
@media(max-width:767px){body{min-width:0;width:100%}}

/* Desktop: edge-to-edge artwork, with the CTA on the grass at the bottom. */
@media(min-width:768px){
 .main-slider .onegin-hero{height:auto;min-height:0;padding:0;gap:0;background:transparent}
 .onegin-hero-picture{flex:none}
 .onegin-hero-picture img{width:100%;height:auto;max-height:100vh;max-height:100svh;object-fit:cover;object-position:center}
 .onegin-hero>.container{position:absolute;bottom:28px;left:0;right:0;margin:auto;z-index:2}
 .onegin-hero .main-slider-item-btn{box-shadow:0 3px 16px rgba(0,0,0,.15)}
 .header:not(.active){background:linear-gradient(180deg,rgba(0,0,0,.35),transparent)}
}

/* Mobile purchase headings alignment. */
@media(max-width:767px){
 .offer-section .section-title,.offer-section .section-description{text-align:left!important}
}
