/* Scoped mobile portfolio and conversion controls; desktop cards retain their layout. */
[hidden] { display: none !important; }
.portfolio-mobile-price,.portfolio-filter-toggle,.portfolio-filter-close,.portfolio-mobile-total,.portfolio-mobile-controls { display:none; }
.portfolio-view-switch { position:fixed; bottom:max(18px, env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); display:flex; gap:4px; padding:5px; border-radius:40px; background:#0c1d41; box-shadow:0 8px 30px #0c1d4130; z-index:45; }
.portfolio-view-switch button { min-width:108px; min-height:44px; padding:10px 18px; border-radius:30px; color:white; font-size:14px; font-weight:700; }
.portfolio-view-switch button[aria-pressed=true] { background:white; color:#0c1d41; }
#portfolio-page { padding-bottom:110px; }
#portfolio-map-panel { border:1px solid #e2e8f0; border-radius:20px; overflow:hidden; background:white; }
#portfolio-map { height:65vh; min-height:330px; max-height:700px; z-index:0; }
#portfolio-map-status { padding:14px 16px; font-size:13px; color:#475569; }
#portfolio-map-retry { margin:0 16px 16px; padding:10px 18px; background:#0c1d41; color:white; border-radius:10px; }
.kr-map-marker span { display:flex; align-items:center; justify-content:center; width:28px; height:28px; margin:4px; border:3px solid white; background:#d61c2c; color:white; font:bold 12px sans-serif; border-radius:50%; box-shadow:0 2px 8px #0005; }
.map-preview-list { max-height:280px; overflow:auto; }
.map-property-preview { display:flex; gap:10px; padding:8px 0; color:#0c1d41 !important; text-decoration:none; }
.map-property-preview img { width:78px; height:82px; object-fit:cover; border-radius:9px; }
.map-property-preview div { display:flex; flex-direction:column; gap:5px; min-width:0; }
.map-property-preview strong { color:#d61c2c; font-size:15px; }
.map-property-preview span { font-size:12px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.property-mobile-contact { display:none; }
.office-detail-hero { position:relative; overflow:hidden; border:1px solid #e5eaf1; border-radius:28px; background:linear-gradient(135deg,#fff 0%,#fff 62%,#f7f9fc 100%); box-shadow:0 16px 40px rgba(12,29,65,.075); }
.office-detail-hero::after { content:""; position:absolute; right:-110px; top:-135px; width:320px; height:320px; border-radius:50%; background:radial-gradient(circle,rgba(214,28,44,.055),rgba(214,28,44,0) 68%); pointer-events:none; }
.office-detail-hero-main { position:relative; z-index:1; padding:34px 38px 28px; }
.office-detail-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:28px; }
.office-location-badge { display:inline-flex; align-items:center; min-height:28px; padding:6px 12px; border:1px solid #e5eaf1; border-radius:999px; background:#f4f6f9; color:#536176; font-size:10px; line-height:1; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.office-detail-title { margin-top:18px; color:#0c1d41; font-size:clamp(28px,3vw,42px); line-height:1.12; font-weight:900; letter-spacing:-.035em; }
.office-experience-soft { display:flex; align-items:center; gap:7px; flex:none; min-height:54px; padding:10px 13px 10px 16px; border:1px solid #f3d995; border-radius:17px; background:linear-gradient(135deg,#fffbeb,#fff8e5); color:#9a6110; box-shadow:0 7px 18px rgba(180,120,20,.08); font-size:10px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.office-experience-number { color:#0c1d41; font-size:24px; line-height:1; font-weight:900; letter-spacing:-.04em; }
.office-experience-star { display:flex; align-items:center; justify-content:center; width:27px; height:27px; flex:0 0 27px; border:2px solid #e9a524; border-radius:50%; color:#e9a524; font-size:13px; line-height:1; }
.office-contact-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(235px,.82fr) minmax(220px,1fr); gap:12px; margin-top:30px; }
.office-contact-item { display:flex; align-items:center; gap:12px; min-width:0; min-height:70px; padding:13px 15px; border:1px solid #e8edf3; border-radius:16px; background:rgba(248,250,252,.86); color:#0c1d41; transition:border-color .2s ease,background .2s ease,transform .2s ease; }
a.office-contact-item:hover { border-color:#d6dde8; background:#fff; transform:translateY(-1px); }
.office-contact-icon { display:flex; align-items:center; justify-content:center; width:40px; height:40px; flex:0 0 40px; border-radius:12px; background:#fff; color:#d61c2c; box-shadow:0 3px 10px rgba(12,29,65,.06); }
.office-contact-icon svg { width:19px; height:19px; }
.office-contact-item>span:last-child { display:flex; flex-direction:column; gap:4px; min-width:0; }
.office-contact-item small { color:#94a3b8; font-size:9px; line-height:1; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.office-contact-item strong { display:block; overflow:hidden; color:#334155; font-size:12px; line-height:1.45; font-weight:700; text-overflow:ellipsis; }
.office-address-item strong { white-space:normal; }
a.office-contact-item strong { white-space:nowrap; }
#office-call-val { overflow:visible; white-space:nowrap; text-overflow:clip; }
.office-achievements-soft { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; padding-top:18px; border-top:1px solid #edf1f5; }
.property-tabs { display:flex; border:1px solid #e2e8f0; border-radius:12px; overflow:hidden; background:#fff; margin-bottom:16px; }
.property-tabs button { flex:1; min-height:48px; padding:12px; font-size:14px; font-weight:700; color:#475569; }
.property-tabs button[aria-selected=true] { color:#fff; background:#0c1d41; }
.property-tabs button:focus-visible,.portfolio-view-switch button:focus-visible { outline:3px solid #d4af37; outline-offset:-3px; }
.property-tab-panel { scroll-margin-top:100px; }
.property-location-section { margin:0; padding:0; }
.property-location-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:18px; }
.property-location-heading h3 { color:#0c1d41; font-size:18px; line-height:1.2; font-weight:800; }
.property-location-heading p { margin-top:5px; color:#64748b; font-size:13px; font-weight:600; }
.property-location-heading a { flex:none; padding:10px 14px; border:1px solid #dbe2eb; border-radius:10px; color:#0c1d41; background:#fff; font-size:12px; font-weight:800; }
#property-location-map { width:100%; height:390px; border:1px solid #dbe2eb; border-radius:18px; overflow:hidden; background:#f1f5f9; z-index:0; }
.property-location-note { margin-top:10px; color:#94a3b8; font-size:11px; font-weight:600; }
.property-detail-marker span { display:flex; align-items:center; justify-content:center; width:34px; height:34px; margin:3px; border:4px solid #fff; border-radius:50%; background:#d61c2c; box-shadow:0 3px 12px #0c1d4140; }
.gallery-mobile-nav,.gallery-mobile-counter { display:none; }
@media(max-width:1023px) {
    .portfolio-mobile-controls { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:9px; }
    .portfolio-mobile-total { display:block; margin-top:9px; color:#64748b; font-size:14px; font-weight:650; }
    .portfolio-mobile-total strong { color:#0c1d41; font-weight:850; }
    #portfolio-page .portfolio-results-toolbar { display:none; }
    .portfolio-filter-toggle,.portfolio-mobile-sort { display:flex; align-items:center; justify-content:center; gap:8px; min-width:0; min-height:50px; padding:9px 11px; border:1px solid #dbe2eb; border-radius:12px; background:#fff; box-shadow:0 4px 12px rgba(12,29,65,.055); font-size:13px; line-height:1.2; font-weight:800; color:#0c1d41; }
    .portfolio-filter-toggle svg,.portfolio-mobile-sort>svg:first-child { width:20px; height:20px; flex:none; }
    .portfolio-mobile-sort { position:relative; cursor:pointer; }
    .portfolio-mobile-sort>span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .portfolio-mobile-sort-chevron { width:15px; height:15px; margin-left:auto; color:#64748b; flex:none; }
    .portfolio-mobile-sort select { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
    #portfolio-filter-panel { display:none; position:relative; }
    #portfolio-filter-panel.is-open { display:block; }
    .portfolio-filter-close { display:block; position:absolute; right:18px; top:8px; min-height:44px; padding:8px; font-size:13px; color:#475569; }
    #portfolio-filter-panel>div:first-child { padding-right:70px; }
}
@media(min-width:768px) and (max-width:1279px) {
    .office-contact-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
    .office-address-item { grid-column:1/-1; }
    .office-contact-item { min-height:68px; }
    .office-address-item strong { white-space:normal; }
}
@media(max-width:767px) {
    #ofis-detay-wrapper { padding-top:22px; }
    .office-detail-hero { border-radius:21px; }
    .office-detail-hero-main { padding:23px 18px 20px; }
    .office-detail-heading { gap:16px; }
    .office-detail-title { margin-top:14px; font-size:25px; }
    .office-experience-soft { min-height:46px; padding:8px 10px 8px 12px; border-radius:14px; }
    .office-experience-number { font-size:21px; }
    .office-experience-star { width:23px; height:23px; flex-basis:23px; font-size:11px; }
    .office-contact-grid { grid-template-columns:1fr; gap:9px; margin-top:22px; }
    .office-address-item { grid-column:auto; }
    .office-contact-item { min-height:62px; padding:10px 11px; gap:9px; border-radius:14px; }
    .office-contact-icon { width:34px; height:34px; flex-basis:34px; border-radius:10px; }
    .office-contact-icon svg { width:16px; height:16px; }
    .office-contact-item strong { font-size:11px; white-space:normal; overflow:visible; text-overflow:clip; }
    a.office-contact-item strong { white-space:normal; overflow-wrap:anywhere; }
    .office-achievements-soft { margin-top:14px; padding-top:14px; }
    #ofis-detay-wrapper .office-stats-grid { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px !important; margin-bottom:28px; }
    .office-stat-card { min-height:96px; padding:14px !important; border-radius:16px; }
    .office-stat-card>div:first-child { min-width:0; }
    .office-stat-card>div:first-child>span:first-child { font-size:7px; line-height:1.3; }
    .office-stat-card>div:first-child>span:last-child { font-size:20px; line-height:1.2; }
    .office-stat-card>div:last-child { width:34px; height:34px; flex:0 0 34px; margin-left:7px; border-radius:10px; }
    .office-stat-card>div:last-child svg { width:17px; height:17px; }
    #portfolio-page { padding-top:20px; }
    #portfolio-page>div:first-child>p:not(.portfolio-mobile-total) { display:none; }
    #portfolio-page>div:first-child { text-align:left; }
    #portfolio-page h1 { font-size:26px; }
    #portfolio-page>div,#portfolio-page>button { margin-top:16px; }
    #portfolio-page>.portfolio-mobile-controls { margin-top:16px; }
    #portfolio-page #result { gap:10px; }
    #portfolio-page .portfolio-card { flex-direction:row; padding:8px; gap:12px; border-radius:16px; box-shadow:none; height:auto; min-height:132px; position:relative; cursor:pointer; transform:none; }
    #portfolio-page .portfolio-card-image { width:32%; min-width:94px; max-width:138px; aspect-ratio:auto; align-self:stretch; border-radius:10px; }
    #portfolio-page .portfolio-card-image img { position:absolute; inset:0; height:100%; }
    #portfolio-page .portfolio-card-image>div { display:none; }
    #portfolio-page .portfolio-card-image>div:nth-of-type(2) { display:block; top:6px; left:6px; right:auto; }
    #portfolio-page .portfolio-card-image>div:nth-of-type(2) span { font-size:10px; padding:3px 7px; }
    #portfolio-page .portfolio-card-content { padding:3px 0; min-width:0; justify-content:flex-start; }
    #portfolio-page .portfolio-mobile-price { display:block; color:#d61c2c; font-size:17px; line-height:1.3; font-weight:800; margin-bottom:5px; }
    #portfolio-page .portfolio-card h3 { font-size:13px; min-height:0; line-height:1.35; }
    #portfolio-page .portfolio-card-content>.space-y-2 { margin-bottom:5px; }
    #portfolio-page .portfolio-card-content>.space-y-2>div { font-size:11px; margin-top:5px; margin-bottom:0; }
    #portfolio-page .portfolio-card-specs { display:flex; gap:12px; border:0; padding:0; margin:0; }
    #portfolio-page .portfolio-card-specs>div { display:flex; align-items:center; gap:4px; text-align:left; }
    #portfolio-page .portfolio-card-specs>div span { margin:0; font-size:11px; }
    #portfolio-page .portfolio-card-specs>div span:first-child { display:none; }
    #portfolio-page .portfolio-card-office { display:none; }
    #portfolio-page .select2-container { max-width:100%; }
    #portfolio-page #portfolio-sort-select+.select2 { width:155px !important; }
    #portfolio-map { height:57vh; min-height:310px; }
    #property-detail-wrapper { padding-top:18px; }
    #property-detail-wrapper>div:first-child { margin-bottom:16px; gap:10px; }
    #property-detail-wrapper>div:nth-child(2) { margin-bottom:18px; }
    #property-detail-wrapper #display-title { font-size:18px; line-height:1.45; }
    #property-detail-wrapper .property-main-grid { gap:20px; margin-bottom:24px; }
    #main-gallery-wrapper { touch-action:pan-y; }
    #main-gallery-image { user-select:none; -webkit-user-drag:none; }
    #gallery-thumbs-grid { display:flex; gap:9px; overflow-x:auto; scroll-snap-type:x mandatory; padding:2px 2px 8px; scrollbar-width:none; }
    #gallery-thumbs-grid::-webkit-scrollbar { display:none; }
    #gallery-thumbs-grid .sah-thumb { flex:0 0 22%; min-width:78px; scroll-snap-align:center; }
    .gallery-mobile-nav { display:flex; position:absolute; top:50%; z-index:12; width:38px; height:38px; align-items:center; justify-content:center; transform:translateY(-50%); border:1px solid #ffffff80; border-radius:50%; background:#0c1d4199; color:#fff; font-size:30px; line-height:1; box-shadow:0 3px 12px #0004; backdrop-filter:blur(5px); }
    .gallery-mobile-prev { left:10px; }
    .gallery-mobile-next { right:10px; }
    .gallery-mobile-counter { display:block; position:absolute; left:12px; bottom:12px; z-index:12; padding:5px 10px; border-radius:999px; background:#0c1d41c7; color:#fff; font-size:12px; font-weight:800; backdrop-filter:blur(5px); }
    #property-detail-wrapper .property-tabs { position:sticky; top:80px; z-index:10; }
    .property-mobile-contact:not([hidden]) { display:flex; gap:10px; position:fixed; left:0; right:0; bottom:0; padding:12px 16px calc(12px + env(safe-area-inset-bottom)); background:#ffffffed; backdrop-filter:blur(12px); border-top:1px solid #e2e8f0; z-index:45; box-shadow:0 -4px 24px #0c1d4110; }
    .property-mobile-contact a { display:flex; justify-content:center; align-items:center; gap:8px; flex:1; min-height:48px; border-radius:12px; font-size:15px; font-weight:700; background:#0c1d41; color:white; }
    .property-mobile-contact a:last-child { background:#168943; }
    body.has-mobile-actions { padding-bottom:calc(90px + env(safe-area-inset-bottom)); }
    body.has-mobile-actions #site-assistant { bottom:calc(100px + env(safe-area-inset-bottom)); }
}
@media(min-width:768px) { #property-tabs { display:none; } }
@media(min-width:768px) {
    .property-desktop-tabs { display:inline-flex; width:min(100%,720px); margin-bottom:28px; }
    .property-desktop-tabs button { min-width:180px; }
    #property-secondary-content > .property-tab-panel { margin-bottom:0; }
}
@media(max-width:767px) { .property-desktop-tabs { display:none; } #property-info-panel #features-section { margin-top:24px; } #property-secondary-content.is-empty { display:none; } .property-tabs button { padding-left:8px; padding-right:8px; font-size:12px; } .property-location-heading { align-items:flex-start; } .property-location-heading h3 { font-size:16px; } .property-location-heading p { font-size:12px; } #property-location-map { height:300px; border-radius:14px; } }
.owner-landing { color:#0c1d41; }
.owner-hero { background:#0c1d41; color:white; padding:80px max(24px, calc((100vw - 1180px)/2)); display:grid; grid-template-columns:1.2fr 1fr; gap:72px; align-items:center; }
.owner-eyebrow { font-size:11px; letter-spacing:.16em; font-weight:800; color:#d61c2c; margin-bottom:20px; }
.owner-hero .owner-eyebrow { color:#e7bd6c; }
.owner-hero h1 { font-size:clamp(34px,4.3vw,60px); line-height:1.1; font-weight:800; letter-spacing:-.035em; margin:0 0 24px; }
.owner-hero h1 span { color:#e7bd6c; }
.owner-hero-copy>p:not(.owner-eyebrow) { max-width:510px; color:#cbd5e1; font-size:17px; line-height:1.7; }
.owner-cta { display:inline-flex; align-items:center; justify-content:space-between; gap:24px; padding:17px 23px; min-height:52px; background:#d61c2c; color:white; font-weight:700; font-size:15px; border-radius:12px; margin-top:28px; }
.owner-cta:hover { background:#b51321; }
.owner-cta:disabled { opacity:.65; cursor:wait; }
.owner-cta span { font-size:22px; }
.owner-hero-copy .owner-hero-note { font-size:12px !important; margin-top:16px; }
.owner-process-card { border:1px solid #ffffff25; border-radius:24px; padding:36px; background:linear-gradient(145deg,#ffffff0d,#ffffff03); }
.owner-process-card h2 { font-size:32px; font-weight:700; line-height:1.2; margin:16px 0 30px; }
.owner-process-card li { display:flex; gap:18px; padding:20px 0; border-top:1px solid #ffffff20; }
.owner-process-card li b { color:#e7bd6c; font-size:14px; }
.owner-process-card li strong { display:block; font-size:15px; margin-bottom:6px; }
.owner-process-card li span { font-size:13px; color:#cbd5e1; line-height:1.6; display:block; }
.owner-services { max-width:1228px; margin:auto; padding:72px 24px; }
.owner-services h2,.owner-form-section h2 { font-size:clamp(28px,3vw,40px); font-weight:800; line-height:1.2; letter-spacing:-.025em; }
.owner-service-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:36px; }
.owner-service-grid article { padding:28px; background:white; border:1px solid #e2e8f0; border-radius:18px; }
.owner-service-grid svg { color:#d61c2c; width:26px; height:26px; margin-bottom:22px; }
.owner-service-grid h3 { font-size:18px; font-weight:700; margin-bottom:10px; }
.owner-service-grid p { color:#64748b; line-height:1.75; font-size:14px; }
.owner-form-section { max-width:1180px; margin:64px auto 0; display:grid; grid-template-columns:1fr 1fr; gap:70px; background:#eef2f7; border-radius:24px; padding:48px; scroll-margin-top:100px; }
.owner-form-section>div>p:not(.owner-eyebrow) { color:#475569; font-size:16px; line-height:1.7; margin-top:24px; }
.owner-form-note { display:flex; gap:14px; align-items:flex-start; color:#475569; font-size:13px; line-height:1.7; margin-top:30px; }
.owner-form-note svg { flex-shrink:0; color:#d61c2c; }
.owner-form-section form { display:flex; flex-direction:column; gap:18px; }
.owner-form-section label { display:flex; flex-direction:column; gap:7px; font-size:13px; font-weight:600; }
.owner-form-section input:not([type=checkbox]),.owner-form-section select { width:100%; min-width:0; min-height:48px; border:1px solid #cbd5e1; border-radius:9px; background:white; padding:12px; font:inherit; font-size:16px; }
.owner-form-section input:focus,.owner-form-section select:focus { outline:2px solid #0c1d41; outline-offset:2px; }
.owner-form-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.owner-form-section .owner-consent { flex-direction:row; align-items:flex-start; gap:10px; font-size:12px; font-weight:400; line-height:1.6; }
.owner-consent input { width:18px; height:18px; flex-shrink:0; margin-top:2px; }
.owner-form-section .owner-cta { margin-top:0; width:100%; }
.owner-form-error,.owner-form-success { padding:14px; border-radius:10px; font-size:14px; }
.owner-form-error { background:#fff1f2; color:#9f1239; }
.owner-form-success { background:#dcfce7; color:#166534; }
@media(max-width:767px) {
    .owner-hero { grid-template-columns:1fr; padding:36px 20px; gap:32px; }
    .owner-hero-copy>p:not(.owner-eyebrow) { font-size:15px; }
    .owner-hero .owner-cta { width:100%; }
    .owner-process-card { padding:24px; }
    .owner-process-card h2 { font-size:27px; }
    .owner-services { padding:40px 20px; }
    .owner-service-grid { grid-template-columns:1fr; gap:12px; margin-top:24px; }
    .owner-service-grid article { padding:22px; }
    .owner-service-grid svg { margin-bottom:14px; }
    .owner-form-section { grid-template-columns:1fr; margin:32px 12px 0; padding:26px 18px; gap:28px; }
}
