/* Layout v20260221w6 - unified search + hero + drawer readability */

/* Header */
header.site{
  position:sticky;
  top:0;
  z-index:2000;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.86);
  border-bottom:1px solid var(--line);
}
header.site .inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  min-width: 0;
}
.brand-logo{
  height: 32px;
  width: auto;
  display:block;
}
.andyou{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .2px;
  white-space: nowrap;
}
.andyou a{
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.hamburger{
  height: var(--tap);
  width: var(--tap);
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.95);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.hamburger .bars{
  width: 18px;
  height: 12px;
  display:grid;
  gap: 3px;
}
.hamburger .bars span{
  height:2px;
  background: var(--text);
  border-radius: 2px;
}

/* Drawer */
.drawer-backdrop{
  position:fixed;
  inset:0;
  background:#fff;
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease;
  z-index:2100;
}
.drawer-backdrop.open{
  opacity:.95; /* 95% opaque (almost solid) */
  pointer-events:auto;
}
.drawer{
  position:fixed;
  top:0;
  right:-340px;
  width: 320px;
  max-width: 92vw;
  height: 100vh;
  z-index:2200;
  background: rgba(255,255,255,.98);
  border-left: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 18px 48px rgba(0,0,0,.12);
  transition: right .18s ease;
  display:flex;
  flex-direction:column;
  color: #0b1220;
}
.drawer.open{ right:0; }
.drawer header{
  padding: 14px;
  border-bottom:1px solid rgba(0,0,0,.10);
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.drawer-nav{
  padding: 12px 14px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.drawer-link{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.95); /* buttons 95% opaque */
  border: 1px solid rgba(0,0,0,.12);
  color: #0b1220;
  font-weight: 800;
  text-decoration:none;
}
.drawer-link:hover{
  background:#fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.drawer hr{
  border:0;
  border-top:1px solid rgba(0,0,0,.10);
  margin: 6px 0;
}
.drawer .section{
  margin-top:auto;
  padding: 12px 14px 16px;
  border-top:1px solid rgba(0,0,0,.10);
}
.drawer .section .muted{ color: rgba(0,0,0,.62); }

/* Hero */
.hero{
  padding: 18px 0 10px;
}
.hero-slim .container{ max-width: var(--container); margin:0 auto; padding: 0 16px; }
.hero-photo-box{
  position:relative;
  border-radius: var(--r2);
  overflow:hidden;
  height: 210px; /* keep height */
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: var(--shadow);
}
@media(min-width:860px){
  .hero-photo-box{ height: 240px; }
}
.hero-photo-bg,
.hero-photo-img{
  position:absolute;
  inset:0;
  background-image: url("/assets/hero_parking_slide.png");
  background-repeat: no-repeat;
  background-position: center;
}
.hero-photo-bg{ display:none; }
.hero-photo-img{
  background-size: cover;
}
.hero-inner{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: 18px;
  z-index:5;
}
.hero-copy{
  color:#fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.55), -1px -1px 0 rgba(0,0,0,.45), 1px -1px 0 rgba(0,0,0,.45), -1px 1px 0 rgba(0,0,0,.45), 1px 1px 0 rgba(0,0,0,.45);
}
.hero-copy.hero-brand{ font-weight: 900; }
.hero h1{ margin:0; font-size: 26px; line-height:1.2; }
.hero .tagline{ margin: 8px 0 0; font-size: 14px; opacity: .95; }

/* Home search card */
.home-search{
  padding: 12px 0 22px;
}
.card.pad{ padding: 16px; }
.grid.cols2{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media(min-width:860px){
  .grid.cols2{ grid-template-columns: 2fr 1fr; }
}

/* Unified results page */
.results-page{
  padding: 12px 0 24px;
}
.map-box{
  height: 46vh;
  min-height: 320px;
  border-radius: var(--r2);
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
}
@media(min-width:860px){
  .map-box{ height: 420px; }
}
.results-list .result-item{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.96);
  border-radius: var(--r2);
  padding: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}
.results-list .result-item h3{ margin:0 0 6px; font-size: 16px; }
.results-list .meta{ color: var(--muted); font-size: 12px; }

/* Details filter */
.details-adv summary{
  cursor:pointer;
  list-style:none;
  font-weight: 900;
}
.details-adv summary::-webkit-details-marker{ display:none; }

.hero-photo-box::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,.22));
  z-index:2;
  pointer-events:none;
}
.hero-inner{ z-index:5; }
