.site-hero {
  display: flex;
  min-height: 390px;
  align-items: center;
  justify-content: space-between;
  background: #f4f5f6;
}

.site-hero__content {
  width: min(1100px, 56%);
  margin: 0 auto;
  padding: 40px 24px;
}

.site-hero__eyebrow {
  color: #e80a3d;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.site-hero h1 {
  color: #364e5d;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.45;
}

.site-hero > img {
  width: 44%;
  height: 390px;
  object-fit: cover;
}

.office-search__form {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 16px;
  max-width: 850px;
  margin: 24px auto;
}

.office-search__form label {
  display: grid;
  gap: 8px;
  margin: 0;
}

.office-search__form input,
.office-search__form select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #bbb;
  background: #fff;
  box-sizing: border-box;
}

.office-search__count {
  max-width: 1100px;
  margin: 12px auto;
  font-weight: 600;
}

.office-search__types {
  padding: 0 10px;
  color: #1272a3;
  font-size: 0.85rem;
}

.office-detail__main-image {
  margin: 24px 0;
}

.office-detail__main-image img {
  max-height: 560px;
  object-fit: contain;
}

.office-detail__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 24px 0 40px;
}

.office-detail__gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.office-detail__facts {
  align-items: flex-start;
}

.office__spec {
  width: 100%;
  border-collapse: collapse;
}

.office__spec th,
.office__spec td,
.office__rooms th,
.office__rooms td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
  line-height: 1.7;
}

.office__spec th {
  width: 110px;
  background: #f4f4f4;
  white-space: nowrap;
}

.office__googlemap {
  width: 100%;
  min-height: 340px;
  border: 0;
}

.table-scroll {
  overflow-x: auto;
}

.office__rooms {
  width: 100%;
  border-collapse: collapse;
}

.office__rooms th {
  background: #f4f4f4;
}

.migration-page {
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .site-hero {
    display: block;
  }

  .site-hero__content {
    width: auto;
  }

  .site-hero > img {
    width: 100%;
    height: 230px;
  }

  .office-search__form {
    grid-template-columns: 1fr;
  }
}

.lightbox {
  max-width: 92vw;
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(11, 11, 11, 0.8);
}

.lightbox img {
  display: block;
  max-width: 92vw;
  max-height: 92vh;
  margin: 0 auto;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
