.mp-home { --edge: clamp(22px, 5vw, 90px); --space: clamp(54px, 7vw, 116px); background: var(--pearl); color: var(--graphite); }
.mp-home .hero { height: calc(100svh - var(--menu-height) - var(--cookie-height, 0px)); color: var(--pearl); }
.mp-home .hero-image { filter: sepia(.07) saturate(1.12) brightness(1.07); }
.mp-home .image-tone {
  background: linear-gradient(180deg, rgba(13,31,40,.43), transparent 24%, rgba(13,31,40,.13) 38%, rgba(13,31,40,.64) 59%, rgba(13,31,40,.74) 81%, rgba(13,31,40,.6));
}
.mp-home .hero-copy { color: #fff; text-shadow: 0 1px 4px rgba(8,23,30,.75); }
.mp-home .hero-copy h1, .mp-home .title-accent { color: inherit; text-shadow: inherit; }
.mp-home .hero-description { color: inherit; font-size: clamp(14px,1vw,17px); line-height: 1.55; }
.mp-home [id] { scroll-margin-top: 88px; }
.mp-home :focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.mp-link { display: inline-flex; gap: 24px; align-items: center; min-height: 44px; }

.mp-section { padding: var(--space) var(--edge); }
.mp-section h2, .mp-split h2 { font: 400 clamp(39px,4.8vw,76px)/1.04 Морее,serif; letter-spacing: -.028em; margin: 0; }
.mp-intro, .mp-start, .mp-infra { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8%; align-items: start; }
.mp-section p, .mp-split p { font-size: clamp(16px,1.25vw,20px); line-height: 1.65; max-width: 52ch; }
.mp-facts { display: flex; gap: clamp(24px,4vw,65px); margin: 25px 0 0; }
.mp-facts div { display: flex; flex-direction: column-reverse; }
.mp-facts dd { font: 400 clamp(27px,3vw,48px)/1.2 Морее,serif; }
.mp-facts dt { font-size: 13px; }
.mp-split { display: grid; grid-template-columns: 1.2fr 1fr; align-items: stretch; background: #e4e8e8; }
.mp-split > img { width: 100%; height: 100%; max-height: 570px; min-height: 360px; object-fit: cover; }
.mp-split > div { align-self: center; padding: var(--space) var(--edge); }
.mp-split p { margin: 24px 0 12px; }
.mp-link { text-decoration: underline; text-underline-offset: 5px; margin-top: 12px; }
.mp-infra { align-items: center; }
.mp-infra h2 { margin-bottom: 28px; }
.mp-infra details { border-bottom: 1px solid var(--mist); }
.mp-infra summary { cursor: pointer; padding: 16px 0; font-size: 20px; }
.mp-infra details p { font-size: 15px; margin-bottom: 20px; }
.mp-amenity-image { width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.mp-detail-image { display: none; }
.mp-partner { width: 180px; margin-bottom: 24px; }
.mp-start { background: var(--graphite); color: var(--pearl); }
.mp-home .layout-card[hidden] { display: none; }
@media (max-width:767px) {
  .mp-intro, .mp-infra, .mp-start, .mp-split { grid-template-columns: 1fr; gap: 22px; }
  .mp-split { gap: 0; }
  .mp-split > img { min-height: 0; height: 275px; }
  .mp-amenity-image { display: none; }
  .mp-detail-image { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; margin-bottom: 16px; }
}
.mp-save-plan { min-height: 44px; text-align: left; text-decoration: underline; text-underline-offset: 4px; font-size: 13px; }
[data-saved-choice]:not(:empty) { margin-block: 10px 18px; }

.mp-infra > div { min-width: 0; }
@media (max-width:359px) { .mp-infra h2 { font-size: 33px; } }

.mp-home .project-intro { overflow: clip; }
.resort-heading h2 { position: relative; width: fit-content; }
.resort-title-line { display: block; }
.resort-key-art {
  position: absolute;
  left: calc(100% + .5em);
  bottom: -.45em;
  width: clamp(260px, 42vw, 740px);
  pointer-events: none;
}
.resort-keys { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .resort-heading h2 { max-width: 6.4ch; }
  .resort-title-line { position: relative; width: max-content; }
  .resort-key-art {
    left: calc(100% + .36em);
    bottom: -.12em;
    width: clamp(140px, 43vw, 220px);
    transform: rotate(15deg);
    transform-origin: left bottom;
  }
}
@media (min-width: 768px) {
  .mp-home .resort-heading { grid-column: 1 / -1; }
  .mp-home .resort-main-image { grid-row: 2; }
  .mp-home .resort-copy { grid-column: 9 / -1; grid-row: 2; }
}
.resort-installments {
  grid-column: 2 / 12;
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(0,.85fr);
  grid-template-areas: "entry image" "schedules image";
  align-items: center;
  gap: clamp(16px,3vw,52px);
}
.resort-installments-copy { grid-area: entry; }
.resort-installments h3 { margin: 0; font: 400 clamp(17px,1.5vw,24px)/1.35 Manrope,sans-serif; }
.resort-installments .launch-percent { display: block; margin-bottom: 12px; }
.entry-schedules { grid-area: schedules; }
.entry-schedules h4 { margin: 0 0 8px; font: 500 16px/1.4 Manrope,sans-serif; }
.entry-schedules ul { margin: 0; padding: 0; list-style: none; font: 400 13px/1.9 Manrope,sans-serif; }
.entry-schedules li { padding-block: 7px; border-top: 1px solid var(--mist); }
.resort-installments .entry-price-note, .mp-home .offer-picker > .purchase-protection {
  max-width: none; margin: 6px 0 0;
  font: 400 clamp(10px,3.6vw,12px)/1.6 Manrope,sans-serif; color: #536169;
}
.entry-price-note span { white-space: nowrap; }
.offer-more .when-open, .offer-more[open] .when-closed { display: none; }
.offer-more[open] .when-open { display: inline; }
.offer-more summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 44px; list-style: none; cursor: pointer; color: #425d65; font: 500 13px/1.45 Manrope,sans-serif;
}
.offer-more summary::-webkit-details-marker { display: none; }
.offer-more summary::after { content: ""; width: 8px; height: 8px; margin-right: 11px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.offer-more[open] summary::after { transform: rotate(225deg); }
.offer-option { scroll-margin-top: 90px; }
.mp-home .offer-picker {
  position: relative;
  padding-bottom: 0;
  --sticker-width: clamp(76px, 14vw, 156px);
  --offer-title-size: clamp(39px, 4.8vw, 76px);
}
.mp-home .offer-picker + .mp-infra {
  padding-top: clamp(28px, 3.5vw, 56px);
  align-items: start;
}
.mp-home .offer-heading h2 { font-size: var(--offer-title-size); }
.offer-vignette {
  position: absolute;
  right: calc(-1 * var(--edge));
  top: calc(var(--offer-title-size) * .81);
  transform: translateY(-100%);
  width: var(--sticker-width);
  height: auto;
  aspect-ratio: 1.24;
  object-fit: cover;
  pointer-events: none;
}
.mp-home .offer-picker > .purchase-protection { margin: 0 0 max(12px, calc(var(--sticker-width) / 1.24 - var(--offer-title-size) * .81 + 4px)); }
.mp-home .offer-heading { position: relative; padding-right: max(0px, calc(var(--sticker-width) - var(--edge) + 12px)); }
.offer-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 296px), 1fr));
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
.offer-group { min-width: 0; }
.offer-group header {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--steel);
}
.offer-group h3 { margin: 0; font: 400 clamp(24px, 2vw, 32px)/1.1 Морее,serif; }
.offer-group header span { display: block; margin-top: 5px; font-size: 14px; }
.offer-option {
  display: grid;
  grid-template-columns: minmax(0, 37%) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
  min-height: 88px;
  padding-block: 10px;
  border-bottom: 1px solid var(--mist);
  color: var(--graphite);
  text-decoration: none;
}
.offer-option img { width: 100%; height: clamp(120px, 11vw, 168px); object-fit: contain; }
.offer-option-info { display: grid; gap: 2px; }
.offer-option-floor, .offer-option small { font: 400 12px/1.45 Manrope,sans-serif; }
.offer-option strong { font: 600 clamp(18px, 1.5vw, 24px)/1.35 Manrope,sans-serif; }
.offer-option-arrow { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--mist); border-radius: 50%; }
.apartments-page .offer-group { container-type: inline-size; }
@container (max-width: 430px) {
  .apartments-page .offer-option { grid-template-rows: auto 1fr 1fr; row-gap: 2px; }
  .apartments-page .offer-option-info { display: contents; }
  .apartments-page .offer-option-floor { grid-area: 1 / 1 / 2 / -1; }
  .apartments-page .offer-option img { grid-area: 2 / 1 / 4 / 2; }
  .apartments-page .offer-option strong { grid-area: 2 / 2; align-self: end; }
  .apartments-page .offer-option small { grid-area: 3 / 2; align-self: start; }
  .apartments-page .offer-option-arrow { grid-area: 2 / 3 / 4 / 4; }
}
.offer-option:is(:focus-visible,:active) .offer-option-arrow { background: #226f79; border-color: #226f79; color: var(--pearl); }
@media (hover: hover) and (pointer: fine) {
  .offer-option:hover .offer-option-arrow { background: #226f79; border-color: #226f79; color: var(--pearl); }
}
@media (prefers-reduced-motion: no-preference) {
  .offer-option-arrow { transition: background-color 140ms ease, color 140ms ease, transform 120ms ease-out; }
  .offer-option:active:not(:focus-visible) .offer-option-arrow { transform: scale(.97); }
}
.resort-installments-image { grid-area: image; width: 100%; height: clamp(220px,22vw,360px); object-fit: cover; }
@media (max-width: 900px) {
  .resort-installments { grid-column: 1 / -1; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); grid-template-areas: "entry image" "schedules schedules"; }
  .resort-installments-image { height: clamp(154px,30vw,240px); }
}
.mp-location { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mp-location > div { min-width: 0; padding: var(--space) clamp(20px, 3vw, 48px); }
.mp-location > img { max-height: none; }
.mp-location .location-map { margin-top: 24px; }
.mp-location .map-viewport { height: clamp(280px, 25vw, 400px); }
.mp-location .location-map figcaption { padding-inline: 0; }
@media (max-width: 767px) {
  .entry-schedules ul { font-size: 12px; }
  .mp-location { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  .mp-home .hero-image-ready { animation: hero-photo-in 420ms var(--ease-out); }
  .mp-home .hero-copy { animation: hero-text-in 280ms var(--ease-out); }
}
@keyframes hero-photo-in { from { opacity: .74; } to { opacity: 1; } }
@keyframes hero-text-in {
  from { opacity: .82; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.apartments-page .catalogue-option-action {
  grid-column: 1 / -1;
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 10px;
  font: 500 13px/1.4 Manrope,sans-serif;
  white-space: nowrap;
}
