:root{
  --ph-blue:#0047AB;
  --ph-navy:#06366f;
  --ph-navy-2:#032957;
  --ph-gold:#C9A227;
  --ph-gold-2:#e7c75a;
  --ph-wine:#8B1E2D;
  --ph-cream:#F7F3E8;
  --ph-brown:#6B4F3A;
  --ph-red:#c51422;
  --ph-text:#102d53;
  --ph-muted:#697587;
  --ph-line:rgba(201,162,39,.35);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.ph39-site,
body.ph39-catalog,
body.ph39-detail,
body.ph39-login{
  margin:0;background:var(--ph-cream);color:var(--ph-text);
  font-family:"Segoe UI",Tahoma,Arial,sans-serif;
  font-kerning:normal;font-feature-settings:"kern" 1,"liga" 1;
  text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;
  letter-spacing:0!important;word-spacing:normal!important;
  word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;
}
body.ph39-site *,body.ph39-catalog *,body.ph39-detail *,body.ph39-login *{letter-spacing:0!important;word-break:normal!important;overflow-wrap:normal!important}
.ph39-container{width:min(1180px,calc(100% - 40px));margin:0 auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}

/* HEADER */
.ph39-header{height:76px;background:linear-gradient(180deg,#07386f,#052e5d);border-bottom:1px solid rgba(201,162,39,.66);position:sticky;top:0;z-index:200;color:#fff}
.ph39-nav{height:100%;display:grid;grid-template-columns:270px 1fr 180px;align-items:center;gap:18px}
.ph39-brand{display:flex;align-items:center;gap:10px;min-width:0}
.ph39-brand img{width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.12))}
.ph39-brand span{display:flex;flex-direction:column;line-height:1.05}
.ph39-brand b{font-family:Georgia,"Times New Roman",serif;color:#f5ca54;font-size:20px;font-weight:700;white-space:nowrap}
.ph39-brand small{margin-top:5px;color:#ffe7a6;font-size:11px;font-weight:800;letter-spacing:2px!important}
.ph39-menu{display:flex;justify-content:center;align-items:center;gap:28px;font-size:14px;font-weight:700;white-space:nowrap}
.ph39-menu a{position:relative;padding:28px 0 24px;color:#fff}
.ph39-menu a:hover,.ph39-menu a.active{color:#f6cb55}
.ph39-menu a.active:after,.ph39-menu a:hover:after{content:"";position:absolute;left:0;right:0;bottom:15px;height:2px;background:var(--ph-gold)}
.ph39-hotline{justify-self:end;display:flex;align-items:center;gap:10px;padding:8px 14px;border:1px solid var(--ph-gold);border-radius:10px;color:#fff;min-width:150px}
.ph39-hotline>span{font-size:22px;color:#f4c852}
.ph39-hotline small{display:flex;flex-direction:column;font-size:10px;line-height:1.25;color:#d9e6f5}
.ph39-hotline b{font-size:15px;color:#ffd153;margin-top:2px}
.ph39-menu-toggle{display:none;border:1px solid var(--ph-gold);background:transparent;color:#fff;border-radius:8px;width:42px;height:42px}

/* HERO */
.ph39-hero{position:relative;min-height:610px;background:
  radial-gradient(circle at 52% 32%,rgba(20,95,170,.35),transparent 35%),
  linear-gradient(180deg,#0a4a91 0%,#073a78 42%,#052f62 100%);overflow:hidden;color:#fff;border-bottom:1px solid var(--ph-gold)}
.ph39-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,41,87,.12),rgba(3,41,87,.05) 48%,rgba(3,41,87,.15));z-index:1}
.ph39-hero-left{position:absolute;left:0;top:0;width:38%;height:420px;background:url('/assets/v39/hero-left-clean.jpg') left center/cover no-repeat;z-index:0;filter:saturate(1.04) contrast(1.05)}
.ph39-hero-left:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,41,87,.03),rgba(3,41,87,.15) 70%,#073a78 100%)}
.ph39-hero-right{position:absolute;right:0;top:0;width:38%;height:420px;background:url('/assets/v39/hero-right-clean.jpg') right top/cover no-repeat;z-index:0;filter:saturate(1.04) contrast(1.05)}
.ph39-hero-right:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#073a78 0%,rgba(3,41,87,.05) 35%,rgba(3,41,87,.04))}
.ph39-hero-city{position:absolute;left:33%;right:31%;top:120px;height:250px;background:linear-gradient(180deg,transparent,rgba(4,43,89,.35)),url('/assets/city-foreground.svg') bottom/cover repeat-x;opacity:.27;z-index:0}
.ph39-admin-hero-media{position:absolute;inset:0;z-index:0;opacity:0;pointer-events:none}
.ph39-hero-glow{position:absolute;border:2px solid rgba(229,188,74,.62);border-radius:50%;z-index:2;pointer-events:none;filter:drop-shadow(0 0 9px rgba(229,188,74,.25))}
.ph39-glow-a{width:560px;height:260px;left:-330px;bottom:75px;transform:rotate(12deg)}
.ph39-glow-b{width:610px;height:280px;right:-360px;bottom:62px;transform:rotate(-10deg)}
.ph39-hero-center{position:relative;z-index:3;text-align:center;padding-top:68px}
.ph39-kicker{margin:0 0 8px;color:#ffd45f;font-size:13px;font-weight:800;text-transform:uppercase}
.ph39-hero-center h1{margin:0 auto;display:flex;flex-direction:column;align-items:center;line-height:.98;width:max-content;max-width:100%}
.ph39-hero-center h1 span,.ph39-hero-center h1 strong{font-family:Georgia,"Times New Roman",serif;font-weight:700;text-shadow:0 2px 10px rgba(0,0,0,.22);white-space:nowrap}
.ph39-hero-center h1 span{font-size:58px;color:#f3c653}
.ph39-hero-center h1 strong{font-size:48px;color:#fff;margin-top:6px}
.ph39-subtitle{margin:18px 0 0;font-size:20px;color:#fff;font-weight:500}
.ph39-values{display:flex;justify-content:center;gap:11px;align-items:center;margin-top:12px;font-size:14px;color:#f8f8f8;font-weight:700}
.ph39-values i{font-style:normal;color:#f4c852}
.ph39-services{position:absolute;z-index:5;left:50%;transform:translateX(-50%);bottom:145px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ph39-service-card{appearance:none;border:1.5px solid #e0b548;border-radius:12px;background:linear-gradient(180deg,rgba(7,60,122,.97),rgba(4,43,90,.98));min-height:116px;color:#fff;display:grid;grid-template-columns:62px 1fr 18px;align-items:center;gap:12px;padding:20px 18px;position:relative;text-align:left;box-shadow:0 12px 26px rgba(0,25,61,.25);transition:transform .22s ease,box-shadow .22s ease,background .22s ease;cursor:pointer}
.ph39-service-card:hover{transform:translateY(-6px) scale(1.01);box-shadow:0 20px 34px rgba(0,25,61,.32);background:linear-gradient(180deg,#0a56aa,#063c7d)}
.ph39-service-no{position:absolute;left:50%;top:-18px;transform:translateX(-50%);width:36px;height:36px;border-radius:50%;border:1.5px solid #e0b548;background:#073a78;color:#ffd153;display:grid;place-items:center;font-size:13px;font-weight:800}
.ph39-service-card>i{font-style:normal;font-size:44px;color:#f2c656;text-align:center}
.ph39-service-card b{display:block;font-size:17px;line-height:1.1;color:#fff}
.ph39-service-card small{display:block;color:#dce8f5;font-size:11px;line-height:1.35;margin-top:7px}
.ph39-service-card em{font-style:normal;color:#f5ca54;font-size:28px;justify-self:end}
.ph39-search{position:absolute;z-index:6;left:50%;transform:translateX(-50%);bottom:22px;display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr 130px;gap:12px;background:#fffdf9;padding:16px 18px;border:1px solid rgba(201,162,39,.65);border-radius:14px;box-shadow:0 14px 34px rgba(42,48,58,.18)}
.ph39-search label{display:flex;flex-direction:column;gap:6px}
.ph39-search label small{font-size:11px;color:#516178;font-weight:700}
.ph39-search input,.ph39-search select{height:45px;border:1px solid #ddd3c4;border-radius:8px;background:#fff;color:#29394f;padding:0 12px;outline:none}
.ph39-search input:focus,.ph39-search select:focus{border-color:#0b57b7;box-shadow:0 0 0 3px rgba(0,71,171,.08)}
.ph39-search-btn{height:45px;align-self:end;border:0;border-radius:9px;background:#06459a;color:#fff;font-weight:800;cursor:pointer;box-shadow:0 8px 20px rgba(0,71,171,.18)}
.ph39-search-btn:hover{background:#003d95}

/* TYPE */
.ph39-types{padding:22px 0 14px;background:var(--ph-cream)}
.ph39-type-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:14px}
.ph39-type-grid button{height:92px;border:1px solid rgba(201,162,39,.34);border-radius:12px;background:#fffdfa;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#0a3f80;box-shadow:0 6px 16px rgba(87,62,24,.05);transition:.2s ease;cursor:pointer}
.ph39-type-grid button:hover{transform:translateY(-4px);border-color:#c9a227;box-shadow:0 12px 24px rgba(87,62,24,.12)}
.ph39-type-grid i{font-style:normal;color:#b97c16;font-size:29px}
.ph39-type-grid span{font-size:11px;font-weight:800;color:#2d415c;text-align:center}

/* SECTIONS */
.ph39-section{background:var(--ph-cream);padding:10px 0 16px}
.ph39-panel{border:1px solid rgba(201,162,39,.48);border-radius:14px;background:rgba(255,253,249,.94);box-shadow:0 10px 24px rgba(91,68,35,.06);padding:14px}
.ph39-panel-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;margin-bottom:12px}
.ph39-panel-head.sale{grid-template-columns:1fr 1fr}
.ph39-section-title{display:flex;justify-content:center;align-items:center;gap:9px}
.ph39-section-title.left{justify-content:flex-start}
.ph39-section-title span{width:40px;height:1px;background:linear-gradient(90deg,transparent,#c79a2a)}
.ph39-section-title span:last-child{background:linear-gradient(90deg,#c79a2a,transparent)}
.ph39-section-title h2{font-family:Georgia,"Times New Roman",serif;color:#17375f;font-size:25px;line-height:1.1;margin:0;font-weight:700;white-space:nowrap}
.ph39-rent-tabs{display:flex;gap:6px;justify-content:center}
.ph39-rent-tabs button{border:1px solid #d8d1c5;border-radius:999px;background:#fff;padding:7px 18px;color:#44536a;font-size:11px;cursor:pointer;font-weight:700}
.ph39-rent-tabs button.active{background:#06459a;color:#fff;border-color:#06459a}
.ph39-panel-tools{display:flex;justify-content:flex-end;align-items:center;gap:7px}
.ph39-panel-tools a{font-size:11px;color:#174a8a;font-weight:700}
.ph39-panel-tools button{width:31px;height:31px;border:1px solid #ded4c5;border-radius:50%;background:#fff;color:#174a8a;cursor:pointer;font-size:18px}
.ph39-card-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-template-columns:repeat(5,1fr);gap:12px;overflow:hidden;scroll-behavior:smooth}
.ph39-home-card{min-width:0;border:1px solid #e5dccf;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 6px 16px rgba(46,62,81,.08);transition:transform .2s ease,box-shadow .2s ease}
.ph39-home-card:hover{transform:translateY(-5px);box-shadow:0 14px 26px rgba(46,62,81,.15)}
.ph39-home-card .ph39-card-image{height:125px;position:relative;display:block;overflow:hidden;background:#e9edf1}
.ph39-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.ph39-home-card:hover .ph39-card-image img{transform:scale(1.045)}
.ph39-card-tag{position:absolute;left:8px;top:8px;border-radius:4px;background:#074a98;color:#fff;padding:4px 7px;font-size:9px;font-weight:800}
.ph39-card-heart{position:absolute;right:8px;top:6px;width:27px;height:27px;border-radius:50%;background:rgba(255,255,255,.86);display:grid;place-items:center;color:#164a86;font-size:18px}
.ph39-card-body{padding:10px 10px 11px}
.ph39-card-body h3{margin:0 0 4px;font-size:13px;line-height:1.25;color:#1c2f4a;min-height:32px}
.ph39-card-loc{font-size:10px;color:#707988;margin:0 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph39-card-meta{display:flex;gap:8px;flex-wrap:wrap;color:#687383;font-size:9px}
.ph39-card-price{margin-top:7px;color:#d11d28;font-size:15px;font-weight:900;white-space:nowrap}
.ph39-card-empty{grid-column:1/-1;padding:28px;text-align:center;color:#687383}

/* CONSIGN */
.ph39-consign-wrap{display:grid;grid-template-columns:1fr 1.45fr;gap:14px;border:1px solid rgba(201,162,39,.48);border-radius:14px;background:#fffdfa;overflow:hidden;padding:14px}
.ph39-consign-info{padding:6px 5px 2px}
.ph39-consign-info ul{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:10px}
.ph39-consign-info li{display:flex;align-items:center;gap:9px;color:#34475f;font-size:12px}
.ph39-consign-info li b{width:24px;height:24px;border-radius:6px;background:#d3a335;color:#fff;display:grid;place-items:center}
.ph39-consign-banner{min-height:220px;border-radius:11px;overflow:hidden;background:linear-gradient(105deg,#7b111e,#9d1b2b 45%,#59120d);display:grid;grid-template-columns:46% 54%;box-shadow:inset 0 0 0 1px rgba(231,199,90,.25)}
.ph39-consign-copy{padding:25px 24px;color:#fff;position:relative;z-index:2}
.ph39-consign-copy small{font-size:13px;color:#f8d269;font-weight:800}
.ph39-consign-copy h2{font-family:Georgia,"Times New Roman",serif;color:#f8d269;font-size:26px;line-height:1.14;margin:6px 0 9px}
.ph39-consign-copy p{font-size:13px;line-height:1.45;margin:0 0 16px;color:#fff5ef}
.ph39-consign-copy button{border:1px solid #eac254;background:transparent;color:#ffe78e;border-radius:7px;padding:10px 18px;font-weight:800;cursor:pointer}
.ph39-consign-photo{background:url('/assets/v39/consign.jpg') center/cover no-repeat;position:relative}
.ph39-consign-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#931a2c 0%,transparent 24%)}

/* ABOUT + STATS + FOOTER */
.ph39-about-strip{padding:0 0 14px;background:var(--ph-cream)}
.ph39-about-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ph39-about-grid article{min-height:140px;border-radius:11px;background:linear-gradient(145deg,#073f82,#052f63);border:1px solid rgba(201,162,39,.46);color:#fff;display:grid;grid-template-columns:100px 1fr;align-items:center;padding:18px 22px;gap:14px;box-shadow:0 10px 24px rgba(5,46,98,.12)}
.ph39-about-icon{width:78px;height:78px;border:3px solid #f1c652;border-radius:50%;display:grid;place-items:center;color:#f1c652;font-size:37px}
.ph39-about-grid h2{font-family:Georgia,"Times New Roman",serif;color:#f2ca62;font-size:23px;margin:0 0 7px}
.ph39-about-grid p{font-size:12px;line-height:1.55;color:#e5edf6;margin:0}
.ph39-stats{background:linear-gradient(180deg,#073f82,#052f63);border-top:1px solid rgba(201,162,39,.45);border-bottom:1px solid rgba(201,162,39,.35)}
.ph39-stat-grid{display:grid;grid-template-columns:repeat(5,1fr);min-height:106px}
.ph39-stat-grid>div{display:grid;grid-template-columns:50px 1fr;grid-template-rows:auto auto;align-content:center;column-gap:9px;padding:14px;border-right:1px solid rgba(255,255,255,.14)}
.ph39-stat-grid>div:last-child{border-right:0}
.ph39-stat-grid i{grid-row:1/3;font-style:normal;color:#f0c54f;font-size:36px;align-self:center}
.ph39-stat-grid b{font-family:Georgia,"Times New Roman",serif;color:#f1c653;font-size:28px;line-height:1}
.ph39-stat-grid span{color:#e8eef7;font-size:11px;margin-top:5px}
.ph39-footer{background:#052e5f;color:#fff;border-top:1px solid #c9a227}
.ph39-footer-grid{display:grid;grid-template-columns:1.25fr .75fr .95fr 1fr 1.1fr;gap:32px;padding:32px 0 26px}
.ph39-brand.footer img{width:46px;height:46px}.ph39-brand.footer b{font-size:17px}.ph39-brand.footer small{font-size:9px}
.ph39-footer h3{font-size:12px;color:#fff;margin:0 0 12px}
.ph39-footer-grid>div{display:flex;flex-direction:column;gap:7px}.ph39-footer-grid p,.ph39-footer-grid a,.ph39-footer-grid span{font-size:11px;color:#d9e4ef;margin:0;line-height:1.5}
.ph39-social{display:flex;gap:8px;margin-top:12px}.ph39-social a{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#0b5ab2;color:#fff!important;font-weight:800;font-size:9px}
.ph39-footer form{display:grid;gap:8px;margin-top:5px}.ph39-footer input{height:39px;border:0;border-radius:6px;padding:0 10px}.ph39-footer button{height:39px;border:0;border-radius:6px;background:#d4a536;color:#fff;font-weight:800;cursor:pointer}
.ph39-footer-bottom{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-top:1px solid rgba(255,255,255,.14);font-size:10px;color:#bdcad8}

/* CATALOG */
body.ph39-catalog{background:var(--ph-cream)}
.ph39-catalog .ph39-header{position:sticky}
.ph39-catalog-hero{background:linear-gradient(120deg,#073a78,#0e559f);color:#fff;border-bottom:1px solid var(--ph-gold);padding:36px 0 34px;position:relative;overflow:hidden}
.ph39-catalog-hero:after{content:"";position:absolute;right:0;top:0;width:46%;height:100%;background:url('/assets/v39/hero-left-clean.jpg') center/cover no-repeat;opacity:.42;mask-image:linear-gradient(90deg,transparent,#000 40%)}
.ph39-catalog-hero .ph39-container{position:relative;z-index:1}.ph39-catalog-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:38px;margin:5px 0 10px;color:#fff;max-width:650px}.ph39-catalog-hero .tag{color:#f2c958;font-weight:800;font-size:12px}.ph39-catalog-hero p{max-width:650px;color:#e6eef8;line-height:1.55}
.ph39-catalog-main{padding:20px 0 30px}
.ph39-catalog .catalog-mode-tabs{display:flex;gap:8px;margin-bottom:10px}.ph39-catalog .catalog-mode-tabs button{border:1px solid #d8d2c6;background:#fff;border-radius:8px;padding:9px 16px;font-weight:800;color:#28435f}.ph39-catalog .catalog-mode-tabs button.active{background:#06459a;color:#fff;border-color:#06459a}
.ph39-catalog .advanced-filter-panel{background:#fff;border:1px solid rgba(201,162,39,.4);border-radius:14px;padding:18px;box-shadow:0 10px 22px rgba(60,68,78,.07)}
.ph39-catalog .filter-row{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-bottom:12px}.ph39-catalog .top-filter-row{grid-template-columns:1fr 1fr 1fr 2fr auto}.ph39-catalog .last-filter-row{grid-template-columns:1fr 1fr 1fr 2fr}.ph39-catalog .filter-row label{display:flex;flex-direction:column;gap:6px;color:#34475f;font-size:11px;font-weight:800}.ph39-catalog .filter-row input,.ph39-catalog .filter-row select,.ph39-catalog #propertySort{height:42px;border:1px solid #d9d4ca;border-radius:7px;padding:0 10px;background:#fff;color:#26394f}.ph39-catalog .filter-trust{align-self:end;height:42px;display:flex;align-items:center;padding:0 11px;border:1px solid #d6ead5;background:#f6fff5;border-radius:7px;color:#26823b;font-size:10px}.ph39-catalog .quick-price-row{display:flex;gap:7px;margin:-3px 0 12px}.ph39-catalog .quick-price-row button{border:1px solid #d2d8e0;border-radius:6px;background:#fff;color:#28518c;font-size:10px;padding:6px 10px}.ph39-catalog .filter-actions{display:flex;gap:9px;justify-content:flex-end;align-items:center}.ph39-catalog .catalog-summary{display:flex;align-items:center;gap:12px;margin:18px 0 12px}.ph39-catalog .catalog-summary b{font-size:18px}.ph39-catalog .catalog-summary span{color:#77808e;font-size:12px}.ph39-catalog .catalog-view-buttons{margin-left:auto}
.ph39-catalog #propertiesGrid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:14px!important}.ph39-catalog .rental-property-card{border:1px solid #e2dbcf;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 7px 18px rgba(44,58,74,.08)}.ph39-catalog .rental-card-image{height:180px}.ph39-catalog .rental-card-body{padding:13px}.ph39-catalog .property-price{color:#d31926;font-size:18px;font-weight:900}.ph39-catalog .property-excerpt{font-size:12px;line-height:1.45;color:#5d6878}

/* DETAIL */
body.ph39-detail{background:#f7f3e8}
.ph39-detail .property-detail-hero{background:linear-gradient(130deg,#073c7c,#0e57a0);padding:30px 0 36px;color:#fff;border-bottom:1px solid var(--ph-gold)}
.ph39-detail .detail-breadcrumb{color:#dbe8f7;font-size:12px}.ph39-detail .detail-breadcrumb a{color:#fff}.ph39-detail .detail-title-row{display:grid;grid-template-columns:1fr 260px;gap:30px;align-items:end}.ph39-detail .detail-title-row h1{font-family:Georgia,"Times New Roman",serif;font-size:44px;line-height:1.12;margin:12px 0;color:#fff}.ph39-detail .detail-title-row>div>p{color:#e5edf7;font-size:14px}.ph39-detail .detail-badges{display:flex;gap:8px;flex-wrap:wrap}.ph39-detail .detail-badges span{border-radius:999px;padding:6px 10px;background:#fff;color:#06459a;font-size:10px;font-weight:900}.ph39-detail .detail-badges span.status{background:#e8f7eb;color:#2f7d39}.ph39-detail .detail-badges span.featured{background:#d5a72f;color:#fff}.ph39-detail .detail-price{border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.10);border-radius:14px;padding:18px;text-align:center}.ph39-detail .detail-price small{display:block;color:#f7cb56;font-weight:900}.ph39-detail .detail-price strong{display:block;margin-top:8px;color:#ffd155;font-size:30px;white-space:nowrap}
.ph39-detail .detail-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;margin-top:-4px;padding-top:22px}.ph39-detail .detail-media-card,.ph39-detail .detail-contact-card,.ph39-detail .detail-section{background:#fff;border:1px solid #e2d8c9;border-radius:14px;box-shadow:0 10px 22px rgba(43,55,70,.08)}.ph39-detail .detail-media-card{padding:12px}.ph39-detail .detail-main-image{height:520px;border-radius:10px;overflow:hidden;background:#e8edf2}.ph39-detail .detail-main-image img{width:100%;height:100%;object-fit:cover}.ph39-detail .detail-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:9px}.ph39-detail .detail-thumb{border:2px solid transparent;background:none;padding:0;border-radius:7px;overflow:hidden;height:92px}.ph39-detail .detail-thumb.active{border-color:#0b57b7}.ph39-detail .detail-thumb img{width:100%;height:100%;object-fit:cover}.ph39-detail .detail-contact-card{padding:22px;align-self:start;position:sticky;top:96px}.ph39-detail .detail-kicker{font-size:11px;color:#b0811a;font-weight:900}.ph39-detail .detail-contact-card h2{font-family:Georgia,"Times New Roman",serif;color:#103a6d;font-size:28px;line-height:1.25;margin:7px 0 14px}.ph39-detail .detail-contact-btn{width:100%;margin-top:9px}.ph39-detail .detail-agent{margin-top:22px;padding-top:18px;border-top:1px solid #eee5d9;display:flex;flex-direction:column}.ph39-detail .detail-agent small{color:#7d8794}.ph39-detail .detail-agent b{margin-top:4px;color:#163e6e}.ph39-detail .detail-section{margin-top:20px;padding:22px}.ph39-detail .detail-section-head span{font-size:10px;color:#b17c15;font-weight:900}.ph39-detail .detail-section-head h2{font-family:Georgia,"Times New Roman",serif;color:#153d6d;font-size:27px;margin:4px 0 16px}.ph39-detail .detail-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.ph39-detail .detail-info-grid>div{border:1px solid #ece3d7;border-radius:9px;padding:12px;background:#fffdfa}.ph39-detail .detail-info-grid small{display:block;color:#7a8491;font-size:10px}.ph39-detail .detail-info-grid b{display:block;color:#1d3554;font-size:13px;margin-top:5px}.ph39-detail .detail-description p{font-size:14px;line-height:1.7;color:#4b596a}.ph39-detail .detail-bottom-cta{background:#073b79;color:#fff;margin-top:28px;padding:28px 0;border-top:1px solid #d0a62e}.ph39-detail .detail-bottom-cta .ph39-container,.ph39-detail .detail-bottom-cta .container{display:flex;justify-content:space-between;align-items:center;gap:20px}.ph39-detail .detail-bottom-cta h2{font-family:Georgia,"Times New Roman",serif;margin:5px 0 0;color:#fff}.ph39-detail .detail-bottom-cta span{color:#f2ca5f;font-size:11px;font-weight:900}

/* LOGIN */
body.ph39-login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#052f62,#0c59aa)}
.ph39-login-wrap{width:min(980px,calc(100% - 30px));display:grid;grid-template-columns:1.1fr .9fr;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.28)}
.ph39-login-side{min-height:560px;background:linear-gradient(rgba(4,43,88,.25),rgba(4,43,88,.45)),url('/assets/v39/hero-left-clean.jpg') center/cover no-repeat;color:#fff;padding:40px;display:flex;flex-direction:column;justify-content:flex-end}.ph39-login-side h1{font-family:Georgia,"Times New Roman",serif;color:#f5ca54;font-size:42px;margin:0}.ph39-login-side p{max-width:420px;line-height:1.6}.ph39-login-form{padding:46px;display:flex;flex-direction:column;justify-content:center}.ph39-login-form h2{font-family:Georgia,"Times New Roman",serif;color:#153d6d;font-size:31px;margin:0 0 9px}.ph39-login-form>p{color:#798390;margin:0 0 24px}.ph39-login-form label{display:flex;flex-direction:column;gap:7px;margin-bottom:14px;font-size:12px;font-weight:800;color:#30465f}.ph39-login-form input{height:46px;border:1px solid #d9dfe7;border-radius:8px;padding:0 12px}.ph39-login-form button{height:46px;border:0;border-radius:8px;background:#064a9f;color:#fff;font-weight:900;cursor:pointer}.ph39-login-msg{margin-top:12px;color:#a7272e;font-size:12px}

/* GLOBAL FIXES */
.ph39-site .modal-card,.ph39-catalog .modal-card,.ph39-detail .modal-card{font-family:"Segoe UI",Tahoma,Arial,sans-serif!important}
.ph39-site .rental-chat .chat-launch,.ph39-catalog .rental-chat .chat-launch,.ph39-detail .rental-chat .chat-launch{background:#064a9f!important;border:2px solid #d5a52f!important}.ph39-site .rental-chat .chat-panel,.ph39-catalog .rental-chat .chat-panel,.ph39-detail .rental-chat .chat-panel{border:1px solid #d5a52f!important}

@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(max-width:1100px){.ph39-nav{grid-template-columns:230px 1fr 150px}.ph39-menu{gap:17px;font-size:13px}.ph39-search{grid-template-columns:repeat(3,1fr);bottom:16px}.ph39-search-btn{grid-column:3}.ph39-services{bottom:170px}.ph39-hero{min-height:660px}.ph39-type-grid{grid-template-columns:repeat(4,1fr)}.ph39-card-row{grid-template-columns:none;grid-auto-columns:230px;overflow-x:auto}.ph39-consign-wrap{grid-template-columns:1fr}.ph39-footer-grid{grid-template-columns:1.2fr 1fr 1fr}.ph39-footer-grid>div:nth-child(4),.ph39-footer-grid>div:nth-child(5){margin-top:10px}.ph39-catalog #propertiesGrid{grid-template-columns:repeat(3,1fr)!important}.ph39-catalog .filter-row{grid-template-columns:repeat(3,1fr)}.ph39-catalog .top-filter-row{grid-template-columns:repeat(3,1fr)}.ph39-catalog .top-filter-row .wide{grid-column:1/3}.ph39-catalog .last-filter-row{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.ph39-container{width:calc(100% - 24px)}.ph39-nav{grid-template-columns:1fr auto auto}.ph39-menu{display:none;position:fixed;top:76px;left:12px;right:12px;flex-direction:column;background:#07366d;padding:10px;border:1px solid #c9a227;border-radius:10px;box-shadow:0 18px 35px rgba(0,0,0,.25)}.ph39-menu a{padding:12px}.ph39-menu a:after{display:none}.ph39-menu-open .ph39-menu{display:flex}.ph39-menu-toggle{display:block}.ph39-hotline small{display:none}.ph39-hotline{min-width:auto;padding:8px 11px}.ph39-hero{min-height:850px}.ph39-hero-left{width:58%;height:350px;opacity:.64}.ph39-hero-right{width:58%;height:350px;opacity:.68}.ph39-hero-center{padding-top:46px}.ph39-hero-center h1 span{font-size:44px}.ph39-hero-center h1 strong{font-size:36px}.ph39-services{bottom:300px;grid-template-columns:1fr;gap:8px}.ph39-service-card{min-height:75px;padding:12px 14px;grid-template-columns:45px 1fr 15px}.ph39-service-card>i{font-size:30px}.ph39-service-no{left:auto;right:10px;top:8px;width:28px;height:28px;font-size:10px}.ph39-search{grid-template-columns:repeat(2,1fr);bottom:14px}.ph39-search-btn{grid-column:auto}.ph39-panel-head{display:flex;flex-direction:column;align-items:stretch}.ph39-panel-tools{justify-content:center}.ph39-section-title h2{font-size:22px;white-space:normal;text-align:center}.ph39-consign-banner{grid-template-columns:1fr 1fr}.ph39-about-grid{grid-template-columns:1fr}.ph39-stat-grid{grid-template-columns:repeat(2,1fr)}.ph39-stat-grid>div:nth-child(2n){border-right:0}.ph39-footer-grid{grid-template-columns:1fr 1fr}.ph39-catalog #propertiesGrid{grid-template-columns:repeat(2,1fr)!important}.ph39-detail .detail-title-row{grid-template-columns:1fr}.ph39-detail .detail-price{text-align:left}.ph39-detail .detail-main-grid{grid-template-columns:1fr}.ph39-detail .detail-contact-card{position:static}.ph39-detail .detail-main-image{height:420px}.ph39-detail .detail-info-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.ph39-brand b{font-size:16px}.ph39-brand small{font-size:8px}.ph39-brand img{width:42px;height:42px}.ph39-hotline{display:none}.ph39-hero{min-height:920px}.ph39-hero-left{width:100%;opacity:.38}.ph39-hero-right{width:100%;opacity:.38}.ph39-hero-center h1 span{font-size:36px;white-space:normal}.ph39-hero-center h1 strong{font-size:29px;white-space:normal}.ph39-subtitle{font-size:16px}.ph39-search{grid-template-columns:1fr 1fr;padding:12px}.ph39-search-btn{grid-column:1/-1}.ph39-type-grid{grid-template-columns:repeat(2,1fr)}.ph39-card-row{grid-auto-columns:82%}.ph39-consign-banner{grid-template-columns:1fr}.ph39-consign-photo{height:170px}.ph39-about-grid article{grid-template-columns:74px 1fr;padding:15px}.ph39-about-icon{width:60px;height:60px;font-size:27px}.ph39-stat-grid{grid-template-columns:1fr}.ph39-stat-grid>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.1)}.ph39-footer-grid{grid-template-columns:1fr}.ph39-footer-bottom{flex-direction:column;text-align:center}.ph39-catalog #propertiesGrid{grid-template-columns:1fr!important}.ph39-catalog .filter-row,.ph39-catalog .top-filter-row,.ph39-catalog .last-filter-row{grid-template-columns:1fr}.ph39-catalog .top-filter-row .wide{grid-column:auto}.ph39-catalog .filter-actions{flex-wrap:wrap;justify-content:stretch}.ph39-catalog .filter-actions>*{flex:1}.ph39-detail .detail-title-row h1{font-size:34px}.ph39-detail .detail-main-image{height:300px}.ph39-detail .detail-thumbs{grid-template-columns:repeat(4,1fr)}.ph39-detail .detail-info-grid{grid-template-columns:1fr}.ph39-login-wrap{grid-template-columns:1fr}.ph39-login-side{display:none}.ph39-login-form{padding:28px}}
/* V3.9 price visibility override */
.ph39-detail .detail-price{background:#fff;border-color:#e5d7c5;box-shadow:0 8px 18px rgba(21,49,81,.08)}
.ph39-detail .detail-price small{color:#a77418}.ph39-detail .detail-price strong{color:#d11d28;text-shadow:none}
