:root {
  --bg: #0b0d10;
  --bg-elevated: #12151a;
  --surface: #ffffff;
  --surface-muted: #f3f4f6;
  --ink: #111318;
  --ink-soft: #5b616c;
  --line: #e5e7eb;
  --yellow: #f5c400;
  --yellow-hover: #e0b200;
  --white: #ffffff;
  --muted: #a7adb8;
  --content-w: 1180px;
  --header-h: 72px;
  --radius: 2px;
  --font: "Outfit", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.45;
  min-height: 100dvh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #010d1d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  width: min(var(--content-w), calc(100% - 2rem));
  margin-inline: auto;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 44px;
  width: auto;
}

.nav {
  display: flex;
  gap: 1.35rem;
}

.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.text-link {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
}

.text-link.accent,
.text-link:hover {
  color: var(--yellow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--yellow-hover);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--yellow);
  color: var(--yellow);
  background: transparent;
  min-height: 38px;
  padding-inline: 1rem;
}

.btn-outline:hover {
  background: rgba(245, 196, 0, 0.1);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--white);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: min(78vh, 740px);
  max-height: 740px;
  display: grid;
  align-items: end;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 13, 16, 0.25) 10%, rgba(11, 13, 16, 0.72) 100%),
    url("assets/hero-bg-01.jpg") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--content-w), calc(100% - 2rem));
  margin-left: max(1rem, calc((100% - var(--content-w)) / 2));
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.search-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 0;
  align-items: stretch;
  background: var(--surface);
  color: var(--ink);
  border-radius: 4px;
  overflow: hidden;
  padding: 0.65rem;
}

.search-bar .field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.85rem 1.15rem;
  border-right: 1px solid var(--line);
}

.search-bar .field span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.search-bar select {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23111318' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 1.2rem;
}

.search-bar .btn {
  border-radius: 3px;
  padding: 0.95rem 1.5rem;
  align-self: stretch;
}

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-right: 1.75rem;
  margin-right: 1.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-stats li:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.hero-stats strong {
  color: var(--yellow);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  margin-right: 0;
}

.hero-stats span {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.offices,
.amenities,
.location-calc {
  width: min(var(--content-w), calc(100% - 2rem));
  margin-inline: auto;
}

.offices {
  --office-ink: #0c2a4a;
  --office-line: #1a3a5c;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 3.5rem max(1rem, calc((100% - var(--content-w)) / 2)) 3rem;
  background: #eef1f5;
  color: var(--office-ink);
}

.offices .section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.offices .section-head h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--office-ink);
}

.offices .text-link {
  color: var(--office-ink);
  font-size: 0.78rem;
}

.offices .text-link:hover,
.offices .text-link.accent {
  color: var(--office-ink);
  opacity: 0.75;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head h2,
.amenities h2,
.location-heading,
.calculator h2,
.footer-cta h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  min-height: 430px;
  align-content: start;
}

.office-grid.is-list {
  grid-template-columns: 1fr;
}

.office-grid .empty-offices {
  color: var(--office-ink);
  grid-column: 1 / -1;
  min-height: 430px;
  display: grid;
  place-items: center;
  opacity: 0.7;
  margin: 0;
}

.office-card {
  background: #ffffff;
  border: 1px solid #1a3a5c33;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: var(--office-ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.office-card:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.office-card img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  width: 100%;
}

.office-card .body {
  padding: 0.95rem 0.95rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.office-card h3 {
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--office-ink);
}

.office-card .loc,
.office-card .specs {
  color: var(--office-ink);
  font-size: 0.86rem;
  font-weight: 400;
  opacity: 0.92;
}

.office-card .price {
  margin-top: 0.55rem;
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--office-ink);
}

.office-card .price span {
  font-weight: 500;
  font-size: 0.9em;
}

.office-card .btn {
  margin-top: auto;
  width: 100%;
  border-color: var(--office-line);
  color: var(--yellow);
  background: transparent;
}

.office-card .btn:hover {
  background: rgba(245, 196, 0, 0.1);
  border-color: var(--office-ink);
}

.filters {
  margin-top: -0.75rem;
  background: #eef1f5;
  border: 1px solid #1a3a5c22;
  border-radius: 6px;
  color: var(--office-ink);
  overflow: hidden;
}

.filters-main {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding: 1.25rem 0.35rem 1.25rem;
}

.filters-main .filter-group {
  padding: 0 1rem;
  border-right: 1px solid #1a3a5c22;
}

.filters-main .filter-group:last-child {
  border-right: 0;
}

.filter-group h3 {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  color: var(--office-ink);
  font-weight: 600;
}

.filter-group-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.filter-group-head h3 {
  margin-bottom: 0;
}

.reset-filters {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  color: var(--office-ink);
  cursor: pointer;
  white-space: nowrap;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
  margin-bottom: 0.45rem;
  color: var(--office-ink);
  cursor: pointer;
}

.check input {
  appearance: none;
  width: 15px;
  height: 15px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  border: 1.5px solid var(--office-ink);
  border-radius: 2px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.check input:checked {
  background: var(--office-ink);
  border-color: var(--office-ink);
}

.check input:checked::after {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: rotate(-45deg) translateY(-1px);
}

.filter-range .range-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  color: var(--office-ink);
}

.range-dual {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
}

.range-dual::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: var(--range-fill, #d7dde5);
  border-radius: 999px;
}

.range-dual input[type="range"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
  height: 28px;
}

.range-dual input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow);
  border: 0;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
  margin-top: -6.5px;
}

.range-dual input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow);
  border: 0;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(0);
}

.range-dual input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  background: transparent;
}

.range-dual input[type="range"]::-moz-range-track {
  height: 3px;
  background: transparent;
}

.filters-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border-top: 1px solid #1a3a5c22;
  background: #eef1f5;
}

.results-count {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--office-ink);
}

.filters-footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sort-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--office-ink);
}

.sort-label select {
  border: 0;
  background: transparent;
  color: var(--office-ink);
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%230c2a4a' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 1rem;
}

.view-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-left: 0.85rem;
  border-left: 1px solid #1a3a5c33;
}

.view-toggle button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #8a96a8;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.view-toggle button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.view-toggle button.is-active {
  color: var(--office-ink);
}

.detail {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 3rem max(1rem, calc((100% - var(--content-w)) / 2));
  background: #eef1f5;
  color: var(--office-ink, #0c2a4a);
}

.detail-inner {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 1.15fr);
  gap: 1.25rem;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #1a3a5c22;
  border-radius: 12px;
  padding: 1.25rem;
  overflow: hidden;
}

.detail-copy {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.5rem 0.25rem 0.5rem 0.5rem;
  background: #ffffff;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 0;
  background: transparent;
  width: 100%;
  min-height: 360px;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  align-self: stretch;
}

.gallery-main {
  grid-column: 1;
  grid-row: 1 / span 3;
  margin: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.detail-gallery > img,
.gallery-main img,
.thumb-more img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-gallery > img,
.thumb-more {
  min-height: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.thumb-more {
  position: relative;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: block;
  overflow: hidden;
}

.thumb-more span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(11, 13, 16, 0.55);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem;
  line-height: 1.3;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a96a8;
}

.detail-copy h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  color: var(--office-ink, #0c2a4a);
  line-height: 1.05;
}

.detail-subtitle {
  margin: 0.45rem 0 1.1rem;
  font-size: 1.05rem;
  font-weight: 400;
  color: #5b6b7c;
}

.detail-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: 1.35rem;
  font-weight: 500;
  font-size: 0.92rem;
}

.detail-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1rem;
  border-right: 1px solid #d5dbe3;
  color: var(--office-ink, #0c2a4a);
}

.detail-meta li:first-child {
  padding-left: 0;
}

.detail-meta li:last-child {
  border-right: 0;
}

.detail-meta svg {
  width: 16px;
  height: 16px;
  color: #8a96a8;
  flex-shrink: 0;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.detail-actions .btn-primary {
  min-height: 48px;
  padding-inline: 1.4rem;
}

.detail-actions .heart {
  width: 48px;
  height: 48px;
  border: 1px solid #cfd6de;
  border-radius: 2px;
  font-size: 1.2rem;
  color: var(--office-ink, #0c2a4a);
  background: #fff;
}

.detail-actions .heart svg {
  width: 20px;
  height: 20px;
}

.detail-body {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.5rem;
  padding-top: 0.25rem;
  align-items: start;
}

.detail-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.detail-scroll {
  height: 150px;
  overflow-y: auto;
  padding-right: 0.5rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.detail-scroll::-webkit-scrollbar {
  display: none;
}

.detail-tabs a {
  text-align: left;
  border: 0;
  background: transparent;
  color: #8a96a8;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.15rem 0;
  width: fit-content;
  text-decoration: none;
}

.detail-tabs a.is-active {
  color: var(--office-ink, #0c2a4a);
  font-weight: 700;
  border-bottom: 2px solid var(--office-ink, #0c2a4a);
  padding-bottom: 0.15rem;
}

.detail-section + .detail-section {
  margin-top: 1.35rem;
}

.detail-section h3 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
  color: var(--office-ink, #0c2a4a);
}

.detail-section p {
  color: #5b6b7c;
  line-height: 1.55;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1.25rem;
  color: var(--office-ink, #0c2a4a);
}

.feature-list li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.92rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--office-ink, #0c2a4a);
}

.amenities {
  padding: 1rem 0 4rem;
}

.amenities h2 {
  margin-bottom: 1.75rem;
}

.amenity-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1rem;
}

.amenity-grid li {
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 140px;
  padding: 1rem 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
}

.amenity-grid svg {
  width: 42px;
  height: 42px;
  color: var(--yellow);
}

.location-calc {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1.25rem;
  align-items: stretch;
  padding-bottom: 4rem;
}

.location-panel {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  height: 100%;
}

.location-heading {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.moon-map {
  width: 100%;
}

.location-map {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
}

.location-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.location-stats dt {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.location-stats dd {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
}

.calculator {
  background: var(--surface);
  color: var(--ink);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.calculator-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 1.25rem;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}

.calculator-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calculator .field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.calculator .field span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.calculator select {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.7rem 0.8rem;
  width: 100%;
}

.calculator-summary {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0.85rem;
  padding-left: 1.15rem;
  border-left: 1px solid var(--line);
  text-align: center;
}

.calc-result {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
}

.calc-result span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.calc-result strong {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: 0.02em;
}

.calculator-summary .btn {
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  padding-inline: 0.9rem;
  font-size: 0.72rem;
}

.calculator-summary .text-link {
  align-self: center;
  color: var(--ink-soft);
}

.footer-cta {
  width: min(var(--content-w), calc(100% - 2rem));
  margin: 0 auto 2rem;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-cta p {
  margin-top: 0.4rem;
  color: var(--muted);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--content-w), calc(100% - 2rem));
  margin-inline: auto;
  padding: 1rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 1100px) {
  .office-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .amenity-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .filters-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 1.25rem;
  }

  .filters-main .filter-group:nth-child(3n) {
    border-right: 0;
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav,
  .header-actions .text-link {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #010d1d;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header.is-open .nav a {
    padding: 0.9rem max(1rem, calc((100% - min(var(--content-w), calc(100% - 2rem))) / 2));
  }

  .search-bar {
    grid-template-columns: 1fr 1fr;
  }

  .search-bar .btn {
    grid-column: 1 / -1;
  }

  .detail-inner {
    grid-template-columns: 1fr;
  }

  .detail-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    min-height: 360px;
    height: auto;
    aspect-ratio: 1;
  }

  .gallery-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery-main img {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .detail-body {
    grid-template-columns: 1fr;
  }

  .detail-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  .location-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calculator-layout {
    grid-template-columns: 1fr;
  }

  .calculator-summary {
    padding-left: 0;
    padding-top: 0.75rem;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .office-grid {
    grid-template-columns: 1fr;
  }

  .amenity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters-main {
    grid-template-columns: 1fr;
  }

  .filters-main .filter-group {
    border-right: 0;
    border-bottom: 1px solid #1a3a5c22;
    padding-bottom: 1rem;
  }

  .filters-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-bar {
    grid-template-columns: 1fr;
  }

  .search-bar .field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .gallery-thumbs img,
  .thumb-more img {
    height: auto;
  }
}
