:root {
  --paper: #f4f0ed;
  --ink: #3b4853;
  --navy: #23303b;
  --red: #c74949;
  --price: #f04848;
  --muted: #93a0aa;
  --line: #e4eaf0;
  --white: #fff;
  --placeholder: #d9d7d5;
  --font-serif: "Shippori Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  --font-sans: "Noto Sans JP", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-en: Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Times New Roman", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, Meiryo, serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 3000;
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

#rent,
#sale,
#contact,
#footer,
#about,
#top {
  scroll-margin-top: 100px;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100px;
}

.header-inner {
  position: relative;
  display: flex;
  width: 100%;
  height: 100px;
  background-color: var(--white);
  background-image: repeating-linear-gradient(90deg, rgba(210, 204, 199, 0.06) 0, rgba(210, 204, 199, 0.06) 2px, transparent 2px, transparent 15px);
}

.site-logo {
  position: relative;
  z-index: 1002;
  display: flex;
  flex: 0 0 260px;
  align-items: center;
  height: 100px;
  padding-left: 29px;
  color: #2f3438;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.28em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: stretch;
  gap: 35px;
  height: 100px;
  margin-left: 30px;
  font-family: var(--font-sans);
}

.desktop-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.desktop-nav a:hover {
  opacity: 0.55;
}

.nav-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

/* Fixed contact: a detached, framed button using the existing navy palette.
   Scoped redesign: DESIGN_VARIANCE 4 / MOTION_INTENSITY 2 / VISUAL_DENSITY 3.
   Keep the original contact destination and mobile visibility behavior. */

.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 236px;
  min-height: 76px;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 6px 20px rgba(35, 48, 59, 0.1);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  transition: transform 0.2s ease;
}

.floating-contact__label {
  white-space: nowrap;
}

.floating-contact small {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
}

.floating-contact__arrow {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 2px;
  background: var(--navy);
  color: var(--white);
}

.floating-contact .line-arrow {
  width: 16px;
  margin: 0;
  background: currentColor;
}

.floating-contact .line-arrow::after {
  top: -4px;
  width: 8px;
  height: 8px;
}

.floating-contact:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}

@media (hover: hover) {
  .floating-contact:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-3px);
  }

  .floating-contact:hover .floating-contact__arrow {
    background: var(--white);
    color: var(--navy);
  }
}

.floating-contact:active {
  transform: translateY(-1px);
}

.line-arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 24px;
  width: 24px;
  height: 1px;
  margin-left: 10px;
  background: var(--ink);
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.line-arrow::after {
  position: absolute;
  top: -5px;
  right: 0;
  width: 10px;
  height: 10px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.line-arrow--light {
  background: var(--white);
  color: var(--white);
}

a:hover .line-arrow {
  transform: translateX(5px);
}

/* Main */

main {
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero {
  position: relative;
  width: 100%;
  height: clamp(560px, calc(100svh - 100px), 760px);
  overflow: hidden;
  background: var(--placeholder);
}

.hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__message {
  position: absolute;
  top: clamp(48px, 7.5vh, 78px);
  left: 0;
  display: flex;
  align-items: center;
  width: min(780px, calc(100% - 260px));
  min-height: 104px;
  margin: 0;
  padding: 20px 42px 20px 55px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.05vw, 31px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.listing {
  padding-right: 210px;
  padding-left: 55px;
}

.listing-heading {
  display: flex;
  align-items: flex-start;
  height: 134px;
  padding-top: 40px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
}

.listing-heading h2 {
  flex: 0 0 210px;
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.28em;
}

.listing-heading h2 small {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
}

/* Preserve the existing type and spacing; allow the longer facility heading. */
.listing-heading--facilities h2 {
  flex-basis: auto;
  white-space: nowrap;
}

.listing-heading > p {
  width: 498px;
  margin: 5px 0 0 42px;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.14em;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 35px;
}

.property-card {
  min-width: 0;
  min-height: 421px;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  background: var(--white);
  font-family: var(--font-sans);
}

.property-card > a {
  display: block;
}

.property-media {
  width: 100%;
  aspect-ratio: 1;
  background: var(--placeholder);
}

.property-card h3 {
  margin: 10px 18px 9px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

/* Scoped category labels. DESIGN_VARIANCE: 4 / MOTION_INTENSITY: 2 / VISUAL_DENSITY: 4. */
.property-type {
  display: table;
  margin-bottom: 8px;
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.property-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  height: 89px;
  padding: 0 18px 20px;
}

.property-price p {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  min-height: 36px;
  color: var(--price);
}

.property-price p small {
  margin-right: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 300;
}

.property-price p strong {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.property-price > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 33px;
  margin-top: 0;
  border-radius: 30px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
}

.property-price > span .line-arrow {
  flex-basis: 8px;
  width: 8px;
  margin-left: 4px;
}

.property-price > span .line-arrow::after {
  top: -3px;
  width: 6px;
  height: 6px;
}

.listing-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 800px;
  height: 60px;
  margin: 80px auto 50px;
  font-family: var(--font-sans);
}

.listing-links a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 300;
}

.listing-links .line-arrow {
  position: absolute;
  right: 20px;
}

.listing-links__all {
  background: var(--ink);
  color: var(--white);
}

.listing-links__past {
  border: 2px solid var(--line);
  background: var(--white);
}

.sale-link-section {
  padding: 50px 0 60px;
  border-top: 1px solid #e0dedd;
}

.sale-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 800px;
  height: 60px;
  margin: 0 auto;
  padding: 0 30px;
  border-radius: 10px;
  background: var(--white);
}

.sale-link__label {
  display: flex;
  align-items: baseline;
  gap: 15px;
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: 0.28em;
}

.sale-link__label small {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.15em;
}

.sale-link__action {
  display: flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 300;
}

/* Footer */

.footer-feature {
  height: 117px;
  padding: 10px 0 15px;
  background: var(--ink);
  color: var(--white);
}

.footer-feature h2 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  width: 330px;
  margin: 0 auto 7px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.32em;
  text-align: center;
}

.footer-feature h2::before,
.footer-feature h2::after {
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  content: "";
}

.footer-feature__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 1000px;
  height: 59px;
  margin: 0 auto;
}

.footer-feature__grid a {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  transition: opacity 0.2s ease;
}

.footer-feature__grid a:hover {
  opacity: 0.65;
}

/* Only fill the existing feature-banner slots; keep the original strip geometry. */
.feature-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  height: 100%;
  padding: 8px;
  color: var(--white);
  text-align: center;
}

.feature-banner img,
.feature-banner::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.feature-banner img {
  object-fit: cover;
}

.feature-banner::after {
  background: rgba(35, 48, 59, 0.64);
  content: "";
}

.feature-banner > span {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
}

.property-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.page-top {
  display: none;
}

.footer-main {
  min-height: 453px;
  padding: 100px 0 20px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
}

.footer-content {
  display: grid;
  grid-template-columns: 460px 460px;
  gap: 80px;
  width: 1000px;
  margin: 0 auto;
}

.footer-logo {
  height: 45px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.footer-info {
  padding-top: 20px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.footer-info p + p {
  margin-top: 14px;
}

.footer-info a {
  margin-left: 2px;
}

.footer-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: 20px;
}

.footer-social a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  font-size: 16px;
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.footer-social .line-arrow {
  position: absolute;
  right: 16px;
  width: 14px;
}

.footer-request {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 460px;
  height: 60px;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1.25;
}

.footer-request + .footer-request {
  margin-top: 15px;
}

.footer-request small {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.22em;
}

.footer-request .line-arrow {
  position: absolute;
  right: 20px;
}

.footer-request--light {
  background: var(--white);
  color: var(--ink);
}

.footer-request--red {
  background: var(--red);
}

.footer-license {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.footer-policy {
  display: inline-block;
  margin-top: 11px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copyright {
  display: block;
  margin-top: 57px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-align: center;
}

/* Tablet layout before the mobile header */

@media (min-width: 900px) {
  body,
  .site-header {
    min-width: 1080px;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .listing {
    padding-right: 55px;
  }

  .property-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Mobile header and content */

@media (max-width: 899px) {
  #rent,
  #sale,
  #contact,
  #footer,
  #about,
  #top {
    scroll-margin-top: 70px;
  }

  .site-header,
  .header-inner {
    width: 100%;
    height: 70px;
  }

  .site-logo {
    flex-basis: 260px;
    height: 70px;
    font-size: 17px;
  }

  .desktop-nav,
  .floating-contact {
    display: none;
  }

  .menu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1003;
    display: block;
    width: 70px;
    height: 70px;
    padding: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-toggle__label {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    font-family: var(--font-en);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-align: center;
    transition: opacity 0.25s ease;
  }

  .menu-toggle__icon {
    position: absolute;
    top: 40px;
    left: 19px;
    width: 32px;
    height: 12px;
  }

  .menu-toggle__icon i {
    position: absolute;
    left: 0;
    display: block;
    width: 32px;
    height: 1px;
    background: currentColor;
    transition: top 0.4s ease, transform 0.4s ease;
  }

  .menu-toggle__icon i:first-child {
    top: 0;
  }

  .menu-toggle__icon i:last-child {
    top: 9px;
  }

  .menu-open .header-inner {
    background-color: transparent;
    background-image: none;
  }

  .menu-open .site-logo,
  .menu-open .menu-toggle {
    color: var(--white);
  }

  .menu-open .menu-toggle__label {
    opacity: 0;
  }

  .menu-open .menu-toggle__icon {
    top: 34px;
  }

  .menu-open .menu-toggle__icon i:first-child,
  .menu-open .menu-toggle__icon i:last-child {
    top: 0;
  }

  .menu-open .menu-toggle__icon i:first-child {
    transform: rotate(45deg);
  }

  .menu-open .menu-toggle__icon i:last-child {
    transform: rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: block;
    overflow-y: auto;
    background: var(--navy);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu__inner {
    padding: 80px 40px 50px;
  }

  .mobile-menu__logo {
    display: none;
  }

  .menu-group {
    margin-bottom: 32px;
  }

  .menu-group h2,
  .menu-feature h2 {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.08em;
    text-align: center;
  }

  .menu-group h2::before,
  .menu-group h2::after,
  .menu-feature h2::before,
  .menu-feature h2::after {
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
    content: "";
  }

  .menu-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 10px 48px 10px 20px;
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 300;
    line-height: 1.45;
    text-align: center;
  }

  .menu-panel + .menu-panel {
    margin-top: 10px;
  }

  .menu-panel--muted {
    min-height: 55px;
    background: #4d5c68;
    color: var(--white);
    font-size: 19px;
  }

  .menu-panel--request,
  .menu-panel--contact {
    min-height: 60px;
    font-size: 17px;
  }

  .menu-panel--contact {
    background: var(--red);
    color: var(--white);
  }

  .menu-panel small {
    display: block;
    font-family: var(--font-en);
    font-size: 10px;
    letter-spacing: 0.22em;
  }

  .menu-panel .line-arrow {
    position: absolute;
    right: 18px;
  }

  .menu-panel--muted .line-arrow,
  .menu-panel--contact .line-arrow {
    background: var(--white);
    color: var(--white);
  }

  .menu-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 30px -40px 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .menu-subgrid a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 8px 28px 8px 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--font-sans);
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
  }

  .menu-subgrid .line-arrow {
    position: absolute;
    right: 12px;
    width: 13px;
  }

  .menu-feature {
    padding-bottom: 40px;
  }

  .menu-feature__grid {
    display: grid;
    gap: 10px;
  }

  .menu-feature__grid .feature-banner {
    width: 100%;
    height: auto;
    aspect-ratio: 4.12 / 1;
    border: 1px solid rgba(255, 255, 255, 0.16);
  }

  main {
    padding-top: 70px;
    padding-bottom: 30px;
  }

  .hero {
    height: clamp(480px, 76svh, 650px);
  }

  .hero__image {
    object-position: center;
  }

  .hero__message {
    top: 32px;
    width: calc(100% - 12px);
    min-height: 70px;
    padding: 12px 10px 12px 18px;
    font-size: clamp(11px, 3.7vw, 22px);
    line-height: 1.4;
    letter-spacing: 0.015em;
  }

  .listing {
    padding: 60px 0 0;
  }

  .listing-heading {
    display: block;
    height: 45px;
    padding: 0;
    border: 0;
    text-align: center;
  }

  .listing-heading h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 45px;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0.32em;
  }

  .listing-heading h2 small {
    margin: 0;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0.2em;
  }

  .listing-heading > p {
    display: none;
  }

  .property-grid {
    margin-top: 19px;
    padding: 0 25px;
  }

  .property-card {
    min-height: 0;
  }

  .property-card h3 {
    margin: 18px 20px 15px;
  }

  .property-price {
    padding: 0 18px 20px;
  }

  .listing-links {
    grid-template-columns: 1fr;
    gap: 10px;
    width: calc(100% - 50px);
    height: auto;
    margin: 50px auto 40px;
  }

  .listing-links a {
    width: 100%;
  }

  .sale-link-section {
    padding: 40px 25px 70px;
  }

  .sale-link {
    width: 100%;
    padding: 0 20px;
  }

  .sale-link__label {
    display: none;
  }

  .sale-link__action {
    position: relative;
    justify-content: center;
    width: 100%;
  }

  .sale-link__action .line-arrow {
    position: absolute;
    right: 0;
  }

  .footer-feature {
    display: none;
  }

  .page-top {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 65px;
    background: var(--ink);
    color: var(--white);
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: 0.25em;
  }

  .page-top span {
    width: 10px;
    height: 10px;
    margin: 7px 0 0 10px;
    border-top: 1px solid var(--white);
    border-left: 1px solid var(--white);
    transform: rotate(45deg);
  }

  .footer-main {
    min-height: 648px;
    padding: 40px 15px 120px;
    text-align: center;
  }

  .footer-content {
    display: block;
    width: 100%;
  }

  .footer-logo {
    height: 45px;
    font-size: 18px;
    letter-spacing: 0.1em;
  }

  .footer-info {
    padding-top: 20px;
    line-height: 1.8;
  }

  .footer-social {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 20px;
  }

  .footer-social a {
    border-radius: 50px;
  }

  .footer-right {
    margin-top: 0;
  }

  .footer-request {
    display: none;
  }

  .footer-license {
    margin-top: 22px;
    font-size: 10px;
    line-height: 1.8;
  }

  .footer-policy {
    margin-top: 16px;
  }

  .copyright {
    margin-top: 29px;
  }
}

@media (min-width: 769px) and (max-width: 899px) {
  .property-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }

  .property-card {
    border-radius: 0 0 20px 20px;
  }
}

@media (min-width: 500px) and (max-width: 768px) {
  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

  .property-card {
    border-radius: 0 0 20px 20px;
  }
}

@media (max-width: 499px) {
  .property-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .property-card {
    border-radius: 0 0 34px 34px;
  }
}

@media (max-width: 360px) {
  .site-logo {
    font-size: 15px;
    letter-spacing: 0.22em;
  }

  .mobile-menu__inner {
    padding-right: 28px;
    padding-left: 28px;
  }

  .menu-subgrid {
    margin-right: -28px;
    margin-left: -28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .floating-contact,
  .mobile-menu {
    display: none !important;
  }

  main {
    padding-top: 0;
  }
}
