/* Public brand stays white with green accents, independent of device theme.
   Keep the search panel in the grid flow: long copy must not cover inventory. */
.site-body:has(.compro-page) { color-scheme: light; background: #fff; }
.compro-page { overflow: clip; }
.compro-page { --compro-ease: cubic-bezier(.23, 1, .32, 1); }
.compro-page .home-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; min-height: 0; padding: 20px max(40px, calc((100vw - 1320px) / 2)) 28px; }
.compro-page .hero-image-wrap { grid-area: 1 / 1 / 2 / 10; align-self: stretch; min-width: 0; width: 100%; height: auto; min-height: clamp(500px, 43vw, 590px); isolation: isolate; background: #e3efed; }
.compro-page .hero-image-wrap::after { z-index: 1; height: 45%; background: linear-gradient(0deg, rgb(6 28 28 / 73%), transparent 68%); }
.compro-slide { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.compro-slide[hidden] { display: none; }
.compro-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.025); animation: compro-hero-image-in 1.15s var(--compro-ease) both; }
.compro-slide:nth-of-type(2) img { object-position: center 42%; }
.compro-slide-caption { position: absolute; z-index: 2; bottom: 108px; left: max(40px, calc((100vw - 1320px) / 2)); display: flex; max-width: calc(100% - 250px); flex-direction: column; color: #fff; text-shadow: 0 2px 12px rgb(0 0 0 / 50%); }
.compro-slide-caption span { align-self: start; margin-bottom: .45rem; padding: .25rem .55rem; border: 1px solid rgb(255 255 255 / 65%); border-radius: 3px; font-size: .66rem; font-weight: 650; letter-spacing: .02em; text-shadow: none; }
.compro-slide-caption strong { font-family: var(--font-display); font-size: clamp(1.8rem, 2.4vw, 2.8rem); font-weight: 500; line-height: 1; }
.compro-slide-caption small { margin-top: .35rem; font-size: .7rem; }
.compro-carousel-controls { position: absolute; z-index: 3; left: max(40px, calc((100vw - 1320px) / 2)); bottom: 38px; display: flex; align-items: center; gap: .35rem; color: #fff; }
.compro-carousel-controls button { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgb(255 255 255 / 65%); border-radius: 50%; color: #fff; background: rgb(8 40 39 / 32%); cursor: pointer; transition: background .22s ease, transform .22s ease; }
.compro-carousel-controls button svg { width: 20px; height: 20px; }
.compro-carousel-controls span { min-width: 112px; padding-inline: .5rem; font-size: .72rem; font-weight: 650; text-align: center; white-space: nowrap; }
.compro-carousel-controls button:focus-visible { outline-color: #fff; }
.compro-page .hero-search-panel { position: relative; grid-area: 1 / 7 / 2 / -1; justify-self: end; top: auto; right: auto; width: 100%; max-width: 520px; margin: 30px 0; padding: clamp(1.6rem, 2.4vw, 2.35rem); border: 1px solid rgb(18 107 100 / 13%); border-radius: 10px; color: var(--ink); background: #fff; box-shadow: 0 24px 60px rgb(23 45 50 / 14%); animation: compro-panel-in .72s var(--compro-ease) both; }
.compro-page .hero-panel-context { display: flex; align-items: center; gap: .5rem; margin: 0 0 1.1rem; color: var(--teal); font-size: .69rem; font-weight: 750; letter-spacing: .025em; }
.compro-page .hero-panel-context span { width: .46rem; height: .46rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px var(--teal-pale); }
.compro-page .hero-search-panel h1 { margin: 0; color: var(--ink); font-size: clamp(2.8rem, 3.45vw, 3.85rem); line-height: 1.04; letter-spacing: -.025em; }
.compro-page .hero-search-panel h1 em { color: var(--teal); }
.compro-page .hero-description { max-width: 48ch; margin: 1rem 0 1.3rem; color: var(--muted); font-size: .93rem; line-height: 1.65; }
.compro-page .hero-search-form { gap: .95rem; }
.compro-page .hero-search-form .field-group label { color: var(--ink); font-size: .77rem; }
.compro-page .hero-search-form input { min-width: 0; min-height: 45px; border-color: var(--line-strong); }
.compro-page .hero-search-form .field-with-icon > input { padding-left: 2.2rem; }
.compro-page .hero-search-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compro-page .hero-search-submit { display: inline-flex; justify-content: center; gap: .65rem; background: var(--teal); color: #fff; transition: transform 160ms var(--compro-ease), background 160ms ease, box-shadow 160ms ease; }
.compro-page .hero-search-submit svg { width: 18px; height: 18px; }
.compro-page .hero-search-note { align-items: start; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.compro-page .hero-search-note svg { margin-top: .16rem; }

.compro-inventory { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 2rem; margin-top: 6px; padding-block: 1.8rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-strong); }
.compro-inventory p { display: flex; flex-direction: column; gap: .18rem; margin: 0; }
.compro-inventory strong { color: var(--ink); font-size: 1.07rem; font-variant-numeric: tabular-nums; }
.compro-inventory span { color: var(--muted); font-size: .75rem; }
.compro-inventory a { display: inline-flex; min-height: 44px; align-items: center; gap: .4rem; color: var(--teal); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.compro-inventory a svg { width: 16px; height: 16px; }
.compro-page .intro-section { padding-block: 6.4rem; }
.compro-page .intro-lead h2 { max-width: 15ch; }
.compro-page .intro-copy p { max-width: 48ch; }
.compro-steps { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 8vw, 8rem); padding-block: 3.4rem 5.7rem; border-top: 1px solid var(--line); }
.compro-steps h2 { max-width: 12ch; margin: 0; font-size: clamp(2.3rem, 3.5vw, 3.5rem); }
.compro-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.compro-steps li { min-width: 0; padding-top: 1.1rem; border-top: 2px solid var(--teal); }
.compro-steps li span { color: var(--ink); font-size: .92rem; font-weight: 700; }
.compro-steps li p { margin: .55rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.75; }
.compro-page .featured-section { padding-block: 5.25rem 6.4rem; }
.compro-page .featured-section .section-heading p { margin: .7rem 0 0; color: var(--muted); font-size: .84rem; }
.compro-page .room-card { border-color: var(--line); box-shadow: 0 12px 30px rgb(23 45 50 / 5%); transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease; }
.compro-page .room-card-image img { transition: transform .7s cubic-bezier(.16,1,.3,1); }
.compro-page .room-card-image .image-caption { padding: .35rem .55rem; font-size: .72rem; }
.compro-page .room-card-copy { padding: 1.25rem; }
.compro-page .room-card-heading { gap: .5rem; }
.compro-page .room-card-heading h3 { line-height: 1; }
.compro-page .room-location { line-height: 1.4; }
.compro-page .facilities-section { padding-block: 5.6rem; background: var(--teal-pale); }
.compro-page .facility-list { border-top-color: var(--line-strong); }
.compro-page .facility-list li { border-bottom-color: var(--line-strong); font-size: .88rem; }
.compro-page .property-row { transition: background .3s ease; }
.compro-page .property-row-name small { display: block; margin-top: .2rem; color: var(--muted); font-family: var(--font-sans); font-size: .65rem; font-weight: 600; }
.compro-page .image-story-copy { background: #103e3a; }
.compro-page .closing-cta { padding-block: 6.5rem; }
.compro-page .closing-cta h2 { max-width: 16ch; }

/* Catalogue follows the same photo, ink and paper language as the home page. */
.compro-catalog .catalog-intro { position: relative; display: grid; min-height: 350px; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 3rem; align-items: center; margin-top: 28px; padding: 2.6rem 3rem; overflow: hidden; background: #103e3a; }
.catalog-intro-copy { position: relative; z-index: 1; }
.compro-catalog .catalog-intro h1 { max-width: 13ch; margin: 0 0 .8rem; color: #fff; font-size: clamp(3rem, 4.4vw, 5rem); }
.compro-catalog .catalog-intro p { max-width: 53ch; margin: 0; color: #d7e8e4; font-size: .88rem; }
.catalog-back { display: inline-flex; min-height: 44px; align-items: center; gap: .35rem; margin-bottom: .8rem; color: #d1e6e0; font-size: .8rem; font-weight: 700; }
.catalog-back svg { width: 16px; height: 16px; }
.catalog-intro-visual { position: relative; height: 290px; overflow: hidden; }
.catalog-intro-visual::after { position: absolute; inset: 40% 0 0; background: linear-gradient(0deg, rgb(10 38 37 / 58%), transparent); content: ''; }
.catalog-intro-visual img { width: 100%; height: 100%; object-fit: cover; }
.compro-catalog .catalog-photo-note { position: absolute; z-index: 1; right: 1rem; bottom: .8rem; max-width: none; margin: 0; color: #fff; font-size: .65rem; font-weight: 600; letter-spacing: 0; text-shadow: 0 1px 5px rgb(0 0 0 / 50%); }
.compro-catalog .catalog-section { padding-top: 2.2rem; }
.compro-catalog .catalog-filters { padding: 1.3rem; border: 0; border-radius: 2px; box-shadow: 0 13px 35px rgb(23 45 50 / 7%); }
.compro-catalog .catalog-results-head { margin-top: .5rem; }
.compro-catalog .catalog-results-head strong { font-size: 1.22rem; font-variant-numeric: tabular-nums; }

.compro-detail .detail-breadcrumb { padding-top: 1.5rem; }
.compro-detail .branch-hero-image, .compro-detail .gallery-grid { box-shadow: 0 22px 45px rgb(23 45 50 / 10%); }
.compro-detail .branch-hero-copy h1, .compro-detail .detail-title h1 { max-width: 13ch; }
.compro-detail .branch-rooms-section { padding-top: 2.5rem; border-top: 1px solid var(--line); }
.compro-detail .inquiry-panel { background: #103e3a; box-shadow: 0 20px 42px rgb(10 43 42 / 14%); }
.compro-detail .inquiry-panel h2 { color: #fff; }
.compro-detail .inquiry-panel .button-primary { color: #103e3a; }

@media (hover: hover) and (pointer: fine) {
    .compro-carousel-controls button:hover { background: #126b64; transform: translateY(-2px); }
    .compro-page .room-card:hover { transform: translateY(-6px); box-shadow: 0 23px 42px rgb(23 45 50 / 13%); }
    .compro-page .room-card:hover .room-card-image img { transform: scale(1.055); }
    .compro-page .property-row:hover { background: var(--teal-pale); }
    .compro-page .hero-search-submit:hover { background: var(--teal-deep); box-shadow: 0 10px 20px rgb(18 107 100 / 24%); transform: translateY(-2px); }
}

@keyframes compro-panel-in { from { opacity: 0; transform: translate3d(26px, 0, 0) scale(.985); } to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); } }
@keyframes compro-hero-image-in { from { opacity: .88; transform: scale(1.07); } to { opacity: 1; transform: scale(1.025); } }

@media (max-width: 1199px) {
    .compro-page .hero-search-panel { max-width: 490px; }
    .compro-slide-caption, .compro-carousel-controls { left: 32px; }
    .compro-steps { grid-template-columns: 1fr; gap: 1.8rem; }
    .compro-steps h2 { max-width: 19ch; }
}
@media (max-width: 900px) {
    .compro-page .home-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-inline: 24px; }
    .compro-page .hero-image-wrap { grid-area: auto; width: 100%; height: 420px; min-height: 0; }
    .compro-page .hero-search-panel { grid-area: auto; width: 100%; max-width: none; margin: 0; }
    .compro-page .hero-search-panel h1 { max-width: 20ch; }
    .compro-slide-caption { max-width: calc(100% - 64px); }
    .compro-inventory { grid-template-columns: 1fr 1fr; }
    .compro-inventory a { grid-column: 1 / -1; }
    .compro-catalog .catalog-intro { gap: 1.5rem; padding: 2rem; }
}
@media (max-width: 680px) {
    .compro-page .home-hero { gap: 0; padding: 0 0 24px; }
    .compro-page .hero-image-wrap { width: 100%; height: min(92vw, 390px); }
    .compro-slide-caption { bottom: 72px; left: 20px; max-width: calc(100% - 40px); }
    .compro-slide-caption strong { font-size: 2rem; }
    .compro-slide-caption small { font-size: .65rem; }
    .compro-carousel-controls { left: 14px; bottom: 12px; }
    .compro-carousel-controls button { width: 42px; height: 42px; }
    .compro-carousel-controls span { min-width: 102px; font-size: .65rem; }
    .compro-page .hero-search-panel { width: calc(100% - 36px); margin: -16px auto 0; padding: 1.45rem; box-shadow: 0 16px 36px rgb(23 45 50 / 10%); }
    .compro-page .hero-search-panel h1 { max-width: 14ch; font-size: clamp(2.75rem, 10vw, 3.6rem); }
    .compro-inventory { gap: 1rem; padding-block: 1.25rem; }
    .compro-inventory strong { font-size: .85rem; }
    .compro-inventory span { font-size: .68rem; }
    .compro-inventory a { margin-top: .2rem; }
    .compro-page .intro-section { padding-block: 4.1rem; }
    .compro-steps { padding-block: 2.7rem 4rem; }
    .compro-steps ol { grid-template-columns: 1fr; gap: 1.35rem; }
    .compro-steps li { padding-top: .7rem; }
    .compro-page .featured-section { padding-block: 4rem; }
    .compro-page .facilities-section { padding-block: 4rem; }
    .compro-page .closing-cta { padding-block: 4rem; }
    .compro-catalog .catalog-intro { display: flex; min-height: 0; flex-direction: column; gap: 1.35rem; width: 100%; margin: 0; padding: 1.7rem 18px 18px; }
    .compro-catalog .catalog-intro h1 { font-size: 3rem; }
    .catalog-intro-visual { width: 100%; height: min(58vw, 240px); }
    .compro-catalog .catalog-section { padding-top: 1.4rem; }
}
@media (max-width: 390px) {
    .compro-page .hero-search-panel { width: calc(100% - 36px); }
    .compro-slide-caption { bottom: 66px; }
    .compro-slide-caption strong { font-size: 1.7rem; }
    .compro-inventory { grid-template-columns: 1fr; }
    .compro-inventory a { grid-column: auto; }
    .compro-catalog .catalog-intro h1 { font-size: 2.75rem; }
}

@media (prefers-reduced-motion: reduce) {
    .compro-page .room-card, .compro-page .room-card-image img, .compro-page .property-row, .compro-carousel-controls button, .compro-page .hero-search-submit { transition-duration: 0ms; }
    .compro-page .hero-search-panel, .compro-slide img { animation: none; transform: none; }
}


/* KOS ONE home: full-bleed photography and tighter editorial rhythm */

@keyframes compro-panel-in {
    from { opacity: 1; transform: translate3d(16px, 0, 0) scale(.99); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.compro-page .home-hero {
    --hero-gutter: max(40px, calc((100vw - 1320px) / 2));
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    padding: 16px var(--hero-gutter) 22px;
}
.compro-page .hero-image-wrap {
    grid-area: 1 / 1 / 2 / -1;
    width: calc(100% + var(--hero-gutter) + var(--hero-gutter));
    min-height: clamp(460px, 40vw, 560px);
    margin-inline: calc(0px - var(--hero-gutter));
}
.compro-page .hero-search-panel {
    grid-area: 1 / 7 / 2 / -1;
    margin-block: 12px;
    background: #fff;
    opacity: 1;
}
.compro-page .compro-inventory {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 1.25rem;
    padding-block: 1rem;
}
.compro-page .featured-section { padding-block: 3.5rem 4.25rem; }
.compro-page .featured-section .section-heading { margin-bottom: 1.35rem; }
.compro-page .featured-section .room-grid { gap: 1.15rem; }
.compro-page .intro-section { padding-block: 4.15rem; }
.compro-page .compro-steps { padding-block: 2.6rem 4.15rem; }
.compro-page .facilities-section { padding-block: 4.25rem; }
.compro-page .closing-cta { padding-block: 4.5rem; }
.compro-page .image-story { min-height: 430px; margin-block: .75rem 1.5rem; }
.compro-page .intro-section { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center; }
.compro-page .intro-lead h2 { max-width: 17ch; font-size: clamp(2.3rem, 3.2vw, 3.5rem); line-height: 1.08; }
.compro-page .compro-steps { grid-template-columns: minmax(240px, .9fr) minmax(0, 2.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.compro-page .compro-steps h2 { max-width: 17ch; font-size: clamp(2.15rem, 3vw, 3.1rem); line-height: 1.08; }
.compro-page .property-section { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); padding-block: 4.25rem; }
.compro-page .property-copy h2 { max-width: 18ch; font-size: clamp(2.2rem, 3.2vw, 3.5rem); line-height: 1.08; }
.compro-page .facility-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-body:has(.compro-page) .public-footer { margin-top: 0; }

@media (max-width: 900px) {
    .compro-page .home-hero {
        --hero-gutter: 24px;
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 16px 24px 22px;
    }
    .compro-page .hero-image-wrap {
        grid-area: auto;
        width: calc(100% + var(--hero-gutter) + var(--hero-gutter));
        height: 420px;
        min-height: 0;
        margin-inline: calc(0px - var(--hero-gutter));
    }
    .compro-page .hero-search-panel { grid-area: auto; width: 100%; max-width: none; margin: 0; }
    .compro-page .compro-inventory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .compro-page .compro-inventory a { grid-column: 1 / -1; }
    .compro-page .featured-section { padding-block: 3.25rem 3.75rem; }
    .compro-page .intro-section { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
    .compro-page .compro-steps { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .compro-page .property-section { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; padding-block: 3.5rem; }
    .compro-page .facility-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .compro-page .home-hero { gap: 0; padding: 0 0 22px; }
    .compro-page .hero-image-wrap { height: min(92vw, 390px); }
    .compro-page .hero-search-panel { width: calc(100% - 36px); margin: -16px auto 0; }
    .compro-page .featured-section { padding-block: 2.8rem 3.25rem; }
    .compro-page .intro-section { padding-block: 3.25rem; }
    .compro-page .compro-steps { padding-block: 2.25rem 3.25rem; }
    .compro-page .facilities-section { padding-block: 3.25rem; }
    .compro-page .closing-cta { padding-block: 3.4rem; }
    .compro-page .image-story { min-height: 390px; margin-block: 0 1.25rem; }
    .compro-page .intro-section { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
    .compro-page .property-section { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 3rem; }
}

@media (max-width: 390px) {
    .compro-page .compro-inventory { grid-template-columns: minmax(0, 1fr); }
    .compro-page .compro-inventory a { grid-column: auto; }
}

@media (min-width: 901px) and (max-height: 760px) {
    .compro-page .home-hero { padding-block: 10px 16px; }
    .compro-page .hero-image-wrap { min-height: clamp(420px, 70vh, 490px); }
    .compro-page .hero-search-panel { margin-block: 8px; padding: 1.25rem 1.45rem; }
    .compro-page .hero-panel-context { margin-bottom: .75rem; }
    .compro-page .hero-search-panel h1 { font-size: clamp(2.45rem, 3.1vw, 3.2rem); }
    .compro-page .hero-description { margin-block: .65rem .8rem; font-size: .88rem; }
    .compro-page .hero-search-form { gap: .68rem; }
    .compro-page .hero-search-form input { min-height: 42px; }
}

@media (min-width: 901px) and (max-height: 640px) {
    .compro-page .home-hero { padding-block: 0 8px; }
    .compro-page .hero-image-wrap { min-height: clamp(360px, 68vh, 420px); }
    .compro-page .hero-search-panel { margin-block: 4px; padding: .9rem 1.1rem; }
    .compro-page .hero-panel-context { margin-bottom: .45rem; font-size: .64rem; }
    .compro-page .hero-search-panel h1 { font-size: clamp(2.2rem, 2.8vw, 2.9rem); line-height: .98; }
    .compro-page .hero-description { margin-block: .42rem .55rem; font-size: .82rem; line-height: 1.42; }
    .compro-page .hero-search-form { gap: .48rem; }
    .compro-page .hero-search-form input { min-height: 38px; }
    .compro-page .hero-search-submit { min-height: 42px; }
    .compro-page .hero-search-note { margin-top: .42rem; font-size: .62rem; line-height: 1.2; }
}

/* Admin-configured branch facts stay in the existing light editorial system. */
.public-branch-info { padding-block: 2rem; border-bottom: 1px solid var(--line); }
.public-branch-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.public-info-card { min-width: 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper, #fff); }
.public-info-card h2 { margin: 0 0 .85rem; font-size: 1.05rem; }
.public-info-card h3 { margin: 1.25rem 0 .55rem; font-size: .9rem; }
.public-info-card .prose-copy { color: var(--ink-soft); line-height: 1.65; }
.public-info-list, .public-service-list { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.public-info-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.public-info-list li, .public-service-list li { color: var(--ink-soft); }
.public-service-list li { display: grid; gap: .2rem; padding-block: .6rem; border-top: 1px solid var(--line); }
.public-service-list li:first-child { padding-top: 0; border-top: 0; }
.public-service-list strong { color: var(--ink); }
.public-service-list p { margin: .2rem 0 0; }
.public-map-link, .public-map-empty { margin-top: 1rem; }
.room-structured-facilities { display: grid; gap: .45rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.room-structured-facilities h3 { margin: .45rem 0 0; }
.room-structured-facilities p { margin: 0; color: var(--ink-soft); }
.whatsapp-inquiry { margin-block: .75rem 1rem; }
.whatsapp-unavailable { padding: .75rem; border-radius: .75rem; color: var(--ink-soft); background: var(--surface-soft, #f4f8f6); font-size: .88rem; }

@media (max-width: 760px) {
    .public-branch-info-grid { grid-template-columns: minmax(0, 1fr); }
    .public-info-card { padding: 1rem; }
}
.room-card-marketing-name { margin: .2rem 0 0; color: var(--ink-soft); font-size: .86rem; }
