:root {
    --ink: #102a43;
    --ink-strong: #071b33;
    --ink-soft: #486581;
    --surface: #ffffff;
    --surface-muted: #f4f7fa;
    --surface-warm: #fff7ed;
    --line: #d9e2ec;
    --accent: #e85d04;
    --accent-dark: #bd4200;
    --promo: #c1121f;
    --success: #16825d;
    --focus: #f6bd60;
    --shadow-sm: 0 8px 24px rgba(16, 42, 67, 0.08);
    --shadow-md: 0 18px 50px rgba(7, 27, 51, 0.14);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--surface);
    color: var(--ink);
    font-family: 'Jost', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
    font-family: 'Jost', Arial, sans-serif;
}

body > .main-content {
    min-height: auto !important;
}

.main-content {
    display: flex;
    min-height: 60vh;
    flex-direction: column;
}

.site-main {
    min-width: 0;
    flex: 1;
    align-items: stretch !important;
    margin: 0 !important;
}

.site-main > h1 {
    width: min(1180px, calc(100% - 48px));
    margin: 56px auto 0;
    color: var(--ink-strong);
    font-size: 42px;
    line-height: 1.12;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
.nav-link,
button,
.dropdown-item {
    letter-spacing: 0;
}

p,
li {
    line-height: 1.7;
}

a {
    color: var(--ink);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
}

section {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
}

.container,
.container-xl {
    --bs-gutter-x: 48px;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 2000;
    padding: 10px 14px;
    transform: translateY(-160%);
    border-radius: 6px;
    background: var(--ink-strong);
    color: #fff;
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1035;
    border-bottom: 1px solid rgba(217, 226, 236, 0.9);
    background: rgba(255, 255, 255, 0.98);
    transition: box-shadow 180ms ease;
}

.site-header--scrolled {
    box-shadow: 0 8px 30px rgba(7, 27, 51, 0.1);
}

.utility-bar {
    min-height: 34px;
    background: var(--ink-strong);
    color: #fff;
    font-size: 12px;
}

.utility-bar__inner,
.utility-bar__primary,
.utility-bar__contacts {
    display: flex;
    align-items: center;
}

.utility-bar__inner {
    min-height: 34px;
    justify-content: space-between;
    gap: 24px;
}

.utility-bar__primary,
.utility-bar__contacts {
    gap: 22px;
}

.utility-bar i {
    margin-right: 6px;
    color: #fff;
}

.utility-status {
    font-weight: 700;
}

.utility-status i {
    color: #63d3a7;
}

.utility-bar a {
    color: #fff;
    font-weight: 600;
}

.utility-bar a:hover {
    color: #ffd7bd;
}

.utility-promo {
    color: #ffd6d8 !important;
}

.site-header .navbar {
    min-height: 78px;
    padding: 8px 0;
    background: #fff !important;
    font-size: 13px;
}

.site-header .navbar > .container-xl {
    flex-wrap: nowrap;
}

.site-header .navbar-brand {
    flex: 0 0 auto;
    margin-right: 28px;
    padding: 0;
}

.site-header .navbar-brand img {
    width: 152px;
    height: auto;
}

.site-header .navbar-collapse {
    min-width: 0;
    justify-content: space-between;
    gap: 20px;
}

.site-header .navbar-nav {
    align-items: center;
    gap: 2px;
}

.site-header .nav-link {
    position: relative;
    padding: 12px 10px !important;
    color: var(--ink-strong) !important;
    font-size: 12px;
    font-weight: 700 !important;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-header .nav-link::after {
    transition: color 160ms ease;
}

.site-header .nav-link:hover,
.site-header .nav-link[aria-current='page'] {
    color: var(--accent) !important;
}

.site-header .nav-link-offers {
    color: var(--promo) !important;
}

.site-header .dropdown-menu {
    min-width: 250px;
    max-height: min(70vh, 520px);
    padding: 8px;
    overflow-y: auto;
    border: 1px solid var(--line) !important;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.site-header .dropdown-item {
    padding: 10px 12px;
    border-radius: 5px;
    color: var(--ink) !important;
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
    background: var(--surface-muted) !important;
    color: var(--accent) !important;
}

.header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
}

.header-messenger-icons,
.footer-messenger-icons {
    display: flex;
    align-items: center;
    gap: 7px;
}

.header-messenger-icons a,
.footer-messenger-icons a {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    transition: border-color 160ms ease, transform 160ms ease;
}

.header-messenger-icons a {
    width: 27px;
    height: 27px;
    border: 0;
    border-radius: 0;
    background: transparent;
    transition: transform 160ms ease;
}

.header-messenger-icons img {
    width: 24px;
    height: 24px;
}

.header-messenger-icons a:hover,
.footer-messenger-icons a:hover {
    transform: translateY(-1px);
    border-color: var(--accent);
}

.header-messenger-icons a:hover {
    transform: scale(1.14);
}

.header-phone {
    display: flex;
    flex-direction: column;
    color: var(--ink-strong);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.header-phone small {
    margin-top: 2px;
    color: var(--ink-soft);
    font-size: 9px;
    font-weight: 600;
}

.nav-language {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
}

.units-btn {
    min-height: 42px;
    padding: 11px 16px !important;
    border: 0;
    border-radius: 6px;
    background: var(--promo);
    color: #fff !important;
    font-size: 12px;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.units-btn:hover,
.units-btn:focus,
.units-btn.show {
    background: #960d18 !important;
    color: #fff !important;
}

.mobile-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    color: var(--ink-strong);
    font-size: 13px;
    font-weight: 800;
}

.mobile-header-phone i {
    color: var(--success);
}

.navbar-toggler {
    width: 44px;
    height: 44px;
    margin-left: 12px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

/* Buttons */
.btn,
.cta-button,
.home-action {
    border-radius: 6px;
    font-weight: 800 !important;
    letter-spacing: 0;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn:hover,
.cta-button:hover,
.home-action:hover {
    transform: translateY(-1px);
}

button i,
.btn i,
.cta-button i,
.home-action i,
.inventory-card a i,
.architecture-cta a i,
.home-feature__link i,
.home-hero__scroll i,
.floorplan-link__arrow,
.media-viewer__download i,
.media-viewer__close i,
.media-viewer__nav i {
    color: currentColor !important;
}

.custom-btn,
.home-action--primary {
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff !important;
}

.custom-btn:hover,
.home-action--primary:hover {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    color: #fff !important;
}

.home-btn {
    background: var(--ink-strong) !important;
}

.home-btn:hover {
    background: var(--accent) !important;
}

/* Home hero */
.home-hero {
    position: relative;
    display: flex;
    min-height: min(730px, calc(100svh - 96px));
    align-items: center;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}

.home-hero__media,
.home-hero__shade {
    position: absolute;
    inset: 0;
}

.home-hero__media {
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
}

.home-hero__shade {
    z-index: -1;
    background: rgba(7, 27, 51, 0.7);
}

.home-hero__content {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 70px 0 92px;
}

.home-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(310px, 360px);
    align-items: end;
    justify-content: space-between;
    gap: 48px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-badge {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 11px;
    padding: 12px 17px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    background: #0b2741;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.hero-badge i {
    color: #7ae3bb;
}

.hero-badge--promo {
    border-color: #ffb45e;
    background: var(--promo);
    color: #fff;
}

.hero-badge--promo i {
    color: #fff;
}

.hero-badge--promo:hover,
.hero-badge--promo:focus {
    border-color: #fff;
    background: #97101a;
    color: #fff;
}

.hero-badge--promo:hover i,
.hero-badge--promo:focus i {
    color: #fff;
}

.home-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: 64px;
    font-weight: 800 !important;
    line-height: 1.04;
}

.home-hero__offer {
    max-width: 780px;
    margin: 10px 0 0;
    color: #ffad45;
    font-size: 40px;
    font-weight: 800 !important;
    line-height: 1.13;
}

.home-hero__suboffer {
    max-width: 720px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 20px;
    line-height: 1.55;
}

.home-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.home-hero__proof li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 16px;
    font-weight: 700 !important;
}

.home-hero__proof i {
    color: #7ae3bb;
}

.home-hero__actions,
.home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.home-action {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border: 1px solid transparent;
    text-decoration: none;
}

.home-hero .home-action {
    min-height: 56px;
    border: 3px solid #fff;
    font-size: 16px;
}

.home-action--secondary {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.home-action--secondary:hover,
.home-action--secondary:focus {
    border-color: var(--success);
    background: var(--success);
    color: #fff !important;
}

.home-action--secondary:hover i,
.home-action--secondary:hover span,
.home-action--secondary:focus i,
.home-action--secondary:focus span {
    color: #fff !important;
}

.summer-countdown {
    overflow: hidden;
    border: 2px solid #ffb45e;
    border-radius: 8px;
    background: rgba(8, 24, 40, 0.96);
    color: #fff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.summer-countdown__title {
    display: block;
    padding: 15px 22px;
    background: var(--promo);
    color: #fff;
    font-size: 16px;
    line-height: 1.25;
    text-transform: uppercase;
}

.summer-countdown > p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 20px 22px 15px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.summer-countdown > p span {
    color: #ffad45;
    font-size: 50px;
    line-height: 0.9;
}

.summer-countdown > small {
    display: block;
    padding: 0 22px 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.summer-countdown__units {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    padding: 0 14px 16px;
}

.summer-countdown__units > span {
    display: grid;
    min-width: 0;
    min-height: 68px;
    place-items: center;
    align-content: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.08);
}

.summer-countdown__units b {
    color: #fff;
    font-size: 27px;
    line-height: 1;
}

.summer-countdown__units small {
    margin-top: 6px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.74);
    font-size: 9px;
    line-height: 1;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.home-hero__scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 700;
}

.home-hero__scroll:hover {
    color: #fff;
}

.home-quickfacts {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.home-quickfacts__grid {
    display: grid;
    grid-template-columns: 0.72fr 0.72fr 1fr 1.55fr;
}

.quickfact {
    display: grid;
    min-height: 112px;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 14px;
    padding: 22px 28px;
    border-right: 1px solid var(--line);
}

.quickfact:last-child {
    border-right: 0;
}

.quickfact__icon {
    display: flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--surface-warm);
    color: var(--accent);
    font-size: 20px;
}

.quickfact__icon i {
    display: block;
    width: 1em;
    color: var(--accent);
    line-height: 1;
    text-align: center;
}

.quickfact strong,
.quickfact span {
    display: block;
}

.quickfact span.quickfact__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quickfact strong {
    color: var(--ink-strong);
    font-size: 17px;
}

.quickfact span {
    margin-top: 3px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.45;
}

/* Home content */
.home-section {
    padding: 88px 0;
}

.home-section--muted {
    background: var(--surface-muted);
}

.home-section__header {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.home-section h2,
.home-cta h2 {
    margin: 0;
    color: var(--ink-strong);
    font-size: 42px;
    line-height: 1.18;
}

.home-section__lead {
    margin: 12px 0 0;
    color: var(--ink-soft);
    font-size: 18px;
}

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

.inventory-card {
    position: relative;
    display: flex;
    min-height: 320px;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 8px;
    background: var(--ink-strong);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.inventory-card__image,
.inventory-card__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.inventory-card__image {
    object-fit: cover;
    transition: transform 300ms ease;
}

.inventory-card__shade {
    background: rgba(7, 27, 51, 0.66);
}

.inventory-card:hover .inventory-card__image {
    transform: scale(1.025);
}

.inventory-card__content {
    position: relative;
    z-index: 1;
    padding: 30px;
}

.inventory-card__price {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink-strong);
    font-size: 14px;
    font-weight: 800;
}

.inventory-card h3 {
    margin: 0;
    color: #fff;
    font-size: 26px;
}

.inventory-card p {
    max-width: 520px;
    margin: 10px 0 22px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 17px;
}

.inventory-card a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid var(--promo);
    border-radius: 5px;
    background: var(--promo);
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.inventory-card a:hover,
.inventory-card a:focus {
    border-color: #97101a;
    background: #97101a;
    color: #fff !important;
    transform: translateY(-1px);
}

.home-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: stretch;
    gap: 56px;
}

.home-feature__media {
    min-height: 520px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

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

.home-feature__content {
    align-self: center;
}

.home-feature__content > p:not(.section-eyebrow) {
    margin: 20px 0 0;
    color: var(--ink-soft);
    font-size: 18px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700 !important;
}

.feature-list i {
    color: var(--success);
}

.home-feature__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    color: var(--accent);
    font-size: 16px;
    font-weight: 800;
}

.home-video-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 56px;
}

.home-video-copy p:not(.section-eyebrow) {
    margin: 16px 0 0;
    color: var(--ink-soft);
    font-size: 18px;
}

.home-video-frame {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #000;
    box-shadow: var(--shadow-md);
}

.home-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-location-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    align-items: stretch;
    gap: 36px;
}

.home-location-copy {
    padding: 18px 0;
}

.home-location-copy > p:not(.section-eyebrow) {
    color: var(--ink-soft);
    font-size: 18px;
}

.location-address {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
}

.location-address i {
    margin-top: 4px;
    color: var(--accent);
}

.home-map-frame {
    min-height: 430px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.home-map-frame #map {
    width: 100%;
    height: 100%;
    min-height: 430px;
}

.home-cta {
    padding: 66px 0;
    background: var(--ink-strong);
    color: #fff;
}

.home-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.home-cta h2 {
    color: #fff;
}

.home-cta p {
    max-width: 620px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
}

.home-cta__actions {
    flex: 0 0 auto;
    margin-top: 0;
}

.home-cta .home-action--secondary {
    background: transparent;
}

.home-cta .home-action--secondary:hover,
.home-cta .home-action--secondary:focus {
    border-color: var(--success);
    background: var(--success);
    color: #fff !important;
}

.home-cta .home-action--secondary:hover i,
.home-cta .home-action--secondary:hover span,
.home-cta .home-action--secondary:focus i,
.home-cta .home-action--secondary:focus span {
    color: #fff !important;
}

/* Modals and forms */
.modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.modal-header,
.modal-footer {
    border-color: var(--line);
}

.form-control,
.form-select {
    min-height: 46px;
    border-color: #bcccdc;
    border-radius: 6px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.14);
}

/* Internal pages */
.site-main > .container {
    width: min(1180px, calc(100% - 48px));
    max-width: none;
    margin-right: auto;
    margin-left: auto;
}

.card,
.info-item,
.custom-info-card {
    border: 1px solid var(--line) !important;
    border-radius: 8px !important;
    background: #fff;
    box-shadow: var(--shadow-sm) !important;
}

.custom-card-border {
    border: 1px solid var(--line) !important;
    color: var(--ink);
}

.card-header {
    padding: 22px 24px 8px;
}

.card-body {
    padding: 22px 24px;
}

.info-item {
    align-items: flex-start;
    padding: 24px !important;
}

.info-item i {
    color: var(--accent);
}

.architecture-card {
    width: 100%;
}

.architecture-page {
    margin-top: 42px;
}

.architecture-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 64px;
    margin-bottom: 52px;
    padding-bottom: 46px;
    border-bottom: 1px solid var(--line);
}

.architecture-intro h2 {
    margin: 0;
    color: var(--ink-strong);
    font-size: 34px;
}

.architecture-intro p {
    margin: 14px 0 0;
    color: var(--ink-soft);
    font-size: 16px;
}

.architecture-keyfacts {
    align-self: end;
    padding-left: 24px;
    border-left: 3px solid var(--accent);
}

.architecture-keyfacts p:first-child {
    margin-top: 0;
}

.architecture-chapters {
    border-top: 1px solid var(--line);
}

.architecture-chapters details {
    border-bottom: 1px solid var(--line);
}

.architecture-chapters summary {
    display: grid;
    min-height: 84px;
    grid-template-columns: 48px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
    color: var(--ink-strong);
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    list-style: none;
}

.architecture-chapters summary::-webkit-details-marker {
    display: none;
}

.architecture-chapters__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--accent);
    font-size: 20px;
}

.architecture-chapters__icon i {
    color: inherit;
}

.architecture-chapters__chevron {
    color: var(--ink-soft);
    font-size: 13px;
    transition: transform 160ms ease;
}

.architecture-chapters details[open] .architecture-chapters__chevron {
    transform: rotate(180deg);
}

.architecture-chapter-content {
    max-width: 960px;
    padding: 0 0 34px 66px;
}

.architecture-chapter-content p {
    margin: 0 0 14px;
    color: var(--ink-soft);
}

.architecture-chapter-content ul {
    display: grid;
    gap: 7px;
    margin: -2px 0 22px;
    padding-left: 22px;
}

.architecture-chapter-content li {
    padding-left: 5px;
    color: var(--ink);
}

.architecture-chapter-content li::marker {
    color: var(--accent);
}

.architecture-cta {
    display: flex;
    justify-content: flex-start;
    margin-top: 34px;
}

.architecture-cta a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 6px;
    background: var(--promo);
    color: #fff !important;
    font-weight: 800;
}

.architecture-cta a:hover {
    background: #97101a;
}

.architecture-cta i {
    color: inherit;
}

.custom-info-card {
    min-height: 260px;
    height: auto;
    max-height: none;
    flex: 1 1 calc(33.333% - 16px);
    max-width: calc(33.333% - 12px);
    overflow: visible;
}

.about-page {
    margin-top: 42px;
}

.about-lead {
    display: grid;
    min-height: 560px;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.about-lead__media {
    min-height: 100%;
    overflow: hidden;
}

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

.about-lead__content {
    align-self: center;
    padding: 46px;
}

.about-lead__content h2,
.about-section-heading h2 {
    margin: 0;
    color: var(--ink-strong);
    font-size: 34px;
}

.about-lead__content > p:not(.section-eyebrow) {
    margin: 18px 0 0;
    color: var(--ink-soft);
    font-size: 16px;
}

.about-lead__signals {
    display: grid;
    gap: 10px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.about-lead__signals span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.about-lead__signals i {
    width: 18px;
    color: var(--accent);
    text-align: center;
}

.about-feature-list {
    margin-top: 58px;
    border-top: 1px solid var(--line);
}

.about-feature-row {
    display: grid;
    grid-template-columns: 44px 54px minmax(0, 1fr);
    gap: 22px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.about-feature-row__number {
    padding-top: 4px;
    color: #9fb3c8;
    font-size: 12px;
    font-weight: 800;
}

.about-feature-row__icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    color: var(--accent);
    font-size: 21px;
}

.about-feature-row__icon i {
    color: inherit;
}

.about-feature-row h3 {
    margin: 0;
    color: var(--ink-strong);
    font-size: 21px;
}

.about-feature-row p {
    max-width: 960px;
    margin: 8px 0 0;
    color: var(--ink-soft);
}

.about-data-section,
.about-participants {
    margin-top: 72px;
}

.about-section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.about-data-table {
    border-top: 2px solid var(--ink-strong);
}

.about-data-table.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.about-data-table .table {
    margin: 0;
}

.about-data-table th {
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-muted);
    color: var(--ink-soft);
    font-size: 11px;
    text-transform: uppercase;
}

.about-data-table td {
    padding: 14px 12px;
    border-color: var(--line);
    color: var(--ink);
}

.about-data-table td:last-child {
    color: var(--ink-strong);
    font-weight: 700;
}

.about-participants {
    margin-bottom: 24px;
    padding: 44px;
    border-radius: 8px;
    background: var(--surface-muted);
}

.about-participants ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 38px;
    margin: 0;
    padding-left: 24px;
}

.about-participants li {
    padding-left: 8px;
    color: var(--ink-soft);
}

.about-participants li::marker {
    color: var(--accent);
    font-weight: 800;
}

.textitem {
    text-align: left !important;
    text-indent: 0 !important;
}

.page-block {
    width: min(1000px, calc(100% - 48px));
    margin: 56px auto;
    padding: 0;
}

.visualisation-page {
    margin-top: 42px;
}

.project-video-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #000;
    box-shadow: var(--shadow-md);
}

.project-video-frame iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.left-img,
.right-img {
    display: none;
}

.faq {
    width: min(900px, calc(100% - 48px)) !important;
}

.faq-item {
    margin-bottom: 14px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    margin: 0;
    font-size: 20px;
}

.faq-item p {
    margin: 12px 0 0 46px;
    color: var(--ink-soft);
}

.custom-doc-link {
    display: flex;
    width: min(900px, calc(100% - 48px));
    min-height: 66px;
    align-items: center;
    margin: 0 auto 12px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    font-size: 17px;
}

.custom-doc-link::before {
    margin-right: 14px;
    color: var(--promo);
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f1c1';
}

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

.gallery-page {
    margin-top: 44px;
    margin-bottom: 24px;
}

.gallery-page .image-item {
    aspect-ratio: 3 / 2;
}

.image-item {
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface-muted);
    aspect-ratio: 4 / 3;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.image-item img:hover {
    transform: scale(1.025);
}

.image-item > a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

body.media-viewer-open {
    overflow: hidden;
}

.media-viewer {
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.media-viewer[hidden] {
    display: none;
}

.media-viewer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 13, 26, 0.94);
}

.media-viewer__dialog {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-rows: auto minmax(0, 1fr);
    color: #fff;
}

.media-viewer__toolbar {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: #071b33;
}

.media-viewer__meta,
.media-viewer__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.media-viewer__title {
    font-size: 15px;
}

.media-viewer__counter {
    color: #9fb3c8;
    font-size: 12px;
    font-weight: 700;
}

.media-viewer__download,
.media-viewer__close,
.media-viewer__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
}

.media-viewer__download {
    min-height: 42px;
    gap: 8px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 800;
}

.media-viewer__close {
    width: 42px;
    height: 42px;
}

.media-viewer__download:hover,
.media-viewer__close:hover,
.media-viewer__nav:hover {
    border-color: #fff;
    background: #fff;
    color: var(--ink-strong) !important;
}

.media-viewer__download i,
.media-viewer__close i,
.media-viewer__nav i {
    color: inherit;
}

.media-viewer__stage {
    position: relative;
    display: grid;
    min-height: 0;
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    align-items: stretch;
}

.media-viewer__canvas {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.media-viewer__image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    opacity: 0;
    object-fit: contain;
    transition: opacity 160ms ease;
}

.media-viewer__image.is-loaded {
    opacity: 1;
}

.media-viewer__loading {
    position: absolute;
    width: 34px;
    height: 34px;
    opacity: 0;
    border: 3px solid rgba(255, 255, 255, 0.26);
    border-top-color: #fff;
    border-radius: 50%;
    animation: viewer-spin 800ms linear infinite;
    pointer-events: none;
}

.media-viewer__loading.is-visible {
    opacity: 1;
}

.media-viewer__nav {
    width: 46px;
    height: 58px;
    align-self: center;
    justify-self: center;
}

@keyframes viewer-spin {
    to {
        transform: rotate(360deg);
    }
}

.non-home-map {
    width: 100%;
    height: 520px;
}

.location-page,
.contact-page {
    margin-top: 42px;
}

.location-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    align-items: end;
    gap: 56px;
    margin-bottom: 34px;
}

.location-overview__copy {
    max-width: 720px;
}

.location-overview h2,
.contact-details h2 {
    margin: 0;
    color: var(--ink-strong);
    font-size: 34px;
}

.location-overview__copy > p:not(.section-eyebrow) {
    margin: 16px 0 0;
    color: var(--ink-soft);
    font-size: 17px;
}

.location-overview__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.location-overview__facts > div {
    min-height: 138px;
    padding: 22px;
    background: #fff;
}

.location-overview__facts i {
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 22px;
}

.location-overview__facts strong,
.location-overview__facts span {
    display: block;
}

.location-overview__facts strong {
    color: var(--ink-strong);
    font-size: 17px;
}

.location-overview__facts span {
    margin-top: 3px;
    color: var(--ink-soft);
    font-size: 13px;
}

.map-section {
    margin-bottom: 54px;
}

.map-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #e8eef4;
    box-shadow: var(--shadow-sm);
}

.map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    padding: 16px 2px 0;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
}

.map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.map-legend__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #315f86;
}

.map-legend__dot--project {
    background: var(--promo);
}

.map-legend__dot--green {
    background: var(--success);
}

.map-legend__dot--blue {
    background: #4c78a8;
}

.sunterra-map-pin {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 7px;
    transform: translate(-22px, -48px);
    padding: 6px 9px 6px 6px;
    border: 2px solid #fff;
    border-radius: 6px;
    background: var(--promo);
    color: #fff;
    box-shadow: 0 8px 22px rgba(7, 27, 51, 0.28);
    white-space: nowrap;
}

.sunterra-map-pin::after {
    position: absolute;
    bottom: -9px;
    left: 18px;
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    background: var(--promo);
    content: '';
}

.sunterra-map-pin__mark {
    position: relative;
    z-index: 1;
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--promo);
    font-size: 13px;
    font-weight: 800;
}

.sunterra-map-pin__label {
    position: relative;
    z-index: 1;
    font-size: 12px;
    font-weight: 800;
}

.location-detail-list {
    display: grid;
    margin-bottom: 24px;
    border-top: 1px solid var(--line);
}

.location-detail-list article {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.location-detail-list article > i {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--accent);
    font-size: 21px;
}

.location-detail-list h3 {
    margin: 0;
    color: var(--ink-strong);
    font-size: 20px;
}

.location-detail-list p {
    max-width: 920px;
    margin: 8px 0 0;
    color: var(--ink-soft);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
    align-items: stretch;
    gap: 32px;
}

.contact-details {
    padding: 18px 20px 18px 0;
}

.contact-address-block {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.contact-address-block > i {
    margin-top: 4px;
    color: var(--accent);
    font-size: 18px;
}

.contact-address-block strong {
    color: var(--ink-strong);
}

.contact-address-block p {
    margin: 5px 0 0;
    color: var(--ink-soft);
}

.contact-hours {
    font-size: 14px;
}

.contact-channel-list {
    display: grid;
    gap: 9px;
    margin-top: 24px;
}

.contact-channel-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.contact-channel-list i {
    width: 18px;
    color: var(--accent);
    text-align: center;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
}

.contact-request {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    padding: 11px 16px;
    border-radius: 6px;
    background: var(--promo);
    color: #fff !important;
    font-weight: 800;
}

.contact-request:hover {
    background: #97101a;
}

.contact-page-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    position: static;
}

.contact-page-icons a {
    display: block;
    transition: transform 160ms ease;
}

.contact-page-icons a:hover {
    transform: scale(1.12);
}

.contact-map {
    min-width: 0;
}

.contact-map .non-home-map {
    height: 610px;
}

.contact-map > p {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 12px 0 0;
    color: var(--ink-soft);
    font-size: 12px;
}

.contact-map > p i {
    color: var(--accent);
}

.financing-options {
    width: min(980px, calc(100% - 48px));
}

.financing-overview {
    margin-bottom: 40px;
}

.financing-intro {
    max-width: 760px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 18px;
    line-height: 1.7;
}

.financing-options .offer {
    margin: 4px 0;
    color: var(--promo);
    font-size: 20px;
}

.financing-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin-top: 18px;
}

.financing-benefit {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-muted);
}

.financing-benefit i {
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 24px;
}

.financing-benefit strong,
.financing-benefit span {
    display: block;
}

.financing-benefit span {
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 13px;
}

.financing-escrow {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 20px;
    padding: 18px 20px;
    border-left: 4px solid var(--status);
    background: var(--surface-muted);
}

.financing-escrow i {
    margin-top: 3px;
    color: var(--status);
    font-size: 20px;
}

.financing-calculator {
    margin-bottom: 28px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.financing-calculator h3 {
    margin-bottom: 24px;
}

.financing-calculator label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
}

.financing-calculator .noUi-target {
    margin-bottom: 24px;
}

.floorplan-index {
    width: min(100%, 1120px);
    margin: 40px auto 72px;
}

.floorplan-index__intro {
    max-width: 680px;
    margin: 0 0 24px;
    color: var(--ink-soft);
    font-size: 18px;
}

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

.floorplan-link {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--ink);
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.floorplan-link:hover {
    border-color: var(--accent);
    color: var(--ink);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.floorplan-link__icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 6px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 20px;
}

.floorplan-link__arrow {
    color: var(--ink-soft);
    font-size: 14px;
}

.noUi-target {
    height: 8px;
    margin: 18px 10px 14px;
    border: 0;
    border-radius: 4px;
    background: #d9e2ec;
    box-shadow: none;
}

.noUi-horizontal {
    height: 8px;
}

.noUi-connect {
    background: var(--accent) !important;
}

.noUi-horizontal .noUi-handle {
    top: -8px;
    right: -12px;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border: 3px solid #fff;
    border-radius: 50% !important;
    background: var(--accent);
    box-shadow: 0 2px 8px rgba(7, 27, 51, 0.24);
    cursor: grab;
}

.noUi-handle::before,
.noUi-handle::after {
    display: none !important;
}

/* Unit catalogue heroes */
.landing-fullwidth {
    position: relative;
    display: flex;
    min-height: 600px;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.landing-fullwidth::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url('/images/new/compressed/6C8A5775.jpg');
    background-position: center;
    background-size: cover;
    content: '';
    filter: none;
}

.landing-fullwidth::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(7, 27, 51, 0.73);
    content: '';
}

.landing-content {
    width: min(1180px, calc(100% - 48px));
    max-width: none;
    margin: 0 auto;
    padding: 64px 0;
    color: #fff;
}

.landing-content .section-title {
    max-width: 820px;
}

.landing-content .section-title h1 {
    margin: 0;
    color: #fff;
    font-size: 48px;
    line-height: 1.12;
}

.landing-content .section-title ul {
    display: grid;
    max-width: 760px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.landing-content .section-title li {
    position: relative;
    padding-left: 24px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    line-height: 1.5;
}

.landing-content .section-title li::before {
    position: absolute;
    top: 2px;
    left: 0;
    color: #7ae3bb;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f058';
}

.landing-content .headerBlock__row {
    display: grid;
    max-width: 860px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 28px 0 0;
}

.landing-content .headerBlock__item {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(12, 39, 64, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px) saturate(0.85);
    -webkit-backdrop-filter: blur(14px) saturate(0.85);
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.landing-content .headerBlock__item:hover {
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(7, 27, 51, 0.78);
    transform: translateY(-2px);
}

.landing-content .headerBlock__i-row {
    flex-wrap: nowrap;
}

.landing-content .headerBlock__ball i {
    color: #7ae3bb;
    font-size: 22px;
}

.landing-content .headerBlock__gray {
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.landing-content .headerBlock__txt {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.landing-bottom-section {
    display: flex;
    max-width: 700px;
    justify-content: flex-start;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
}

.landing-bottom-section .cta-button {
    display: inline-flex;
    min-height: 50px;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0;
    padding: 13px 20px;
    border-radius: 6px;
    font-size: 13px;
}

.landing-bottom-section .cta-button.see-more {
    border: 1px solid var(--promo);
    background: var(--promo);
    color: #fff;
}

.landing-bottom-section .cta-button.callback {
    border: 1px solid #fff;
    background: #fff;
    color: var(--ink-strong);
}

.landing-bottom-section .cta-button.callback i {
    color: var(--ink-strong);
}

.landing-bottom-section .cta-button.see-more:hover,
.landing-bottom-section .cta-button.see-more:focus {
    border-color: #97101a;
    background: #97101a;
    color: #fff;
}

.landing-bottom-section .cta-button.callback:hover,
.landing-bottom-section .cta-button.callback:focus {
    border-color: var(--success);
    background: var(--success);
    color: #fff !important;
}

.landing-bottom-section .cta-button.callback:hover i,
.landing-bottom-section .cta-button.callback:hover span,
.landing-bottom-section .cta-button.callback:focus i,
.landing-bottom-section .cta-button.callback:focus span {
    color: #fff !important;
}

/* Unit filters and tables */
#residential-units,
#commercial-units {
    scroll-margin-top: 120px;
}

.custom-units-table {
    width: 100%;
    min-width: 1080px;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.custom-units-table thead th {
    padding: 12px 10px;
    border: 0;
    background: transparent;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.35;
    text-transform: uppercase;
    vertical-align: bottom;
}

.custom-units-table tbody tr {
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 2px 0 var(--line);
    transition: background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.custom-units-table tbody tr:hover {
    transform: translateY(-1px);
    background: var(--surface-warm);
    box-shadow: 0 6px 18px rgba(16, 42, 67, 0.1);
}

.custom-units-table td {
    padding: 16px 10px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 15px;
    vertical-align: middle;
}

.custom-units-table td:first-child {
    border-left: 1px solid var(--line);
    border-radius: 6px 0 0 6px;
    font-weight: 800;
}

.custom-units-table td:last-child {
    border-right: 1px solid var(--line);
    border-radius: 0 6px 6px 0;
}

.sort-icon {
    margin-left: 4px;
    color: var(--ink-soft);
}

.price-with-marker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.unit-price-current,
.unit-price-reserved {
    font-weight: 800;
    white-space: nowrap;
}

.unit-price-stack {
    display: inline-flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    line-height: 1.25;
    white-space: nowrap;
}

.unit-price-original {
    color: #bd1e2d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-color: #bd1e2d;
    text-decoration-thickness: 2px;
}

.unit-price-discounted {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #13795b;
    font-size: 16px;
    font-weight: 900;
}

.unit-price-badge {
    display: inline-flex;
    min-height: 20px;
    align-items: center;
    padding: 2px 5px;
    border-radius: 4px;
    background: #d9f4e9;
    color: #0d684d;
    font-size: 10px;
    font-weight: 900;
}

.summer-discount-icon {
    color: var(--promo);
}

.table-responsive {
    overflow-x: auto;
}

/* Footer */
.custom-footer {
    display: block !important;
    margin-top: 72px !important;
    padding: 58px 0 24px;
    border-top: 0;
    background: #091f36;
    color: #fff;
}

.home-page .custom-footer {
    margin-top: 0 !important;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr 0.85fr 1.15fr;
    gap: 44px;
}

.footer-brand img {
    width: 160px;
    height: auto;
    padding: 6px;
    border-radius: 6px;
    background: #fff;
}

.footer-brand > p {
    max-width: 330px;
    margin: 18px 0;
    color: #bcccdc;
    font-size: 13px;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d7f7ea;
    font-size: 12px;
    font-weight: 700;
}

.footer-status i {
    color: #63d3a7;
}

.custom-footer .footer-section {
    align-items: flex-start;
    gap: 9px;
}

.custom-footer h5 {
    margin: 2px 0 8px;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
}

.custom-footer a {
    color: #bcccdc;
    font-size: 13px;
}

.custom-footer a:hover {
    color: #fff;
}

.footer-contacts > a {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-contacts > a i {
    width: 16px;
    color: #7fb3d5;
}

.footer-messenger-icons {
    margin-top: 6px;
}

.footer-messenger-icons a {
    width: 34px;
    height: 34px;
    border-color: rgba(255, 255, 255, 0.18);
}

.footer-messenger-icons img {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 44px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
    color: #829ab1;
    font-size: 11px;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .utility-address {
        display: none;
    }

    .site-header .navbar {
        min-height: 72px;
    }

    .site-header .navbar-brand img {
        width: 138px;
    }

    .site-header .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        max-height: calc(100vh - 106px);
        padding: 18px 24px 24px;
        overflow-y: auto;
        border-top: 1px solid var(--line);
        background: #fff;
        box-shadow: var(--shadow-md);
    }

    .site-header .navbar-nav {
        align-items: stretch;
    }

    .site-header .nav-link {
        padding: 12px 4px !important;
        border-bottom: 1px solid var(--line);
    }

    .site-header .dropdown-menu {
        border: 0 !important;
        box-shadow: none;
    }

    .header-actions {
        align-items: flex-start;
        margin-top: 18px;
    }

    .home-hero {
        min-height: 680px;
    }

    .home-hero h1 {
        font-size: 58px;
    }

    .home-hero__offer {
        font-size: 36px;
    }

    .home-hero__layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1.4fr repeat(3, 1fr);
        gap: 26px;
    }
}

@media (max-width: 991.98px) {
    .home-hero {
        min-height: 0;
    }

    .home-hero__layout {
        grid-template-columns: 1fr;
    }

    .summer-countdown {
        width: min(100%, 520px);
    }

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

    .quickfact:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .quickfact:nth-child(even) {
        border-right: 0;
    }

    .home-feature,
    .home-video-layout,
    .home-location-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .home-video-copy {
        max-width: 680px;
    }

    .custom-info-card {
        flex-basis: calc(50% - 12px);
        max-width: calc(50% - 8px);
    }

    .about-lead {
        grid-template-columns: 1fr;
    }

    .about-lead__media {
        min-height: 440px;
    }

    .architecture-intro,
    .location-overview,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .architecture-keyfacts {
        align-self: auto;
    }

    .contact-details {
        max-width: 720px;
    }

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

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

@media (max-width: 767.98px) {
    html {
        scroll-padding-top: 80px;
    }

    .container,
    .container-xl {
        --bs-gutter-x: 32px;
    }

    .utility-bar {
        display: none;
    }

    .site-header .navbar {
        min-height: 70px;
    }

    .site-header .navbar-brand img {
        width: 118px;
    }

    .mobile-header-phone span {
        display: none;
    }

    .mobile-header-phone {
        display: grid !important;
        width: 42px;
        height: 42px;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 50%;
    }

    .site-header .navbar-collapse {
        max-height: calc(100vh - 70px);
    }

    .header-actions {
        flex-wrap: wrap;
    }

    .header-phone {
        display: flex;
        flex: 1 1 140px;
    }

    .home-hero {
        min-height: 0;
        align-items: flex-end;
    }

    .home-hero__media {
        object-position: 47% center;
    }

    .home-hero__shade {
        background: rgba(7, 27, 51, 0.72);
    }

    .home-hero__content {
        width: min(100% - 32px, 620px);
        padding: 44px 0 56px;
    }

    .home-hero__layout {
        gap: 26px;
    }

    .hero-badges {
        margin-bottom: 18px;
    }

    .hero-badge {
        min-height: 42px;
        padding: 9px 12px;
        font-size: 13px;
    }

    .home-hero h1 {
        font-size: 48px;
    }

    .home-hero__offer {
        font-size: 30px;
    }

    .home-hero__suboffer {
        margin-top: 14px;
        font-size: 17px;
    }

    .home-hero__proof {
        display: grid;
        gap: 8px;
        margin-top: 20px;
    }

    .home-hero__proof li {
        font-size: 15px;
    }

    .home-hero__actions {
        margin-top: 24px;
    }

    .home-action {
        width: 100%;
    }

    .home-hero__scroll {
        display: none;
    }

    .home-quickfacts__grid {
        grid-template-columns: 1fr;
    }

    .quickfact,
    .quickfact:last-child {
        min-height: 88px;
        grid-column: auto;
        padding: 16px;
        border-top: 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .quickfact:nth-child(n + 3) {
        border-top: 0;
    }

    .summer-countdown__title {
        font-size: 14px;
    }

    .summer-countdown > p {
        font-size: 16px;
    }

    .summer-countdown > p span {
        font-size: 44px;
    }

    .home-section {
        padding: 64px 0;
    }

    .home-section h2,
    .home-cta h2 {
        font-size: 32px;
    }

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

    .inventory-card {
        min-height: 300px;
    }

    .home-feature__media {
        min-height: 360px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .home-map-frame,
    .home-map-frame #map {
        min-height: 360px;
    }

    .home-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-cta__actions {
        width: 100%;
    }

    .site-main > h1 {
        width: calc(100% - 32px);
        margin-top: 38px;
        font-size: 32px;
    }

    .site-main > .container,
    .faq,
    .financing-options {
        width: calc(100% - 32px) !important;
    }

    .custom-info-card {
        flex-basis: 100%;
        max-width: 100%;
    }

    .faq-item {
        padding: 18px;
    }

    .faq-item p {
        margin-left: 0;
    }

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

    .gallery-page {
        margin-top: 32px;
    }

    .media-viewer__toolbar {
        min-height: 62px;
        padding: 10px 12px;
    }

    .media-viewer__title {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .media-viewer__actions {
        gap: 8px;
    }

    .media-viewer__download {
        min-height: 40px;
        padding: 8px 10px;
    }

    .media-viewer__close {
        width: 40px;
        height: 40px;
    }

    .media-viewer__stage {
        grid-template-columns: 48px minmax(0, 1fr) 48px;
    }

    .media-viewer__canvas {
        padding: 10px 4px;
    }

    .media-viewer__nav {
        width: 40px;
        height: 52px;
    }

    .non-home-map {
        height: 420px;
    }

    .about-page,
    .architecture-page,
    .location-page,
    .contact-page,
    .visualisation-page {
        margin-top: 32px;
    }

    .about-lead {
        min-height: 0;
    }

    .about-lead__media {
        min-height: 300px;
    }

    .about-lead__content {
        padding: 28px 24px;
    }

    .about-lead__content h2,
    .about-section-heading h2,
    .architecture-intro h2,
    .location-overview h2,
    .contact-details h2 {
        font-size: 28px;
    }

    .about-feature-list {
        margin-top: 40px;
    }

    .about-feature-row {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 14px;
        padding: 24px 0;
    }

    .about-feature-row__number {
        display: none;
    }

    .about-feature-row__icon {
        width: 44px;
        height: 44px;
    }

    .about-feature-row h3 {
        font-size: 19px;
    }

    .about-data-section,
    .about-participants {
        margin-top: 52px;
    }

    .about-data-table {
        overflow-x: auto;
    }

    .about-data-table .table {
        min-width: 660px;
    }

    .about-participants {
        padding: 28px 24px;
    }

    .about-participants ol {
        grid-template-columns: 1fr;
    }

    .architecture-intro {
        margin-bottom: 36px;
        padding-bottom: 34px;
    }

    .architecture-keyfacts {
        padding-left: 18px;
    }

    .architecture-chapters summary {
        min-height: 74px;
        grid-template-columns: 42px minmax(0, 1fr) 18px;
        gap: 12px;
        font-size: 18px;
    }

    .architecture-chapters__icon {
        width: 42px;
        height: 42px;
    }

    .architecture-chapter-content {
        padding: 0 0 28px;
    }

    .location-overview__facts {
        grid-template-columns: 1fr;
    }

    .location-overview__facts > div {
        min-height: 112px;
    }

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

    .location-detail-list article {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
    }

    .location-detail-list article > i {
        width: 42px;
        height: 42px;
    }

    .contact-details {
        padding: 0;
    }

    .contact-map .non-home-map {
        height: 440px;
    }

    .contact-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .financing-benefits {
        grid-template-columns: 1fr;
    }

    .floorplan-index {
        width: calc(100% - 32px);
        margin-top: 32px;
    }

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

    .floorplan-link {
        min-height: 68px;
        padding: 12px 14px;
    }

    .landing-fullwidth {
        min-height: 680px;
    }

    .landing-content {
        width: calc(100% - 32px);
        padding: 50px 0;
    }

    .landing-content .section-title h1 {
        font-size: 34px;
    }

    .landing-content .section-title ul,
    .landing-content .headerBlock__row {
        grid-template-columns: 1fr;
    }

    .landing-content .headerBlock__item {
        text-align: left;
    }

    .landing-bottom-section {
        flex-direction: column;
    }

    .landing-bottom-section .cta-button {
        width: 100%;
    }

    .table-responsive {
        overflow: visible;
    }

    .custom-units-table,
    .custom-units-table tbody,
    .custom-units-table tr,
    .custom-units-table td {
        display: block;
        width: 100%;
    }

    .custom-units-table thead {
        display: none;
    }

    .custom-units-table {
        min-width: 0;
        border-spacing: 0;
    }

    .custom-units-table tbody tr {
        margin-bottom: 14px;
        padding: 8px 14px;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow-sm);
    }

    .custom-units-table td,
    .custom-units-table td:first-child,
    .custom-units-table td:last-child {
        display: flex;
        min-height: 44px;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 10px 0;
        border: 0;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        text-align: right;
    }

    .custom-units-table td:last-child {
        border-bottom: 0;
    }

    .custom-units-table td::before {
        max-width: 48%;
        color: var(--ink-soft);
        content: attr(data-label);
        font-size: 12px;
        font-weight: 700;
        line-height: 1.35;
        text-align: left;
        text-transform: uppercase;
    }

    .unit-price-stack {
        align-items: flex-end;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .custom-footer .footer-section {
        width: 100%;
        align-items: flex-start;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .home-hero {
        min-height: 0;
    }

    .home-hero h1 {
        font-size: 42px;
    }

    .home-hero__offer {
        font-size: 27px;
    }

    .inventory-card__content {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
