.section-intro{max-width:760px;margin:0 auto;color:#59677A;font-weight:700}
.house-photo-link{display:block;text-decoration:none}.house-card .photo{min-height:250px;border-radius:0}
.house-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.mini-btn.secondary{background:#071A33;color:#fff}.mini-btn.secondary:hover{background:#F5B942;color:#000}
.gallery-top{position:sticky;top:0;z-index:80;background:#071A33;color:white;min-height:82px;display:flex;align-items:center;gap:18px;padding:12px 28px;box-shadow:0 8px 24px rgba(0,0,0,.20)}
.gallery-logo{width:190px;display:flex;align-items:center}.gallery-logo img{width:185px;height:auto;display:block}.gallery-top nav{margin-left:auto;display:flex;gap:18px;flex-wrap:wrap}.gallery-top nav a{color:white;text-decoration:none;font-weight:900}
.gallery-page{background:#fff;min-height:100vh}.gallery-cover{min-height:560px;display:flex;align-items:center;position:relative;background-size:cover;background-position:center;color:white}.gallery-cover-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,26,51,.86),rgba(7,26,51,.48),rgba(7,26,51,.18))}
.gallery-cover-content{position:relative;z-index:2;max-width:980px;padding:46px 7vw}.gallery-cover h1{font-family:Georgia,serif;font-size:clamp(44px,7vw,88px);line-height:1;margin:12px 0 18px}.gallery-cover p{max-width:820px;font-size:20px;line-height:1.6;text-shadow:0 4px 16px rgba(0,0,0,.45)}
.back-pill{display:inline-flex;background:rgba(255,255,255,.16);color:white;border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:10px 14px;text-decoration:none;font-weight:900;margin-bottom:18px}.gallery-cover-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.btn.secondary{background:#071A33;color:white}.btn.secondary:hover{background:#F5B942;color:#000}
.gallery-toolbar{max-width:1180px;margin:20px auto 0;padding:0 22px;display:flex;flex-wrap:wrap;gap:12px}.gallery-toolbar a{background:#F4F7FB;color:#071A33;border:1px solid #DDE6F2;border-radius:999px;padding:10px 15px;font-weight:900;text-decoration:none}
.gallery-grid-premium{max-width:1180px;margin:0 auto;padding:24px 22px 70px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.gallery-photo-card{position:relative;overflow:hidden;border-radius:24px;box-shadow:0 18px 44px rgba(6,27,54,.16);cursor:pointer;min-height:275px;background:#071A33}.gallery-photo-card img{width:100%;height:100%;min-height:275px;object-fit:cover;display:block;transition:.3s ease}.gallery-photo-card:hover img{transform:scale(1.045)}
.gallery-photo-card div{position:absolute;left:0;right:0;bottom:0;padding:18px;color:white;background:linear-gradient(transparent,rgba(0,0,0,.78))}.gallery-photo-card strong{display:block;font-size:20px}.gallery-photo-card span{display:block;font-size:14px;opacity:.92}
.empty-gallery{grid-column:1/-1;background:#F4F7FB;border-radius:24px;padding:40px;text-align:center}.gallery-rooms{padding-top:30px!important}.gallery-bottom-actions{max-width:1180px;margin:0 auto 70px;padding:0 22px;display:flex;justify-content:center;gap:14px;flex-wrap:wrap}
.room-gallery-groups{max-width:1180px;margin:0 auto;padding:30px 22px 34px!important}.room-gallery-groups .section-intro{text-align:left;margin:0 0 22px}.room-gallery-group{border:1px solid #E8EEF5;border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(6,27,54,.08);padding:20px;margin:18px 0}.room-gallery-group>header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}.room-gallery-group>header span{display:block;color:#59677A;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.room-gallery-group h3{margin:4px 0 0;color:#061B36;font-family:Georgia,serif;font-size:28px}.room-photo-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.room-photo-card{position:relative;overflow:hidden;border-radius:16px;min-height:170px;background:#071A33;cursor:pointer;box-shadow:0 10px 24px rgba(6,27,54,.12)}.room-photo-card img{width:100%;height:100%;min-height:170px;object-fit:cover;display:block;transition:.25s ease}.room-photo-card:hover img{transform:scale(1.04)}.room-photo-card div{position:absolute;left:0;right:0;bottom:0;padding:12px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.78))}.room-photo-card strong{display:block;font-size:14px}.room-photo-card span{display:block;font-size:11px;opacity:.9}.room-gallery-empty{background:#F4F7FB;border:1px dashed #CBD5E1;border-radius:16px;padding:16px;color:#59677A;font-weight:700}.room-card-photo{display:block;height:170px;overflow:hidden;background:#071A33}.room-card-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:.25s ease}.room-card-photo:hover img{transform:scale(1.04)}
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.94);z-index:10050;display:none;align-items:center;justify-content:center;padding:22px;color:white;text-align:center;overscroll-behavior:contain}.lightbox.open{display:flex}body.lightbox-open{overflow:hidden}
.lightbox-backdrop{position:absolute;inset:0;cursor:pointer}
.lightbox-panel{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;max-width:96vw;width:100%;pointer-events:auto}
.lightbox img{max-width:96vw;max-height:72vh;border-radius:18px;object-fit:contain;touch-action:pan-y pinch-zoom}
.lightbox-close{position:fixed;top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));z-index:10052;width:48px;height:48px;line-height:1;font-size:36px;background:rgba(0,0,0,.45);color:white;border:1px solid rgba(255,255,255,.35);border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center}
.lightbox-back{position:fixed;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:10052;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.34);color:white;padding:11px 18px;border-radius:999px;cursor:pointer;font-weight:900}
.lightbox-nav{position:fixed;top:50%;transform:translateY(-50%);z-index:10052;width:52px;height:52px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(0,0,0,.45);color:white;font-size:32px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.lightbox-nav--prev{left:max(12px,env(safe-area-inset-left))}
.lightbox-nav--next{right:max(12px,env(safe-area-inset-right))}
.lightbox-nav:disabled{opacity:.25;cursor:default}
.lightbox-counter{margin:10px 0 0;font-size:13px;font-weight:700;opacity:.85;color:white}
.lightbox h2{color:white;margin:14px 0 4px;font-size:clamp(18px,4vw,26px)}.lightbox p{margin:0;color:rgba(255,255,255,.88);max-width:720px}
@media(max-width:900px){
  .gallery-top{position:relative;flex-direction:column;align-items:center;padding:12px}
  .gallery-logo,.gallery-logo img{width:175px}
  .gallery-top nav{margin-left:0;justify-content:center;gap:10px}
  .gallery-cover{
    min-height:min(42vh,360px);
    text-align:center;
    align-items:flex-end;
  }
  .gallery-cover-overlay{background:linear-gradient(rgba(7,26,51,.45),rgba(7,26,51,.82))}
  .gallery-cover-content{padding:22px 16px 26px}
  .gallery-cover h1{font-size:clamp(30px,8vw,44px);margin:8px 0 10px}
  .gallery-cover p{
    font-size:15px;
    line-height:1.45;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .back-pill{margin-bottom:10px;padding:8px 12px;font-size:13px}
  .gallery-cover-actions{
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px;
    margin-top:14px;
  }
  .gallery-cover-actions .btn{
    width:auto;
    flex:1 1 auto;
    min-width:0;
    padding:12px 14px;
    font-size:14px;
  }
  .gallery-toolbar{
    margin:12px auto 0;
    padding:0 12px;
    gap:8px;
    justify-content:center;
  }
  .gallery-toolbar a{padding:8px 12px;font-size:12px}
  .gallery-grid-premium{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    padding:16px 12px 40px;
  }
  .gallery-photo-card,.gallery-photo-card img{min-height:150px}
  .gallery-photo-card{border-radius:16px}
  .gallery-photo-card div{padding:10px 12px}
  .gallery-photo-card strong{font-size:14px}
  .gallery-photo-card span{font-size:11px}
  .room-gallery-groups{padding:22px 12px 28px!important}
  .room-gallery-group{padding:14px;border-radius:18px}
  .room-gallery-group>header{align-items:flex-start;flex-direction:column}
  .room-gallery-group h3{font-size:22px}
  .room-photo-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:8px}
  .room-photo-card{flex:0 0 78%;min-height:165px;scroll-snap-align:start}
  .room-card-photo{height:150px}
  .gallery-bottom-actions,.house-actions{flex-direction:column;padding:0 12px}
  .gallery-bottom-actions .btn,.house-actions .mini-btn{width:100%}
  .gallery-rooms{padding-top:20px!important;padding-bottom:30px!important}
  .lightbox-nav{width:44px;height:44px;font-size:28px}
  .lightbox-close{width:44px;height:44px;font-size:30px}
}