body.house-page {
  --house-text-main: var(--color-cream);
  --house-text-soft: rgba(238, 223, 211, 0.82);
  --house-text-muted: rgba(238, 223, 211, 0.62);
  --house-line: rgba(238, 223, 211, 0.12);
  --house-line-strong: rgba(238, 223, 211, 0.2);
  --package-sticky-top: 6.8rem;
  --house-table-surface:
    linear-gradient(180deg, rgba(12, 18, 16, 0.28), rgba(12, 18, 16, 0.18)),
    rgba(255, 255, 255, 0.008);
  --house-glass-fill:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022) 42%, rgba(255, 255, 255, 0.01) 100%),
    rgba(255, 255, 255, 0.012);
  --house-glass-pane: rgba(255, 255, 255, 0.032);
  --house-glass-pane-strong: rgba(255, 255, 255, 0.055);
  background:
    radial-gradient(148rem 56rem at 10% -10%, rgba(238, 223, 211, 0.045), transparent 50%),
    radial-gradient(126rem 48rem at 88% 0%, rgba(238, 223, 211, 0.03), transparent 46%),
    radial-gradient(104rem 40rem at 50% 112%, rgba(255, 255, 255, 0.016), transparent 50%),
    linear-gradient(180deg, rgba(64, 83, 76, 1), rgba(58, 75, 69, 0.99) 54%, rgba(53, 68, 63, 0.98));
}

.house-main {
  padding: 7.4rem 0 0;
  color: var(--house-text-main);
}

.house-shell {
  width: var(--shell-width);
  margin: 0 auto;
}

.detail-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--house-line-strong);
  border-radius: 2rem;
  background: var(--house-glass-fill);
  box-shadow:
    0 1rem 2.4rem rgba(15, 22, 20, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(15, 22, 20, 0.12);
  backdrop-filter: blur(1.1rem) saturate(132%);
  -webkit-backdrop-filter: blur(1.1rem) saturate(132%);
}

.detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 34%);
  pointer-events: none;
}

.detail-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -26% 34%;
  height: 52%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.026) 0%, transparent 72%);
  filter: blur(1.65rem);
  pointer-events: none;
}

.house-page__kicker {
  color: rgba(238, 223, 211, 0.76);
}

.house-page__title {
  max-width: none;
  margin-top: 0.55rem;
}

.house-hero-section,
.house-benefits-section,
.house-comparison-section,
.house-actions-section,
.house-related-section {
  padding: 1.5rem 0 0;
}

.house-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr);
  gap: 1rem;
  align-items: start;
}

.house-gallery-card,
.house-summary-card,
.comparison-card,
.action-panel,
.related-panel {
  padding: 1rem;
}

.house-gallery-card {
  height: auto;
  display: grid;
  grid-template-rows: auto auto;
}

.house-gallery-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 1.45rem;
  overflow: hidden;
  background: rgba(64, 83, 76, 0.32);
}

.house-gallery-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(64, 83, 76, 0.08), rgba(64, 83, 76, 0.32) 100%);
  pointer-events: none;
}

.house-gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.house-gallery-stage img[data-gallery-open] {
  cursor: zoom-in;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 3.35rem;
  height: 3.35rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(238, 223, 211, 0.22);
  border-radius: 50%;
  color: var(--color-cream);
  background: linear-gradient(145deg, rgba(238, 223, 211, 0.12), rgba(64, 83, 76, 0.28));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
  backface-visibility: hidden;
  contain: paint;
  transform: translateY(-50%);
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  background: linear-gradient(145deg, rgba(186, 145, 123, 0.18), rgba(64, 83, 76, 0.34));
  transform: translateY(-50%) scale(1.03);
  outline: none;
}

.gallery-arrow span {
  font-size: 1.35rem;
  line-height: 1;
}

.gallery-arrow--prev {
  left: 0.95rem;
}

.gallery-arrow--next {
  right: 0.95rem;
}

.house-gallery-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.4rem 0.82rem;
  border-radius: 999px;
  color: var(--color-cream);
  background: linear-gradient(145deg, rgba(238, 223, 211, 0.1), rgba(64, 83, 76, 0.28));
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
  backface-visibility: hidden;
  contain: paint;
  font-size: 0.84rem;
}

.gallery-arrow.is-repainting,
.house-gallery-caption.is-repainting {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.house-thumbs {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.house-thumb {
  padding: 0.35rem;
  display: grid;
  gap: 0.45rem;
  border: 1px solid var(--house-line);
  border-radius: 1.15rem;
  color: var(--house-text-soft);
  background: var(--house-glass-pane);
  backdrop-filter: blur(0.85rem);
  -webkit-backdrop-filter: blur(0.85rem);
  text-align: left;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.house-thumb:hover,
.house-thumb:focus-visible,
.house-thumb.is-active {
  border-color: rgba(238, 223, 211, 0.24);
  background: var(--house-glass-pane-strong);
  transform: translateY(-0.12rem);
  outline: none;
}

.house-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.8rem;
  object-fit: cover;
}

.house-thumb span {
  padding: 0 0.15rem 0.15rem;
  font-size: 0.78rem;
  line-height: 1.35;
}

.house-summary-card {
  display: grid;
  align-self: start;
  align-content: start;
  height: auto;
  gap: 0.75rem;
}

.house-summary__title {
  font-size: clamp(2rem, 2.7vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.house-summary__lead {
  max-width: 30rem;
  line-height: 1.6;
  color: var(--house-text-soft);
}

.house-summary__lead:empty {
  display: none;
}

.house-specs {
  display: grid;
  gap: 0.55rem;
}

.house-spec-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--house-line);
}

.house-spec-row dt {
  color: var(--house-text-muted);
}

.house-spec-row dd {
  margin: 0;
  font-weight: 620;
  color: var(--house-text-main);
}

.house-price-box {
  padding: 0.58rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  border-radius: 1rem;
  border: 1px solid rgba(238, 223, 211, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(0.9rem);
  -webkit-backdrop-filter: blur(0.9rem);
}

.house-price-box span {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  font-size: 0.92rem;
  line-height: 1.2;
  color: var(--house-text-muted);
}

.house-price-box strong {
  font-size: clamp(1.38rem, 1.95vw, 1.8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.inline-cta {
  min-height: 3.05rem;
  padding: 0.82rem 1rem;
  border: 1px solid rgba(186, 145, 123, 0.26);
  border-radius: 1.1rem;
  color: var(--house-text-main);
  background: var(--color-earth);
  box-shadow: none;
  backdrop-filter: blur(0.9rem);
  -webkit-backdrop-filter: blur(0.9rem);
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.inline-cta:hover,
.inline-cta:focus-visible {
  background: var(--color-earth);
  transform: translateY(-0.1rem);
  outline: none;
}

.callback-form {
  display: grid;
  gap: 0.78rem;
}

.callback-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--house-text-soft);
}

.callback-form input,
.callback-form textarea {
  width: 100%;
  padding: 0.92rem 1rem;
  border: 1px solid rgba(238, 223, 211, 0.1);
  border-radius: 1rem;
  color: var(--house-text-main);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(0.8rem);
  -webkit-backdrop-filter: blur(0.8rem);
}

.callback-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.callback-form__meta {
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(238, 223, 211, 0.54);
}

.callback-form__meta--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.callback-form input::placeholder,
.callback-form textarea::placeholder {
  color: rgba(238, 223, 211, 0.42);
}

.callback-form__status {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(238, 223, 211, 0.84);
}

.callback-form__status[data-tone="error"] {
  color: #f1c095;
}

.callback-form__status[data-tone="success"] {
  color: #9bd6b0;
}

.callback-form__submit {
  width: 100%;
  background: var(--color-earth);
  box-shadow: none;
}

.callback-form__submit:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

.callback-form__submit:hover,
.callback-form__submit:focus-visible {
  background: var(--color-earth);
  box-shadow: none;
}

body.house-page.has-modal-open,
body.house-page.has-gallery-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 78;
  display: grid;
  place-items: center;
  padding: 0.82rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  overscroll-behavior: contain;
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 9, 0.78);
  backdrop-filter: blur(0.42rem);
  -webkit-backdrop-filter: blur(0.42rem);
}

.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 92rem);
  height: min(calc(100svh - 1.64rem), 100%);
  max-height: calc(100svh - 1.64rem);
  padding: 0.95rem;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.85rem;
  border: 1px solid rgba(238, 223, 211, 0.14);
  border-radius: 1.85rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.012);
  box-shadow:
    0 1.4rem 3rem rgba(5, 8, 7, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(1.15rem);
  -webkit-backdrop-filter: blur(1.15rem);
  transform: translateZ(0);
  contain: layout paint;
}

.gallery-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(238, 223, 211, 0.16);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  backdrop-filter: blur(0.95rem);
  -webkit-backdrop-filter: blur(0.95rem);
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus-visible {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  transform: translateY(-0.05rem);
  outline: none;
}

.gallery-lightbox__close span {
  position: absolute;
  width: 1rem;
  height: 1.5px;
  border-radius: 999px;
  background: rgba(238, 223, 211, 0.94);
}

.gallery-lightbox__close span:first-child {
  transform: rotate(45deg);
}

.gallery-lightbox__close span:last-child {
  transform: rotate(-45deg);
}

.gallery-lightbox__stage {
  position: relative;
  min-height: 0;
  border-radius: 1.35rem;
  overflow: hidden;
  background: rgba(6, 10, 9, 0.52);
}

.gallery-lightbox__stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-lightbox__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 3.85rem;
  height: 3.85rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(238, 223, 211, 0.18);
  border-radius: 50%;
  color: var(--house-text-main);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(0.95rem);
  -webkit-backdrop-filter: blur(0.95rem);
  transform: translateY(-50%);
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.gallery-lightbox__arrow:hover,
.gallery-lightbox__arrow:focus-visible {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  transform: translateY(-50%) scale(1.03);
  outline: none;
}

.gallery-lightbox__arrow span {
  font-size: 1.5rem;
  line-height: 1;
}

.gallery-lightbox__arrow--prev {
  left: 1rem;
}

.gallery-lightbox__arrow--next {
  right: 1rem;
}

.gallery-lightbox__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.44rem 0.88rem;
  border-radius: 999px;
  color: var(--house-text-main);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(0.95rem);
  -webkit-backdrop-filter: blur(0.95rem);
  font-size: 0.86rem;
}

.gallery-lightbox__thumbs {
  padding: 0.18rem 0 0.08rem;
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-lightbox__thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-lightbox__thumb {
  flex: 0 0 8.2rem;
  padding: 0.35rem;
  display: grid;
  gap: 0.45rem;
  border: 1px solid var(--house-line);
  border-radius: 1.15rem;
  color: var(--house-text-soft);
  background: var(--house-glass-pane);
  backdrop-filter: blur(0.85rem);
  -webkit-backdrop-filter: blur(0.85rem);
  text-align: left;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.gallery-lightbox__thumb:hover,
.gallery-lightbox__thumb:focus-visible,
.gallery-lightbox__thumb.is-active {
  border-color: rgba(238, 223, 211, 0.24);
  background: var(--house-glass-pane-strong);
  transform: translateY(-0.12rem);
  outline: none;
}

.gallery-lightbox__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.8rem;
  object-fit: cover;
}

.gallery-lightbox__thumb span {
  padding: 0 0.15rem 0.15rem;
  font-size: 0.78rem;
  line-height: 1.35;
}

.house-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.35rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}

.house-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.house-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 9, 0.72);
  backdrop-filter: blur(0.92rem) saturate(112%);
  -webkit-backdrop-filter: blur(0.92rem) saturate(112%);
  opacity: 0;
  transition: opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.house-modal.is-open .house-modal__backdrop {
  opacity: 1;
}

.house-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 34rem);
  max-height: calc(100vh - 2.7rem);
  padding: 1.2rem;
  border-radius: 1.85rem;
  overflow-y: auto;
  scrollbar-width: none;
  opacity: 0;
  transform: translate3d(0, 0.62rem, 0) scale(0.992);
  transition:
    opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
  backface-visibility: hidden;
  contain: layout paint;
}

.house-modal__dialog::-webkit-scrollbar {
  display: none;
}

.house-modal.is-open .house-modal__dialog {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.house-modal__close {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  z-index: 2;
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(238, 223, 211, 0.14);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.house-modal__close:hover,
.house-modal__close:focus-visible {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.04));
  transform: translateY(-0.05rem);
  outline: none;
}

.house-modal__close span {
  position: absolute;
  width: 0.95rem;
  height: 1.5px;
  border-radius: 999px;
  background: rgba(238, 223, 211, 0.94);
}

.house-modal__close span:first-child {
  transform: rotate(45deg);
}

.house-modal__close span:last-child {
  transform: rotate(-45deg);
}

.house-modal__view {
  position: relative;
  z-index: 1;
}

.house-modal__view[hidden] {
  display: none;
}

.house-modal__title {
  margin-top: 0.4rem;
  font-size: clamp(1.85rem, 2.6vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.house-modal__lead {
  max-width: 28rem;
  margin-top: 0.7rem;
  color: var(--house-text-soft);
  line-height: 1.58;
}

.callback-form--modal {
  margin-top: 1.15rem;
}

.house-modal__view--success {
  min-height: 14rem;
  display: grid;
  align-content: center;
  padding: 1.2rem 0.15rem 0.4rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-card {
  min-height: 8.75rem;
  padding: 1.3rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.benefit-card__content {
  flex: 1;
}

.benefit-card p {
  max-width: 28rem;
  font-size: 1.08rem;
  line-height: 1.55;
}

.benefit-card__accent-word {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.14em;
}

.benefit-card__icon {
  flex: 0 0 auto;
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  color: rgba(238, 223, 211, 0.92);
}

.benefit-card__icon img,
.benefit-card__icon svg {
  width: 64%;
  height: 64%;
  display: block;
  object-fit: contain;
}

.benefit-card__icon img {
  filter: brightness(0) invert(1);
  opacity: 0.82;
}

.house-section-head {
  display: grid;
  gap: 0.2rem;
}

.package-desktop {
  margin-top: 1.45rem;
}

.package-mobile {
  display: none;
}

.package-table-stack {
  display: grid;
  gap: 0;
}

.package-table-wrap {
  position: relative;
  border: 1px solid rgba(238, 223, 211, 0.12);
  background: var(--house-table-surface);
  overflow-x: auto;
}

.package-table-wrap--main {
  border-radius: 1.55rem 1.55rem 0 0;
}

.package-table-wrap--main:last-child {
  border-radius: 1.55rem;
}

.package-table-wrap--main:not(:last-child) {
  border-bottom: 0;
}

.package-table-wrap--tail {
  margin-top: 0;
  border-radius: 0 0 1.55rem 1.55rem;
  background:
    linear-gradient(180deg, rgba(16, 23, 21, 0.2), rgba(16, 23, 21, 0.14)),
    rgba(255, 255, 255, 0.014);
}

.package-table-wrap--tail .package-table tbody tr {
  background: rgba(255, 255, 255, 0.024);
}

.package-table {
  width: 100%;
  min-width: 66rem;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

.package-table__col {
  width: calc((100% - 29rem) / 4);
}

.package-table thead th {
  padding: 1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--house-line);
  background: transparent;
}

.package-table__col--feature {
  width: 29rem;
}

.package-table tbody tr {
  background: rgba(255, 255, 255, 0.018);
}

.package-table tbody tr + tr td,
.package-table tbody tr + tr th {
  border-top: 1px solid rgba(238, 223, 211, 0.045);
}

.package-table th,
.package-table td {
  padding: 0.88rem 1rem;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.56;
}

.package-table thead tr > th + th,
.package-table tbody tr > td {
  border-left: 1px solid rgba(238, 223, 211, 0.055);
}

.package-table__intro {
  text-align: left;
}

.package-table__intro:empty {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.package-table__intro span {
  display: block;
  font-size: 1.06rem;
  font-weight: 580;
}

.package-table__intro small,
.package-table__note {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--house-text-muted);
}

.package-table__tier {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.58rem 1rem;
  border: 1px solid rgba(238, 223, 211, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.02);
  font-size: 1.02rem;
  font-weight: 610;
}

.package-table__tier-stack {
  display: grid;
  justify-items: center;
  gap: 0.52rem;
}

.package-table__tier-price {
  display: block;
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 540;
  color: rgba(238, 223, 211, 0.86);
}

.package-table__section-row th {
  padding-top: 1.22rem;
  padding-bottom: 0.78rem;
  background: transparent;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 560;
  color: var(--house-text-main);
}

.package-table__feature {
  text-align: left;
}

.package-table__feature-title {
  display: block;
  font-size: 0.97rem;
  font-weight: 530;
  line-height: 1.52;
  color: var(--house-text-main);
}

.package-table__feature-description {
  display: block;
  margin-top: 0.34rem;
  color: rgba(238, 223, 211, 0.78);
  font-size: 0.8rem;
  line-height: 1.56;
}

.package-state {
  width: 2.15rem;
  height: 2.15rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
}

.package-state.is-on {
  border: 1px solid rgba(238, 223, 211, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.package-state.is-off {
  border: 1px solid rgba(238, 223, 211, 0.08);
  background: rgba(255, 255, 255, 0.016);
}

.package-state__icon {
  font-size: 0.92rem;
  color: var(--house-text-main);
}

.action-grid {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.action-card {
  min-height: 9rem;
  padding: 1.25rem 1.35rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(238, 223, 211, 0.12);
  border-radius: 1.6rem;
  color: var(--house-text-main);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022));
  backdrop-filter: blur(0.85rem);
  -webkit-backdrop-filter: blur(0.85rem);
  text-align: left;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.action-card:hover,
.action-card:focus-visible {
  border-color: rgba(238, 223, 211, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.032));
  transform: translateY(-0.15rem);
  outline: none;
}

.action-card__label {
  max-width: 15rem;
  display: block;
  font-size: 1.08rem;
  line-height: 1.45;
}

.action-card__icon {
  flex: 0 0 auto;
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  color: rgba(238, 223, 211, 0.9);
}

.action-card__icon img,
.action-card__icon svg {
  width: 64%;
  height: 64%;
  display: block;
  object-fit: contain;
}

.action-card__icon img {
  filter: brightness(0) invert(1);
  opacity: 0.82;
}

.house-section-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.house-related-title-break {
  display: inline;
}

.related-nav {
  display: flex;
  gap: 0.55rem;
}

.related-nav__button {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(238, 223, 211, 0.12);
  border-radius: 50%;
  color: var(--house-text-main);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.026));
  backdrop-filter: blur(0.85rem);
  -webkit-backdrop-filter: blur(0.85rem);
}

.related-nav__button:hover,
.related-nav__button:focus-visible {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.038));
  outline: none;
}

.related-frame {
  position: relative;
  margin-top: 1.14rem;
  padding: 0.98rem 0.06rem 0.14rem;
  isolation: isolate;
  overflow: visible;
}

.related-track {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 0.44rem;
  padding-bottom: 0.08rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: transparent;
}

.related-track::-webkit-scrollbar {
  display: none;
}

.related-card {
  flex: 0 0 calc((100% - 2rem) / 3);
  min-width: 18rem;
  scroll-snap-align: start;
  border-color: rgba(238, 223, 211, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022)),
    rgba(255, 255, 255, 0.014);
  backdrop-filter: blur(1rem) saturate(126%);
  -webkit-backdrop-filter: blur(1rem) saturate(126%);
  background-clip: padding-box;
  box-shadow: none;
  transform-origin: center bottom;
  will-change: transform;
}

.related-card:hover,
.related-card:focus-within {
  transform: translateY(-0.42rem);
  border-color: rgba(238, 223, 211, 0.22);
  box-shadow: none;
}

.related-panel {
  overflow: visible;
}

.related-panel::before,
.related-panel::after {
  display: none;
}

.house-page .catalog-card__spec dt {
  color: var(--house-text-muted);
}

.house-page .catalog-card__spec dd,
.house-page .catalog-card__chip {
  color: var(--house-text-main);
}

.house-page .catalog-card__chip {
  border-color: rgba(238, 223, 211, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.house-page .catalog-card__visual::after {
  background: linear-gradient(180deg, rgba(64, 83, 76, 0.06) 0%, rgba(64, 83, 76, 0.18) 48%, rgba(64, 83, 76, 0.38) 100%);
}

@media (max-width: 74rem) {
  .house-hero-grid,
  .benefits-grid,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .related-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (max-height: 860px) and (min-width: 60.0625rem) {
  .gallery-lightbox {
    padding: 0.56rem 0.8rem;
  }

  .gallery-lightbox__dialog {
    width: min(100%, 88rem);
    height: calc(100svh - 1.12rem);
    max-height: calc(100svh - 1.12rem);
    padding: 0.72rem;
    gap: 0.62rem;
    border-radius: 1.55rem;
  }

  .gallery-lightbox__stage {
    border-radius: 1.16rem;
  }

  .gallery-lightbox__close {
    top: 0.72rem;
    right: 0.72rem;
    width: 2.58rem;
    height: 2.58rem;
  }

  .gallery-lightbox__arrow {
    width: 3.2rem;
    height: 3.2rem;
  }

  .gallery-lightbox__arrow span {
    font-size: 1.32rem;
  }

  .gallery-lightbox__caption {
    left: 0.78rem;
    bottom: 0.78rem;
    min-height: 2rem;
    padding: 0.38rem 0.76rem;
    font-size: 0.81rem;
  }

  .gallery-lightbox__thumbs {
    padding-top: 0.14rem;
    gap: 0.55rem;
  }

  .gallery-lightbox__thumb {
    flex-basis: 6.65rem;
    padding: 0.3rem;
    gap: 0.34rem;
  }

  .gallery-lightbox__thumb span {
    padding-bottom: 0.12rem;
    font-size: 0.74rem;
  }
}

@media (max-width: 60rem) {
  body.house-page {
    overflow-x: clip;
    overscroll-behavior-x: none;
  }

  .house-main {
    padding-top: 4.6rem;
    overflow-x: clip;
  }

  .house-shell {
    max-width: 100%;
    min-width: 0;
  }

  .house-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .package-desktop {
    display: none;
  }

  .package-mobile {
    margin-top: 1.3rem;
    display: grid;
    gap: 0.85rem;
  }

  .package-mobile-section {
    border: 1px solid rgba(238, 223, 211, 0.12);
    border-radius: 1.35rem;
    background: var(--color-forest);
    overflow: hidden;
  }

  .package-mobile-section summary {
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    background: var(--color-forest);
  }

  .package-mobile-section summary::after {
    content: "";
    width: 0.92rem;
    height: 0.92rem;
    flex: 0 0 auto;
    background: currentColor;
    -webkit-mask: url("../icons/7.svg") center / contain no-repeat;
    mask: url("../icons/7.svg") center / contain no-repeat;
    transform: rotate(180deg);
    transition: transform 0.24s ease;
  }

  .package-mobile-section[open] summary::after {
    transform: rotate(0deg);
  }

  .package-mobile-section summary::-webkit-details-marker {
    display: none;
  }

  .package-mobile-list {
    padding: 0 0.9rem 0.95rem;
    display: grid;
    gap: 0.8rem;
  }

  .package-mobile-card {
    padding: 1rem;
    border: 1px solid rgba(238, 223, 211, 0.22);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.032);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  }

  .package-mobile-card h3 {
    font-size: 1rem;
    font-weight: 560;
    line-height: 1.35;
  }

  .package-mobile-card p {
    margin-top: 0.45rem;
    color: var(--house-text-soft);
    line-height: 1.48;
  }

  .package-mobile-statuses {
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .package-mobile-status {
    padding: 0.72rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    border: 1px solid rgba(238, 223, 211, 0.22);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  }

  .package-mobile-status__meta {
    display: grid;
    gap: 0.15rem;
  }

  .package-mobile-status__title {
    font-size: 0.82rem;
    color: var(--house-text-soft);
  }

  .package-mobile-status__price {
    font-size: 0.78rem;
    line-height: 1.32;
    font-weight: 540;
    color: rgba(238, 223, 211, 0.86);
  }

  .gallery-lightbox__thumb {
    flex-basis: 7rem;
  }

  .related-panel,
  .comparison-card,
  .action-panel,
  .house-gallery-card,
  .house-summary-card {
    max-width: 100%;
  }

  .related-panel {
    overflow: hidden;
  }
}

@media (max-width: 42rem), (orientation: landscape) and (max-width: 60rem) and (max-height: 32rem) {
  body.house-page {
    background: #40534C;
  }

  .house-main {
    padding-top: 4.15rem;
  }

  .detail-card {
    border-radius: 1.5rem;
  }

  .gallery-lightbox {
    padding: 0;
    background: #000;
  }

  .gallery-lightbox__dialog {
    width: 100%;
    height: 100svh;
    max-height: 100svh;
    padding: 0;
    gap: 0;
    border: 0;
    border-radius: 0;
    background: #000;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: transform 0.22s ease;
  }

  .gallery-lightbox.is-dismissing .gallery-lightbox__dialog {
    transition: none;
  }

  .gallery-lightbox__close {
    top: 0.75rem;
    right: 0.75rem;
    width: 2.7rem;
    height: 2.7rem;
  }

  .gallery-lightbox__arrow {
    width: 3rem;
    height: 3rem;
  }

  .gallery-lightbox__arrow--prev {
    left: max(1rem, calc(env(safe-area-inset-left, 0px) + 1rem));
  }

  .gallery-lightbox__arrow--next {
    right: max(1rem, calc(env(safe-area-inset-right, 0px) + 1rem));
  }

  .gallery-lightbox__caption {
    left: 0.7rem;
    bottom: 0.7rem;
  }

  .gallery-lightbox__stage {
    border-radius: 0;
    background: #000;
    touch-action: none;
  }

  .gallery-lightbox__stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: center center;
    will-change: transform;
    transition: transform 0.06s linear;
  }

  .gallery-lightbox__thumbs,
  .gallery-lightbox__caption {
    display: none;
  }

  .house-modal {
    padding: 0.9rem;
  }

  .house-modal__dialog {
    width: 100%;
    padding: 0.95rem;
    border-radius: 1.55rem;
  }

  .house-modal__close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .house-modal__view--success {
    min-height: 12.5rem;
    padding-top: 1rem;
  }

  .house-gallery-card,
  .house-summary-card,
  .comparison-card,
  .action-panel,
  .related-panel {
    padding: 0.85rem;
  }

  .gallery-arrow {
    width: 2.85rem;
    height: 2.85rem;
  }

  .house-summary__title {
    font-size: 1.85rem;
  }

  .house-price-box {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .benefit-card,
  .action-card {
    min-height: auto;
  }

  .benefit-card__icon,
  .action-card__icon {
    width: 2.8rem;
    height: 2.8rem;
  }

  .package-mobile-statuses {
    grid-template-columns: 1fr;
  }

  .house-section-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .house-related-title-break {
    display: block;
  }

  .house-related-section .house-section-row {
    flex-direction: row;
    align-items: center;
  }

  .related-nav {
    display: flex;
  }

  .related-frame {
    padding: 0.32rem 0 0.34rem;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    user-select: none;
    cursor: grab;
  }

  .related-frame > .mobile-carousel-arrow {
    display: none !important;
  }

  .related-frame.is-dragging {
    cursor: grabbing;
  }

  .related-frame.is-dragging .related-card {
    pointer-events: none;
  }

  .related-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    scroll-padding-inline: 0.24rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
    padding: 0.16rem 0.24rem 0.34rem;
  }

  .related-track::-webkit-scrollbar {
    display: none;
  }

  .related-card {
    flex: 0 0 calc(100% - 0.48rem);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
  }

  .related-card:hover,
  .related-card:focus-within {
    box-shadow: none;
  }
}

@media (orientation: landscape) and (max-width: 60rem) and (max-height: 32rem) {
  .gallery-lightbox {
    padding: 0;
    background: #000;
  }

  .gallery-lightbox__dialog {
    width: 100%;
    height: 100svh;
    max-height: 100svh;
    padding: 0;
    gap: 0;
    border: 0;
    border-radius: 0;
    background: #000;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .gallery-lightbox__stage {
    border-radius: 0;
    display: grid;
    place-items: center;
    background: #000;
  }

  .gallery-lightbox__stage img {
    width: 100vw;
    height: 100svh;
    max-width: none;
    max-height: none;
    object-fit: contain;
    background: #000;
  }

  .gallery-lightbox__thumbs,
  .gallery-lightbox__caption {
    display: none;
  }

  .gallery-lightbox__close {
    top: 0.72rem;
    right: 0.72rem;
    width: 2.4rem;
    height: 2.4rem;
    background: rgba(0, 0, 0, 0.22);
  }

  .gallery-lightbox__arrow {
    width: 2.7rem;
    height: 2.7rem;
    background: rgba(0, 0, 0, 0.18);
  }

  .gallery-lightbox__arrow--prev {
    left: max(1rem, calc(env(safe-area-inset-left, 0px) + 1rem));
  }

  .gallery-lightbox__arrow--next {
    right: max(1rem, calc(env(safe-area-inset-right, 0px) + 1rem));
  }
}

@media (hover: none) and (pointer: coarse) {
  .gallery-arrow:hover {
    background: linear-gradient(145deg, rgba(238, 223, 211, 0.12), rgba(64, 83, 76, 0.28));
    transform: translateY(-50%);
  }

  .house-thumb:hover,
  .house-thumb.is-active {
    transform: none;
  }

  .inline-cta:hover,
  .callback-form__submit:hover,
  .gallery-lightbox__close:hover,
  .gallery-lightbox__arrow:hover,
  .house-modal__close:hover,
  .action-card:hover,
  .related-nav__button:hover,
  .related-card:hover {
    transform: none;
  }

  .gallery-lightbox__thumb:hover {
    transform: none;
  }
}
