:root {
  --bg: #fbf7ee;
  --panel: #fffdf8;
  --text: #1f2a2a;
  --muted: #66716d;
  --accent: #bd7541;
  --accent-dark: #0c4938;
  --line: rgba(31, 42, 42, 0.14);
  --copper: #bd7541;
  --sage: #edf3ec;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  background: rgba(20, 31, 30, 0.5);
  opacity: 0;
  transition: opacity 180ms ease;
}

body:has(.nav-menu:hover)::before,
body:has(.nav-menu:focus-within)::before {
  opacity: 1;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(251, 247, 238, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 220ms ease, transform 220ms ease;
}

.site-header.is-visible,
.site-header:focus-within,
.site-header:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header--home {
  position: absolute;
  padding-top: 22px;
  padding-bottom: 10px;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.site-header--home .brand {
  opacity: 0;
  pointer-events: none;
}

.site-header--home .site-nav {
  margin-left: auto;
  gap: clamp(18px, 3vw, 42px);
}

.site-header--home .site-nav > a,
.site-header--home .nav-menu__button {
  font-weight: 600;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text);
  font-size: 15px;
}

.site-nav a:hover,
.nav-menu__button:hover {
  color: var(--copper);
}

.nav-menu {
  position: relative;
}

.nav-menu__button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0;
  border: 0;
  color: inherit;
  font: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-menu__button::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-menu__content {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  width: min(520px, calc(100vw - 36px));
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.98);
  box-shadow: 0 22px 58px rgba(20, 31, 30, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-menu:hover .nav-menu__content,
.nav-menu:focus-within .nav-menu__content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-apartment {
  position: relative;
  min-height: 88px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 14px 16px;
  border-radius: 6px;
  color: #fff;
  background: #1f2933;
  text-shadow: 0 1px 8px rgba(20, 31, 30, 0.5);
  isolation: isolate;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.site-nav .nav-apartment:hover,
.site-nav .nav-apartment:focus-visible {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.18);
}

.nav-apartment::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(20, 31, 30, 0.76), rgba(20, 31, 30, 0.24) 58%, rgba(20, 31, 30, 0.08)),
    linear-gradient(90deg, rgba(20, 31, 30, 0.54), rgba(20, 31, 30, 0.1));
  transition: background 160ms ease;
}

.nav-apartment:hover::after,
.nav-apartment:focus-visible::after {
  background:
    linear-gradient(0deg, rgba(20, 31, 30, 0.82), rgba(20, 31, 30, 0.34) 62%, rgba(20, 31, 30, 0.1)),
    linear-gradient(90deg, rgba(20, 31, 30, 0.62), rgba(20, 31, 30, 0.14));
}

.nav-apartment__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.nav-apartment__badges {
  display: none;
}

.nav-apartment__content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 4px;
  max-width: 440px;
}

.nav-apartment strong {
  font-family: "Georgia", "Cambria", serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
}

.nav-apartment span span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.site-nav .nav-apartment:hover span span,
.site-nav .nav-apartment:focus-visible span span {
  color: rgba(255, 255, 255, 0.94);
}

.intro {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  display: grid;
  align-items: center;
  padding: 84px clamp(18px, 4vw, 48px) 36px;
  background:
    linear-gradient(90deg, rgba(251, 247, 238, 0.98), rgba(251, 247, 238, 0.88) 37%, rgba(251, 247, 238, 0.38) 68%, rgba(251, 247, 238, 0.68)),
    var(--bg);
}

.intro::before,
.intro::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.intro::before {
  left: clamp(-110px, -6vw, -34px);
  bottom: -74px;
  width: min(34vw, 420px);
  aspect-ratio: 0.64;
  opacity: 0.22;
  background:
    radial-gradient(ellipse at 50% 0, transparent 0 30%, rgba(189, 117, 65, 0.46) 31% 32%, transparent 33%),
    linear-gradient(var(--copper), var(--copper)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(var(--copper), var(--copper)) 28% 38% / 1px 62% no-repeat,
    linear-gradient(var(--copper), var(--copper)) 72% 38% / 1px 62% no-repeat,
    repeating-linear-gradient(0deg, transparent 0 35px, rgba(189, 117, 65, 0.5) 36px 37px),
    linear-gradient(180deg, transparent 0 11%, rgba(189, 117, 65, 0.18) 11% 12%, transparent 12%),
    linear-gradient(90deg, transparent 0 16%, rgba(189, 117, 65, 0.18) 16% 17%, transparent 17% 83%, rgba(189, 117, 65, 0.18) 83% 84%, transparent 84%);
  border: 1px solid rgba(189, 117, 65, 0.46);
  border-radius: 48% 48% 0 0;
}

.intro::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 92px;
  opacity: 0.2;
  background:
    linear-gradient(155deg, transparent 0 48%, rgba(189, 117, 65, 0.45) 49% 51%, transparent 52%) 0 100% / 96px 48px repeat-x,
    linear-gradient(25deg, transparent 0 48%, rgba(12, 73, 56, 0.38) 49% 51%, transparent 52%) 0 100% / 118px 42px repeat-x;
}

.intro__content,
.section-heading,
.contact,
.detail,
.home-facts,
.audience {
  max-width: 1390px;
  width: 100%;
  margin: 0 auto;
}

.intro__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(560px, 1.34fr);
  align-items: center;
  gap: clamp(42px, 5vw, 82px);
}

.intro__copy {
  max-width: 560px;
  padding-top: 8px;
}

.intro__logo {
  width: clamp(260px, 23vw, 390px);
  height: auto;
  margin: 0 0 46px;
}

.intro__copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 0;
  color: #35413e;
  font-size: 18px;
  line-height: 1.68;
}

.intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--accent-dark);
  border-radius: 6px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(31, 42, 42, 0.12);
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button--primary {
  color: #fff;
  background: var(--accent-dark);
}

.button--ghost {
  color: var(--accent-dark);
  background: rgba(255, 253, 248, 0.54);
}

.intro__gallery {
  position: relative;
  min-height: 510px;
}

.intro__photo {
  position: absolute;
  display: block;
  object-fit: cover;
  border: 5px solid rgba(255, 253, 248, 0.94);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(31, 42, 42, 0.16);
}

.intro__photo--main {
  left: 0;
  top: 18px;
  width: 72%;
  height: 405px;
}

.intro__photo--tall {
  top: 44px;
  right: 0;
  width: 37%;
  height: 360px;
}

.intro__photo--small {
  right: 17%;
  bottom: 0;
  width: 45%;
  height: 184px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--copper);
  text-transform: uppercase;
}

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

h1 {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: clamp(58px, 6.8vw, 104px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

.contact p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.home-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: none;
  padding: 0 clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.86);
}

.home-fact {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 0 clamp(22px, 4vw, 58px);
  border-right: 1px solid var(--line);
}

.home-fact:first-child {
  padding-left: max(0px, calc((100vw - 1390px) / 2));
}

.home-fact:last-child {
  border-right: 0;
  padding-right: max(0px, calc((100vw - 1390px) / 2));
}

.home-fact__icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
}

.home-fact__icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.home-fact strong,
.home-fact small {
  display: block;
}

.home-fact strong {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  color: var(--text);
  font-size: 22px;
  line-height: 1.1;
}

.home-fact small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.audience {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(26px, 5vw, 64px);
  padding: 50px clamp(18px, 4vw, 48px) 46px;
}

.audience__intro h2 {
  max-width: 390px;
}

.audience__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}

.audience__items article {
  min-height: 128px;
  padding: 8px 24px 8px 26px;
  border-left: 1px solid var(--line);
}

.audience__items h3 {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
}

.audience__items p,
.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.apartments {
  padding: 46px clamp(18px, 4vw, 48px) 70px;
  background: rgba(255, 253, 248, 0.72);
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 22px;
}

.apartment-list {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.apartment-list:has(.apartment-banner:hover) .apartment-banner:not(:hover),
.apartment-list:has(.apartment-banner:focus-within) .apartment-banner:not(:focus-within) {
  opacity: 0.42;
  filter: saturate(0.55) brightness(0.82);
  transform: scale(0.985);
}

.apartment-banner {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: #d8ded6;
  border: 0;
  isolation: isolate;
  transition: min-height 220ms ease, transform 220ms ease, box-shadow 220ms ease, opacity 220ms ease, filter 220ms ease;
}

.apartment-banner:hover,
.apartment-banner:focus-within {
  min-height: 360px;
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(31, 41, 51, 0.16);
}

.apartment-banner__hover {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  opacity: 1;
  transform: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.apartment-banner:hover .apartment-banner__hover,
.apartment-banner:focus-within .apartment-banner__hover {
  opacity: 1;
  transform: translateY(0);
}

.availability-badge,
.price-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(20, 31, 30, 0.18);
}

.availability-badge {
  gap: 7px;
  background: #1e8a5b;
  animation: availablePulse 1800ms ease-in-out infinite;
}

.availability-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d8ffe8;
  box-shadow: 0 0 0 0 rgba(216, 255, 232, 0.72);
  animation: availableDot 1800ms ease-in-out infinite;
}

.price-badge {
  display: none;
}

@keyframes availablePulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(20, 31, 30, 0.18);
  }

  50% {
    transform: translateY(-1px);
    box-shadow: 0 13px 28px rgba(30, 138, 91, 0.28);
  }
}

@keyframes availableDot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(216, 255, 232, 0.72);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(216, 255, 232, 0);
  }
}

.apartment-banner__link {
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.apartment-banner__slide {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 600ms ease;
}

.apartment-banner__slide.is-active {
  opacity: 1;
}

.apartment-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(20, 31, 30, 0.84), rgba(20, 31, 30, 0.32) 58%, rgba(20, 31, 30, 0.06));
}

.apartment-banner__content {
  max-width: 560px;
  color: #fff;
}

.apartment-banner h3 {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  margin-bottom: 8px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.apartment-banner p {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.5;
}

.apartment-banner__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.apartment-banner__meta li {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  background: rgba(255, 255, 255, 0.1);
}

.option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.option-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border: 1px solid rgba(238, 211, 151, 0.72);
  border-radius: 999px;
  color: rgba(255, 246, 225, 0.95);
  font-size: 12px;
  font-weight: 600;
  background: rgba(150, 112, 45, 0.28);
}

.contact {
  padding: 42px clamp(18px, 4vw, 48px) 64px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact > div {
  max-width: 980px;
  margin: 0 auto;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  max-width: 920px;
  margin: 22px auto 0;
}

.contact-action {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 72px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.contact-action:hover {
  border-color: rgba(30, 111, 92, 0.34);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(31, 41, 51, 0.1);
}

.contact-action__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: var(--accent);
}

.contact-action__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-action strong,
.contact-action small {
  display: block;
}

.contact-action strong {
  color: var(--text);
  font-size: 15px;
}

.contact-action small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 20px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--accent-dark);
}

.detail {
  max-width: 1160px;
  padding: 42px clamp(18px, 4vw, 48px) 64px;
}

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px clamp(18px, 4vw, 48px) 64px;
}

.legal-page h1 {
  margin-bottom: 28px;
  font-size: clamp(34px, 5.6vw, 60px);
}

.legal-section {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 10px;
  font-size: clamp(21px, 3.2vw, 28px);
}

.legal-section p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.legal-section a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-warning {
  padding: 18px;
  margin-top: 20px;
  border: 1px solid rgba(150, 112, 45, 0.34);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.86);
}

.detail-hero {
  min-height: 336px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.request-badge {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(18px, 4vw, 34px);
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 13px 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: var(--accent);
  box-shadow: 0 16px 34px rgba(30, 111, 92, 0.28);
  animation: requestFloat 2200ms ease-in-out infinite;
}

.request-badge span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.request-badge svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.request-badge:hover {
  color: #fff;
  background: var(--accent-dark);
}

@keyframes requestFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 31, 30, 0.78), rgba(20, 31, 30, 0.14));
}

.detail-hero__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.detail-hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.6;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.room-gallery {
  margin-top: 30px;
  scroll-margin-top: 86px;
}

.room-gallery h2 {
  margin-bottom: 0;
  font-size: clamp(22px, 3.2vw, 32px);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #d8ded6;
}

.gallery__button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.gallery__button img {
  display: block;
  transition: transform 180ms ease, filter 180ms ease;
}

.gallery__button:hover img,
.gallery__button:focus-visible img {
  filter: brightness(0.92);
  transform: scale(1.025);
}

.gallery__button:focus-visible {
  outline: 3px solid rgba(30, 111, 92, 0.42);
  outline-offset: 3px;
}

.has-gallery-lightbox {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 42px);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 31, 30, 0.82);
  cursor: zoom-out;
}

.gallery-lightbox__frame {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  display: grid;
  place-items: center;
}

.gallery-lightbox__frame img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 8px;
  object-fit: contain;
  background: #111;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 31, 30, 0.72);
  cursor: pointer;
}

.gallery-lightbox__close {
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  font-size: 30px;
  line-height: 1;
}

.gallery-lightbox__nav {
  top: 50%;
  width: 46px;
  height: 46px;
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-lightbox__nav--prev {
  left: 14px;
}

.gallery-lightbox__nav--next {
  right: 14px;
}

.gallery-lightbox__count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  background: rgba(20, 31, 30, 0.72);
}

.empty-gallery {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--panel);
}

.request-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(280px, 1.3fr);
  gap: 28px;
  margin-top: 42px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.78);
}

.request-section p {
  color: var(--muted);
  line-height: 1.6;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.request-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  background: rgba(255, 255, 255, 0.74);
}

.request-form input:invalid:not(:placeholder-shown) {
  border-color: rgba(122, 85, 33, 0.55);
}

.request-form select {
  cursor: pointer;
}

.request-form textarea {
  resize: vertical;
}

.request-form__wide,
.request-form button {
  grid-column: 1 / -1;
}

.request-form button {
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  background: var(--accent);
  cursor: pointer;
}

.request-form button:hover {
  background: var(--accent-dark);
}

.availability-status {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
}

.availability-status.is-loading {
  color: var(--muted);
}

.availability-status.is-available {
  border-color: rgba(30, 138, 91, 0.32);
  color: #176143;
  background: rgba(30, 138, 91, 0.1);
}

.availability-status.is-unavailable,
.availability-status.is-error {
  border-color: rgba(150, 112, 45, 0.34);
  color: #7a5521;
  background: rgba(215, 181, 109, 0.14);
}

.availability-status.is-unknown {
  color: var(--muted);
}

.booking-calendar {
  width: min(100%, 360px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 38px rgba(31, 41, 51, 0.12);
}

.booking-calendar[hidden] {
  display: none;
}

.request-form .booking-calendar button {
  grid-column: auto;
  min-height: 0;
}

.booking-calendar__bar {
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
}

.booking-calendar__bar strong {
  text-align: center;
  font-size: 13px;
  color: var(--text);
}

.booking-calendar__bar button {
  width: 28px;
  height: 28px;
  min-height: 28px;
  grid-column: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 20px;
  line-height: 1;
  background: rgba(255, 250, 240, 0.86);
}

.booking-calendar__weekdays,
.booking-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  padding: 8px;
}

.booking-calendar__weekdays {
  padding-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.booking-calendar__grid {
  padding-top: 8px;
}

.booking-calendar__empty,
.booking-calendar__day {
  aspect-ratio: 1;
}

.request-form .booking-calendar .booking-calendar__day {
  grid-column: auto;
  min-height: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  background: transparent;
}

.request-form .booking-calendar .booking-calendar__day:hover {
  border-color: rgba(30, 111, 92, 0.34);
  color: var(--accent-dark);
  background: rgba(30, 111, 92, 0.08);
}

.request-form .booking-calendar .booking-calendar__day.is-selected,
.request-form .booking-calendar .booking-calendar__day.is-selected:hover {
  border-color: var(--accent-dark);
  color: #fff;
  background: var(--accent-dark);
  box-shadow: 0 0 0 2px rgba(30, 111, 92, 0.16);
}

.request-form .booking-calendar .booking-calendar__day.is-in-range,
.request-form .booking-calendar .booking-calendar__day.is-in-range:hover {
  border-color: rgba(30, 111, 92, 0.18);
  color: var(--accent-dark);
  background: rgba(30, 111, 92, 0.14);
}

.request-form .booking-calendar .booking-calendar__day.is-unavailable,
.request-form .booking-calendar .booking-calendar__day.is-unavailable:hover {
  border-color: rgba(150, 112, 45, 0.16);
  color: rgba(99, 115, 129, 0.82);
  background:
    linear-gradient(135deg, transparent 44%, rgba(150, 112, 45, 0.55) 47%, rgba(150, 112, 45, 0.55) 53%, transparent 56%),
    rgba(215, 181, 109, 0.16);
  cursor: not-allowed;
}

.booking-calendar__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.booking-calendar__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.booking-calendar__legend i {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 999px;
}

.booking-calendar__legend i.is-available {
  background: rgba(30, 111, 92, 0.76);
}

.booking-calendar__legend i.is-unavailable {
  background: rgba(150, 112, 45, 0.6);
}

.booking-calendar__message {
  margin-left: auto;
  font-weight: 600;
}

.booking-calendar__message.is-error {
  color: #7a5521;
}

.booking-calendar__actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 10px 10px;
}

.booking-calendar__actions button {
  width: auto;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: var(--accent);
}

.booking-calendar__actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.hidden-field,
.netlify-form-template {
  display: none;
}

.submission-title-field {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.thank-you-page {
  padding-top: 96px;
}

@media (max-width: 720px) {
  .intro {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 34px;
  }

  .intro::before {
    width: 260px;
    opacity: 0.2;
  }

  .intro__content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .brand__logo {
    width: 34px;
    height: 34px;
  }

  .intro__logo {
    width: 230px;
    margin-bottom: 32px;
  }

  .intro__copy {
    max-width: none;
  }

  .intro__copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .intro__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .intro__gallery {
    min-height: 420px;
  }

  .intro__photo--main {
    width: 82%;
    height: 280px;
  }

  .intro__photo--tall {
    top: 82px;
    width: 40%;
    height: 250px;
  }

  .intro__photo--small {
    right: 8%;
    bottom: 0;
    width: 58%;
    height: 150px;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-header--home {
    position: absolute;
    background: rgba(251, 247, 238, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }

  .site-header--home .brand {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu__content {
    left: 0;
    right: auto;
    width: min(88vw, 420px);
  }

  .nav-apartment {
    min-height: 76px;
  }

  .nav-apartment strong {
    font-size: 14px;
  }

  .home-facts {
    grid-template-columns: 1fr;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .home-fact,
  .home-fact:first-child,
  .home-fact:last-child {
    min-height: 78px;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-fact:last-child {
    border-bottom: 0;
  }

  .audience {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .audience__items {
    grid-template-columns: 1fr;
  }

  .audience__items article {
    min-height: auto;
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .apartment-list {
    grid-template-columns: 1fr;
  }

  .apartment-list:has(.apartment-banner:hover) .apartment-banner:not(:hover),
  .apartment-list:has(.apartment-banner:focus-within) .apartment-banner:not(:focus-within) {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .apartment-banner,
  .apartment-banner:hover,
  .apartment-banner:focus-within {
    min-height: 340px;
    transform: none;
  }

  .apartment-banner__link {
    padding: 20px;
  }

  .apartment-banner__hover {
    top: 14px;
    right: 14px;
    opacity: 1;
    transform: none;
  }

  .option-buttons {
    gap: 7px;
  }

  .option-button {
    padding: 6px 9px;
    font-size: 12px;
  }

  .detail {
    padding-top: 28px;
  }

  .detail-hero {
    min-height: 300px;
    padding: 22px;
  }

  .request-badge {
    right: 14px;
    bottom: 14px;
    min-height: 42px;
    padding: 11px 14px;
    font-size: 13px;
  }

  .gallery-lightbox {
    padding: 14px;
  }

  .gallery-lightbox__frame img {
    max-height: 78vh;
  }

  .gallery-lightbox__close {
    top: 8px;
    right: 8px;
  }

  .gallery-lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 34px;
  }

  .gallery-lightbox__nav--prev {
    left: 8px;
  }

  .gallery-lightbox__nav--next {
    right: 8px;
  }

  .request-section {
    display: block;
    padding: 20px;
  }

.request-form {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

}

.booking-home {
  background: #fffdf8;
}

.booking-header {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  display: grid;
  grid-template-columns: minmax(220px, 310px) 1fr minmax(220px, 310px);
  align-items: center;
  gap: 28px;
  min-height: 86px;
  padding: 16px clamp(24px, 4vw, 64px);
  background: #fffdf8;
  border-bottom: 0;
  backdrop-filter: none;
}

.booking-header .brand {
  gap: 12px;
  color: var(--accent-dark);
  font-size: 31px;
  line-height: 1;
}

.booking-header .brand__logo {
  width: 102px;
  height: 58px;
}

.booking-header .site-nav {
  justify-content: center;
  gap: clamp(24px, 3vw, 46px);
  font-size: 14px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.header-phone,
.header-request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.header-phone {
  color: var(--text);
}

.header-request {
  min-height: 44px;
  padding: 0 24px;
  border-radius: 6px;
  color: #fff;
  background: var(--accent-dark);
  box-shadow: 0 10px 22px rgba(12, 73, 56, 0.14);
}

.header-phone svg,
.header-request svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.booking-home .intro {
  min-height: auto;
  overflow: visible;
  padding: 8px clamp(24px, 4vw, 64px) 20px;
  background: #fffdf8;
}

.booking-home .intro::before,
.booking-home .intro::after {
  display: none;
}

.booking-home .intro__content {
  max-width: 1510px;
  display: grid;
  grid-template-columns: minmax(560px, 0.9fr) minmax(560px, 1fr);
  align-items: start;
  gap: clamp(44px, 4.6vw, 78px);
}

.booking-home .intro__copy {
  max-width: none;
  padding-top: 44px;
}

.booking-home h1 {
  max-width: 680px;
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: clamp(56px, 5vw, 82px);
  line-height: 0.96;
}

.booking-home .intro__copy > p {
  max-width: none;
  margin-bottom: 30px;
  color: #4d5a56;
  font-size: 20px;
  line-height: 1.35;
}

.booking-search {
  position: relative;
  z-index: 2;
  width: min(710px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: 1fr 1fr 0.72fr auto;
  align-items: end;
  gap: 16px;
  padding: 18px 18px;
  border: 1px solid rgba(31, 42, 42, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(31, 42, 42, 0.12);
}

.booking-search label {
  display: grid;
  gap: 7px;
}

.booking-search label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.booking-search input,
.booking-search select {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(31, 42, 42, 0.14);
  border-radius: 5px;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
}

.booking-search button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  background: var(--accent-dark);
  cursor: pointer;
}

.booking-search__calendar {
  grid-column: 1 / -1;
  width: min(100%, 390px);
  margin-top: 2px;
  background: #fff;
}

.booking-search .booking-calendar button {
  grid-column: auto;
}

.booking-search .booking-calendar .booking-calendar__day {
  grid-column: auto;
  min-height: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  background: transparent;
}

.booking-search .booking-calendar .booking-calendar__day:hover {
  border-color: rgba(30, 111, 92, 0.34);
  color: var(--accent-dark);
  background: rgba(30, 111, 92, 0.08);
}

.booking-search .booking-calendar .booking-calendar__day.is-selected,
.booking-search .booking-calendar .booking-calendar__day.is-selected:hover {
  border-color: var(--accent-dark);
  color: #fff;
  background: var(--accent-dark);
  box-shadow: 0 0 0 2px rgba(30, 111, 92, 0.16);
}

.booking-search .booking-calendar .booking-calendar__day.is-in-range,
.booking-search .booking-calendar .booking-calendar__day.is-in-range:hover {
  border-color: rgba(30, 111, 92, 0.18);
  color: var(--accent-dark);
  background: rgba(30, 111, 92, 0.14);
}

.booking-search .booking-calendar .booking-calendar__day.is-unavailable,
.booking-search .booking-calendar .booking-calendar__day.is-unavailable:hover {
  border-color: rgba(150, 112, 45, 0.16);
  color: rgba(99, 115, 129, 0.82);
  background:
    linear-gradient(135deg, transparent 44%, rgba(150, 112, 45, 0.55) 47%, rgba(150, 112, 45, 0.55) 53%, transparent 56%),
    rgba(215, 181, 109, 0.16);
  cursor: not-allowed;
}

.booking-note,
.booking-equipment {
  width: min(710px, calc(100vw - 48px));
  max-width: none;
  margin: 22px 0 22px 6px;
}

.booking-note {
  padding: 14px 16px;
  border-left: 3px solid var(--copper);
  border-radius: 0 8px 8px 0;
  background: rgba(189, 117, 65, 0.07);
}

.booking-note p {
  margin: 0;
  color: #46534f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.booking-equipment {
  border: 1px solid rgba(31, 42, 42, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 42, 42, 0.08);
}

.booking-equipment summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.booking-equipment summary::-webkit-details-marker {
  display: none;
}

.booking-equipment summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.booking-equipment[open] summary {
  border-bottom: 1px solid rgba(31, 42, 42, 0.08);
}

.booking-equipment[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.booking-equipment__content {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px 16px;
}

.booking-equipment__content span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(189, 117, 65, 0.18);
  border-radius: 999px;
  color: #704a18;
  font-size: 12px;
  font-weight: 800;
  background: rgba(189, 117, 65, 0.07);
}

.booking-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 8px;
}

.booking-trust__icon {
  width: 38px;
  height: 42px;
  color: var(--copper);
}

.booking-trust__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.booking-trust strong,
.booking-trust small {
  display: block;
}

.booking-trust strong {
  color: var(--text);
  font-size: 14px;
}

.booking-trust small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.booking-home .intro__gallery {
  display: grid;
  grid-template-columns: 2.55fr 1.15fr;
  grid-template-rows: repeat(3, 142px);
  gap: 4px;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.booking-home .intro__photo {
  position: static;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.booking-home .intro__photo--main {
  grid-row: 1 / 4;
}

.booking-home .intro__photo--top,
.booking-home .intro__photo--middle,
.booking-home .intro__photo--bottom {
  grid-column: 2;
}

.booking-home .apartments {
  max-width: 1638px;
  padding: 0 clamp(24px, 4vw, 64px) 58px;
  margin: 0 auto;
  border-top: 0;
  background: #fffdf8;
}

.booking-home .section-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.booking-home .apartment-list {
  max-width: none;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(31, 42, 42, 0.1);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(31, 42, 42, 0.08);
}

.apartment-table__head,
.apartment-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.42fr) minmax(120px, 0.62fr) minmax(150px, 0.76fr) minmax(190px, 0.94fr) minmax(150px, 0.72fr) minmax(150px, 0.7fr) minmax(150px, 0.74fr);
  align-items: center;
}

.apartment-table__head {
  min-height: 48px;
  border-bottom: 1px solid rgba(31, 42, 42, 0.08);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fffdf8, #fbf7ee);
}

.apartment-table__head span,
.apartment-row > * {
  padding: 0 20px;
}

.apartment-row {
  min-height: 98px;
  border-bottom: 1px solid rgba(31, 42, 42, 0.07);
  background: #fff;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.apartment-row:hover,
.apartment-row:focus-within {
  position: relative;
  z-index: 1;
  background: #fffaf0;
  box-shadow: inset 4px 0 0 rgba(189, 117, 65, 0.78);
}

.apartment-row.is-muted {
  opacity: 0.42;
  filter: grayscale(0.7);
  background: #f5f4f1;
}

.apartment-row.is-muted:hover,
.apartment-row.is-muted:focus-within {
  background: #f5f4f1;
  box-shadow: none;
}

.apartment-row.is-available {
  background: rgba(246, 255, 249, 0.82);
}

.apartment-row:last-child {
  border-bottom: 0;
}

.apartment-row__apartment {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 98px;
}

.apartment-row__image {
  width: 120px;
  height: 66px;
  display: block;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 10px 22px rgba(31, 42, 42, 0.12);
}

.apartment-row strong,
.apartment-row small {
  display: block;
}

.apartment-row__apartment strong {
  color: var(--text);
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.08;
}

.apartment-row__apartment small {
  max-width: 240px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.apartment-row__cell {
  min-height: 98px;
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(31, 42, 42, 0.06);
}

.apartment-row svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--copper);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.apartment-row__metric {
  gap: 14px;
  color: #34413d;
  font-size: 14px;
  font-weight: 800;
}

.apartment-row__metric small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.apartment-row__features {
  align-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 6px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.apartment-row__feature {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 116px;
  max-width: 170px;
  min-height: 24px;
  padding: 4px 10px;
  border: 1px solid rgba(189, 117, 65, 0.18);
  border-radius: 6px;
  color: #704a18;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(189, 117, 65, 0.08));
}

.apartment-row__price {
  align-items: center;
  gap: 8px;
}

.apartment-row__price strong {
  color: var(--accent-dark);
  font-size: 21px;
  line-height: 1;
}

.apartment-row__price small {
  display: inline-block;
  margin-top: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  transform: translateY(-0.62em);
}

.apartment-row__availability {
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
}

.apartment-row__availability i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #009a22;
  box-shadow: 0 0 0 5px rgba(0, 154, 34, 0.1);
}

.apartment-row__availability i.is-muted,
.apartment-row.is-unavailable .apartment-row__availability i {
  background: #a6a19a;
  box-shadow: 0 0 0 5px rgba(166, 161, 154, 0.12);
}

.apartment-row__details {
  min-height: 44px;
  margin: 0 16px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-dark);
  border-radius: 7px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  background: #fff;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.apartment-row__details:hover,
.apartment-row__details:focus-visible {
  color: #fff;
  background: var(--accent-dark);
  box-shadow: 0 10px 22px rgba(12, 73, 56, 0.18);
}

@media (max-width: 980px) {
  .booking-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .booking-header .site-nav,
  .header-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .booking-home .intro__content {
    grid-template-columns: 1fr;
  }

  .booking-search,
  .booking-note,
  .booking-equipment {
    width: 100%;
  }

  .booking-home .intro__gallery {
    grid-template-rows: repeat(3, 120px);
  }

  .booking-home .apartment-list {
    overflow-x: auto;
  }

  .apartment-table__head,
  .apartment-row {
    min-width: 1120px;
  }
}

@media (max-width: 720px) {
  .booking-header {
    position: relative;
    padding: 14px 18px;
  }

  .booking-header .brand {
    font-size: 24px;
  }

  .booking-header .brand__logo {
    width: 78px;
    height: 48px;
  }

  .booking-home .intro {
    padding: 20px 18px 24px;
  }

  .booking-home h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .booking-search {
    grid-template-columns: 1fr;
  }

  .booking-note,
  .booking-equipment {
    margin-left: 0;
  }

  .booking-home .intro__gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 210px 120px 120px;
  }

  .booking-home .intro__photo--main {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .booking-home .intro__photo--bottom {
    grid-column: 1 / 3;
  }

  .booking-home .apartments {
    padding: 0 18px 42px;
  }
}
