/* Thematic layer for Anapa apartment and hotel-complex pages.
   Base layout and behaviour remain in novostroyki/complex.css. */

.aparhotel-page {
    --aparhotel-night: #121923;
    --aparhotel-sea-deep: #315f67;
    --aparhotel-sand: #e8d7b5;
    background: var(--paper);
}

.aparhotel-page h1,
.aparhotel-page h2,
.aparhotel-page h3 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: wrap;
}

.aparhotel-page .complex-hero {
    min-height: min(54rem, calc(100svh - 4.75rem));
}

.aparhotel-page .complex-hero__image {
    object-position: center 48%;
}

.aparhotel-page .complex-hero__veil {
    background:
        linear-gradient(90deg, rgba(10, 14, 20, 0.9) 0%, rgba(10, 14, 20, 0.68) 46%, rgba(10, 14, 20, 0.26) 100%),
        linear-gradient(180deg, rgba(10, 14, 20, 0.14), rgba(10, 14, 20, 0.52));
}

.aparhotel-page .complex-hero__copy {
    max-width: 49rem;
}

.aparhotel-page .complex-hero h1 {
    max-width: 12ch;
    line-height: 0.96;
}

.aparhotel-page .complex-hero__lead {
    max-width: 44rem;
}

.aparhotel-page .complex-hero__kicker {
    width: fit-content;
    max-width: none;
    display: block;
    padding: 0.5rem 0.85rem;
    text-align: left;
    text-wrap: nowrap;
}

.aparhotel-hero__facts {
    display: flex;
    flex-wrap: wrap;
}

.aparhotel-hero__facts div {
    min-width: 9.5rem;
}

.aparhotel-page .complex-hero__form {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(18, 25, 35, 0.76);
}

.aparhotel-page .complex-intro__visual img {
    object-position: center;
}

.aparhotel-page .complex-advantages {
    padding-top: clamp(3rem, 3.5vw, 3.75rem);
}

.aparhotel-advantages .advantage-card {
    min-height: 15.5rem;
    justify-content: flex-start;
}

.aparhotel-advantages .advantage-card__number {
    max-width: 100%;
    margin-bottom: 0;
    font-size: clamp(2.35rem, 3.8vw, 4.2rem);
    letter-spacing: -0.02em;
    overflow-wrap: normal;
}

.aparhotel-advantages .advantage-card__copy {
    margin-top: 1.75rem;
}

.aparhotel-advantages .advantage-card h3 {
    max-width: 16ch;
}

.aparhotel-advantages .advantage-card--media {
    padding: 1rem;
}

.aparhotel-advantages .advantage-card--media .advantage-card__thumbnail {
    height: clamp(7rem, 10vw, 8.5rem);
    margin-bottom: 1.1rem;
}

.aparhotel-advantages .advantage-card--media .advantage-card__copy {
    margin-top: auto;
    padding: 0 0.45rem 0.45rem;
}

/* Owner models */

.owner-models {
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 10%, rgba(71, 125, 132, 0.3), transparent 30rem),
        var(--aparhotel-night);
    color: var(--white);
}

.owner-models__layout {
    display: grid;
    grid-template-columns: minmax(25rem, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
    gap: clamp(3rem, 5vw, 5rem);
}

.owner-models__heading {
    position: sticky;
    top: 8rem;
}

.owner-models__heading h2,
.operator-section__copy h2,
.hospitality__content h2,
.financial-drivers__intro h2,
.construction-layout__copy > h2,
.ownership-package h2 {
    margin: 0 0 1.4rem;
    font-size: clamp(2.5rem, 4.2vw, 4.5rem);
    font-weight: 575;
    letter-spacing: -0.048em;
    line-height: 1.02;
}

.owner-models__heading h2 {
    max-width: none;
    font-size: clamp(2.45rem, 3.6vw, 4rem);
    line-height: 1.04;
}

.owner-models__heading > p:not(.eyebrow) {
    max-width: 34rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.7;
}

.owner-models__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.owner-models__list li {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 1.5rem;
    padding: 2.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.owner-models__list li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.owner-models__list > li > span {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 760;
    letter-spacing: 0.12em;
}

.owner-models__list h3 {
    margin: 0 0 0.55rem;
    color: var(--white);
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    font-weight: 630;
    letter-spacing: -0.035em;
}

.owner-models__list p {
    max-width: 39rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.65;
}

/* Operator */

.operator-section {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4.5rem, 8vw, 7.5rem);
    background: var(--aparhotel-sea-deep);
    color: var(--white);
}

.operator-section::after {
    position: absolute;
    top: -18rem;
    right: -10rem;
    width: 38rem;
    height: 38rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.operator-section__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.58fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
}

.operator-section__copy {
    max-width: 58rem;
}

.operator-section__copy h2 {
    max-width: none;
    font-size: clamp(2.4rem, 3.3vw, 3.75rem);
    line-height: 1.04;
}

.operator-section__copy > p:not(.eyebrow) {
    max-width: 54rem;
    margin: 0 0 1.1rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.02rem;
    line-height: 1.7;
}

.operator-section__copy > .operator-section__benefit {
    max-width: 50rem;
    margin-top: 1.5rem;
    padding: 1.15rem 1.3rem;
    border-left: 0.22rem solid var(--gold);
    border-radius: 0 1rem 1rem 0;
    background: rgba(13, 25, 31, 0.24);
    color: rgba(255, 255, 255, 0.88);
}

.operator-section__copy .button {
    margin-top: 1rem;
}

.operator-section__scope {
    position: relative;
    min-height: 22rem;
    display: grid;
    align-content: center;
    gap: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 2rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(209, 177, 113, 0.17), transparent 15rem),
        rgba(13, 25, 31, 0.3);
    box-shadow: 0 22px 48px rgba(9, 18, 23, 0.18);
}

.operator-section__scope-mark {
    width: 4.5rem;
    height: 4.5rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(209, 177, 113, 0.72);
    border-radius: 50%;
    color: var(--gold);
    font-size: 2rem;
    font-weight: 590;
}

.operator-section__scope > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 760;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.operator-section__scope ul {
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    list-style: none;
}

.operator-section__scope li {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.operator-section__scope li span {
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 760;
    letter-spacing: 0.1em;
}

.operator-section__scope li strong {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.94rem;
    font-weight: 620;
}

/* Hospitality */

.hospitality {
    background: var(--paper-warm);
}

.hospitality__layout {
    display: grid;
    grid-template-columns: minmax(22rem, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.hospitality__visual {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 2.35rem;
    box-shadow: var(--shadow-soft);
}

.hospitality__visual img {
    width: 100%;
    height: clamp(23rem, 42vw, 34rem);
    display: block;
    object-fit: cover;
}

.hospitality__visual figcaption,
.construction-layout__visual figcaption {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: fit-content;
    max-width: calc(100% - 2rem);
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(251, 250, 247, 0.88);
    box-shadow: 0 8px 24px rgba(17, 19, 26, 0.12);
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 680;
    backdrop-filter: blur(14px) saturate(135%);
}

.hospitality__content > p:not(.eyebrow) {
    max-width: 43rem;
    margin: 0 0 2rem;
    color: var(--ink-soft);
    font-size: 1.04rem;
    line-height: 1.7;
}

.hospitality__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(37, 41, 54, 0.12);
    list-style: none;
}

.hospitality__features li {
    min-height: 8.2rem;
    display: grid;
    align-content: start;
    gap: 0.5rem;
    padding: 1.3rem 1.3rem 1.3rem 0;
    border-bottom: 1px solid rgba(37, 41, 54, 0.12);
}

.hospitality__features li:nth-child(even) {
    padding-left: 1.3rem;
    border-left: 1px solid rgba(37, 41, 54, 0.12);
}

.hospitality__features strong {
    color: var(--ink);
    font-size: 1.02rem;
}

.hospitality__features span {
    color: var(--ink-soft);
    font-size: 0.87rem;
    line-height: 1.55;
}

/* Gallery and room formats */

.aparhotel-page .complex-gallery {
    background:
        radial-gradient(circle at 88% 6%, rgba(71, 125, 132, 0.24), transparent 28rem),
        var(--ink-deep);
}

.aparhotel-page .gallery-grid {
    grid-template-rows: repeat(2, minmax(13rem, 20vw));
}

.aparhotel-formats {
    background: var(--paper);
}

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

.aparhotel-format-grid--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 60rem;
    margin-inline: auto;
}

.aparhotel-format-grid .format-card {
    min-height: 24rem;
    grid-template-columns: minmax(10rem, 0.92fr) minmax(13rem, 1.08fr);
    padding: 0.75rem;
}

.aparhotel-format-grid--single .format-card {
    grid-template-columns: minmax(15rem, 0.76fr) minmax(18rem, 1.24fr);
}

.aparhotel-format-grid--three .format-card:first-child {
    grid-column: 1 / -1;
    grid-template-columns: minmax(15rem, 0.76fr) minmax(18rem, 1.24fr);
}

.aparhotel-format-grid .format-card__visual {
    min-height: 21rem;
    padding: 0.55rem 0.7rem;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
}

.aparhotel-format-grid .format-card__visual img {
    width: auto;
    max-width: 100%;
    height: min(20rem, 100%);
    max-height: 20rem;
    object-fit: contain;
    filter: none;
}

.aparhotel-format-grid .format-card__content {
    padding: 1.2rem 0.8rem 0.8rem 1.2rem;
}

.aparhotel-format-grid .format-card__type {
    margin-bottom: 1.2rem;
}

.aparhotel-format-grid .format-card__badge {
    background: var(--aparhotel-sea-deep);
}

.aparhotel-format-grid .format-card--featured .format-card__badge {
    background: #b84a2c;
}

.aparhotel-format-card {
    position: relative;
    min-height: 21rem;
    display: grid;
    align-content: end;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    overflow: hidden;
    border: 1px solid rgba(37, 41, 54, 0.1);
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at 100% 0%, rgba(71, 125, 132, 0.14), transparent 17rem),
        rgba(255, 255, 255, 0.76);
    box-shadow: 0 16px 44px rgba(37, 41, 54, 0.055);
    transition: transform 180ms var(--ease-out), border-color 180ms ease, box-shadow 180ms ease;
}

.aparhotel-format-card--featured {
    background:
        radial-gradient(circle at 100% 0%, rgba(209, 177, 113, 0.2), transparent 18rem),
        var(--paper-warm);
}

.aparhotel-format-card__index {
    position: absolute;
    top: 1.5rem;
    right: 1.7rem;
    color: rgba(37, 41, 54, 0.25);
    font-size: clamp(2.7rem, 5vw, 5rem);
    font-weight: 520;
    letter-spacing: -0.06em;
}

.aparhotel-format-card .eyebrow {
    margin-bottom: 1.1rem;
}

.aparhotel-format-card h3 {
    max-width: 17ch;
    margin: 0 0 0.7rem;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 590;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.aparhotel-format-card > p:not(.eyebrow) {
    max-width: 31rem;
    margin: 0 0 1.8rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

.aparhotel-format-card button {
    width: fit-content;
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(37, 41, 54, 0.14);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 720;
    cursor: pointer;
    transition: transform 140ms var(--ease-out), background-color 160ms ease, border-color 160ms ease;
}

.aparhotel-format-card button span {
    color: var(--gold-strong);
    font-size: 1.05rem;
}

.aparhotel-format-card button:active {
    transform: scale(0.97);
}

.aparhotel-format-card button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* Profit and financial drivers */

.aparhotel-page .calculator-section--profit {
    background:
        radial-gradient(circle at 8% 10%, rgba(71, 125, 132, 0.31), transparent 30rem),
        radial-gradient(circle at 88% 90%, rgba(209, 177, 113, 0.15), transparent 24rem),
        var(--aparhotel-night);
}

.aparhotel-page .calculator-control input::placeholder {
    color: #858a94;
    font-weight: 540;
    opacity: 1;
}

.aparhotel-page .calculator-metric--wide {
    grid-column: 1 / -1;
}

.aparhotel-page .calculator-heading {
    max-width: 64rem;
    grid-template-columns: minmax(0, 1fr);
}

.aparhotel-page .calculator-heading h2 {
    max-width: 20ch;
}

.aparhotel-page [data-grouped-number] {
    font-variant-numeric: tabular-nums;
}

.financial-drivers {
    background: var(--paper-warm);
}

.financial-drivers__layout {
    display: grid;
    grid-template-columns: minmax(20rem, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: clamp(2.5rem, 5vw, 4.5rem);
}

@media (min-width: 68.0625rem) {
    .financial-drivers__intro {
        position: sticky;
        top: 6.25rem;
    }
}

.financial-drivers__intro > p:not(.eyebrow) {
    max-width: 38rem;
    margin: 0 0 1.6rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

.financial-drivers__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0.35rem 0.85rem 0.85rem;
    list-style: none;
}

.financial-drivers__list li {
    position: relative;
    min-height: 7.5rem;
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    align-content: start;
    gap: 0.85rem;
    padding: 1.15rem;
    border-bottom: 1px solid rgba(37, 41, 54, 0.1);
}

.financial-drivers__list li:last-child {
    grid-column: span 2;
    min-height: 7rem;
    border-bottom: 0;
}

.financial-drivers__list li:nth-child(odd):not(:last-child) {
    border-right: 1px solid rgba(37, 41, 54, 0.1);
}

.financial-drivers__list > li > span {
    width: 2.35rem;
    height: 2.35rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(184, 139, 67, 0.32);
    border-radius: 50%;
    background: var(--gold-pale);
    color: var(--gold-strong);
    font-size: 0.7rem;
    font-weight: 760;
    letter-spacing: 0.1em;
}

.financial-drivers__list li > div {
    position: relative;
    z-index: 2;
}

.financial-drivers__list h3 {
    margin: 0 0 0.35rem;
    font-size: 1.08rem;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.financial-drivers__list p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.87rem;
    line-height: 1.55;
}

.financial-drivers__cta {
    width: fit-content;
    min-height: 3.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.9rem 1.15rem;
    border: 0;
    border-radius: 1rem;
    background: var(--ink-deep);
    box-shadow: 0 14px 28px rgba(17, 19, 26, 0.13);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 740;
    cursor: pointer;
    transition: transform 140ms var(--ease-out), box-shadow 180ms ease;
}

.financial-drivers__cta span {
    color: var(--gold);
    font-size: 1.1rem;
}

.financial-drivers__cta:active {
    transform: scale(0.97);
}

.financial-drivers__board {
    overflow: hidden;
    padding: 0.7rem;
    border: 1px solid rgba(37, 41, 54, 0.1);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 22px 56px rgba(37, 41, 54, 0.08);
}

.financial-drivers__visual {
    position: relative;
    height: clamp(10rem, 18vw, 13rem);
    margin: 0;
    overflow: hidden;
    border-radius: 1.45rem;
}

.financial-drivers__visual::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 20, 27, 0.03), rgba(13, 20, 27, 0.78));
    content: "";
}

.financial-drivers__visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.financial-drivers__visual figcaption {
    position: absolute;
    right: 1.2rem;
    bottom: 1rem;
    left: 1.2rem;
    z-index: 1;
    color: var(--white);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 650;
    letter-spacing: -0.025em;
}

.financial-driver--media {
    color: var(--white);
}

.financial-driver--media::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(12, 18, 25, 0.04) 18%, rgba(12, 18, 25, 0.88) 100%);
    content: "";
}

.financial-driver--media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.financial-driver--media h3,
.financial-driver--media p {
    color: var(--white);
}

.financial-driver--media p {
    color: rgba(255, 255, 255, 0.72);
}

.financial-driver--signal i {
    height: 2.4rem;
    display: flex;
    align-items: end;
    gap: 0.38rem;
    margin-top: 1.3rem;
    font-style: normal;
}

.financial-driver--signal i b {
    width: 1.25rem;
    height: 35%;
    display: block;
    border-radius: 0.3rem 0.3rem 0 0;
    background: var(--aparhotel-sea-deep);
}

.financial-driver--signal i b:nth-child(2) { height: 58%; }
.financial-driver--signal i b:nth-child(3) { height: 82%; }
.financial-driver--signal i b:nth-child(4) { height: 100%; background: var(--gold); }

.financial-driver--wide {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    align-items: start;
}

.financial-driver--wide strong {
    color: rgba(71, 125, 132, 0.16);
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 560;
    letter-spacing: -0.07em;
    line-height: 0.72;
}

/* Location, construction and owner package */

.aparhotel-details {
    background: var(--paper-cool);
}

.aparhotel-details__map iframe {
    min-height: 26rem;
}

.aparhotel-location .complex-location__card > img {
    object-position: center 54%;
}

.construction-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(22rem, 0.78fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.construction-layout__copy > p:not(.eyebrow) {
    max-width: 45rem;
    margin: 0 0 2rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

.construction-layout .construction-progress {
    margin-top: 0;
}

.construction-layout__copy > h2 {
    max-width: 16ch;
}

.construction-layout__visual {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 2rem;
    background: var(--paper-warm);
    box-shadow: var(--shadow-soft);
}

.construction-layout__visual img {
    width: 100%;
    min-height: 28rem;
    height: min(48vw, 39rem);
    display: block;
    object-fit: cover;
}

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

.construction-gallery figure {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 1.7rem;
}

.construction-gallery img {
    min-height: 0;
    height: clamp(10rem, 14vw, 12rem);
}

.construction-gallery__latest {
    grid-column: 1 / -1;
}

.construction-gallery__latest img {
    height: clamp(16rem, 25vw, 21rem);
}

.ownership-package {
    padding-block: clamp(4.5rem, 8vw, 7rem);
    background:
        radial-gradient(circle at 88% 12%, rgba(209, 177, 113, 0.16), transparent 27rem),
        var(--ink-deep);
    color: var(--white);
}

.ownership-package__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.75fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.ownership-package h2 {
    max-width: 18ch;
}

.ownership-package__grid > div > p:not(.eyebrow) {
    max-width: 44rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.7;
}

.ownership-package__cta {
    margin-top: 1.5rem;
}

.ownership-package__list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    list-style: none;
}

.ownership-package__list li {
    display: flex;
    gap: 0.9rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.84);
}

.ownership-package__list span {
    color: var(--gold);
    font-weight: 800;
}

.aparhotel-page .complex-faq {
    background: var(--paper);
    padding-bottom: clamp(3.5rem, 6.3vw, 6.125rem);
}

.aparhotel-page .complex-links {
    padding-block: clamp(3.5rem, 6.3vw, 6.125rem);
}

.aparhotel-page .complex-closing h2 {
    max-width: 20ch;
    font-size: clamp(2.6rem, 4.2vw, 4.4rem);
    line-height: 1.02;
}

.aparhotel-page .complex-closing__lead {
    max-width: 44rem !important;
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.aparhotel-page .selection-widget__label {
    max-width: 7.3rem;
}

.aparhotel-selection .selection-dialog__mockup {
    width: 100%;
    height: 15rem;
    object-fit: cover;
    object-position: center;
    border-radius: 1.35rem;
}

.aparhotel-selection .selection-dialog__close {
    width: 3rem;
    height: 3rem;
    border: 2px solid rgba(37, 41, 54, 0.78);
    background: rgba(251, 250, 247, 0.98);
    box-shadow: 0 8px 22px rgba(17, 19, 26, 0.22);
    transition: transform 140ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease;
}

.aparhotel-selection .selection-dialog__close span {
    width: 1.2rem;
    height: 2px;
}

.aparhotel-selection .selection-dialog__close:active {
    transform: scale(0.94);
}

.aparhotel-selection .selection-dialog__close:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
    .js .aparhotel-page.complex-page--fixed-widgets .selection-widget.is-beyond-hero:not(.is-suppressed):hover {
        box-shadow: 0 24px 58px rgba(17, 19, 26, 0.32);
        transform: translateY(-0.25rem);
    }

    .js .aparhotel-page.complex-page--fixed-widgets .selection-widget.is-beyond-hero:not(.is-suppressed):active {
        transform: scale(0.97);
    }

    .aparhotel-format-card:hover {
        border-color: rgba(184, 139, 67, 0.42);
        box-shadow: var(--shadow-card);
        transform: translateY(-0.3rem);
    }

    .aparhotel-format-card button:hover {
        border-color: rgba(184, 139, 67, 0.46);
        background: var(--gold-pale);
    }

    .aparhotel-selection .selection-dialog__close:hover {
        background: var(--white);
        box-shadow: 0 10px 26px rgba(17, 19, 26, 0.28);
        transform: translateY(-1px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .js .aparhotel-page.complex-page--fixed-widgets .selection-widget.is-beyond-hero:not(.is-suppressed):hover,
    .js .aparhotel-page.complex-page--fixed-widgets .selection-widget.is-beyond-hero:not(.is-suppressed):active {
        transform: none;
    }
}

@media (max-width: 68rem) {
    .aparhotel-page .complex-hero {
        min-height: auto;
    }

    .aparhotel-hero__facts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 39rem;
    }

    .owner-models__layout,
    .operator-section__grid,
    .hospitality__layout,
    .financial-drivers__layout,
    .construction-layout,
    .ownership-package__grid {
        grid-template-columns: 1fr;
    }

    .owner-models__heading {
        position: static;
    }

    .hospitality__visual {
        max-width: 48rem;
    }

    .construction-layout__visual {
        max-width: 48rem;
    }

    .ownership-package__list {
        max-width: 42rem;
    }
}

@media (max-width: 52rem) {
    .aparhotel-page .complex-hero__veil {
        background: linear-gradient(180deg, rgba(10, 14, 20, 0.28) 0%, rgba(10, 14, 20, 0.78) 42%, rgba(10, 14, 20, 0.95) 100%);
    }

    .aparhotel-page .complex-hero__image {
        object-position: 58% top;
    }

    .hospitality__visual img {
        height: min(74vw, 34rem);
    }

    .aparhotel-page .gallery-grid {
        grid-template-rows: minmax(19rem, 60vw) repeat(2, minmax(13rem, 40vw));
    }

    .financial-drivers__list {
        grid-template-columns: 1fr;
    }

    .financial-drivers__list li:last-child {
        grid-column: auto;
    }

    .financial-drivers__list li:nth-child(odd):not(:last-child) {
        border-right: 0;
    }
}

@media (max-width: 40rem) {
    .aparhotel-page .complex-hero__kicker {
        max-width: 100%;
        text-wrap: wrap;
    }

    .aparhotel-page .complex-intro__grid,
    .owner-models__layout,
    .operator-section__grid,
    .hospitality__layout,
    .financial-drivers__layout,
    .construction-layout,
    .ownership-package__grid,
    .aparhotel-page .complex-location__card {
        grid-template-columns: minmax(0, 1fr);
    }

    .aparhotel-page .complex-intro__grid > *,
    .owner-models__layout > *,
    .operator-section__grid > *,
    .hospitality__layout > *,
    .financial-drivers__layout > *,
    .construction-layout > *,
    .ownership-package__grid > *,
    .aparhotel-page .complex-location__card > * {
        min-width: 0;
        max-width: 100%;
    }

    .operator-section__copy .button {
        width: 100%;
        min-width: 0;
    }

    .operator-section__scope {
        min-height: 0;
        gap: 1.15rem;
        padding: 1.25rem;
        border-radius: 1.35rem;
    }

    .operator-section__scope-mark {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.55rem;
    }

    .aparhotel-format-grid .format-card {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
    }

    .aparhotel-format-grid--three .format-card:first-child {
        grid-template-columns: minmax(0, 1fr);
    }

    .aparhotel-format-grid .format-card__visual {
        min-height: 18.5rem;
        height: 18.5rem;
    }

    .aparhotel-format-grid .format-card__content {
        padding: 1rem 0.35rem 0.35rem;
    }

    .financial-driver--wide {
        grid-template-columns: 2.5rem minmax(0, 1fr);
    }

    .financial-driver--wide strong {
        position: absolute;
        right: 1rem;
        bottom: 0.8rem;
        z-index: 0;
    }

    .aparhotel-page .complex-hero .breadcrumbs {
        margin-bottom: 9.5rem;
    }

    .aparhotel-page .complex-hero h1 {
        max-width: 11ch;
        font-size: clamp(2.65rem, 11.4vw, 4.1rem);
    }

    .aparhotel-page .complex-hero__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aparhotel-page .complex-hero__facts div:last-child {
        grid-column: auto;
    }

    .aparhotel-advantages .advantage-card {
        min-height: 11rem;
    }

    .aparhotel-advantages .advantage-card__copy {
        margin-top: 1.5rem;
    }

    .owner-models__list li {
        grid-template-columns: 2.7rem minmax(0, 1fr);
        gap: 0.85rem;
        padding: 1.55rem 0;
    }

    .operator-section,
    .ownership-package {
        padding-block: 4rem;
    }

    .hospitality__visual,
    .construction-layout__visual {
        border-radius: var(--radius-md);
    }

    .hospitality__visual img {
        height: 20rem;
    }

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

    .hospitality__features li,
    .hospitality__features li:nth-child(even) {
        min-height: 0;
        padding: 1.1rem 0;
        border-left: 0;
    }

    .aparhotel-formats__grid {
        grid-template-columns: 1fr;
    }

    .aparhotel-format-card {
        min-height: 18rem;
        padding: 1.35rem;
    }

    .financial-drivers__list li,
    .financial-drivers__list li:last-child {
        min-height: 0;
        padding: 0.8rem 0.5rem;
    }

    .financial-drivers__list {
        padding: 0.25rem 0.7rem 0.65rem;
    }

    .financial-drivers {
        padding-block: 2.25rem;
    }

    .construction-layout__visual img {
        min-height: 22rem;
        height: 28rem;
    }

    .construction-gallery {
        gap: 0.3rem;
        padding: 0.3rem;
    }

    .construction-gallery figure {
        border-radius: 1.1rem;
    }

    .construction-gallery img {
        min-height: 0;
        height: 11rem;
    }

    .construction-gallery__latest img {
        height: 18rem;
    }

    .aparhotel-page .complex-location__card {
        min-height: 39rem;
    }

    .aparhotel-page .complex-closing h2 {
        font-size: clamp(2.25rem, 8.3vw, 3.25rem);
    }

    .aparhotel-selection .selection-dialog__mockup {
        height: 11rem;
        border-radius: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aparhotel-format-card,
    .aparhotel-format-card button {
        transition-duration: 0.01ms;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .aparhotel-page .complex-hero__form {
        background: rgba(18, 25, 35, 0.98);
        backdrop-filter: none;
    }

    .operator-section__scope {
        background: #263f48;
    }

    .hospitality__visual figcaption,
    .construction-layout__visual figcaption {
        background: var(--paper);
        backdrop-filter: none;
    }
}

@media (prefers-contrast: more) {
    .operator-section__scope,
    .aparhotel-format-card,
    .financial-drivers__list li,
    .ownership-package__list,
    .owner-models__list li {
        border-color: currentColor;
    }
}
