/********** Noor Club House CSS **********/
:root {
    --primary: #901d3e;
    --secondary: #D4AF7A;
    --light: #F3EFE8;
    --dark: #1B2330;
    --earth: #8B7355;
}

.text-primary {
    color: #2D0913 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: .5s;
    border-radius: 0.35rem;
}

.btn.rounded-0 {
    border-radius: 0.35rem !important;
}

.btn::after {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: -1px;
    left: 50%;
    background: #000;
    transition: .5s;
}

.btn:hover::after,
.btn.active::after {
    width: 50%;
    left: 25%;
}

.btn.btn-primary::after {
    background: #000;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
    color: #FFFFFF;
    background-color: #60000C !important;
    border-color: #60000C !important;
}

.btn-primary:hover {
    color: #fff !important;
    background-color: #60000D !important;
    border-color: #60000D !important;
}

.navbar-nav .nav-link.bg-primary {
    position: relative;
    background-color: #60000C !important;
    border-radius: 0.35rem;
}

.navbar-nav .nav-link.bg-primary::after {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: -1px;
    left: 50%;
    background: #000;
    transition: .5s;
}

.navbar-nav .nav-link.bg-primary:hover::after {
    width: 50%;
    left: 25%;
}

.navbar-nav .nav-link.bg-primary:hover {
    background-color: #60000D !important;
    color: #fff !important;
}

.btn-outline-primary:hover {
    color: #fff !important;
    background-color: #60000D !important;
    border-color: #60000D !important;
}

.btn-outline-light-gold:hover {
    color: #fff !important;
    background-color: #60000D !important;
    border-color: #60000D !important;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border-radius: 0.35rem;
    z-index: 99;
    color: #fff !important;
    background-color: #2D0913 !important;
    border-color: #2D0913 !important;
}

.back-to-top:hover,
.back-to-top:focus {
    color: #fff !important;
    background-color: #2D0913 !important;
    border-color: #2D0913 !important;
}

.bg-dark-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.bg-light-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.brand-logo {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.2;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding-top: 0.135rem;
    padding-bottom: 0.135rem;
    margin-right: 1rem;
}

.navbar-main {
    min-height: 0;
    padding-top: 0.18rem !important;
    padding-bottom: 0.18rem !important;
}

.navbar-main .nav-link {
    padding-top: 0.585rem !important;
    padding-bottom: 0.585rem !important;
}

.brand-logo-img {
    display: block;
    height: 55px; /* 61px − 10% */
    width: auto;
    max-width: min(207px, 58vw);
    object-fit: contain;
}

.footer .brand-logo-img {
    height: 52px;
    max-width: 220px;
}

@media (max-width: 575.98px) {
    .brand-logo-img {
        height: 45px; /* 50px − 10% */
    }
}

.brand-logo .brand-hy {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--secondary);
    margin-top: 2px;
}

.project-slide-kicker {
    color: var(--secondary);
    letter-spacing: 0.18em;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-slide-meta {
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.12em;
    font-size: 0.82rem;
}

.projects-slider-indicators [data-bs-target] {
    width: 2.5rem;
    height: 0.35rem;
    border-radius: 0;
}

.company-stat-header {
    margin: 0 0 1rem;
    text-align: left;
    font-family: "Outfit", "Noto Sans Armenian", "Noto Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2D0913;
}

.company-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.company-stat {
    padding: 1.35rem 1.15rem;
    background:
        linear-gradient(180deg, rgba(243, 239, 232, 0.95), #fff 60%);
    border-top: 3px solid var(--primary);
}

.company-stat-value {
    display: block;
    font-family: "Outfit", "Noto Sans Armenian", "Noto Sans", sans-serif;
    font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem);
    font-weight: 600;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.company-stat-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6a655c;
    line-height: 1.35;
}

.navbar.sticky-top,
.sticky-top.bg-dark,
.site-navbar,
.site-navbar.sticky-top {
    position: relative;
    top: auto;
    z-index: 1030;
}

.site-navbar.is-pinned {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2000;
}

.site-navbar-spacer {
    display: block;
    width: 100%;
    height: 0;
    pointer-events: none;
}

.site-navbar {
    box-shadow: 0 8px 24px rgba(27, 35, 48, 0.18);
    background: #2D0913 !important;
    background-image: none !important;
}

.site-navbar .navbar,
.site-navbar.bg-dark,
.site-navbar .bg-dark,
.site-navbar.bg-light-radial,
.site-navbar .bg-light-radial {
    background-color: #2D0913 !important;
    background-image: none !important;
}

@media (min-width: 992px) {
    .site-navbar .navbar-nav {
        margin-right: 20px;
    }
}

.site-navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
}

.site-navbar .navbar-nav .nav-link:hover,
.site-navbar .navbar-nav .nav-link.active {
    color: #fff !important;
}

/* White underline on nav items (same motion as Request Call; exclude CTA / logo / lang) */
.site-navbar .navbar-nav .nav-link:not(.bg-primary) {
    position: relative;
}

.site-navbar .navbar-nav .nav-link:not(.bg-primary):not(.dropdown-toggle)::after {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: -1px;
    left: 50%;
    background: #fff;
    transition: 0.5s;
    pointer-events: none;
}

.site-navbar .navbar-nav .nav-link:not(.bg-primary):not(.dropdown-toggle):hover::after {
    width: 50%;
    left: 25%;
}

/* Projects dropdown keeps Bootstrap caret on ::after — underline on ::before */
.site-navbar .navbar-nav .nav-link.dropdown-toggle::before {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: -1px;
    left: 50%;
    background: #fff;
    transition: 0.5s;
    pointer-events: none;
    display: block;
    border: 0;
    margin: 0;
    vertical-align: unset;
}

.site-navbar .navbar-nav .nav-link.dropdown-toggle:hover::before,
.site-navbar .navbar-nav .dropdown.show > .nav-link.dropdown-toggle::before {
    width: 50%;
    left: 25%;
}

.site-navbar .navbar-nav .nav-link.bg-primary {
    color: #fff !important;
    background-color: #60000C !important;
}

.site-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.45);
}

.site-navbar .navbar-toggler-icon {
    filter: none;
}

.site-navbar .lang-switcher-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.site-navbar .lang-switcher-btn:hover,
.site-navbar .lang-switcher-btn:focus,
.site-navbar .lang-switcher.show .lang-switcher-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.65);
}

.site-navbar .nav-item.dropdown {
    position: relative;
}

.site-navbar .dropdown-toggle::after {
    margin-left: 0.4em;
    vertical-align: 0.15em;
}

.site-navbar .nav-projects-menu {
    background: #2D0913;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    padding: 0.35rem 0;
    min-width: 16rem;
    box-shadow: 0 12px 28px rgba(27, 35, 48, 0.28);
}

.site-navbar .nav-projects-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    padding: 0.7rem 1.15rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    white-space: normal;
    line-height: 1.35;
}

.site-navbar .nav-projects-menu .dropdown-item:hover,
.site-navbar .nav-projects-menu .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

@media (max-width: 991.98px) {
    .site-navbar {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        overflow: visible;
    }

    .site-navbar .navbar {
        position: relative;
        max-width: 100%;
    }

    .site-navbar .navbar-toggler {
        flex-shrink: 0;
        margin-left: auto;
        z-index: 2;
    }

    .site-navbar .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 2001;
        width: 100%;
        max-width: 100%;
        max-height: min(70vh, calc(100vh - 4.5rem));
        overflow-x: hidden;
        overflow-y: auto;
        background: #2D0913;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.38);
        padding: 0.35rem 0.75rem 1rem;
    }

    .site-navbar .navbar-nav {
        width: 100%;
        min-width: 0;
    }

    .site-navbar .navbar-nav .nav-link {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .site-navbar .nav-projects-menu {
        border: 0;
        box-shadow: none;
        min-width: 0;
        padding-left: 0.5rem;
    }
}

.topbar {
    position: relative;
    z-index: 1;
    background: #fff;
    min-height: 3rem; /* 3.75rem − 10% */
    color: #2D0913;
}

/* Burger menu range: hide top bar, keep only main navbar */
@media (max-width: 991.98px) {
    .topbar {
        display: none !important;
    }
}

.topbar h6,
.topbar .contact-link,
.topbar .bi,
.topbar .text-primary {
    color: #2D0913 !important;
}

/* Noor Club House details — collapsed until Մանրամասն */
.nch-project-panel[hidden],
.nch-project-panel:not(.is-open) {
    display: none !important;
}

.nch-project-panel.is-open {
    display: block !important;
    animation: nch-panel-in 0.35s ease;
}

@keyframes nch-panel-in {
    from {
        opacity: 0;
        transform: translateY(-0.75rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-nch-toggle].is-active {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.topbar .row > [class*="col-"] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
    min-height: 3rem; /* 3.75rem − 10% */
}

.topbar .bi {
    font-size: 1.2rem !important;
    margin-right: 0.55rem !important;
    line-height: 1;
}

.topbar h6 {
    margin-bottom: 0.05rem;
    font-size: 0.65rem;
    line-height: 1.2;
}

.topbar span {
    font-size: 0.765rem;
    line-height: 1.25;
}

.topbar .d-inline-flex {
    align-items: center;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.contact-link:hover,
.contact-link:focus {
    color: #2D0913;
    border-bottom-color: currentColor;
}

.topbar .contact-link:hover,
.topbar .contact-link:focus {
    color: #2D0913;
}

.footer .contact-link:hover,
.footer .contact-link:focus {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.55);
}

.footer-credit-link,
a.footer-credit-link,
a.text-primary.footer-credit-link {
    color: #98F700 !important;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.footer-credit-link:hover,
.footer-credit-link:focus,
a.footer-credit-link:hover,
a.footer-credit-link:focus {
    color: #b8ff4d !important;
    border-bottom-color: rgba(152, 247, 0, 0.55);
}

@media (min-width: 992px) {
    .brand-logo {
        font-size: 2rem;
    }
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    padding: 35px 15px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--light);
    outline: none;
    transition: .5s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #2D0913;
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(27, 35, 48, 0.55) 0%, rgba(27, 35, 48, 0.82) 100%);
    z-index: 2;
    pointer-events: none;
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 1;
    width: 8%;
}

.carousel-caption .p-3,
.carousel-caption a,
.carousel-caption button,
.carousel-caption .hero-cta-group {
    pointer-events: auto;
}

.hero-cta-group {
    position: relative;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.hero-cta-group .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.carousel-caption .hero-brand {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.65rem, 3.6vw, 2.75rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.1;
}

/* Banner project titles (Noor / Westland): frosted panel = call-button height + 30% */
.carousel-item[data-project="noor-club-house"] .hero-brand,
.carousel-item[data-project="ptghni"] .hero-brand,
.carousel-item[data-custom-project-slide] .hero-brand {
    --hero-call-btn-height: calc(0.75rem + 1.5rem + 2px); /* default .btn height */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: fit-content;
    max-width: 100%;
    height: calc(var(--hero-call-btn-height) * 1.3);
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.15rem;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0.35rem;
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
    .carousel-item[data-project="noor-club-house"] .hero-brand,
    .carousel-item[data-project="ptghni"] .hero-brand,
    .carousel-item[data-custom-project-slide] .hero-brand {
        /* .btn.py-md-3 height: 1rem + 1rem + 1.5rem line + 2px border */
        --hero-call-btn-height: calc(2rem + 1.5rem + 2px);
        padding: 0 1.5rem;
    }
}

.carousel-caption .hero-hy {
    font-size: clamp(1rem, 2vw, 1.35rem);
    letter-spacing: 0.2em;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.carousel-caption .hero-lead {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 400;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 22px;
        font-weight: 600 !important;
    }
}

.page-header {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(27, 35, 48, .75), rgba(27, 35, 48, .75)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.service-item .service-icon {
    margin-top: -50px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.service-item .service-icon-pair {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 1.75rem;
    line-height: 1;
}

/* Compact amenities overview grid */
#lifestyle .lifestyle-grid {
    max-width: 100%;
}

#lifestyle .lifestyle-section-title {
    line-height: 1.2;
}

#lifestyle .lifestyle-section-title [data-i18n="amenities.titleSuffix"]:empty {
    display: none;
}

#lifestyle .service-item {
    border-radius: 0.35rem;
    overflow: hidden;
    height: 100%;
    padding-top: 0.75rem;
}

#lifestyle .service-item:has(> img) {
    padding-top: 0;
}

#lifestyle .service-item > img,
#lifestyle .service-item img.img-fluid {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 0.35rem 0.35rem 0 0;
}

.portfolio-box .gallery-video-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(27, 35, 48, 0.72);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

#lifestyle .service-icon {
    margin-top: 0.35rem;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

/* Overlap photo when a real amenity image is present */
#lifestyle .service-item:has(> img) .service-icon,
#lifestyle .service-item:not(.service-item--no-photo) .service-icon {
    margin-top: -36px;
}

#lifestyle .service-item.service-item--no-photo .service-icon,
#lifestyle .service-item:not(:has(> img)) .service-icon {
    margin-top: 0.35rem;
}

#lifestyle .service-icon .fa-3x,
#lifestyle .service-icon-pair .fa {
    font-size: 1.5rem !important;
}

#lifestyle .lifestyle-card-body h4 {
    font-size: 1rem;
}

#lifestyle .lifestyle-card-body p {
    font-size: 0.875rem;
    line-height: 1.45;
    margin-bottom: 0;
}

#lifestyle .lifestyle-cta {
    margin-top: 2rem;
}

.gallery-cats #portfolio-flters {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

.gallery-cat-btn {
    list-style: none;
    cursor: pointer;
    margin: 0;
    padding: 0.7rem 1.25rem;
    border: 1px solid rgba(96, 0, 12, 0.35);
    background: #fff;
    color: #2D0913;
    font-family: "Outfit", "Noto Sans Armenian", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 0.35rem;
    transform: translateY(0);
    box-shadow: none;
    transition:
        background 0.28s ease,
        color 0.28s ease,
        border-color 0.28s ease,
        transform 0.28s ease,
        box-shadow 0.28s ease;
}

.gallery-cat-btn:hover {
    background: #60000C;
    border-color: #60000C;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(96, 0, 12, 0.22);
}

.gallery-cat-btn.active {
    background: #60000C;
    border-color: #60000C;
    color: #fff;
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(96, 0, 12, 0.28);
}

.gallery-empty {
    display: none;
    width: 100%;
    text-align: center;
    padding: 2.5rem 1rem 1rem;
    color: #5a4a4e;
    font-family: "Noto Sans Armenian", "Outfit", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-empty.is-visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

#portfolio .portfolio-item {
    transition: opacity 0.28s ease, transform 0.28s ease;
}

#portfolio .portfolio-item.is-filter-hide {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

#portfolio.is-gallery-filtering .portfolio-container {
    min-height: 4rem;
}

@media (prefers-reduced-motion: reduce) {
    .gallery-cat-btn,
    .gallery-empty,
    #portfolio .portfolio-item {
        transition: none;
    }

    .gallery-cat-btn:hover {
        transform: none;
        box-shadow: none;
    }
}

.portfolio-item {
    margin-bottom: 60px;
}

/* Gallery: 5 items per row on large screens */
@media (min-width: 992px) {
    #portfolio .portfolio-item {
        flex: 0 0 20%;
        max-width: 20%;
        width: 20%;
    }
}

.portfolio-title {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 68px;
    padding: 0 14px;
    right: 14px;
    left: 14px;
    bottom: -34px;
    background-color: #FFFFFF;
    border-radius: 0.5rem;
    z-index: 3;
}

.portfolio-title .h4 {
    font-size: 0.9rem;
    line-height: 1.2;
    margin-bottom: 0.15rem;
}

.portfolio-title .text-body {
    font-size: 0.72rem;
    line-height: 1.25;
}

.portfolio-title .fa {
    font-size: 0.7rem;
}

#portfolio .portfolio-item {
    margin-bottom: 40px;
}

.portfolio-btn {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    line-height: 0;
    transition: .1s;
    transition-delay: .3s;
    z-index: 2;
    opacity: 0;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
}

.portfolio-box::before,
.portfolio-box::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    transition: .5s;
    z-index: 1;
    background: rgba(27, 35, 48, .7);
}

.portfolio-box::before {
    left: 0;
}

.portfolio-box::after {
    right: 0;
}

.portfolio-item:hover .portfolio-box::before {
    left: 0;
    width: 50%;
}

.portfolio-item:hover .portfolio-box::after {
    right: 0;
    width: 50%;
}

@media (min-width: 992px) {
    .testimonial,
    .contact-form {
        margin-left: -90px;
    }
}

.testimonial-person-img,
.testimonial-side-img {
    width: 50%;
    max-width: 50%;
    height: auto;
    display: block;
}

.testimonial-side-img {
    object-fit: contain;
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: #2D0913;
    }
}

.footer-shape {
    background-color: #2D0913 !important;
}

.footer-shape::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 100%;
    top: 0;
    left: -40px;
    background: #2D0913;
    transform: skew(40deg);
}

.footer .btn-primary,
.footer .btn-primary:focus,
.footer .btn-primary:active {
    background-color: #2D0913 !important;
    border-color: #2D0913 !important;
}

.footer .btn-primary:hover {
    background-color: #3a0c1a !important;
    border-color: #3a0c1a !important;
}

.border-top.border-primary {
    border-color: #2D0913 !important;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: "Cormorant Garamond", "Noto Sans Armenian", "Noto Sans", serif;
    letter-spacing: 0.02em;
}

/* Smaller section titles (amenities, features, plans, inquiry, etc.) */
h1.display-5 {
    font-size: clamp(1.35rem, 1.05rem + 1.1vw, 1.85rem) !important;
    line-height: 1.25;
}

body {
    font-family: "Outfit", "Noto Sans Armenian", "Noto Sans", sans-serif;
}

/* Armenian / Cyrillic-safe rendering */
html[lang="hy"] body,
html[data-locale="hy"] body {
    font-family: "Noto Sans Armenian", "Outfit", "Noto Sans", sans-serif;
}

html[lang="hy"] h1,
html[lang="hy"] h2,
html[lang="hy"] h3,
html[lang="hy"] h4,
html[lang="hy"] h5,
html[lang="hy"] h6,
html[lang="hy"] .display-1,
html[lang="hy"] .display-2,
html[lang="hy"] .display-3,
html[lang="hy"] .display-4,
html[lang="hy"] .display-5,
html[lang="hy"] .display-6,
html[lang="hy"] .brand-logo,
html[lang="hy"] .hero-brand,
html[data-locale="hy"] h1,
html[data-locale="hy"] h2,
html[data-locale="hy"] h3,
html[data-locale="hy"] h4,
html[data-locale="hy"] h5,
html[data-locale="hy"] h6,
html[data-locale="hy"] .brand-logo,
html[data-locale="hy"] .hero-brand {
    font-family: "Noto Sans Armenian", "Cormorant Garamond", "Noto Sans", sans-serif;
    letter-spacing: 0;
}

html[lang="ru"] body,
html[data-locale="ru"] body {
    font-family: "Outfit", "Noto Sans", sans-serif;
}

/* Language switcher */
.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 0.75rem;
}

.lang-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    background: transparent;
    border: 1px solid rgba(144, 29, 62, 0.55);
    border-radius: 0.35rem;
    color: #fff;
    font-family: "Outfit", "Noto Sans Armenian", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s, color 0.3s;
}

.lang-switcher-btn:hover,
.lang-switcher-btn:focus,
.lang-switcher.show .lang-switcher-btn {
    background: rgba(144, 29, 62, 0.15);
    border-color: var(--primary);
    color: var(--secondary);
    outline: none;
}

.lang-switcher-btn .lang-chevron {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
}

.lang-switcher.show .lang-chevron {
    transform: rotate(180deg);
}

.lang-switcher-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 148px;
    padding: 0.35rem;
    background: var(--dark);
    border: 1px solid rgba(144, 29, 62, 0.35);
    border-radius: 0.35rem;
    box-shadow: 0 12px 32px rgba(27, 35, 48, 0.45);
    z-index: 1050;
    display: none;
}

.lang-switcher.show .lang-switcher-menu {
    display: block;
    animation: langFade 0.2s ease;
}

@keyframes langFade {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-switcher-menu button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: transparent;
    border: 0;
    border-radius: 0.25rem;
    color: rgba(255, 255, 255, 0.85);
    font-family: "Outfit", "Noto Sans Armenian", "Noto Sans", sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.lang-switcher-menu button:hover {
    background: rgba(144, 29, 62, 0.12);
    color: #fff;
}

.lang-switcher-menu button.active {
    color: var(--secondary);
    background: rgba(144, 29, 62, 0.18);
}

.lang-switcher-menu .lang-code {
    font-weight: 700;
    letter-spacing: 0.14em;
}

.lang-switcher-menu .lang-name {
    opacity: 0.75;
    font-size: 0.72rem;
    letter-spacing: 0;
}

@media (max-width: 991.98px) {
    .lang-switcher {
        margin: 0.75rem 0 1rem;
    }

    .lang-switcher-menu {
        right: auto;
        left: 0;
    }
}

.hero-cta-group .btn {
    margin-top: 0.5rem;
}

/* Soft mirror shine on the hero primary CTA (Details) */
.btn-cta-shine {
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 0 0 0 rgba(212, 175, 122, 0);
    animation: cta-soft-glow 2.8s ease-in-out infinite;
}

.btn-cta-shine::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 35%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0.1) 65%,
        transparent 100%
    );
    transform: translateX(-140%) skewX(-18deg);
    animation: cta-mirror-sweep 2.8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: soft-light;
}

@keyframes cta-mirror-sweep {
    0%,
    55% {
        transform: translateX(-140%) skewX(-18deg);
        opacity: 0;
    }
    60% {
        opacity: 1;
    }
    85% {
        transform: translateX(260%) skewX(-18deg);
        opacity: 1;
    }
    100% {
        transform: translateX(260%) skewX(-18deg);
        opacity: 0;
    }
}

@keyframes cta-soft-glow {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 122, 0);
    }
    50% {
        box-shadow: 0 0 18px 2px rgba(212, 175, 122, 0.35);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-cta-shine,
    .btn-cta-shine::before {
        animation: none;
    }

    .btn-cta-shine {
        box-shadow: none;
    }

    .btn-cta-shine::before {
        display: none;
    }
}

.btn-outline-light-gold {
    color: #fff;
    border: 1px solid rgba(212, 175, 122, 0.85);
    background: transparent;
}

/* —— News grid —— */
#news .news-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#news .news-card-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8e4dc;
    flex: 0 0 auto;
}

#news .news-card-media picture,
#news .news-card-media img {
    display: block;
    width: 100%;
    height: 100%;
}

#news .news-card-media img {
    object-fit: cover;
    object-position: center;
}

#news .news-card > .p-4 {
    flex: 1 1 auto;
}

/* —— News detail page —— */
.detail-news-cover {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    background: #e8e4dc;
}

.detail-news-meta {
    color: rgba(45, 9, 19, 0.55);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.detail-news-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(45, 9, 19, 0.88);
}

.detail-news-body p + p {
    margin-top: 1rem;
}

.detail-projects-aside {
    position: sticky;
    top: 6rem;
}

.detail-projects-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(45, 9, 19, 0.08);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.detail-project-card:hover {
    border-color: rgba(201, 164, 106, 0.65);
    box-shadow: 0 12px 28px rgba(45, 9, 19, 0.1);
    color: inherit;
}

.detail-project-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.detail-project-card-body {
    padding: 0.9rem 1rem 1.05rem;
}

.detail-project-card-body--solo {
    min-height: 5.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-project-kicker {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(45, 9, 19, 0.5);
    margin-bottom: 0.25rem;
}

.detail-project-card-body strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.detail-project-meta {
    display: block;
    font-size: 0.82rem;
    color: rgba(45, 9, 19, 0.55);
}

/* —— Projects listing page (/projects) —— */
/* Parallax card adapted from https://codepen.io/matt-cannon/pen/wBaBQvo */
.projects-page {
    --x: 0;
    --y: 0;
    min-height: 55vh;
    background: #fff;
}

.projects-page-intro {
    max-width: 36rem;
    margin-bottom: 2.25rem;
}

.projects-page-intro p {
    color: rgba(45, 9, 19, 0.65);
}

.projects-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.projects-page-card {
    --x: 0;
    --y: 0;
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1.1;
    min-height: 220px;
    position: relative;
    overflow: hidden;
    border-radius: 2em;
    text-decoration: none;
    color: #fff;
    filter: drop-shadow(0 10px 20px rgba(45, 9, 19, 0.22));
    transition: filter 0.25s ease;
}

.projects-page-card:hover,
.projects-page-card:focus {
    color: #fff;
    filter: drop-shadow(0 14px 28px rgba(45, 9, 19, 0.32));
}

.projects-page-card .assets {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    z-index: 0;
}

.projects-page-card .assets > img {
    position: absolute;
    top: 0;
    left: 50%;
    translate: -50% 0;
    height: 100%;
    width: 115%;
    max-width: none;
    object-fit: cover;
    object-position: center 43%;
    user-select: none;
    pointer-events: none;
}

.projects-page-card .assets > img:first-of-type {
    filter: saturate(1.15) brightness(0.82);
    object-position: calc(50% + (var(--x) * 30px)) calc(50% + (var(--y) * -20px));
}

.projects-page-card .assets h3 {
    position: absolute;
    left: 50%;
    top: 10%;
    margin: 0;
    max-width: 92%;
    font-size: clamp(2rem, 5.5vw, 4.25rem);
    line-height: 0.95;
    text-align: center;
    text-transform: uppercase;
    font-family: "Bebas Neue", "Outfit", sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #fff;
    translate: calc(-50% + (var(--x) * -24px)) calc(var(--y) * -16px);
    z-index: 4;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.projects-page-card .content {
    min-height: 32%;
    position: absolute;
    bottom: 0;
    width: 100%;
    color: #fff;
    display: grid;
    gap: 0.2rem;
    place-items: center;
    align-content: center;
    padding: 0.75rem 1rem 1rem;
    z-index: 3;
}

.projects-page-card .content p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.85rem, 1.6vw, 1.1rem);
    position: relative;
    font-family: "Outfit", "Noto Sans Armenian", sans-serif;
}

.projects-page-card .content p:first-of-type::after {
    content: "";
    position: absolute;
    bottom: calc(100% + 0.75rem);
    left: 50%;
    width: min(20ch, 70%);
    background: rgba(255, 255, 255, 0.85);
    height: 1px;
    translate: -50% 0;
}

.projects-page-card .content p:last-of-type {
    opacity: 0.8;
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
}

.projects-page-card .blur {
    --layers: 5;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.projects-page-card .blur .layer {
    --blur: calc(
        sin(((var(--layers) - var(--index)) / var(--layers)) * 90deg) * 5
    );
    --stop: calc(sin(((var(--index)) / var(--layers)) * 90deg) * 25);
    position: absolute;
    inset: 0;
    background: hsl(0 0% 60% / 0.015);
    backdrop-filter: blur(min(calc(var(--blur) * 1px), 4px));
    -webkit-backdrop-filter: blur(min(calc(var(--blur) * 1px), 4px));
    mask: radial-gradient(
        180% 160% at 45% 90%,
        #fff 10%,
        #0000 calc((10 + var(--stop)) * 1%)
    );
    -webkit-mask: radial-gradient(
        180% 160% at 45% 90%,
        #fff 10%,
        #0000 calc((10 + var(--stop)) * 1%)
    );
    z-index: 2;
}

@media (max-width: 767.98px) {
    .projects-page-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }

    .projects-page-card {
        aspect-ratio: 2 / 1.25;
        border-radius: 1.5em;
    }
}

/* —— Production / responsive text safety —— */
/* overflow-x: hidden on html/body breaks position:sticky; clip does not. */
html {
    overflow-x: clip;
    max-width: 100%;
}

body {
    overflow-x: clip;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Desktop-only global scale (mimics browser zoom 90%) */
@media (min-width: 992px) {
    html {
        zoom: 0.9;
    }
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.hero-brand, .hero-lead, .unit-title, .brand-logo,
p, li, a, span, button, label, .nav-link {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

html[lang="hy"] h1,
html[lang="hy"] h2,
html[lang="hy"] h3,
html[lang="hy"] .hero-brand,
html[lang="hy"] .display-5,
html[lang="ru"] h1,
html[lang="ru"] h2,
html[lang="ru"] h3,
html[lang="ru"] .hero-brand,
html[lang="ru"] .display-5,
html[data-locale="hy"] .hero-brand,
html[data-locale="ru"] .hero-brand {
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: manual;
}

.hero-lead,
.unit-desc,
.amenity-feature p,
.location-highlight p {
    max-width: 40rem;
}

.hero-cta-group .btn,
.unit-tab,
.lang-switcher-btn,
.navbar-nav .nav-link {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
}

@media (max-width: 991.98px) {
    .brand-logo {
        font-size: 1.15rem;
        max-width: min(70vw, 280px);
    }

    .brand-logo .brand-hy {
        font-size: 0.62rem;
        white-space: normal;
    }

    .navbar-nav .nav-link.bg-primary {
        margin-left: 0 !important;
        margin-top: 0.5rem;
        display: inline-block;
        width: fit-content;
        max-width: 100%;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .carousel-caption .p-3 {
        max-width: 100% !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .hero-cta-group {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .hero-cta-group .btn {
        width: auto;
        max-width: 100%;
        flex: 0 1 auto;
    }

    .unit-meta-grid {
        grid-template-columns: 1fr 1fr;
    }

    .inquiry-panel {
        padding: 1.5rem;
    }

    .container-fluid.px-5 {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}

@media (max-width: 991.98px) {
    .site-navbar.is-pinned {
        z-index: 2000 !important;
    }
}

@media (max-width: 575.98px) {
    .display-5 {
        font-size: clamp(1.25rem, 1rem + 1.5vw, 1.55rem) !important;
    }

    .unit-tabs {
        flex-direction: column;
    }

    .unit-tab {
        width: 100%;
    }

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

/* Contrast: muted footer / body text */
.text-white-50 {
    color: rgba(255, 255, 255, 0.78) !important;
}

.text-muted {
    color: #5c584f !important;
}

.btn-outline-light-gold {
    color: #fff;
    border-color: #d4af7a;
}

.btn-outline-light-gold:focus-visible,
.btn-primary:focus-visible,
.lang-switcher-btn:focus-visible,
.unit-tab:focus-visible,
.nav-link:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 3px;
}

img {
    max-width: 100%;
    height: auto;
}

img:not(.brand-logo-img):not(.building-levels-base):not(.building-levels-fade) {
    border-radius: 0.35rem;
}

.portfolio-box img,
.service-item > img,
.service-item img.img-fluid {
    border-radius: 0.35rem;
}

picture {
    display: contents;
}

.carousel-item picture {
    display: block;
}

.carousel-item picture img,
.carousel-item > img {
    width: 100%;
    height: auto;
    min-height: clamp(260px, 45vh, 500px);
    object-fit: cover;
    border-radius: 0;
}

@media (max-width: 767.98px) {
    .carousel-caption .hero-brand {
        font-size: clamp(1.3rem, 7.2vw, 2rem);
        line-height: 1.15;
        max-width: min(92vw, 22ch);
        margin-left: auto;
        margin-right: auto;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .carousel-item[data-project="noor-club-house"] .hero-brand,
    .carousel-item[data-project="ptghni"] .hero-brand,
    .carousel-item[data-custom-project-slide] .hero-brand {
        height: auto;
        min-height: calc(var(--hero-call-btn-height) * 1.15);
        padding: 0.35rem 0.85rem;
    }

    .carousel-caption .hero-lead {
        font-size: clamp(0.9rem, 3.6vw, 1.05rem);
        line-height: 1.35;
        max-width: min(92vw, 40ch);
        margin-bottom: 1rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-cta-group {
        gap: 0.5rem;
    }

    .hero-cta-group .btn {
        min-height: 44px;
    }
}

/* Skip link for a11y */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--dark);
    color: #fff;
    padding: 0.75rem 1rem;
    z-index: 10000;
}

.skip-link:focus {
    left: 0.75rem;
    top: 0.75rem;
}

/* —— Apartment listings / layout selector —— */
.unit-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.unit-tab {
    appearance: none;
    border: 1px solid rgba(27, 35, 48, 0.18);
    background: transparent;
    color: var(--dark);
    font-family: "Outfit", "Noto Sans Armenian", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.85rem 1.4rem;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.unit-tab:hover {
    border-color: var(--primary);
    color: #2D0913;
}

.unit-tab.active {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

.unit-plan-frame {
    background:
        linear-gradient(135deg, rgba(144, 29, 62, 0.12), transparent 40%),
        #fff;
    border: 1px solid rgba(27, 35, 48, 0.08);
    padding: 1.25rem;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.unit-plan-img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
}

.unit-eyebrow {
    color: #2D0913;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    font-weight: 600;
}

html[lang="hy"] .unit-title,
html[data-locale="hy"] .unit-title,
html[lang="hy"] .unit-meta-value,
html[data-locale="hy"] .unit-meta-value {
    font-family: "Noto Sans Armenian", "Cormorant Garamond", "Noto Sans", sans-serif;
    letter-spacing: 0;
}

.unit-title {
    font-family: "Cormorant Garamond", "Noto Sans Armenian", serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--dark);
}

.unit-desc,
.unit-rooms {
    color: #5c584f;
    line-height: 1.7;
}

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

.unit-meta {
    border-top: 1px solid rgba(27, 35, 48, 0.12);
    padding-top: 0.75rem;
}

.unit-meta-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8b7355;
    margin-bottom: 0.25rem;
}

.unit-meta-value {
    font-family: "Cormorant Garamond", "Noto Sans Armenian", serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
}

.btn-outline-primary {
    color: #2D0913;
    border: 1px solid #60000C;
    background: transparent;
}

/* —— Amenities feature grid —— */
.amenity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

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

@media (max-width: 1199.98px) {
    .amenity-grid,
    .amenity-grid-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .amenity-grid,
    .amenity-grid-6 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .amenity-grid,
    .amenity-grid-6 {
        grid-template-columns: 1fr;
    }
}

/* Engineering — compact content; section headers keep normal size */
#engineering {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

#engineering > .text-center.mx-auto {
    margin-bottom: 1rem !important;
    max-width: 720px;
}

#engineering > .text-center.mx-auto > p {
    font-size: 0.9rem;
    line-height: 1.4;
}

#engineering > .text-center.text-uppercase.fw-bold {
    margin-top: 1.1rem !important;
    font-size: 0.85rem;
}

.engineering-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem 0.85rem;
}

@media (max-width: 1199.98px) {
    .engineering-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .engineering-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .engineering-grid {
        grid-template-columns: 1fr;
    }
}

.engineering-item {
    padding: 0.65rem 0.75rem;
    border-left: 3px solid var(--primary);
    background: linear-gradient(90deg, rgba(243, 239, 232, 0.65), transparent 70%);
}

.engineering-item h4 {
    font-size: 0.98rem;
    margin-bottom: 0.25rem;
    color: var(--dark);
    line-height: 1.25;
}

.engineering-item p {
    margin: 0;
    font-size: 0.78rem;
    color: #5c584f;
    line-height: 1.35;
}

.amenity-feature {
    position: relative;
    padding: 2rem 1.35rem;
    background:
        linear-gradient(180deg, rgba(243, 239, 232, 0.9), #fff 55%),
        #fff;
    border-top: 3px solid var(--primary);
    min-height: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amenity-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(27, 35, 48, 0.08);
}

.amenity-feature i {
    font-size: 1.85rem;
    color: #2D0913;
    margin-bottom: 1rem;
    display: inline-block;
}

.amenity-feature h4 {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
    color: var(--dark);
}

.amenity-feature p {
    margin: 0;
    font-size: 0.92rem;
    color: #5c584f;
    line-height: 1.6;
}

/* —— Inquiry form —— */
.inquiry-panel {
    background: #fff;
    border: 1px solid rgba(27, 35, 48, 0.08);
    padding: 2.5rem;
}

.inquiry-panel .form-control,
.inquiry-panel .form-select {
    border: 1px solid rgba(27, 35, 48, 0.12) !important;
    background: var(--light) !important;
    border-radius: 0.35rem;
    height: 55px;
    font-family: "Outfit", "Noto Sans Armenian", sans-serif;
}

.inquiry-panel textarea.form-control {
    height: auto;
    min-height: 120px;
}

.inquiry-panel .form-control:focus,
.inquiry-panel .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: none;
}

.inquiry-unit-summary {
    padding: 1.1rem 1.15rem;
    background: rgba(184, 149, 108, 0.08);
    border: 1px solid rgba(184, 149, 108, 0.28);
    border-radius: 0.35rem;
}

.inquiry-unit-summary-title {
    margin: 0;
    font-family: "Outfit", "Noto Sans Armenian", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dark, #1b2330);
}

.inquiry-panel .inquiry-unit-summary .form-control[readonly] {
    background: #fff !important;
    color: var(--dark, #1b2330);
    cursor: default;
    opacity: 1;
}

.inquiry-status {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
}

.inquiry-status.success {
    background: rgba(25, 135, 84, 0.1);
    color: #146c43;
}

.inquiry-status.error {
    background: rgba(220, 53, 69, 0.1);
    color: #b02a37;
}

.inquiry-status.pending {
    background: rgba(144, 29, 62, 0.15);
    color: var(--dark);
}

/* —— Location / map —— */
.location-panel[hidden] {
    display: none !important;
}

.location-map-hint {
    letter-spacing: 0.02em;
}

.location-addresses {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
}

.location-addresses li {
    display: grid;
}

.location-select {
    display: grid;
    gap: 0.2rem;
    width: 100%;
    text-align: left;
    border: 1px solid rgba(27, 35, 48, 0.12);
    background: #fff;
    border-radius: 0.35rem;
    padding: 0.85rem 1rem;
    transition: border-color 0.2s, background 0.2s;
}

.location-select:hover,
.location-select:focus-visible {
    border-color: rgba(96, 0, 12, 0.45);
    outline: none;
}

.location-select.is-active {
    border-color: #60000C;
    background: rgba(96, 0, 12, 0.04);
}

.location-addresses-title {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
    color: #2D0913;
}

.location-addresses-meta {
    font-size: 0.85rem;
    color: rgba(27, 35, 48, 0.72);
    line-height: 1.4;
}

.location-map-wrap {
    position: relative;
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    background: var(--dark);
    overflow: hidden;
    border-radius: 0.35rem;
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .location-map-wrap {
        height: 380px;
        min-height: 380px;
        max-height: 380px;
    }
}

@media (min-width: 992px) {
    .location-map-wrap {
        height: 520px;
        min-height: 520px;
        max-height: 520px;
    }
}

.location-map-wrap .projects-map,
.location-map-wrap .projects-map-embed,
.location-map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
}

.location-map-wrap .projects-map {
    position: absolute;
    inset: 0;
    z-index: 1;
    min-height: 0;
}

/* Admin iframe embed — fill the same panel as Noor’s Leaflet map */
.location-map-wrap .projects-map-embed {
    position: absolute;
    inset: 0;
    z-index: 1;
    min-height: 0;
}

.location-map-wrap .projects-map-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    display: block;
}

/* Project name tag over admin iframe (Yandex/Google embed centers on pin) */
.location-map-tag {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    width: 160px;
    height: 54px;
    margin: 0;
    transform: translate(-16px, -42px);
    pointer-events: none;
}

.location-map-wrap.has-map-tag::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(15, 8, 10, 0.12),
        transparent 28%
    );
}

.projects-map {
    z-index: 1;
}

.projects-map-marker {
    background: transparent !important;
    border: 0 !important;
    position: relative;
    overflow: visible !important;
}

.projects-map-marker-pin {
    display: block;
    width: 28px;
    height: 28px;
    margin: 0;
    border-radius: 50% 50% 50% 0;
    background: #60000C;
    border: 3px solid #fff;
    box-shadow:
        0 0 0 3px rgba(96, 0, 12, 0.35),
        0 4px 14px rgba(0, 0, 0, 0.55);
    transform: rotate(-45deg);
}

.projects-map-marker-label {
    position: absolute;
    left: 34px;
    top: 2px;
    max-width: 12rem;
    padding: 0.35rem 0.55rem;
    background: #fff;
    color: #2D0913;
    border: 2px solid #60000C;
    border-radius: 0.35rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    font-family: "Outfit", "Noto Sans Armenian", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.projects-map-marker.is-active .projects-map-marker-pin {
    background: #d4af7a;
    border-color: #fff;
    box-shadow:
        0 0 0 4px rgba(212, 175, 122, 0.55),
        0 4px 16px rgba(0, 0, 0, 0.55);
}

.projects-map-marker.is-active .projects-map-marker-label {
    background: #60000C;
    color: #fff;
    border-color: #fff;
}

.projects-map-popup strong {
    display: block;
    margin-bottom: 0.35rem;
    font-family: "Outfit", "Noto Sans Armenian", sans-serif;
    font-size: 0.95rem;
    color: #2D0913;
}

.projects-map-popup p {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.projects-map-popup a {
    font-size: 0.8rem;
    font-weight: 600;
    color: #60000C;
}

.location-map-wrap .leaflet-container {
    font-family: "Outfit", "Noto Sans Armenian", sans-serif;
    background: #1a1a1a;
}

/* Reusable wrapper sizing classes (replaces inline max-width/min-height styles) */
.layout-max-920 { max-width: 920px; }
.layout-max-720 { max-width: 720px; }
.layout-max-640 { max-width: 640px; }
.layout-max-600 { max-width: 600px; }

.layout-minh-320 { min-height: 320px; }
.layout-minh-400 { min-height: 400px; }

/* Contact page map column responsive heights */
.contact-map-col {
    height: 280px;
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .contact-map-col {
        height: 380px;
    }
}

@media (min-width: 992px) {
    .contact-map-col {
        height: 520px;
    }
}

.location-highlights {
    display: grid;
    gap: 1.25rem;
}

.location-highlight {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(27, 35, 48, 0.1);
}

.location-highlight:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.location-highlight i {
    color: #2D0913;
    font-size: 1.35rem;
    margin-top: 0.15rem;
}

.location-highlight h5 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    color: var(--dark);
}

.location-highlight p {
    margin: 0;
    color: #5c584f;
    font-size: 0.92rem;
    line-height: 1.55;
}

.section-kicker {
    display: block;
    color: #2D0913;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* —— Project facts (norakaruyc specs) —— */
#project-facts {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
}

#project-facts > .d-flex {
    margin-bottom: 0.85rem !important;
}

#project-facts .display-5 {
    font-size: calc(1.425rem + 1.8vw);
    margin-bottom: 0.65rem !important;
}

#project-facts .section-kicker {
    margin-bottom: 0.45rem;
}

.facts-actions {
    align-items: center;
}

.facts-available {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    background: #60000C;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid #60000C;
    border-radius: 0.35rem;
    white-space: normal;
    line-height: 1.3;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (max-width: 1199.98px) {
    .facts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .facts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .facts-grid {
        grid-template-columns: 1fr;
    }
}

.fact-card {
    padding: 0.9rem 0.85rem;
    background: #fff;
    border: 1px solid rgba(27, 35, 48, 0.08);
    border-top: 3px solid var(--primary);
    min-height: 6.8rem;
}

.fact-card i {
    color: #2D0913;
    font-size: 1.1rem;
    margin-bottom: 0.45rem;
    display: inline-block;
}

.fact-label {
    margin: 0 0 0.25rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6a655c;
    line-height: 1.3;
}

.fact-value {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

/* —— Features checklist —— */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem 1rem;
}

@media (max-width: 991.98px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-chip {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid rgba(27, 35, 48, 0.08);
    border-radius: 0.35rem;
    min-height: 3.75rem;
}

.feature-chip i {
    color: #2D0913;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature-chip span {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--dark);
    overflow-wrap: anywhere;
}


/* �� Building levels interactive �� */
.building-levels-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.building-levels-layout--photo {
    grid-template-columns: minmax(0, 1fr);
}

.building-levels-stage-wrap {
    min-width: 0;
    position: relative;
}

.building-levels-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.75rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(45, 9, 19, 0.18);
    border-radius: 0.35rem;
    background: #fff;
    color: var(--dark, #1B2330);
    font-family: "Outfit", "Noto Sans Armenian", "Noto Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

html[lang="hy"] .building-levels-back,
html[data-locale="hy"] .building-levels-back {
    font-family: "Noto Sans Armenian", "Outfit", "Noto Sans", sans-serif;
    letter-spacing: 0.02em;
    text-transform: none;
}

.building-levels-back[hidden] {
    display: none !important;
}

.building-levels-back:hover,
.building-levels-back:focus-visible {
    background: var(--light, #F3EFE8);
    border-color: var(--primary, #B8956C);
    outline: none;
}

#building-levels.is-plan-view .building-levels-stage {
    background: #fff;
}

.building-levels-stage {
    position: relative;
    width: 100%;
    line-height: 0;
    cursor: pointer;
    background: #f3efe8;
    overflow: hidden;
    border-radius: 0.35rem;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    overscroll-behavior: contain;
}

.building-levels-stage.is-loading {
    pointer-events: none;
    cursor: wait;
}

.building-levels-stage.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    background: rgba(243, 239, 232, 0.35);
    pointer-events: none;
}

.building-levels-active.is-loading-hint {
    opacity: 1;
}

.building-levels-stage > picture {
    display: block !important; /* override global picture { display: contents } */
    margin: 0;
    width: 100%;
    line-height: 0;
}

.building-levels-base {
    display: block;
    width: 100%;
    height: auto;
}

.building-levels-fade {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    opacity: 0;
    pointer-events: none;
    display: block;
    z-index: 1;
    transition: opacity 0.18s ease-out;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.building-levels-fade.is-visible {
    opacity: 1;
}

@media (hover: none), (pointer: coarse) {
    .building-levels-fade {
        transition: opacity 0.08s ease-out;
    }

}

.building-levels-fade.is-front {
    z-index: 2;
}

/* Sold/reserved silhouette tints from shade PNGs */
.building-levels-highlight-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.18s ease-out, filter 0.18s ease-out;
}

/* Match hover wash: mute red/yellow when a free unit shade is shown */
.building-levels-highlight-layer.is-washed {
    opacity: 0.38;
    filter: brightness(1.45) saturate(0.55);
}

.building-levels-highlight-canvas {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.building-levels-active {
    position: absolute;
    top: 7rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0;
    max-width: min(34rem, calc(100% - 2rem));
    padding: 0.5rem 1rem;
    pointer-events: none;
    text-align: center;
    font-family: "Outfit", "Noto Sans Armenian", "Noto Sans", sans-serif;
    font-size: clamp(0.82rem, 0.74rem + 0.35vw, 0.98rem);
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.02em;
    line-height: 1.4;
    text-transform: none;
    color: #fff;
    background: #901D3E;
    border-radius: 2px;
    white-space: normal;
}

html[lang="hy"] .building-levels-active,
html[data-locale="hy"] .building-levels-active {
    font-family: "Noto Sans Armenian", "Outfit", "Noto Sans", sans-serif;
    letter-spacing: 0;
    font-style: normal;
}

#building-levels.is-plan-view .building-levels-active {
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Move interactive hint/active label upward on touch layouts */
@media (max-width: 991.98px) {
    .building-levels-active {
        top: 1.5rem;
    }

    #building-levels.is-plan-view .building-levels-stage {
        overflow: visible;
    }

    #building-levels.is-plan-view .building-levels-active {
        top: -3.5rem;
        transform: translateX(-50%);
    }
}

@media (max-width: 575.98px) {
    .carousel-caption .hero-lead {
        display: none !important;
    }

    .hero-cta-group .btn {
        min-height: 36px;
        padding: 0.38rem 0.7rem !important;
        font-size: 0.72rem;
        line-height: 1.15;
        letter-spacing: 0.02em;
        border-radius: 0.3rem;
    }

    .hero-cta-group {
        gap: 0.4rem;
    }

    .building-levels-active {
        top: 0.75rem;
    }

    #building-levels.is-plan-view .building-levels-stage {
        overflow: visible;
    }

    #building-levels.is-plan-view .building-levels-active {
        top: -4rem;
        transform: translateX(-50%);
    }
}

.building-levels-info-icon {
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    object-fit: contain;
    border-radius: 0 !important;
}

.building-levels-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.building-level-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(27, 35, 48, 0.12);
    border-radius: 0.35rem;
    background: #fff;
    color: var(--dark);
    font-family: "Outfit", "Noto Sans Armenian", "Noto Sans", sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.building-level-btn:hover,
.building-level-btn:focus-visible,
.building-level-btn.is-active {
    background: #60000C;
    border-color: #60000C;
    color: #fff;
    outline: none;
}

.level-plan-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(27, 35, 48, 0.72);
}

.level-plan-modal[hidden] {
    display: none !important;
}

.level-plan-dialog {
    width: min(1100px, 100%);
    max-height: calc(100vh - 2.5rem);
    overflow: auto;
    background: #fff;
    padding: 1.25rem 1.35rem 1.5rem;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.level-plan-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.level-plan-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 0.85rem;
}

.level-plan-tabs[hidden] {
    display: none !important;
}

.level-plan-tab {
    border: 1px solid rgba(27, 35, 48, 0.16);
    background: #fff;
    color: var(--dark);
    font-family: "Outfit", "Noto Sans Armenian", "Noto Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.45rem 0.8rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.level-plan-tab:hover,
.level-plan-tab:focus-visible,
.level-plan-tab.is-active {
    background: #60000C;
    border-color: #60000C;
    color: #fff;
    outline: none;
}

.level-plan-title {
    margin: 0;
    font-family: "Cormorant Garamond", "Noto Sans Armenian", "Noto Sans", serif;
    font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.35rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
    color: var(--dark);
}

html[lang="hy"] .level-plan-title,
html[data-locale="hy"] .level-plan-title {
    font-family: "Noto Sans Armenian", "Cormorant Garamond", "Noto Sans", sans-serif;
    letter-spacing: 0.01em;
    text-transform: none;
}

.level-plan-close {
    border: 0;
    background: transparent;
    font-family: "Outfit", "Noto Sans", sans-serif;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--dark);
    cursor: pointer;
    padding: 0.15rem 0.4rem;
}

.level-plan-note {
    margin: 0 0 1rem;
    color: #6a655c;
    font-family: "Outfit", "Noto Sans Armenian", "Noto Sans", sans-serif;
    font-size: 0.92rem;
    line-height: 1.5;
}

.level-plan-note[hidden] {
    display: none !important;
}

.level-plan-body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    gap: 1.35rem;
    align-items: start;
}

.level-plan-media {
    background: #f3efe8;
    padding: 0.75rem;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.level-plan-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(70vh, 560px);
    object-fit: contain;
}

.level-plan-info {
    font-family: "Outfit", "Noto Sans Armenian", "Noto Sans", sans-serif;
}

html[lang="hy"] .level-plan-info,
html[data-locale="hy"] .level-plan-info {
    font-family: "Noto Sans Armenian", "Outfit", "Noto Sans", sans-serif;
}

.level-plan-info .unit-eyebrow {
    font-family: inherit;
    letter-spacing: 0.1em;
}

html[lang="hy"] .level-plan-info .unit-eyebrow,
html[data-locale="hy"] .level-plan-info .unit-eyebrow {
    letter-spacing: 0.04em;
}

.level-plan-info .unit-title {
    font-family: "Cormorant Garamond", "Noto Sans Armenian", "Noto Sans", serif;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.25;
}

html[lang="hy"] .level-plan-info .unit-title,
html[data-locale="hy"] .level-plan-info .unit-title {
    font-family: "Noto Sans Armenian", "Cormorant Garamond", "Noto Sans", sans-serif;
    letter-spacing: 0;
}

.level-plan-info .unit-desc,
.level-plan-info .unit-rooms {
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.65;
}

.level-plan-info .unit-meta-label {
    font-family: inherit;
    letter-spacing: 0.08em;
}

html[lang="hy"] .level-plan-info .unit-meta-label,
html[data-locale="hy"] .level-plan-info .unit-meta-label {
    letter-spacing: 0.03em;
}

.level-plan-info .unit-meta-value {
    font-family: "Cormorant Garamond", "Noto Sans Armenian", "Noto Sans", serif;
}

html[lang="hy"] .level-plan-info .unit-meta-value,
html[data-locale="hy"] .level-plan-info .unit-meta-value {
    font-family: "Noto Sans Armenian", "Cormorant Garamond", "Noto Sans", sans-serif;
}

.level-plan-info .btn {
    font-family: "Outfit", "Noto Sans Armenian", "Noto Sans", sans-serif;
}

html[lang="hy"] .level-plan-info .btn,
html[data-locale="hy"] .level-plan-info .btn {
    font-family: "Noto Sans Armenian", "Outfit", "Noto Sans", sans-serif;
    letter-spacing: 0.02em;
}

.level-plan-sample-note {
    margin: 0;
    font-family: inherit;
    font-size: 0.8rem;
    font-style: normal;
    color: #8b7355;
    line-height: 1.45;
}

body.level-plan-open {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .level-plan-body {
        grid-template-columns: 1fr;
    }

    .level-plan-media img {
        max-height: 42vh;
    }
}

@media (max-width: 991.98px) {
    .building-levels-layout {
        grid-template-columns: 1fr;
    }

    .building-levels-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .building-levels-list {
        grid-template-columns: 1fr;
    }
}

/* Hide body until locale + cloud content are both ready */
html:not(.i18n-ready):not(.lang-gate-open) body,
html.needs-cloud-gate:not(.cloud-ready):not(.lang-gate-open) body {
    visibility: hidden;
}

/* —— First-visit language gate —— */
html.lang-gate-open,
html.lang-gate-open body {
    overflow: hidden;
}

.lang-gate {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 1.5rem;
    background:
        linear-gradient(160deg, rgba(45, 9, 19, 0.94), rgba(96, 0, 12, 0.92)),
        url("../img/noorbanner3.jpg") center / cover no-repeat;
}

html.lang-gate-open .lang-gate {
    display: flex;
}

.lang-gate[hidden] {
    display: none !important;
}

.lang-gate-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(420px, 100%);
    margin: auto;
    text-align: center;
    color: #fff;
    padding: 2rem 1.5rem;
}

.lang-gate-logo {
    height: 52px;
    width: auto;
    margin: 0 auto 1.5rem;
    display: block;
}

.lang-gate-titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0 0 1.75rem;
    width: 100%;
}

.lang-gate-title {
    font-family: "Cormorant Garamond", "Noto Sans Armenian", serif;
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    color: #fff;
    text-align: center;
}

.lang-gate-title-alt {
    font-size: clamp(1.15rem, 1rem + 0.8vw, 1.45rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
}

.lang-gate-lead {
    margin: 0 0 1.75rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.lang-gate-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
}

.lang-gate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0.35rem;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: "Outfit", "Noto Sans Armenian", "Noto Sans", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.lang-gate-btn img {
    width: 40px;
    height: 28px;
    object-fit: cover;
    border-radius: 0.2rem;
    flex-shrink: 0;
}

.lang-gate-btn:hover,
.lang-gate-btn:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-1px);
    outline: none;
}

/* NCH dedicated page — panel always visible */
body.nch-page .nch-project-panel,
body.nch-page .nch-project-panel.is-open {
    display: block !important;
}

#building-levels.is-availability-view [data-levels-plans-frame],
#building-levels.is-plans-view [data-levels-available-frame] {
    display: none !important;
}

/* Keep plans + apartments picture frames the same width inside #building-levels */
#building-levels .building-levels-layout,
#building-levels .apts-board {
    max-width: 980px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#building-levels .building-levels-stage,
#building-levels .apts-board-stage {
    width: 100%;
    max-width: none;
    border-radius: 0.35rem;
}

/* Apartments stage matches the plans image box height once the base image is known */
#building-levels.is-availability-view .apts-board-stage {
    aspect-ratio: unset;
    height: var(--nch-levels-frame-h, auto);
    min-height: 0;
}

.levels-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem 0.9rem;
    margin: 0.15rem auto 0.55rem;
    max-width: 720px;
    text-align: center;
}

.levels-cta-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.75rem;
    margin: 0 auto 1.1rem;
    max-width: 980px;
    width: 100%;
}

.levels-cta-row .btn {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    font-family: "Outfit", "Noto Sans Armenian", "Noto Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

html[lang="hy"] .levels-cta-row .btn,
html[data-locale="hy"] .levels-cta-row .btn {
    font-family: "Noto Sans Armenian", "Outfit", "Noto Sans", sans-serif;
    letter-spacing: 0.02em;
}

@media (max-width: 575.98px) {
    .levels-cta-row {
        flex-wrap: wrap;
    }

    .levels-cta-row .btn {
        flex: 1 1 100%;
    }
}

.levels-heading .nch-page-logo-img {
    display: block;
    width: auto;
    height: clamp(24px, 3.15vw, 34px);
    max-width: 105px;
    margin: 0;
    object-fit: contain;
}

.nch-page-logo {
    margin: 0.5rem auto 1.25rem;
}

.nch-page-logo-img {
    display: block;
    margin: 0 auto;
    width: auto;
    height: clamp(64px, 10vw, 110px);
    max-width: min(360px, 72vw);
    object-fit: contain;
}

.specs-checklist p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.specs-checklist .fa {
    font-size: 0.85rem;
}
