.interest-form .interest-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.interest-types legend { font-weight: 700; }
.interest-types small { color: var(--muted); font-weight: 400; }

.interest-form .interest-types label,
.interest-form .interest-consent {
  display: flex;
  align-items: center;
  gap: 8px;
}

.interest-form .interest-types label {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.interest-form input[type="checkbox"] {
  width: 1.15em;
  min-height: auto;
  height: 1.15em;
  padding: 0;
  margin: 0;
  accent-color: var(--accent);
}

.header .brand {
  flex: 0 1 auto;
  min-width: 0;
  width: clamp(120px, 27vw, 196px);
}

.header .brand img {
  width: 100%;
  height: auto;
}

.header-phone-icon {
  display: grid;
  place-items: center;
  width: 1.55em;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: .85em;
  line-height: 1;
}

.hero {
  display: grid;
  align-items: center;
  height: auto;
  min-height: clamp(540px, 76vh, 740px);
  background: #2f1521;
  text-align: left;
}

.hero > img {
  inset-inline-start: auto;
  width: 78%;
  object-position: center 53%;
}

.hero .hero-shade {
  background: linear-gradient(90deg, #2f1521 0%, #2f1521 22%, #2f1521e8 32%, #2f152160 47%, transparent 61%),
              linear-gradient(0deg, #24121d7a, transparent 16%);
}

.hero .hero-copy {
  margin-inline: 0;
  width: min(48%, 680px);
  padding: 44px 0 52px var(--pad);
}

.hero-ribbon {
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 24px 8px 13px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  background: #971733;
  color: #fff;
  font-size: clamp(15px, 1.9vw, 23px);
  font-weight: 850;
  letter-spacing: -.035em;
}

.hero h1 {
  margin: 0 0 clamp(16px, 3vw, 32px);
  color: #fff;
  font-size: clamp(41px, 5.9vw, 86px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.075em;
}

.hero h1 strong { display: block; color: var(--highlight); font-weight: inherit; }
.hero h1 span { display: block; font-size: .72em; }

.hero-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.5vw, 16px);
  width: min(100%, 390px);
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  text-align: center;
}

.hero-prices li {
  overflow: hidden;
  border: 1px solid #a87655;
  border-radius: 12px;
  background: #fffdf9;
  box-shadow: 0 6px 18px #37131f25;
}

.hero-prices li > span {
  display: block;
  padding: 5px 8px;
  background: var(--dark);
  color: #fff;
  font-size: clamp(16px, 2.5vw, 26px);
  font-weight: 800;
}

.hero-prices strong {
  display: block;
  padding: 8px 4px 12px;
  color: #8e1734;
  font-size: clamp(25px, 3.7vw, 46px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.065em;
  white-space: nowrap;
}

.hero-prices small { color: var(--ink); font-size: .46em; letter-spacing: -.04em; }
.hero .hero-plan-link { background: var(--highlight); color: var(--highlight-ink); }

@media (max-width: 720px) {
  .hero {
    align-items: start;
    min-height: 660px;
  }

  .hero > img {
    inset-block-start: auto;
    width: 100%;
    height: 58%;
    object-position: center 55%;
  }

  .hero .hero-shade {
    background: linear-gradient(180deg, #2f1521 42%, #2f1521af 49%, transparent 65%),
                linear-gradient(0deg, #24121d85, transparent 12%);
  }

  .hero .hero-copy {
    width: 100%;
    padding: 25px var(--pad) 0;
  }

  .hero-prices { width: min(100%, 310px); }
}

.rental-popup {
  width: min(480px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  border: 1px solid #b46b40;
  background:
    repeating-linear-gradient(30deg, #ffcf871f 0 1px, transparent 1px 24px),
    repeating-linear-gradient(150deg, #ffcf871f 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, #ffcf8714 0 1px, transparent 1px 42px),
    linear-gradient(155deg, #a53b20, #852713 66%, #6b1c0f);
  color: #fff;
}

.rental-popup::backdrop { background: rgb(39 12 23 / 72%); }
body:has(.rental-popup[open]) { overflow: hidden; }

.rental-popup-inner {
  display: grid;
  gap: 14px;
  padding: clamp(12px, 4vw, 24px);
}

.rental-popup-dismiss { justify-self: end; margin: 0; }

.rental-popup-dismiss button {
  padding: 6px 10px;
  border: 1px solid var(--warm-border);
  border-radius: 6px;
  background: #571a12;
  color: #fff;
  cursor: pointer;
}

.rental-popup-dismiss button:focus-visible { outline-color: #ffe5b8; }
.rental-popup-heading { text-align: center; }

.rental-popup-heading p {
  margin: 0 0 8px;
  color: #ffe5a2;
  font-weight: 800;
}

.rental-popup-heading h2 {
  margin: 0;
  font-size: clamp(28px, 10vw, 62px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.07em;
}

.rental-popup-ticket {
  padding: 0 clamp(10px, 3vw, 18px) 14px;
  border: 1px solid #e5c197;
  border-radius: 22px;
  background: #fff9ef;
  color: #342219;
  box-shadow: 0 6px 0 #47130975;
}

.rental-popup-ticket h3 {
  margin: 0 0 10px;
  padding: 10px 4px;
  border-bottom: 2px dotted #cba783;
  color: #862b18;
  text-align: center;
  font-size: clamp(18px, 4vw, 24px);
}

.rental-benefits,
.rental-prices {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rental-benefits {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
  font-size: clamp(13px, 3.6vw, 16px);
  font-weight: 750;
}

.rental-benefits li {
  position: relative;
  padding: 7px 10px 7px 36px;
  border-radius: 18px;
  background: #f1e4d4;
}

.rental-benefits li::before {
  content: "";
  position: absolute;
  inset-inline-start: 10px;
  top: 50%;
  width: 17px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #8b321e;
  transform: translateY(-50%);
}

.rental-benefits li::after {
  content: "";
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translateY(-65%) rotate(42deg);
}

.rental-benefits strong { color: #862b18; }

.rental-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.rental-prices li {
  padding: 5px 10px;
  border: 1px solid #dac4ad;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.rental-prices strong {
  display: block;
  color: #862b18;
  font-size: clamp(24px, 3vw, 36px);
}

.rental-popup .rental-popup-cta {
  width: 100%;
  background: #8b321e;
  color: #fff9ef;
  font-weight: 900;
}

.overview-house {
  width: min(100%, 286px);
  height: auto;
  justify-self: center;
}

.block-layout h3,
.living-section h3 {
  margin: 0 0 18px;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -.04em;
}

.block-map,
.block-description {
  max-width: 880px;
  margin-inline: auto;
}

.block-description {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--tint);
}

.block-description p,
.living-grid p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.block-description p + p { margin-top: 10px; }
.block-description strong { display: block; color: var(--ink); }
.living-section { margin-top: clamp(36px, 6vw, 72px); }

.living-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 24px);
}

.living-grid h4 { margin: 10px 0 4px; font-size: clamp(16px, 2vw, 21px); }
.living-grid p { font-size: clamp(13px, 1.5vw, 16px); }

.living-photo {
  position: relative;
  aspect-ratio: 391 / 234;
  overflow: hidden;
  border-radius: 10px;
}

.living-photo img {
  position: absolute;
  width: 491.05%;
  max-width: none;
  left: var(--photo-x);
  top: -202.14%;
}

#plan-panel .image-button img {
  width: 100%;
  height: auto;
  max-height: none;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.plan-grid { padding: 16px; }
.plan-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.plan-card h3 { padding: 12px 16px; }
.additional-views {
  display: grid;
  gap: 24px;
  max-width: 880px;
  margin: 24px auto 0;
}

@media (max-width: 600px) {
  .living-grid {
    grid-template-columns: repeat(4, minmax(110px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-grid { padding: 10px; }
}

#plans [hidden] { display: none; }
.plan-group:not([hidden]) + .plan-group:not([hidden]) { border-top: 1px solid var(--line); }
