/* Nam Thịnh Phát: shared geometry and controls, navy brand palette. */
:root{--navy:#073d73;--deep:#052b52;--ink:#17334b;--muted:#61778a;--line:#cfdae6;--soft:#edf3fa;--gold:#bddaf4;--ui-label:#d9eafa;--ui-field:#fff;--ui-bg:#f6f9fc}
body:not(.admin-body){background:var(--ui-bg);font-family:"NTP Sans",Arial,sans-serif;font-size:14px;line-height:1.65;color:var(--ink)}
body:not(.admin-body) .wrap{width:calc(100% - 64px);max-width:1152px}body:not(.admin-body) main{max-width:1200px;margin:auto}body:not(.admin-body) .section{padding-block:34px}body:not(.admin-body) h2{font-size:32px;font-weight:700}body:not(.admin-body) h3{font-size:17px}
#ntp-brand-header{width:calc(100% - 64px);max-width:1200px;margin:0 auto;background:var(--deep);color:var(--ui-label)}
.ntp-brand-hero{min-height:390px;position:relative;display:flex;align-items:center;background:linear-gradient(90deg,#052b52f5 0%,#052b52bf 37%,#052b5220 70%),url('/assets/banner-navy-v2.png') center/cover no-repeat}
.ntp-brand-copy{width:49%;padding:30px 32px 30px 54px}.ntp-brand-logo{display:block;width:112px;height:56px;object-fit:contain;background:white;margin-bottom:16px}.ntp-eyebrow{font:500 10px/1.6 "NTP Sans",Arial,sans-serif;letter-spacing:2px;color:#c5dff4;margin:0 0 12px}.ntp-brand-title{font-size:54px!important;line-height:1.04!important;letter-spacing:1px;font-weight:750;margin:0;color:#e4f2ff}.ntp-brand-line{width:180px;height:1px;background:#91bce1;margin:20px 0 16px}.ntp-brand-values{font-size:14px;line-height:1.6;color:#d9eafa;margin:0 0 9px}.ntp-brand-services{font-size:13px;line-height:1.7;color:#d6e3f0;margin:0}
.ntp-brand-menu{display:grid;grid-template-columns:100px 1fr 1fr 1.2fr 1.1fr 1.35fr;gap:0;min-height:60px;border-top:1px solid #91bce144;background:var(--navy)}.ntp-brand-menu>a{display:flex;align-items:center;justify-content:center;text-align:center;padding:12px 8px;min-width:0;min-height:60px;font-size:13px;font-weight:500;color:var(--ui-label)}.ntp-brand-menu>a:hover{background:#12538b}.ntp-menu-logo img{width:68px;height:34px;object-fit:contain;background:white}.ntp-menu-facebook{gap:6px;color:white!important}.ntp-menu-facebook .ntp-icon{width:19px;height:19px;color:white;background:#1877f2;border-radius:50%!important}.ntp-sticky-menu{position:fixed;top:0;left:50%;transform:translateX(-50%);z-index:70;width:calc(100% - 64px);max-width:1200px}.ntp-sticky-menu[hidden]{display:none}
.ntp-icon{width:22px;height:22px;flex:0 0 22px;display:inline-block;vertical-align:middle}
body:not(.admin-body) :is(.button,.arrow-link,.category-tabs a,.catalog-tabs button,.status-tabs button,.pagination a,.contact-mini,.ntp-filter-toggle,.ntp-reset){display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 16px;background:var(--navy);color:var(--ui-label);border:1px solid var(--navy);border-radius:0;box-shadow:none;font-size:14px;font-weight:500;line-height:1.4;text-decoration:none;transition:background .15s}
body:not(.admin-body) :is(.button,.arrow-link,.category-tabs a,.pagination a,.ntp-filter-toggle,.ntp-reset):hover{background:#12538b;color:white}body:not(.admin-body) :is(input,select,textarea){background:var(--ui-field);color:var(--ink);border:1px solid #b7cadd;border-radius:0;box-shadow:none;font-size:16px;min-height:44px}body:not(.admin-body) input[type=checkbox]{min-height:0}
.ntp-home-search,.search-panel{width:100%!important;max-width:1200px!important;background:var(--soft);border:0!important;box-shadow:none!important;padding:15px 24px!important;margin:0 auto!important}.search-heading{display:none}.property-search{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 10px!important;align-items:start}.ntp-hot-button{height:54px;background:#c3e0f8!important;color:#073d73!important;border:1px solid #8ebadc!important;font-weight:700!important;width:100%}.property-search .ntp-field{position:relative;margin:0}.ntp-field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.ntp-field>.ntp-icon{position:absolute;left:15px;top:16px;color:#517fa8;pointer-events:none}.property-search .ntp-field :is(input,select){height:54px;width:100%;margin:0;padding:10px 34px 10px 48px;border:0!important}.property-search .ntp-query{grid-column:1/3;display:flex;align-items:center;gap:8px}.ntp-query .ntp-field{flex:1}.ntp-query .ntp-field input{border:1px solid #b7cadd!important}.ntp-buy-tag{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;min-height:40px;background:var(--navy);color:var(--ui-label);white-space:nowrap}.property-search .advanced{grid-column:3;grid-row:2;padding:0;border:0;margin:0}.advanced summary{display:flex;align-items:center;justify-content:center;gap:6px;background:var(--navy);color:var(--ui-label);min-height:44px;padding:10px 12px;cursor:pointer;list-style:none}.advanced summary::-webkit-details-marker{display:none}.advanced>div{position:absolute;z-index:12;background:#fff;border:1px solid var(--line);padding:18px;box-shadow:0 6px 18px #073d7318;max-width:400px;right:24px;display:grid;gap:12px}.advanced input,.advanced select{width:100%;margin-top:6px}.ntp-search-submit{grid-column:4;grid-row:2;width:100%;font-size:19px!important;min-height:44px!important}.ntp-search-submit .ntp-icon{width:25px;height:25px}
.ntp-product-section{padding-top:20px!important}.ntp-product-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.ntp-product-heading h2{margin:0;font-size:32px;display:flex;gap:10px;align-items:center}.ntp-product-heading .ntp-reset{margin-left:auto}.ntp-product-heading .button{min-height:38px;font-size:12px;padding:8px 14px}.ntp-price-note{font-size:11px;color:var(--muted);margin-bottom:18px}.ntp-resultline{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-bottom:20px}.listing-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;align-items:stretch}.listing-card{background:white;border:1px solid var(--line);border-radius:0;overflow:hidden;box-shadow:none!important}.listing-photo{height:140px!important;position:relative;display:block}.listing-photo>img{height:100%;width:100%;object-fit:cover}.listing-info{padding:12px!important;display:flex;flex-direction:column;gap:7px}.listing-info h3{font-size:14px!important;line-height:1.45;margin:0}.listing-info p{font-size:11px!important;line-height:1.5;margin:0}.listing-info .listing-category{font-size:10px!important;letter-spacing:0;color:var(--muted)}.listing-info strong{font-size:15px!important}.listing-info .arrow-link{font-size:11px;min-height:36px;padding:8px;gap:5px;width:100%;margin-top:8px}.listing-photo span{font-size:9px!important;padding:3px 7px!important;background:var(--navy)!important;color:white!important}.category-tabs{margin-bottom:18px}.category-tabs a{font-size:12px!important;min-height:36px!important}.cms-services{gap:16px}.cms-services article{border:1px solid var(--line);padding:24px;background:white}.cms-services article>span{color:var(--muted);font-size:11px}.cms-services p{font-size:13px;min-height:65px}.soft-section{background:var(--soft)}.about-split{gap:32px}.news-grid{gap:16px}.news-grid article{background:white;padding:22px}.news-grid h3{font-size:17px}.cta{background:var(--navy);padding:32px!important;color:#fff;margin:20px auto!important}.cta h2{font-size:26px!important}.cta .button{background:#c3e0f8;color:var(--navy)}.cms-page-heading{background:transparent;padding:30px 0;margin:0}.cms-page-heading h1{font-size:32px;margin:0 0 10px}.cms-page-heading p{font-size:13px}.post-title{font-size:30px!important}.detail-layout{gap:30px}.post-sidebar{padding:24px;background:white;border:1px solid var(--line)}.post-sidebar .button{width:100%;justify-content:center}.post-content{font-size:15px}.pagination a[aria-current]{background:#bddaf4;color:var(--navy)}
.ntp-contact-section{text-align:center;padding:35px 24px;border-top:1px solid var(--line);max-width:1200px;margin:auto}.ntp-contact-section h2{font-size:26px!important;margin-bottom:18px}.ntp-contact-row{display:flex;justify-content:center;gap:10px}.contact-mini{width:44px;height:44px;padding:9px!important}.ntp-floating{position:fixed;right:30px;bottom:16px;z-index:65;display:flex;flex-direction:column;gap:10px}.ntp-floating>a{position:relative;display:flex;align-items:center;justify-content:center;background:var(--navy);border:1px solid var(--navy);color:var(--ui-label);width:48px;height:48px;box-shadow:none;border-radius:0;font:700 13px/1.2 Arial,sans-serif}.ntp-floating svg{width:24px;height:24px}.ntp-bubble-label{position:absolute;right:58px;top:0;height:48px;display:flex;align-items:center;white-space:nowrap;padding:0 14px;background:var(--navy);color:white;font:500 13px/1.2 Arial,sans-serif;opacity:0;visibility:hidden;transition:opacity .15s}.ntp-floating a:hover .ntp-bubble-label,.ntp-floating a:focus-visible .ntp-bubble-label{opacity:1;visibility:visible}.ntp-floating a:hover{background:#12538b}.floating-contact{display:none!important}body:not(.admin-body)>footer{max-width:1200px;margin:auto;background:var(--deep);padding-top:30px}.footer-grid{gap:24px}.footer-grid h3{font-size:16px!important}.footer-grid p,.footer-grid a:not(.brand){font-size:12px}.footer-bottom{font-size:11px;padding:18px 0}.ntp-side-panel{position:fixed;top:150px;width:164px;height:490px;background:var(--navy);color:var(--ui-label);padding:18px 14px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px;border:1px solid #a7c9e5}.ntp-side-left{right:calc(50% + 616px)}.ntp-side-right{left:calc(50% + 616px)}.ntp-side-panel img{width:100%;height:160px;object-fit:cover}.ntp-side-panel h2{font-size:19px!important}.ntp-side-panel .ntp-icon{width:38px;height:38px}.ntp-side-panel p{font-size:12px}.ntp-side-panel a{margin-top:auto;font-size:12px;border:1px solid #9cbede;padding:8px;width:100%}
@media(max-width:1600px){.ntp-side-panel{display:none}}@media(max-width:1000px){#ntp-brand-header,.ntp-sticky-menu{width:100%;max-width:100%}.ntp-brand-hero{min-height:330px}.ntp-brand-copy{width:58%;padding:26px 28px}.ntp-brand-menu{grid-template-columns:repeat(4,minmax(0,1fr))}.ntp-menu-logo{display:none!important}.ntp-menu-facebook{grid-column:1/-1;min-height:38px!important;padding:6px!important;border-top:1px solid #bddaf422}.listing-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.listing-photo{height:190px!important}body:not(.admin-body) .wrap{width:calc(100% - 36px)}.ntp-floating{right:12px;gap:7px}}
@media(max-width:600px){.ntp-brand-hero{height:clamp(140px,37vw,210px);min-height:0;background-position:62% center}.ntp-brand-copy{width:55%;padding:10px 0 10px 20px}.ntp-brand-logo{width:62px;height:31px;margin-bottom:5px}.ntp-eyebrow{display:none}.ntp-brand-title{font-size:clamp(20px,5.3vw,30px)!important;line-height:1.08!important;letter-spacing:.4px}.ntp-brand-line{width:64px;margin:6px 0 5px}.ntp-brand-values{font-size:7px;white-space:nowrap;margin-bottom:3px}.ntp-brand-services{font-size:8px;line-height:1.4}.ntp-brand-menu{grid-template-columns:repeat(2,minmax(0,1fr))}.ntp-brand-menu>a{min-height:46px;font-size:12px;padding:9px 10px;border-right:1px solid #bddaf422;border-bottom:1px solid #bddaf422}.hero-caption{font-size:7px;right:8px;bottom:6px}.property-search{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}.ntp-home-search,.search-panel{padding:12px!important}.ntp-query{grid-column:1/-1!important;grid-row:3}.property-search .advanced{grid-column:1;grid-row:4}.ntp-search-submit{grid-column:2;grid-row:4}.ntp-field>.ntp-icon{width:18px;height:18px;left:10px;top:16px}.property-search .ntp-field :is(input,select){font-size:13px;padding-left:35px;padding-right:20px;height:50px}.ntp-hot-button{height:50px;min-height:50px!important;font-size:13px!important;padding:10px!important}.ntp-buy-tag{font-size:12px;padding:9px 10px}.ntp-product-heading{gap:8px}.ntp-product-heading h2{font-size:23px!important;width:100%}.ntp-product-heading .ntp-reset{margin-left:auto}.ntp-resultline{gap:12px;font-size:10px}.listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.listing-photo{height:170px!important}.listing-info{padding:10px!important}.listing-info h3{font-size:13px!important}.listing-info .arrow-link{font-size:11px}.ntp-floating{right:8px;bottom:12px;gap:6px}.ntp-floating>a{width:40px;height:40px}.ntp-floating svg{width:21px;height:21px}.ntp-bubble-label{height:40px;right:48px}.cms-services,.news-grid,.about-split,.detail-layout{grid-template-columns:1fr}.section-top{gap:12px;align-items:start}.section-top h2{font-size:23px!important}.post-title{font-size:24px!important}.ntp-contact-section h2{font-size:23px!important}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-wrap:wrap;gap:12px}.ntp-sticky-menu{display:none!important}.advanced>div{left:12px;right:12px;max-width:none}body:not(.admin-body) main{overflow:clip}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.property-search>.ntp-hot-button{grid-column:1!important;grid-row:1}.property-search>.ntp-search-submit{grid-column:4!important;grid-row:2}.property-search>.advanced{width:100px;justify-self:end}.advanced:not([open])>div{display:none}.advanced[open]>div{display:grid}.listing-info strong{margin:5px 0!important}.listing-info .arrow-link{margin-top:auto}.listing-card{display:flex;flex-direction:column}.listing-info{flex:1}
@media(max-width:600px){.property-search>.ntp-hot-button{grid-column:1!important;grid-row:1}.property-search>.ntp-field:nth-child(2){grid-column:2;grid-row:1}.property-search>.ntp-field:nth-child(3){grid-column:1;grid-row:2}.property-search>.ntp-field:nth-child(4){grid-column:2;grid-row:2}.property-search>.advanced{grid-column:1!important;grid-row:4;width:100%;justify-self:stretch}.property-search>.ntp-search-submit{grid-column:2!important;grid-row:4}}
.property-search>.advanced{width:120px}.advanced summary{white-space:nowrap}@media(max-width:600px){.property-search>.advanced{width:100%}}
/* Compact phones and foldable cover screens. Keep text readable and controls clear. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media(max-width:600px){
body:not(.admin-body){padding-bottom:68px}
.ntp-brand-hero{min-height:174px;height:auto}
.ntp-brand-copy{width:68%;padding:12px 12px 30px 16px}
.ntp-brand-title{font-size:24px!important}
.ntp-brand-values{font-size:9px;white-space:normal;line-height:1.45}
.ntp-brand-services{font-size:10px;line-height:1.45}
.hero-caption{font-size:8px;bottom:6px;right:10px}
.ntp-brand-menu>a{font-size:13px;line-height:1.4;min-height:48px}
.property-search :is(.ntp-hot-button,.ntp-search-submit,.advanced summary){font-size:14px!important;line-height:1.3!important;white-space:nowrap;min-height:48px;padding:10px!important;gap:7px}
.property-search .ntp-query{min-width:0}.ntp-query .ntp-field{min-width:0}.ntp-query .ntp-field input{min-width:0}
.ntp-product-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.ntp-product-heading h2{grid-column:1/-1;font-size:24px!important;line-height:1.3;min-width:0}
.ntp-product-heading :is(.button,.ntp-reset){font-size:12px!important;white-space:nowrap;padding:10px!important;min-height:42px;gap:5px;margin:0!important}
.ntp-floating{left:0;right:0;bottom:0;flex-direction:row;justify-content:center;align-items:center;gap:10px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:var(--deep);border-top:1px solid #8ebadc;z-index:65}
.ntp-floating>a{width:42px;height:42px;flex:0 0 42px;border-color:#517fa8}
.ntp-bubble-label{display:none}
body:not(.admin-body) .wrap{width:calc(100% - 24px)}
}
@media(max-width:380px){
.property-search{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
.property-search>.ntp-hot-button{grid-column:1!important;grid-row:1}
.property-search>.ntp-field:nth-child(2){grid-column:1!important;grid-row:2}
.property-search>.ntp-field:nth-child(3){grid-column:1!important;grid-row:3}
.property-search>.ntp-field:nth-child(4){grid-column:1!important;grid-row:4}
.property-search>.ntp-query{grid-column:1!important;grid-row:5}
.property-search>.advanced{grid-column:1!important;grid-row:6;width:100%}
.property-search>.ntp-search-submit{grid-column:1!important;grid-row:7}
.property-search .ntp-field :is(input,select){font-size:16px!important;height:48px;padding-left:40px;padding-right:24px}
.property-search .ntp-query .ntp-field input{font-size:16px!important;padding-left:38px;padding-right:8px}
.ntp-hot-button{justify-content:flex-start!important}
.ntp-buy-tag{padding:10px;font-size:12px;white-space:nowrap}
.listing-grid{grid-template-columns:minmax(0,1fr)!important}.listing-photo{height:220px!important}
.ntp-brand-title{font-size:22px!important}.ntp-brand-copy{width:72%}
}
@media(max-width:600px){.footer-grid{grid-template-columns:minmax(0,1fr)}.footer-grid>*{min-width:0}.footer-grid .brand{min-width:0;gap:10px}.footer-grid .brand span{min-width:0}.footer-grid .brand small{white-space:normal;line-height:1.5}.footer-grid p{overflow-wrap:anywhere}}
@media(max-width:320px){.ntp-product-heading{grid-template-columns:minmax(0,1fr)}.ntp-product-heading>*{grid-column:1!important}.ntp-floating{gap:4px;padding-inline:6px}.ntp-floating>a{flex:1 1 0;min-width:0;width:auto;max-width:48px}}
/* Search controls keep one line and an identical rectangular footprint. */
.property-search>.ntp-search-submit,.property-search>.ntp-hot-button{box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;flex-wrap:nowrap!important;white-space:nowrap!important;min-width:0;height:54px!important;min-height:54px!important;max-height:54px!important;padding:10px 12px!important;gap:8px!important;font-size:16px!important;line-height:1.2!important;overflow:hidden}
.property-search>.ntp-hot-button{font-size:14px!important}
.property-search>.ntp-search-submit .ntp-icon,.property-search>.ntp-hot-button .ntp-icon{flex:0 0 22px;width:22px;height:22px}
@media(min-width:381px) and (max-width:1000px){
.property-search{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.property-search>.ntp-hot-button{grid-column:1!important;grid-row:1}
.property-search>.ntp-field:nth-child(2){grid-column:2!important;grid-row:1}
.property-search>.ntp-field:nth-child(3){grid-column:1!important;grid-row:2}
.property-search>.ntp-field:nth-child(4){grid-column:2!important;grid-row:2}
.property-search>.ntp-query{grid-column:1/-1!important;grid-row:3;min-width:0}
.property-search>.advanced{grid-column:1!important;grid-row:4;width:100%;justify-self:stretch}
.property-search>.ntp-search-submit{grid-column:2!important;grid-row:4}
.property-search .ntp-field :is(input,select){font-size:16px!important}
.property-search .advanced summary{box-sizing:border-box;height:54px;min-height:54px;white-space:nowrap;font-size:16px!important}
}
@media(max-width:380px){.property-search>.ntp-search-submit,.property-search>.ntp-hot-button{font-size:14px!important}}
/* One consistent control row on desktop, tablet and phones. */
.property-search>.advanced{width:100%!important;min-width:0;justify-self:stretch!important}
.property-search>.advanced>summary{box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;white-space:nowrap;height:54px!important;min-height:54px!important;max-height:54px!important;margin:0;padding:10px 12px!important;font-size:14px!important;line-height:1.2!important}
.property-search .ntp-buy-tag{box-sizing:border-box;height:54px;min-height:54px;display:inline-flex;align-items:center;justify-content:center;line-height:1.2;margin:0;padding:10px 14px}
.property-search .ntp-query{align-items:center!important}
.property-search .ntp-query input{box-sizing:border-box;height:54px!important;min-height:54px!important}
/* Align the price/contact row directly above every detail button. */
.listing-info>strong{margin:auto 0 0!important}
.listing-info>.arrow-link{margin-top:12px!important;flex-shrink:0}

/* Separate studio credit from company copyright. */
.footer-bottom{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px}.footer-bottom>.footer-credit{width:auto;order:0;text-align:center}.footer-credit a{font-weight:600}.footer-actions{display:flex;justify-content:flex-end;gap:20px}@media(max-width:760px){.footer-bottom{grid-template-columns:1fr;text-align:center;gap:12px}.footer-actions{justify-content:center}.footer-bottom>.footer-credit{width:auto;order:0}}

/* Company copyright stays centered; studio credit sits on the left. */
.footer-bottom{grid-template-columns:1fr auto 1fr}.footer-bottom>.footer-credit{grid-column:1;grid-row:1;text-align:left}.footer-bottom>.footer-copyright{grid-column:2;grid-row:1;text-align:center}.footer-bottom>.footer-actions{grid-column:3;grid-row:1}@media(max-width:760px){.footer-bottom{grid-template-columns:1fr}.footer-bottom>.footer-copyright{grid-column:1;grid-row:1}.footer-bottom>.footer-credit{grid-column:1;grid-row:2;text-align:left}.footer-bottom>.footer-actions{grid-column:1;grid-row:3}}
