body {
    background:
        linear-gradient(180deg, rgba(224, 247, 252, 0.74) 0, rgba(247, 252, 253, 0.96) 220px, #f4fbfd 620px),
        #f4fbfd;
}

.site-main {
    background: transparent;
}

.property-page {
    --property-radius: var(--radius-md);
    --property-line: var(--line);
    --property-line-soft: var(--line-soft);
    --property-line-accent: var(--line-accent);
    --property-line-warm: rgba(241, 80, 68, 0.3);
    --property-card-bg: var(--surface);
    --property-soft-bg: rgba(248, 252, 253, 0.82);
    --property-warm-bg: rgba(255, 240, 238, 0.86);
    --property-shadow: var(--shadow-card);
    --property-shadow-hover: var(--shadow-card-hover);
    display: grid;
    width: min(var(--content-max), calc(100vw - 40px));
    margin-inline: calc(50% - min(var(--content-max), calc(100vw - 40px)) / 2);
    grid-template-columns: minmax(460px, 0.98fr) minmax(350px, 0.72fr) 340px;
    gap: 18px;
    align-items: start;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

.property-page .button,
.property-page button.button {
    font-weight: 700;
    letter-spacing: 0;
}

.property-top {
    display: contents;
}

.gallery {
    display: grid;
    gap: 6px;
    overflow: visible;
    border-radius: 8px;
    background: transparent;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 7px;
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(135deg, rgba(7, 27, 34, 0.96), rgba(7, 50, 71, 0.92)),
        var(--site-bg-deep);
}

.gallery__item:not(.gallery__item--main) {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    opacity: 0.94;
    transition: opacity 180ms ease, filter 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.gallery__item:not(.gallery__item--main):hover,
.gallery__item:not(.gallery__item--main):focus-within,
.gallery__item:not(.gallery__item--main).is-active {
    opacity: 1;
    filter: saturate(1.04);
    box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--brand-cyan-bright);
}

.gallery__button {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.gallery__item:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

.gallery__button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 260ms ease;
}

.gallery__item:not(.gallery__item--main) .gallery__button img {
    object-fit: cover;
}

.gallery__item--main .gallery__button img {
    transition: opacity 220ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery__item--main.is-switching .gallery__button img {
    opacity: 0;
    transform: scale(0.995);
}

.gallery__item:hover img,
.gallery__button:focus-visible img {
    transform: none;
}

.gallery__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    color: var(--accent-dark);
    cursor: pointer;
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    transform: translateY(-50%) scale(1);
    transform-origin: center;
    transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.gallery__nav--prev {
    left: 12px;
}

.gallery__nav--next {
    right: 12px;
}

.gallery__counter {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 6px;
    background: rgba(7, 27, 34, 0.72);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

.gallery__nav::before {
    content: "";
    width: 11px;
    height: 11px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
}

.gallery__nav--prev::before {
    transform: rotate(-45deg) translate(1px, 1px);
}

.gallery__nav--next::before {
    transform: rotate(135deg) translate(1px, 1px);
}

.gallery__nav:hover,
.gallery__nav:focus-visible {
    background: #fff;
    color: var(--accent);
    outline: none;
}

.gallery__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--muted);
    font-weight: 600;
}

.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    grid-template-rows: minmax(0, 1fr) minmax(78px, auto);
    gap: 10px;
    box-sizing: border-box;
    height: 100vh;
    height: 100dvh;
    padding: 18px 20px 14px;
    background: rgba(4, 14, 18, 0.92);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 0s linear 180ms;
}

.photo-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

html.is-photo-lightbox-open,
html.is-photo-lightbox-open body {
    overflow: hidden;
    overscroll-behavior: none;
}

.photo-lightbox__stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    overflow: hidden;
    padding: 0 44px 14px;
}

.photo-lightbox__image-wrap {
    display: inline-flex;
    max-width: min(100%, 1480px);
    max-height: 100%;
    border-radius: var(--property-radius);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
    transform: scale(1);
    transform-origin: center;
}

.photo-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--property-radius);
    object-fit: contain;
}

.photo-lightbox__close,
.photo-lightbox__nav {
    position: absolute;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(14px);
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.photo-lightbox__close:hover,
.photo-lightbox__close:focus-visible,
.photo-lightbox__nav:hover,
.photo-lightbox__nav:focus-visible {
    border-color: rgba(0, 216, 232, 0.72);
    background: rgba(0, 94, 165, 0.72);
    outline: none;
}

.photo-lightbox__close {
    top: 60px;
    right: 4px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.photo-lightbox__close::before,
.photo-lightbox__close::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.photo-lightbox__close::before {
    transform: rotate(45deg);
}

.photo-lightbox__close::after {
    transform: rotate(-45deg);
}

.photo-lightbox__nav {
    top: 50%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transform: translateY(-50%);
}

.photo-lightbox__nav--prev {
    left: 0;
}

.photo-lightbox__nav--next {
    right: 0;
}

.photo-lightbox__nav::before {
    content: "";
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
}

.photo-lightbox__nav--prev::before {
    transform: rotate(-45deg) translate(1px, 1px);
}

.photo-lightbox__nav--next::before {
    transform: rotate(135deg) translate(1px, 1px);
}

.photo-lightbox__counter {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 7px 10px;
    border-radius: var(--property-radius);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
}

.photo-lightbox__thumbs {
    display: flex;
    gap: 8px;
    align-self: end;
    max-width: min(100%, 1280px);
    min-height: 78px;
    max-height: 92px;
    margin: 0 auto;
    padding: 4px 0 10px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 216, 232, 0.72) rgba(255, 255, 255, 0.1);
}

.photo-lightbox__thumbs::-webkit-scrollbar {
    height: 6px;
}

.photo-lightbox__thumbs::-webkit-scrollbar-track {
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.1);
}

.photo-lightbox__thumbs::-webkit-scrollbar-thumb {
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, rgba(0, 216, 232, 0.78), rgba(0, 94, 165, 0.88));
}

.photo-lightbox__thumbs::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, var(--brand-cyan-bright), var(--brand-blue));
}

.photo-lightbox__thumb {
    flex: 0 0 92px;
    width: 92px;
    height: 68px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--property-radius);
    background: transparent;
    cursor: pointer;
    opacity: 0.7;
    overflow: hidden;
    scroll-snap-align: start;
    transition: border-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.photo-lightbox__thumb:hover,
.photo-lightbox__thumb:focus-visible,
.photo-lightbox__thumb.is-active {
    border-color: var(--brand-cyan-bright);
    opacity: 1;
    outline: none;
    transform: translateY(-1px);
}

.photo-lightbox__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-panel {
    border: 1px solid rgba(0, 158, 227, 0.12);
    border-radius: calc(var(--property-radius) + 2px);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(250, 253, 253, 0.96)),
        var(--property-card-bg);
    box-shadow: 0 18px 48px rgba(7, 27, 34, 0.075);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.summary {
    position: sticky;
    top: 92px;
    grid-column: 3;
    grid-row: 2 / span 3;
    display: grid;
    gap: 12px;
    align-content: start;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.fact,
.feature {
    padding: 11px 12px;
    border: 0;
    border-radius: 12px;
    background: rgba(244, 251, 252, 0.78);
}

.fact span,
.feature span {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.fact strong,
.feature strong {
    display: block;
    margin-top: 2px;
    font-size: 14px;
}

.content-panel {
    padding: 24px;
}

.content-panel--request {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-color: rgba(0, 158, 227, 0.18);
    background:
        radial-gradient(circle at 92% 0%, rgba(0, 253, 254, 0.14), transparent 32%),
        radial-gradient(circle at 0% 100%, rgba(0, 94, 165, 0.08), transparent 36%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(239, 252, 253, 0.92));
}

.content-panel--request::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(0, 253, 254, 0.92), rgba(0, 94, 165, 0.32), transparent);
}

.content-panel.content-panel--request h2 {
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 25px;
}

.content-panel--request .request-intro {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0 0 16px;
    color: #52656d;
    font-size: 14px;
    line-height: 1.5;
}

.content-panel--request .lead-form {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.content-panel h2 {
    margin: 0 0 12px;
    font-size: 23px;
    line-height: 1.12;
}

.content-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.content-panel__header h2 {
    margin: 0;
}

.content-panel__more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.18s ease, transform 0.18s ease;
}

.content-panel__more svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.content-panel__more:hover,
.content-panel__more:focus-visible {
    color: var(--accent-dark);
    outline: none;
    transform: translateX(2px);
}

.object-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: flex-end;
    margin: -4px 0 18px;
    border-bottom: 1px solid rgba(0, 158, 227, 0.1);
}

.object-tabs__button {
    position: relative;
    min-height: 38px;
    padding: 0 0 11px;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease;
}

.object-tabs__button::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    opacity: 0;
    transform: scaleX(0.72);
    transition: opacity 160ms ease, transform 160ms ease;
}

.object-tabs__button:hover,
.object-tabs__button:focus-visible,
.object-tabs__button.is-active {
    color: var(--accent-dark);
    outline: none;
}

.object-tabs__button.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.object-tab-panel[hidden] {
    display: none;
}

.description {
    display: grid;
    gap: 14px;
    color: #2c3437;
    font-size: 15.5px;
    line-height: 1.82;
    white-space: normal;
}

.description p {
    margin: 0;
    text-indent: 1.35em;
}

.description p:first-child {
    color: var(--ink);
    font-size: 16px;
    line-height: 1.78;
}

.description .description__lead {
    position: relative;
    overflow: hidden;
    margin-bottom: 2px;
    padding: 16px 18px 16px 20px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 216, 232, 0.12), transparent 36%),
        linear-gradient(145deg, rgba(244, 252, 253, 0.92), rgba(255, 255, 255, 0.98));
    box-shadow: inset 0 0 0 1px rgba(0, 158, 227, 0.1);
    text-indent: 0;
}

.description .description__lead::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: rgb(241 80 68);
}

.description .description__lead strong {
    font-weight: 700;
}

.description-shell {
    position: relative;
    max-height: none;
    overflow: hidden;
}

.description-shell.is-collapsible {
    max-height: 165px;
    transition: max-height 320ms ease;
}

.description-shell.is-collapsible::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 92px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 96%);
    pointer-events: none;
    transition: opacity 220ms ease;
}

.description-shell.is-expanded {
    max-height: var(--description-full-height, none);
}

.description-shell.is-expanded::after {
    opacity: 0;
}

.description-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 14px;
    border: 0;
    background: transparent;
    color: var(--accent-dark);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
}

.description-toggle.is-visible {
    display: inline-flex;
}

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

.description-toggle[aria-expanded="true"]::after {
    transform: translateY(2px) rotate(225deg);
}

.description--empty {
    display: block;
    padding: 14px 16px;
    border: 1px solid var(--property-line-soft);
    border-radius: var(--property-radius);
    background: var(--property-soft-bg);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.description-characteristics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.description-characteristic {
    display: grid;
    gap: 4px;
    min-height: 76px;
    padding: 14px 16px;
    border: 0;
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(241, 250, 252, 0.82));
    box-shadow: inset 0 0 0 1px rgba(0, 158, 227, 0.09);
}

.description-characteristic strong {
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.16;
}

.description-characteristic span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
}

.nearby-overview {
    display: grid;
    gap: 14px;
}

.nearby-overview__lead {
    margin: 0;
    max-width: 780px;
    color: #2c3437;
    font-size: 15px;
    line-height: 1.65;
}

.nearby-overview__map {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 7px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
}

.nearby-overview__map:hover,
.nearby-overview__map:focus-visible {
    color: var(--accent-dark);
    outline: none;
    transform: translateX(2px);
}

.nearby-overview__map svg {
    width: 16px;
    height: 16px;
}

.nearby-map {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 14px;
    align-items: stretch;
}

.nearby-map__canvas {
    min-height: 390px;
    overflow: hidden;
    border: 1px solid rgba(0, 158, 227, 0.14);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(232, 251, 253, 0.86), rgba(255, 255, 255, 0.96));
    box-shadow: 0 16px 34px rgba(0, 94, 165, 0.08);
}

.nearby-map__side {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 14px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 216, 232, 0.12), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 250, 252, 0.9));
    box-shadow: inset 0 0 0 1px rgba(0, 158, 227, 0.1);
}

.nearby-map__side strong {
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
}

.nearby-map__status {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.nearby-map__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.nearby-map__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 5px 8px;
    border: 1px solid rgba(0, 158, 227, 0.12);
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 600;
}

.nearby-map__chip::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--chip-color, var(--accent));
}

.nearby-map__list {
    display: grid;
    gap: 7px;
    max-height: 230px;
    margin: 0;
    padding: 0;
    overflow: auto;
    list-style: none;
}

.nearby-map__list li {
    display: grid;
    gap: 2px;
    padding: 9px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 0 0 1px rgba(0, 158, 227, 0.08);
}

.nearby-map__list b {
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.25;
}

.nearby-map__list span {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.25;
}

.nearby-map__fallback {
    display: grid;
    place-items: center;
    min-height: 220px;
    padding: 24px;
    border-radius: 14px;
    background: var(--property-soft-bg);
    color: var(--muted);
    text-align: center;
}

.agent {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    padding: 9px;
    border: 1px solid var(--property-line-accent);
    border-radius: var(--property-radius);
    background: var(--property-soft-bg);
}

.agent__photo {
    overflow: hidden;
    width: 52px;
    height: 52px;
    border-radius: var(--property-radius);
    background: var(--surface-soft);
}

.agent__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent__name {
    font-size: 14px;
    font-weight: 700;
}

.lead-form {
    display: grid;
    gap: 12px;
}

.lead-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lead-form label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.lead-form input,
.lead-form textarea,
.mini-lead input,
.mortgage-field input,
.seller-question textarea,
.seller-question input {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--property-line);
    border-radius: var(--property-radius);
    background: #fff;
    color: var(--ink);
    font: inherit;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lead-form input:hover,
.lead-form textarea:hover,
.mini-lead input:hover,
.mortgage-field input:hover,
.seller-question textarea:hover,
.seller-question input:hover {
    border-color: var(--property-line-accent);
}

.lead-form input:focus,
.lead-form textarea:focus,
.mini-lead input:focus,
.mortgage-field input:focus,
.seller-question textarea:focus,
.seller-question input:focus {
    border-color: var(--property-line-accent);
    box-shadow: var(--focus-ring);
    outline: none;
}

.lead-form textarea {
    min-height: 92px;
    padding-top: 10px;
    resize: vertical;
}

.content-panel--request .lead-form {
    gap: 12px;
}

.content-panel--request .lead-form input,
.content-panel--request .lead-form textarea {
    min-height: 50px;
    border-color: rgba(0, 158, 227, 0.18);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(0, 94, 165, 0.055);
}

.content-panel--request .lead-form__field {
    position: relative;
}

.content-panel--request .lead-form__icon {
    position: absolute;
    bottom: 14px;
    left: 14px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    color: var(--accent);
    pointer-events: none;
}

.content-panel--request .lead-form__icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.content-panel--request .lead-form__field input,
.content-panel--request .lead-form__field textarea {
    padding-left: 44px;
}

.content-panel--request .lead-form__icon--textarea {
    top: 39px;
    bottom: auto;
}

.content-panel--request .lead-form textarea {
    min-height: 118px;
}

.content-panel--request .lead-form label {
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.content-panel--request .form-consent {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.content-panel--request .lead-form label.privacy-consent {
    max-width: 720px;
    color: var(--privacy-consent-text);
    font-size: var(--privacy-consent-size);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.45;
    text-transform: none;
}

.content-panel--request .button {
    min-height: 52px;
    justify-self: start;
    min-width: 230px;
    background: linear-gradient(135deg, var(--accent-dark), var(--site-bg-deep));
    box-shadow: 0 14px 28px rgba(0, 94, 165, 0.18);
}

.content-panel--payments {
    border-color: rgba(0, 158, 227, 0.1);
    background:
        radial-gradient(circle at 92% 0%, rgba(0, 194, 220, 0.08), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(250, 253, 253, 0.97));
}

.lead-form__hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.property-breadcrumbs {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    padding: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.property-breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
    transition: color 160ms ease;
}

.property-breadcrumbs a:hover,
.property-breadcrumbs a:focus-visible {
    color: var(--accent);
    outline: none;
}

.property-breadcrumbs__separator {
    color: rgba(116, 111, 101, 0.48);
}

.property-breadcrumbs__code {
    color: rgba(113, 126, 136, 0.9);
    font-weight: 600;
}

.gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: minmax(0, clamp(276px, 25vw, 382px)) var(--gallery-thumb-height);
    height: auto;
}

.gallery__item {
    aspect-ratio: auto;
    min-width: 0;
    min-height: 0;
}

.gallery__item:first-child {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 0;
    box-shadow: var(--property-shadow);
}

.gallery__more {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 8px;
    border-radius: inherit;
    background: rgba(7, 27, 34, 0.62);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    pointer-events: none;
    box-shadow: none;
}

.gallery__item--video .gallery__button {
    text-decoration: none;
}

.gallery__item--video img {
    filter: brightness(0.58) saturate(0.95);
}

.gallery__video-play {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--accent-dark);
    transform: translate(-50%, -50%);
    box-shadow: 0 14px 34px rgba(7, 27, 34, 0.28);
}

.gallery__video-play svg {
    width: 18px;
    height: 18px;
    margin-left: 2px;
    fill: currentColor;
}

.gallery__video-label {
    position: absolute;
    right: 8px;
    bottom: 7px;
    z-index: 2;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(7, 27, 34, 0.68);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.property-media {
    grid-column: 1;
    min-width: 0;
}

.object-brief {
    position: relative;
    display: grid;
    grid-column: 2;
    gap: 16px;
    align-items: start;
    overflow: visible;
    min-width: 0;
    padding: 4px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.object-brief::before {
    content: none;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, rgb(241 80 68), rgba(0, 216, 232, 0.7), transparent);
}

.object-brief > * {
    position: relative;
    z-index: 1;
}

.object-brief__main {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding-right: 72px;
}

.object-brief__title {
    margin: 0;
    color: var(--ink);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.16;
}

.object-brief__meta {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.object-brief__address {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0;
    color: #4f6269;
    font-size: 14px;
    line-height: 1.45;
}

.object-brief__address svg {
    width: 24px;
    height: 24px;
    margin-top: -2px;
    color: var(--accent-warm);
    flex: 0 0 auto;
}

.object-brief__address span {
    min-width: 0;
}

.object-brief__location {
    display: grid;
    gap: 0;
}

.object-brief__location-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 14px;
    min-width: 0;
    margin-top: 2px;
    margin-left: 32px;
}

.object-brief__map-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
}

.object-brief__map-link svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.object-brief__map-link:hover {
    color: #006296;
    transform: translateX(2px);
}

.object-brief__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.object-brief__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border: 1px solid rgba(0, 158, 227, 0.12);
    border-radius: var(--radius-pill);
    background: rgba(232, 251, 253, 0.72);
    color: var(--accent);
    font-size: 12px;
    line-height: 1;
}

.object-brief__badge--warm {
    border-color: rgba(241, 80, 68, 0.16);
    background: rgba(255, 240, 238, 0.82);
    color: #c73930;
}

.object-brief__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: stretch;
    margin-top: 8px;
}

.object-brief__code {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    margin-left: auto;
    padding: 5px 10px;
    border: 1px solid rgba(0, 158, 227, 0.2);
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, rgba(232, 251, 253, 0.96), rgba(255, 255, 255, 0.88));
    color: #0f5f82;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(0, 158, 227, 0.1);
}

.object-brief__code span {
    color: rgba(17, 36, 44, 0.58);
}

.object-brief__code strong {
    color: var(--accent);
    font-size: 14px;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.object-brief__actions {
    position: absolute;
    top: 4px;
    right: 0;
    z-index: 2100;
    display: block;
    padding-top: 0;
    border-top: 0;
}

.object-brief__actions .share-panel__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    height: 100%;
}

.object-brief__actions .share-dropdown {
    position: relative;
    z-index: 2100;
    flex: 0 0 28px;
    width: 28px;
    overflow: visible;
}

.object-brief__actions .share-dropdown.is-open {
    z-index: 2200;
}

.object-brief__actions .icon-action {
    width: 28px;
    height: 100%;
    min-height: 28px;
    padding: 0;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    font-size: 12px;
}

.object-brief__actions .icon-action svg {
    width: 15px;
    height: 15px;
    color: rgba(0, 94, 165, 0.78);
}

.object-brief__actions .icon-action:hover,
.object-brief__actions .icon-action:focus-visible,
.object-brief__actions .icon-action.is-active {
    border-color: transparent;
    background: rgba(232, 251, 253, 0.9);
    box-shadow: none;
}

.object-brief__actions .icon-action[data-property-favorite].is-active {
    border-color: transparent;
    background: rgba(255, 240, 238, 0.72);
    color: var(--accent-warm);
}

.object-brief__actions .icon-action > span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.object-brief__actions .share-menu {
    right: 0;
    left: auto;
    z-index: 2200;
    transform-origin: right top;
}

.object-brief__facts {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.object-brief__price-line {
    display: grid;
    justify-items: end;
    gap: 5px;
    padding-top: 2px;
    text-align: right;
}

.object-brief__price-head {
    display: flex;
    width: 100%;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.object-brief__price-label {
    color: #47484a;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    margin-left: 10px;
}

.object-brief__price-value {
    color: var(--ink);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.05;
}

.object-brief__price-sqm,
.object-brief__mortgage {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.object-brief__price-sqm strong {
    color: var(--ink);
    font-weight: 800;
}

.object-brief__mortgage strong {
    color: var(--accent);
    font-size: 17px;
    font-weight: 800;
}

.summary {
    gap: 14px;
}

.summary-panel {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--property-line);
    border-radius: var(--property-radius);
    background: var(--property-card-bg);
    box-shadow: var(--property-shadow);
    overflow: hidden;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.summary-panel--agent:hover,
.summary-panel--question:hover,
.summary-panel--support:hover,
.content-panel--request:hover,
.content-panel--payments:hover {
    border-color: rgba(0, 194, 220, 0.32);
    box-shadow: var(--property-shadow-hover);
}

.summary-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-cyan-bright), rgba(0, 94, 165, 0.24), transparent);
    opacity: 0.9;
}

.summary-panel > * {
    position: relative;
    z-index: 1;
}

.summary-panel--agent {
    gap: 10px;
    padding: 16px;
    border-color: rgba(0, 158, 227, 0.18);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 94, 165, 0.08);
}

.summary-panel--agent::before {
    content: none;
}

.summary-panel--agent .summary-panel__eyebrow {
    margin: 0 0 1px;
    color: #71848e;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.1;
    text-transform: none;
}

.summary-panel--agent .summary-panel__eyebrow::before {
    content: none;
}

.summary-panel--question {
    z-index: 3;
    border-color: rgba(0, 158, 227, 0.16);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 253, 0.96)),
        #fff;
}

.summary-panel--mortgage {
    z-index: 1;
    border-color: rgba(0, 158, 227, 0.18);
    background: #fff;
    color: var(--ink);
}

.summary-panel--mortgage::before {
    content: none;
}

.summary-panel--support {
    box-shadow: none;
}

.summary-panel__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.summary-panel__eyebrow::before {
    content: "";
    width: 18px;
    height: 1px;
    background: var(--brand-cyan-bright);
}

.realtor-card {
    display: grid;
    gap: 14px;
}

.realtor-card__top {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
}

.realtor-card__photo {
    position: relative;
    overflow: hidden;
    width: 58px;
    height: 70px;
    border-radius: 6px;
    background: linear-gradient(145deg, var(--property-soft-bg), #fff);
    box-shadow: inset 0 0 0 1px var(--property-line-accent);
}

.realtor-card__photo img,
.realtor-card__initial {
    width: 100%;
    height: 100%;
}

.realtor-card__photo img {
    object-fit: cover;
}

.realtor-card__initial {
    display: grid;
    place-items: center;
    color: var(--accent);
    font-size: 30px;
    font-weight: 700;
}

.realtor-card__info {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.realtor-card__rating {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 5px;
    margin-top: 4px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.realtor-card__rating svg {
    width: 13px;
    height: 13px;
    fill: #f5b800;
    color: #f5b800;
}

.realtor-card__name {
    margin: 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
}

.realtor-card__name a {
    color: inherit;
}

.realtor-card__position {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.25;
}

.realtor-card__cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}

.realtor-card__phone {
    position: relative;
    overflow: hidden;
    display: inline-grid;
    grid-template-columns: auto auto;
    gap: 6px;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 36px;
    padding: 8px 6px;
    border: 1px solid rgba(0, 158, 227, 0.22);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--accent);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    transform: translateZ(0);
    transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, background-color 160ms ease;
}

.realtor-card__phone:hover,
.realtor-card__phone:focus-visible {
    border-color: var(--property-line-accent);
    color: var(--accent);
    outline: none;
    box-shadow: 0 8px 18px rgba(0, 158, 227, 0.12);
}

.realtor-card__phone.is-visible {
    border-color: rgba(0, 158, 227, 0.28);
    background: linear-gradient(135deg, #fff, rgba(226, 249, 253, 0.9));
    color: var(--accent-dark);
    padding-block: 7px;
}

.realtor-card__phone svg {
    width: 16px;
    height: 16px;
    color: var(--brand-cyan);
    transition: color 160ms ease;
}

.realtor-card__phone.is-visible svg {
    color: var(--accent);
}

.realtor-card__phone span {
    position: relative;
    min-width: 0;
    color: inherit;
    font-size: 12px;
    line-height: 1.15;
    white-space: nowrap;
    transition: opacity 160ms ease, transform 160ms ease;
}

.realtor-card__phone.is-revealing span {
    animation: phoneRevealLabel 360ms ease both;
}

.realtor-card__phone strong {
    display: none;
    grid-column: 1 / -1;
    font-size: 14px;
    line-height: 1.1;
}

.realtor-card__phone[href] strong {
    display: none;
}

@keyframes phoneRevealLabel {
    0% {
        opacity: 0;
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .realtor-card__phone,
    .realtor-card__phone::before,
    .realtor-card__phone svg,
    .realtor-card__phone span {
        animation: none !important;
        transition: none !important;
    }
}

.realtor-card__callback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 36px;
    padding: 8px 6px;
    border: 1px solid rgba(0, 158, 227, 0.22);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94) !important;
    color: var(--accent) !important;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none;
}

.realtor-card__callback:hover,
.realtor-card__callback:focus-visible {
    border-color: var(--property-line-accent);
    background: #fff;
    color: var(--accent);
    box-shadow: 0 8px 18px rgba(0, 158, 227, 0.12);
    transform: translateY(-1px);
}

.realtor-card__callback svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: var(--brand-cyan);
}

.seller-question {
    display: grid;
    gap: 10px;
    padding-top: 0;
}

.seller-question label {
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
}

.seller-question input {
    width: 100%;
}

.seller-question__message {
    position: relative;
}

.seller-question input {
    min-height: 48px;
    padding: 0 54px 0 14px;
    border-color: rgba(0, 158, 227, 0.2);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 253, 254, 0.92));
    font-size: 13px;
    font-weight: 600;
}

.seller-question__submit {
    position: absolute;
    top: 50%;
    right: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(0, 94, 165, 0.2);
    transform: translateY(-50%);
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.seller-question__submit:hover,
.seller-question__submit:focus-visible {
    outline: none;
    transform: translateY(-50%) translateY(-1px);
    box-shadow: 0 16px 30px rgba(0, 94, 165, 0.28);
}

.seller-question__submit svg {
    width: 18px;
    height: 18px;
}

.seller-question__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.seller-question__quick button {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 9px;
    border: 1px solid var(--property-line-accent);
    border-radius: var(--property-radius);
    background: var(--property-soft-bg);
    color: var(--accent);
    font: inherit;
    font-size: 11.5px;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.seller-question__quick button:hover,
.seller-question__quick button:focus-visible {
    border-color: var(--brand-cyan);
    background: #fff;
    outline: none;
    transform: translateY(-1px);
}

.property-consent-note {
    flex-basis: 100%;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}

.property-consent-note a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    background-image: radial-gradient(circle, rgba(0, 94, 165, 0.35) 1px, transparent 1.35px);
    background-repeat: repeat-x;
    background-position: 0 calc(100% - 1px);
    background-size: 5px 2px;
}

.property-contact-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

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

.property-contact-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 10%, rgba(0, 253, 254, 0.12), transparent 36%),
        rgba(4, 18, 24, 0.68);
    backdrop-filter: blur(10px);
}

.property-contact-modal__dialog {
    position: relative;
    width: min(100%, 460px);
    overflow: hidden;
    border: 1px solid rgba(0, 158, 227, 0.18);
    border-radius: 18px;
    background:
        radial-gradient(circle at 90% 0%, rgba(0, 253, 254, 0.12), transparent 36%),
        #fff;
    box-shadow: 0 30px 80px rgba(7, 27, 34, 0.28);
    transform: translateY(14px) scale(0.98);
    transition: transform 220ms ease;
}

.property-contact-modal.is-open .property-contact-modal__dialog {
    transform: translateY(0) scale(1);
}

.property-contact-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(7, 27, 34, 0.06);
    color: var(--ink);
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.property-contact-modal__close::before,
.property-contact-modal__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.property-contact-modal__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.property-contact-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.property-contact-modal__close:hover,
.property-contact-modal__close:focus-visible {
    background: rgba(0, 158, 227, 0.1);
    color: var(--accent);
    outline: none;
    transform: translateY(-1px);
}

.property-contact-modal__content {
    display: grid;
    gap: 20px;
    padding: 42px 24px 24px;
}

.property-contact-modal__title {
    max-width: 340px;
    margin: 0 auto;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.18;
    text-align: center;
}

.property-contact-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--line);
}

.property-contact-tabs button {
    position: relative;
    min-height: 46px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.property-contact-tabs button::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--brand-cyan-bright), var(--accent));
    opacity: 0;
    transform: scaleX(0.68);
    transition: opacity 160ms ease, transform 160ms ease;
}

.property-contact-tabs button.is-active {
    color: var(--ink);
}

.property-contact-tabs button.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.property-contact-panel {
    display: none;
}

.property-contact-panel.is-active {
    display: grid;
    gap: 14px;
}

.property-contact-form {
    display: grid;
    gap: 14px;
}

.property-contact-form label {
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.property-contact-field {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    min-height: 52px;
    overflow: hidden;
    border: 1px solid var(--property-line);
    border-radius: var(--radius-sm);
    background: #fff;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.property-contact-field:focus-within {
    border-color: var(--property-line-accent);
    box-shadow: var(--focus-ring);
}

.property-contact-field__prefix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-right: 1px solid var(--line);
    color: var(--ink);
    font-weight: 700;
}

.property-contact-field__flag {
    display: inline-block;
    width: 24px;
    height: 16px;
    box-shadow: 0 0 0 1px rgba(20, 24, 31, 0.08);
    background: linear-gradient(#fff 0 33.33%, #1d57a8 33.33% 66.66%, #d52b1e 66.66%);
}

.property-contact-field__prefix svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.property-contact-field input {
    width: 100%;
    border: 0;
    padding: 0 14px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    outline: none;
}

.property-contact-modal .button {
    width: 100%;
    min-height: 52px;
}

.property-contact-modal .privacy-consent {
    --privacy-consent-size: 11.5px;
    color: var(--privacy-consent-text);
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.45;
}

.property-contact-modal .form-consent {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.property-contact-modal .form-consent a {
    color: var(--accent);
    font-weight: 600;
}

.property-contact-messengers {
    display: grid;
    gap: 10px;
}

.property-contact-messenger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
    padding: 0 16px;
    border: 1px solid var(--property-line);
    border-radius: var(--radius-sm);
    background: rgba(248, 252, 253, 0.88);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.property-contact-messenger:hover,
.property-contact-messenger:focus-visible {
    border-color: var(--property-line-accent);
    background: #fff;
    color: var(--accent);
    outline: none;
    transform: translateY(-1px);
}

.property-contact-messenger__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
}

.property-contact-messenger__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.property-contact-messenger__label {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.property-contact-panel__note {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.quick-question-modal .property-contact-modal__title {
    max-width: 380px;
}

.quick-question-modal__question {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.quick-question-modal__answer {
    padding: 16px;
    border: 1px solid rgba(0, 158, 227, 0.18);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(231, 249, 252, 0.96), rgba(255, 255, 255, 0.94)),
        #fff;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    box-shadow: 0 14px 34px rgba(0, 94, 165, 0.08);
}

.quick-question-modal__answer p {
    margin: 0;
}

.quick-question-modal__cursor {
    display: none;
    width: 2px;
    height: 1.1em;
    margin-left: 3px;
    border-radius: 2px;
    background: var(--accent);
    vertical-align: -0.16em;
}

@media (max-width: 620px) {
    .property-contact-modal {
        padding: 12px;
    }

    .property-contact-modal__dialog {
        border-radius: 16px;
    }

    .property-contact-modal__content {
        gap: 17px;
        padding: 42px 18px 20px;
    }

    .property-contact-modal__title {
        max-width: 280px;
        font-size: 22px;
    }

    .property-contact-tabs button {
        min-height: 42px;
    }
}

.share-panel {
    display: grid;
    gap: 7px;
    padding-top: 2px;
}

.share-panel__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.share-dropdown {
    position: relative;
    min-width: 0;
}

.share-dropdown > .icon-action {
    width: 100%;
}

.share-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    z-index: 2200;
    display: grid;
    width: 230px;
    gap: 10px;
    padding: 13px 14px 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 252, 254, 0.74)),
        rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 42px rgba(7, 27, 34, 0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px) scale(0.98);
    transform-origin: left top;
    transition: opacity 160ms ease, transform 160ms ease;
}

.share-dropdown.is-open .share-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.share-menu.is-floating {
    position: fixed;
    z-index: 10000;
    right: auto;
    bottom: auto;
    left: auto;
    top: auto;
    transform-origin: right top;
}

.share-menu__title {
    margin: 0;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.share-menu__icons {
    display: flex;
    align-items: center;
    gap: 9px;
}

.share-menu__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.share-menu__item:hover,
.share-menu__item:focus-visible {
    outline: none;
    transform: translateY(-1px);
}

.share-menu__item--email {
    background: #00b7c9;
}

.share-menu__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 0;
    background: transparent;
    color: currentColor;
    font-size: 11px;
    font-weight: 800;
}

.share-menu__icon svg {
    width: 24px;
    height: 24px;
}

.share-menu__icon img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.share-menu__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(0, 158, 227, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink-soft);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.share-menu__copy:hover,
.share-menu__copy:focus-visible {
    border-color: var(--brand-cyan);
    color: var(--accent);
    outline: none;
    box-shadow: 0 8px 20px rgba(0, 94, 165, 0.1);
}

.share-menu__item[data-tooltip],
.icon-action[data-tooltip] {
    position: relative;
}

.share-menu__item[data-tooltip]::before,
.icon-action[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 9px);
    z-index: 30;
    display: block;
    max-width: 220px;
    padding: 7px 10px;
    border: 1px solid rgba(0, 158, 227, 0.16);
    border-radius: 8px;
    background: rgba(7, 27, 34, 0.94);
    color: #fff;
    box-shadow: 0 14px 30px rgba(7, 27, 34, 0.18);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    transform: translate(-50%, 4px);
    transition: opacity 140ms ease, transform 140ms ease;
    white-space: nowrap;
}

.share-menu__item[data-tooltip]::after,
.icon-action[data-tooltip]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    z-index: 29;
    width: 9px;
    height: 9px;
    border-right: 1px solid rgba(0, 158, 227, 0.16);
    border-bottom: 1px solid rgba(0, 158, 227, 0.16);
    background: rgba(7, 27, 34, 0.94);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px) rotate(45deg);
    transition: opacity 140ms ease, transform 140ms ease;
}

.share-menu__item[data-tooltip]:hover::before,
.share-menu__item[data-tooltip]:focus-visible::before,
.icon-action[data-tooltip]:hover::before,
.icon-action[data-tooltip]:focus-visible::before,
.share-menu__item[data-tooltip]:hover::after,
.share-menu__item[data-tooltip]:focus-visible::after,
.icon-action[data-tooltip]:hover::after,
.icon-action[data-tooltip]:focus-visible::after {
    opacity: 1;
}

.share-menu__item[data-tooltip]:hover::before,
.share-menu__item[data-tooltip]:focus-visible::before,
.icon-action[data-tooltip]:hover::before,
.icon-action[data-tooltip]:focus-visible::before {
    transform: translate(-50%, 0);
}

.share-menu__item[data-tooltip]:hover::after,
.share-menu__item[data-tooltip]:focus-visible::after,
.icon-action[data-tooltip]:hover::after,
.icon-action[data-tooltip]:focus-visible::after {
    transform: translate(-50%, 0) rotate(45deg);
}

.icon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--property-line);
    border-radius: var(--property-radius);
    background: #fff;
    color: var(--accent-dark);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.icon-action:hover,
.icon-action:focus-visible,
.icon-action.is-active {
    border-color: var(--brand-cyan);
    color: var(--accent);
    outline: none;
    box-shadow: 0 10px 24px rgba(0, 94, 165, 0.1);
    transform: translateY(-1px);
}

.icon-action[data-property-favorite].is-active {
    border-color: var(--property-line-warm);
    background: var(--accent-warm-soft);
    color: var(--accent-warm);
    box-shadow: 0 10px 24px rgba(241, 80, 68, 0.12);
}

.icon-action[data-property-favorite].is-active svg {
    color: var(--accent-warm);
}

.icon-action[data-property-favorite].is-active svg path {
    fill: var(--accent-warm);
}

.icon-action[data-property-favorite] .favorite-heart-fill {
    fill: var(--accent-warm);
    opacity: 0;
    transition: opacity 160ms ease;
}

.icon-action[data-property-favorite].is-active .favorite-heart-fill {
    opacity: 1;
}

.icon-action svg {
    width: 18px;
    height: 18px;
    color: var(--brand-cyan);
}

.mortgage-card__eyebrow {
    display: none;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: var(--brand-cyan-bright);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mortgage-card__eyebrow::before {
    content: "";
    width: 20px;
    height: 1px;
    background: currentColor;
    opacity: 0.9;
}

.mortgage-card__heading {
    display: grid;
    gap: 4px;
}

.highlight {
    display: grid;
    gap: 4px;
    min-height: 78px;
    padding: 13px;
    border: 1px solid var(--property-line);
    border-radius: var(--property-radius);
    background: #fff;
    box-shadow: var(--property-shadow);
}

.highlight span {
    color: var(--muted);
    font-size: 12px;
}

.highlight strong {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.16;
}

.object-brief__facts .highlight {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-height: 64px;
    padding: 10px;
    border-color: transparent;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 252, 253, 0.94));
    box-shadow: inset 0 0 0 1px rgba(0, 158, 227, 0.13);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.object-brief__facts .highlight:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(0, 194, 220, 0.22), 0 16px 34px rgba(0, 94, 165, 0.08);
}

.highlight__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 20%;
    background: rgb(0 216 232 / 19%);
    color: var(--accent);
}

.highlight__icon svg {
    width: 27px;
    height: 27px;
    stroke: currentColor;
}

.object-brief__facts .highlight__icon {
    width: 30px;
    height: 30px;
}

.object-brief__facts .highlight__icon svg {
    width: 20px;
    height: 20px;
}

.highlight__content {
    min-width: 0;
}

.object-brief__facts .highlight__content span {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.object-brief__facts .highlight__content strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
}

.highlight__link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--accent);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
    transition: color 160ms ease;
}

.highlight__link:hover,
.highlight__link:focus-visible {
    color: var(--accent-warm);
    outline: none;
}

.detail-grid {
    display: contents;
}

.detail-main {
    grid-column: 1 / span 2;
}

.detail-main > section + section {
    margin-top: 22px;
}

.appeal-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(500px, 1fr);
    gap: 22px;
    align-items: center;
    padding: 20px 22px;
    border: 1px solid rgba(0, 216, 232, 0.58);
    border-radius: 7px;
    background:
        linear-gradient(90deg, rgba(236, 253, 255, 0.96) 0%, rgba(246, 253, 255, 0.94) 48%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow:
        0 14px 32px rgba(0, 94, 165, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.78) inset;
    overflow: hidden;
}

.appeal-panel::before {
    content: none;
}

.appeal-panel::after {
    content: none;
    position: absolute;
    right: -60px;
    bottom: -86px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241, 80, 68, 0.13), transparent 68%);
    pointer-events: none;
}

.appeal-panel__content,
.offer-lead {
    position: relative;
    z-index: 1;
}

.appeal-panel__content {
    display: grid;
    gap: 6px;
    min-height: 56px;
    padding-left: 72px;
    align-content: center;
}

.appeal-panel__content::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 2px solid rgba(0, 216, 232, 0.82);
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 11.5L12 5l8 6.5' stroke='%23005ea5' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.5 10.5V20h11v-9.5' stroke='%23005ea5' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10 20v-5h4v5' stroke='%23005ea5' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 28px 28px no-repeat,
        rgba(244, 253, 255, 0.95);
    color: var(--accent);
    box-shadow: 0 10px 22px rgba(0, 158, 227, 0.12);
    transform: translateY(-50%);
}

.appeal-panel__badge {
    display: none;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    padding: 4px 9px;
    border: 1px solid rgba(241, 80, 68, 0.18);
    border-radius: var(--radius-pill);
    background: rgba(241, 80, 68, 0.08);
    color: rgb(241 80 68);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.appeal-panel strong {
    display: block;
    position: relative;
    color: var(--ink);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.12;
}

.appeal-panel__text {
    display: block;
    position: relative;
    margin-top: 3px;
    max-width: 360px;
    color: #52656d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.mini-lead {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.mini-lead input {
    width: 230px;
    min-height: 46px;
    border-color: rgba(0, 158, 227, 0.22);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 18px rgba(0, 94, 165, 0.05);
}

.viewing-lead__phone {
    position: relative;
    display: block;
    flex: 0 0 auto;
}

.viewing-lead__phone::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 1;
    width: 18px;
    height: 18px;
    background: var(--accent);
    transform: translateY(-50%);
    pointer-events: none;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.15 6.59 6.59l2.2-2.2c.3-.3.74-.4 1.13-.27 1.24.41 2.57.63 3.96.63.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.84 21 3 13.16 3 3.5c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.39.22 2.72.63 3.96.13.39.03.83-.27 1.13l-2.24 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.15 6.59 6.59l2.2-2.2c.3-.3.74-.4 1.13-.27 1.24.41 2.57.63 3.96.63.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.84 21 3 13.16 3 3.5c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.39.22 2.72.63 3.96.13.39.03.83-.27 1.13l-2.24 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.viewing-lead__phone input {
    padding-left: 42px;
}

.viewing-lead .button {
    min-height: 46px;
    border-radius: 6px;
    background: linear-gradient(180deg, #00689f, #00517e);
    box-shadow: 0 12px 26px rgba(0, 94, 165, 0.2);
}

.viewing-lead {
    flex-wrap: wrap;
    align-self: end;
}

.mini-lead .privacy-consent {
    flex: 1 0 100%;
    max-width: 620px;
    margin-left: auto;
    text-align: left;
}

.viewing-lead .property-consent-note {
    width: 100%;
    margin-top: 0;
    text-align: right;
}

.offer-lead {
    position: relative;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.offer-lead__price {
    position: relative;
    flex: 1 1 260px;
    min-width: 0;
}

.offer-lead__price::before {
    content: "₽";
    position: absolute;
    top: 50%;
    left: 13px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 216, 232, 0.12);
    color: var(--accent);
    font-size: 17px;
    font-weight: 800;
    transform: translateY(-50%);
    pointer-events: none;
}

.offer-lead input[name="offer_price"] {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 0 16px 0 50px;
    border-color: rgba(0, 158, 227, 0.24);
    background: rgba(255, 255, 255, 0.98);
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(0, 94, 165, 0.07);
}

.offer-lead .button {
    flex: 0 0 auto;
    min-height: 56px;
    padding-inline: 24px;
    white-space: nowrap;
}

.offer-lead__error {
    display: none;
    flex-basis: 100%;
    color: var(--accent-warm-dark);
    font-size: 12px;
    text-align: right;
}

.mini-lead .property-consent-note,
.offer-lead .property-consent-note {
    text-align: right;
}

.offer-lead.has-error .offer-lead__error {
    display: block;
}

.price-offer-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(420px, 1fr);
    gap: 22px;
    align-items: center;
    padding: 22px 24px;
    border: 1px solid rgba(0, 216, 232, 0.28);
    border-radius: 8px;
    background:
        radial-gradient(circle at 4% 50%, rgba(0, 216, 232, 0.18), transparent 34%),
        linear-gradient(135deg, #052c38 0%, #06445f 48%, #005e9f 100%);
    color: #fff;
    box-shadow: 0 18px 42px rgba(0, 94, 165, 0.18);
    overflow: hidden;
}

.price-offer-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 42%);
    pointer-events: none;
}

.price-offer-panel__content,
.price-offer-panel .offer-lead {
    position: relative;
    z-index: 1;
}

.price-offer-panel__content {
    display: grid;
    gap: 6px;
}

.price-offer-panel__eyebrow {
    display: inline-flex;
    width: fit-content;
    color: var(--brand-cyan-bright);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.price-offer-panel strong {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.12;
}

.price-offer-panel__text {
    max-width: 390px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.price-offer-panel .offer-lead__price {
    flex-basis: 280px;
}

.price-offer-panel .offer-lead__price::before {
    background: rgba(0, 216, 232, 0.16);
    color: #005ea5;
}

.price-offer-panel .offer-lead input[name="offer_price"] {
    min-height: 52px;
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(4, 28, 37, 0.18);
}

.price-offer-panel .offer-lead .button {
    min-height: 52px;
    border: 1px solid rgba(0, 216, 232, 0.48);
    background: linear-gradient(135deg, #00a6df, #007fc1);
    box-shadow: 0 14px 30px rgba(0, 94, 165, 0.26);
}

.price-offer-panel .offer-lead__error {
    color: #ffd6d2;
}

.feature {
    min-height: 68px;
    background: #fff;
}

.mortgage-card {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--property-line);
    border-radius: var(--property-radius);
    background: #fff;
    box-shadow: var(--property-shadow);
}

.summary .mortgage-card {
    padding: 14px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 94, 165, 0.08);
}

.mortgage-card h2 {
    margin: 0;
    color: var(--accent-dark);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
}

.mortgage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 8px;
}

.mortgage-field label {
    display: block;
    margin-bottom: 4px;
    color: #6f808a;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.15;
}

.mortgage-field input {
    width: 100%;
    min-height: 34px;
    padding: 0 10px;
    border-color: rgba(0, 158, 227, 0.18);
    border-radius: 5px;
    background: #fff;
    color: #17313d;
    font-size: 12px;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.mortgage-field__control {
    position: relative;
    display: block;
}

.mortgage-field__control input {
    padding-right: 42px;
}

.mortgage-field__suffix {
    position: absolute;
    top: 50%;
    right: 10px;
    color: #6f808a;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
}

.mortgage-field input:hover,
.mortgage-field input:focus {
    border-color: rgba(0, 158, 227, 0.42);
}

.mortgage-result {
    display: grid;
    justify-items: center;
    gap: 9px;
    margin-top: 4px;
    padding: 16px 14px 13px;
    border: 1px solid rgba(0, 216, 232, 0.24);
    border-radius: 6px;
    background:
        radial-gradient(circle at 88% 8%, rgba(0, 216, 232, 0.18), transparent 36%),
        linear-gradient(145deg, #04303f, #005e9f);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 24px rgba(0, 94, 165, 0.18);
    text-align: center;
}

.mortgage-result span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.mortgage-result strong {
    display: block;
    margin-top: -4px;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.12;
}

.mortgage-card .button--ghost {
    min-height: 42px;
    width: 100%;
    border: 0;
    border-radius: 5px;
    background: linear-gradient(135deg, #00a6df, #008bd3);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 94, 165, 0.24);
}

.mortgage-card .button--ghost:hover,
.mortgage-card .button--ghost:focus-visible {
    background: linear-gradient(135deg, #00bde8, #007dc3);
    color: #fff;
}

.side-note {
    padding: 16px;
    border: 1px solid var(--property-line-soft);
    border-radius: var(--property-radius);
    background: var(--property-soft-bg);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.side-note.summary-panel {
    border-color: rgba(0, 94, 165, 0.1);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 252, 253, 0.98)),
        var(--property-soft-bg);
}

.side-note.summary-panel--support {
    gap: 14px;
    padding: 18px;
    border-color: rgba(0, 158, 227, 0.14);
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 216, 232, 0.12), transparent 34%),
        radial-gradient(circle at 0% 100%, rgba(0, 94, 165, 0.08), transparent 38%),
        linear-gradient(145deg, #fff, rgba(249, 253, 254, 0.96));
    color: var(--ink);
    box-shadow: 0 18px 42px rgba(7, 27, 34, 0.08);
}

.side-note.summary-panel--support::before {
    height: 2px;
    background: linear-gradient(90deg, var(--brand-cyan-bright), rgba(0, 94, 165, 0.24), transparent);
}

.support-card__head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.support-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 158, 227, 0.18);
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.95), transparent 32%),
        rgba(232, 251, 253, 0.92);
    color: var(--accent);
}

.support-card__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.support-card__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.support-card__title {
    display: block;
    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.support-card__text {
    margin: 0;
    color: #52656d;
    font-size: 13px;
    line-height: 1.5;
}

.support-card__list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.support-card__list li {
    position: relative;
    padding-left: 22px;
    color: #243940;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.support-card__list li::before {
    content: "";
    position: absolute;
    top: 0.42em;
    left: 2px;
    width: 9px;
    height: 5px;
    border-left: 2px solid #22b573;
    border-bottom: 2px solid #22b573;
    transform: rotate(-45deg);
}

.summary-panel--sell {
    min-height: 164px;
    padding: 18px 150px 18px 18px;
    border-color: rgba(0, 158, 227, 0.16);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0 52%, rgba(255, 255, 255, 0.45)),
        url('/img/action-icons-v3/sell.png') right bottom / auto 100% no-repeat,
        linear-gradient(145deg, #fff, rgba(232, 251, 253, 0.9));
}

.summary-panel--sell::before {
    height: 0;
}

.sell-card__title {
    margin: 0;
    max-width: 165px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.sell-card__text {
    margin: 0;
    max-width: 170px;
    color: #52656d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.38;
}

.sell-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(0, 158, 227, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(0, 94, 165, 0.08);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.sell-card__button:hover,
.sell-card__button:focus-visible {
    border-color: var(--brand-cyan-bright);
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(0, 94, 165, 0.13);
}

.match-banner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 20px 24px;
    border: 1px solid rgba(0, 216, 232, 0.32);
    border-radius: 8px;
    background:
        radial-gradient(circle at 12% 50%, rgba(0, 216, 232, 0.18), transparent 26%),
        linear-gradient(135deg, #053744 0%, #005e9f 100%);
    color: #fff;
    box-shadow: 0 18px 38px rgba(0, 94, 165, 0.18);
}

.match-banner__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 50%;
    color: var(--brand-cyan-bright);
    background: rgba(255, 255, 255, 0.06);
}

.match-banner__icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
}

.match-banner__content {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.match-banner__content strong {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.12;
}

.match-banner__content span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.match-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(4, 28, 37, 0.2);
    transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.match-banner__button:hover,
.match-banner__button:focus-visible {
    color: var(--accent-dark);
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(4, 28, 37, 0.26);
}

.match-banner__button svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.similar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.payment-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    min-height: 110px;
    padding: 19px;
    border: var(--ui-card-border);
    border-radius: 14px;
    background: var(--ui-card-bg), #fff;
    box-shadow: var(--ui-card-shadow);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.payment-card:hover,
.payment-card:focus-within {
    border-color: var(--ui-card-border-hover);
    box-shadow: var(--ui-card-shadow-hover);
}

.payment-card__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(241, 80, 68, 0.16);
    border-radius: 50%;
    background: rgba(241, 80, 68, 0.08);
    color: rgb(241 80 68);
}

.payment-card__icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: rgb(241 79 67);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.payment-card strong {
    display: block;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.2;
}

.payment-card span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.price-chart {
    display: grid;
    gap: 14px;
}

.price-chart__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
}

.price-chart__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid var(--property-line-warm);
    border-radius: var(--property-radius);
    background: var(--accent-warm-soft);
    color: var(--accent-warm-dark);
    font-size: 12px;
    font-weight: 700;
}

.price-chart__badge--up {
    border-color: var(--property-line-accent);
    background: var(--property-soft-bg);
    color: var(--accent-dark);
}

.price-chart__canvas {
    overflow: hidden;
    border: 1px solid var(--property-line-soft);
    border-radius: var(--property-radius);
    background: linear-gradient(180deg, #fff, var(--property-soft-bg));
}

.price-chart svg {
    display: block;
    width: 100%;
    height: auto;
}

.price-chart__axis {
    stroke: rgba(20, 24, 31, 0.1);
}

.price-chart__area {
    fill: rgba(241, 80, 68, 0.1);
}

.price-chart__line {
    fill: none;
    stroke: var(--accent-warm);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.price-chart__point {
    fill: #fff;
    stroke: var(--accent-warm);
    stroke-width: 2;
}

.similar-card {
    position: relative;
    overflow: hidden;
    display: block;
    border: var(--ui-card-border);
    border-radius: var(--property-radius);
    background: var(--ui-card-bg), var(--property-card-bg);
    box-shadow: var(--ui-card-shadow);
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.similar-card__link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.similar-card:hover,
.similar-card:focus-within {
    border-color: var(--ui-card-border-hover);
    box-shadow: var(--ui-card-shadow-hover);
    outline: none;
}

.similar-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--property-soft-bg);
}

.similar-card__media img,
.similar-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.similar-card__image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 220ms ease, transform 240ms ease;
}

.similar-card__image.is-active {
    opacity: 1;
}

.similar-card:hover .similar-card__media img,
.similar-card:focus-within .similar-card__media img {
    transform: scale(1.015);
}

.similar-card__nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent-dark);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%) scale(0.94);
    transform-origin: center;
    transition: opacity 160ms ease, transform 160ms ease, border-color 160ms ease, color 160ms ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(7, 27, 34, 0.14);
}

.similar-card:hover .similar-card__nav,
.similar-card:focus-within .similar-card__nav {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.similar-card__nav:hover,
.similar-card__nav:focus-visible {
    border-color: var(--brand-cyan-bright);
    color: var(--accent);
    outline: none;
}

.similar-card__nav--prev {
    left: 10px;
}

.similar-card__nav--next {
    right: 10px;
}

.similar-card__nav::before {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.similar-card__nav--prev::before {
    transform: translateX(2px) rotate(-135deg);
}

.similar-card__nav--next::before {
    transform: translateX(-2px) rotate(45deg);
}

.similar-card__dots {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 5px;
    pointer-events: none;
}

.similar-card__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 0 1px rgba(7, 27, 34, 0.08);
    transition: width 160ms ease, background-color 160ms ease;
}

.similar-card__dot.is-active {
    width: 18px;
    border-radius: var(--radius-pill);
    background: var(--brand-cyan-bright);
}

.similar-card__placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    color: var(--muted);
    font-size: 13px;
}

.similar-card__favorite {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    color: var(--accent-dark);
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 94, 165, 0.1);
    backdrop-filter: blur(12px);
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.similar-card__favorite:hover,
.similar-card__favorite:focus-visible,
.similar-card__favorite.is-active {
    border-color: rgba(241, 80, 68, 0.42);
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-warm);
    outline: none;
    transform: translateY(-1px);
}

.similar-card__favorite svg {
    width: 17px;
    height: 17px;
}

.similar-card__favorite svg path {
    fill: currentColor;
}

.similar-card__favorite .favorite-heart-fill {
    fill: var(--accent-warm);
    opacity: 0;
    transition: opacity 160ms ease;
}

.similar-card__favorite.is-active svg path {
    fill: var(--accent-warm);
}

.similar-card__favorite.is-active .favorite-heart-fill {
    opacity: 1;
}

.similar-card__body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 7px;
    padding: 12px;
}

.similar-card__price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    min-height: 22px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
}

.similar-card__price-old {
    order: -1;
    color: rgba(92, 104, 112, 0.72);
    font-size: 12px;
    font-weight: 500;
    text-decoration: line-through;
    text-decoration-color: rgba(241, 80, 68, 0.62);
    text-decoration-thickness: 1.3px;
}

.similar-card__price-current {
    color: var(--ink);
}

.similar-card__price--reduced .similar-card__price-current {
    color: var(--accent-warm-dark);
}

.similar-card__title {
    display: -webkit-box;
    min-height: 38px;
    margin: 0;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.similar-card__meta {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.similar-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 2px;
}

.similar-card__facts span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 23px;
    padding: 3px 7px;
    border: 1px solid rgba(0, 158, 227, 0.1);
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--ink-soft);
    font-size: 10.5px;
    font-weight: 600;
    box-shadow: 0 5px 12px rgba(0, 94, 165, 0.035);
}

.similar-card__facts span::before {
    content: none;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand-cyan-bright);
    box-shadow: 0 0 0 3px rgba(0, 253, 254, 0.12);
}

@media (max-width: 1180px) {
    .property-page {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .property-media,
    .object-brief,
    .detail-main {
        grid-column: 1;
    }

    .summary {
        grid-column: 2;
    }

    .object-brief__facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .property-page {
        width: auto;
        margin-inline: 0;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .property-top {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .object-brief {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .summary {
        grid-column: auto;
        grid-row: auto;
        position: static;
        max-height: none;
        overflow: visible;
    }

    .summary-panel--agent {
        order: 1;
    }

    .summary-panel--question {
        order: 2;
    }

    .summary-panel--mortgage {
        order: 3;
    }

    .summary-panel--support {
        order: 4;
    }

    .detail-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

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

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

    .match-banner {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .match-banner__button {
        grid-column: 2;
        width: fit-content;
    }

    .price-offer-panel {
        grid-template-columns: 1fr;
    }

    .nearby-map {
        grid-template-columns: 1fr;
    }

    @media (hover: none) {
        .gallery__nav {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(-50%) scale(1);
        }
    }
}

@media (max-width: 820px) {
    .appeal-panel {
        grid-template-columns: 1fr;
    }

    .offer-lead {
        justify-content: stretch;
    }
}

@media (max-width: 620px) {
    .property-page {
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        overflow-x: hidden;
        overflow-y: visible;
    }

    .property-top,
    .property-media,
    .gallery,
    .object-brief,
    .object-brief__main,
    .detail-main,
    .detail-grid,
    .summary,
    .content-panel {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .property-breadcrumbs {
        overflow-x: auto;
        padding-bottom: 4px;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .property-breadcrumbs::-webkit-scrollbar {
        display: none;
    }

    .property-top,
    .summary,
    .detail-grid,
    .detail-main {
        display: contents;
    }

    .property-breadcrumbs {
        order: 1;
    }

    .property-media {
        order: 2;
    }

    .object-brief {
        order: 3;
    }

    .summary-panel--agent {
        order: 4;
    }

    .summary-panel--question {
        order: 5;
    }

    .detail-main > .content-panel {
        order: 20;
    }

    .detail-main > .content-panel--description {
        order: 6;
    }

    .summary-panel--sell {
        order: 7;
    }

    .appeal-panel {
        order: 8;
    }

    .detail-main > .content-panel--payments {
        order: 9;
    }

    .price-offer-panel {
        order: 10;
    }

    .summary-panel--mortgage {
        order: 11;
    }

    .summary-panel--support {
        order: 12;
    }

    .match-banner {
        order: 30;
    }

    .property-media,
    .object-brief,
    .summary-panel,
    .detail-main > section,
    .match-banner {
        grid-column: 1 / -1;
    }

    .object-brief,
    .content-panel,
    .summary-panel,
    .price-offer-panel,
    .match-banner {
        border-radius: var(--radius-md);
    }

    .content-panel__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .content-panel__more {
        white-space: normal;
    }

    .object-tabs {
        flex-wrap: nowrap;
        gap: 18px;
        overflow-x: auto;
        padding-bottom: 1px;
        scrollbar-width: none;
    }

    .object-tabs::-webkit-scrollbar {
        display: none;
    }

    .object-tabs__button {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .gallery,
    .description-characteristics,
    .payment-grid,
    .similar-grid,
    .lead-form__grid,
    .appeal-panel,
    .mortgage-grid {
        grid-template-columns: 1fr;
    }

    .object-brief__facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .object-brief__facts .highlight {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 5px;
        min-height: 82px;
        padding: 8px 5px;
        text-align: center;
    }

    .object-brief__facts .highlight__icon {
        width: 28px;
        height: 28px;
    }

    .object-brief__facts .highlight__icon svg {
        width: 19px;
        height: 19px;
    }

    .object-brief__facts .highlight__content {
        width: 100%;
    }

    .object-brief__facts .highlight__content strong {
        font-size: 13px;
    }

    .object-brief__facts .highlight__content span {
        font-size: 9.5px;
    }

    .gallery {
        grid-auto-rows: auto;
        width: 100%;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: auto 64px;
        height: auto;
        overflow: hidden;
    }

    .gallery__item:first-child {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 0;
        aspect-ratio: 760 / 523;
    }

    .gallery__item:nth-child(n + 6) {
        display: none;
    }

    .gallery__button,
    .gallery__button img {
        min-width: 0;
        max-width: 100%;
    }

    .object-brief__main {
        padding-right: 0;
    }

    .object-brief__title {
        max-width: 100%;
        font-size: clamp(24px, 7.2vw, 28px);
        line-height: 1.18;
        overflow-wrap: anywhere;
    }

    .object-brief__address {
        min-width: 0;
        max-width: 100%;
    }

    .object-brief__address span {
        overflow-wrap: anywhere;
    }

    .object-brief__location-actions {
        width: calc(100% - 32px);
    }

    .object-brief__badges {
        max-width: 100%;
        overflow: hidden;
    }

    .object-brief__badge {
        min-width: 0;
        max-width: 100%;
        white-space: nowrap;
    }

    .object-brief__meta-row {
        min-width: 0;
        max-width: 100%;
    }

    .object-brief__actions {
        position: static;
        margin-left: auto;
    }

    .object-brief__price-line {
        justify-items: stretch;
        text-align: left;
    }

    .object-brief__price-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .object-brief__price-label {
        margin-left: 0;
    }

    .object-brief__price-value {
        overflow-wrap: anywhere;
        font-size: clamp(25px, 7.6vw, 30px);
    }
    .mini-lead {
        display: grid;
        grid-template-columns: 1fr;
    }

    .mini-lead input,
    .offer-lead input[name="offer_price"] {
        width: 100%;
    }

    .offer-lead__error {
        text-align: left;
    }

    .mini-lead .privacy-consent {
        max-width: none;
        margin-left: 0;
    }

    .mini-lead .property-consent-note,
    .offer-lead .property-consent-note {
        text-align: left;
    }

    .viewing-lead .property-consent-note {
        text-align: right;
    }

    .summary-panel {
        padding: 18px;
    }

    .match-banner {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 14px;
        padding: 20px;
    }

    .match-banner__button {
        grid-column: auto;
        width: 100%;
    }

    .nearby-map__canvas {
        min-height: 300px;
    }

    .realtor-card__top,
    .realtor-card__cta,
    .share-panel__actions {
        grid-template-columns: 1fr;
    }

    .realtor-card__photo {
        width: 100%;
        height: 190px;
    }

    .summary-panel--agent .realtor-card__top {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .summary-panel--agent .realtor-card__cta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .summary-panel--agent .realtor-card__photo {
        width: 58px;
        height: 70px;
    }

    .photo-lightbox {
        gap: 8px;
        grid-template-rows: minmax(0, 1fr) minmax(64px, auto);
        padding: 10px;
    }

    .photo-lightbox__stage {
        padding: 0 36px 10px;
    }

    .photo-lightbox__image {
        max-height: 100%;
    }

    .photo-lightbox__nav {
        width: 42px;
        height: 42px;
    }

    .photo-lightbox__close {
        top: 67px;
        right: 0;
        width: 48px;
        height: 48px;
    }

    .photo-lightbox__thumb {
        flex-basis: 76px;
        width: 76px;
        height: 56px;
    }

    .property-contact-modal__dialog {
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: var(--radius-md);
    }

    .property-contact-modal__content {
        padding: 22px 18px 18px;
    }

    .property-contact-tabs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: auto 58px;
    }

    .summary-panel--agent .realtor-card__cta {
        grid-template-columns: 1fr;
    }
    .realtor-card__callback {
        min-width: 0;
        white-space: normal;
    }

    .share-menu {
        width: min(230px, calc(100vw - 24px));
    }
}

/* Calmer type scale for the object detail card with Onest. */
.object-brief__title {
    font-weight: 700;
}

.object-brief__map-link,
.object-brief__code,
.object-tabs__button,
.description-toggle,
.nearby-overview__map,
.nearby-map__chip,
.property-contact-form label,
.property-contact-field input,
.property-contact-field__prefix,
.property-contact-tabs button,
.quick-question-modal__answer {
    font-weight: 600;
}

.object-brief__badge,
.object-brief__price-label,
.object-brief__price-sqm,
.object-brief__mortgage,
.summary-panel--agent .summary-panel__eyebrow,
.summary-panel__eyebrow,
.seller-question label,
.seller-question input,
.seller-question__quick button,
.property-consent-note a,
.mortgage-field label,
.mortgage-result span,
.support-card__list li,
.sell-card__text,
.match-banner__content span,
.price-offer-panel__text,
.similar-card__facts span {
    font-weight: 500;
}

.content-panel__more,
.description-characteristic strong,
.nearby-map__side strong,
.agent__name,
.lead-form label,
.realtor-card__rating,
.realtor-card__phone,
.realtor-card__callback,
.share-menu__title,
.share-menu__item,
.share-menu__copy,
.share-menu__item[data-tooltip]::before,
.icon-action[data-tooltip]::before,
.icon-action,
.mortgage-field input,
.highlight__link,
.offer-lead input[name="offer_price"],
.property-contact-messenger,
.price-chart__badge,
.similar-card__price,
.similar-card__title {
    font-weight: 600;
}

.object-brief__facts .highlight__content strong,
.support-card__title,
.sell-card__title,
.sell-card__button,
.match-banner__content strong,
.match-banner__button,
.payment-card strong {
    font-weight: 700;
}

.object-brief__price-value {
    font-weight: 800;
}

.object-brief__price-sqm strong,
.object-brief__mortgage strong,
.mortgage-card h2,
.appeal-panel strong,
.price-offer-panel strong {
    font-weight: 700;
}

.mortgage-result strong {
    font-weight: 800;
}

.mortgage-card__eyebrow,
.support-card__eyebrow,
.appeal-panel__badge,
.offer-lead__price::before,
.price-offer-panel__eyebrow {
    font-weight: 600;
}

@media (max-width: 760px) {
    .object-brief__actions .share-panel__actions {
        gap: 8px;
    }

    .object-brief__actions .share-dropdown {
        flex-basis: 40px;
        width: 40px;
    }

    .object-brief__actions .icon-action {
        width: 40px;
        min-height: 40px;
    }

    .object-brief__actions .icon-action svg {
        width: 18px;
        height: 18px;
    }

    .share-menu__item,
    .share-menu__icon {
        width: 40px;
        height: 40px;
        min-height: 40px;
    }
}
