/********** Template CSS **********/
:root {
    --primary: #B28B3A;
    --primary-dark: #8F6F2A;
    --secondary: #16304F;
    --light: #F6F1E7;
    --dark: #0B1F38;
}

body {
    -webkit-font-smoothing: antialiased;
}


/*** Professional Polish ***/
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    box-shadow: 0 8px 20px rgba(178, 139, 58, .25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 10px 26px rgba(178, 139, 58, .35);
    transform: translateY(-2px);
}

.btn-dark {
    box-shadow: 0 8px 20px rgba(11, 31, 56, .2);
}

.btn-dark:hover {
    transform: translateY(-2px);
}

.header-carousel .owl-carousel-item {
    position: relative;
}

.header-carousel .owl-carousel-item img {
    border-radius: 12px;
}

.property-item {
    box-shadow: 0 10px 35px rgba(11, 31, 56, .08);
    transition: transform .4s ease, box-shadow .4s ease;
    border-radius: 10px !important;
}

.property-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(11, 31, 56, .16);
}

.cat-item {
    transition: transform .4s ease;
}

.cat-item:hover {
    transform: translateY(-6px);
}

.team-item {
    transition: transform .4s ease, box-shadow .4s ease;
}

.team-item:hover {
    transform: translateY(-6px);
}

.about-img::before {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.testimonial-item {
    transition: transform .4s ease;
}

.testimonial-item:hover {
    transform: translateY(-4px);
}

::selection {
    background: var(--primary);
    color: #fff;
}


/*** WhatsApp Floating Button ***/
.whatsapp-float {
    position: fixed;
    left: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
    z-index: 9999;
    animation: whatsapp-pulse 2.2s infinite;
    transition: transform .3s ease, background .3s ease;
}

.whatsapp-float:hover {
    color: #FFFFFF;
    background: #1EBE5A;
    transform: scale(1.1);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        left: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
        font-size: 28px;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.nav-bar {
    position: relative;
    margin-top: 45px;
    padding: 0 3rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .nav-bar {
        margin: 0;
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (min-width: 992px) {
    .header {
        margin-top: -120px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

@media (max-width: 768px) {
    .header-carousel .owl-nav {
        left: 25px;
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #DDDDDD;
}


/*** Icon ***/
.icon {
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
    border: 1px dashed var(--primary) !important;
}


/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: skew(20deg);
    z-index: 1;
}


/*** Category ***/
.cat-item div {
    background: #FFFFFF;
    border: 1px dashed rgba(178, 139, 58, .3);
    transition: .5s;
}

.cat-item:hover div {
    background: var(--primary);
    border-color: transparent;
}

.cat-item div * {
    transition: .5s;
}

.cat-item:hover div * {
    color: #FFFFFF !important;
}


/*** Property List ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.property-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.property-item img {
    transition: .5s;
}

.property-item:hover img {
    transform: scale(1.1);
}

.property-item .border-top {
    border-top: 1px dashed rgba(178, 139, 58, .3) !important;
}

.property-item .border-end {
    border-right: 1px dashed rgba(178, 139, 58, .3) !important;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transition: .5s;
}

.team-item .btn {
    color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(178, 139, 58, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    /* bottom space keeps the fixed WhatsApp and back-to-top buttons clear of the text */
    padding: 25px 0 105px;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*** Shared Page Components (About & Home) ***/
/* Eyebrow & titles */
.ab-eyebrow { display: inline-flex; align-items: center; gap: .75rem; color: var(--primary); font-size: .78rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.ab-eyebrow::before { content: ""; width: 38px; height: 2px; background: currentColor; }
.ab-eyebrow.center::after { content: ""; width: 38px; height: 2px; background: currentColor; }
.ab-title { color: var(--secondary); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
/* Page hero */
.ab-hero { position: relative; min-height: 640px; display: flex; align-items: center; background: var(--dark) center 40%/cover no-repeat; overflow: hidden; }
.ab-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,31,56,.94) 0%, rgba(11,31,56,.78) 42%, rgba(11,31,56,.25) 75%, rgba(11,31,56,.1) 100%); }
.ab-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(to top, rgba(11,31,56,.55), transparent); }
.ab-hero .container { position: relative; z-index: 2; padding: 6rem 3rem 9rem; }
@media (max-width: 575.98px) { .ab-hero { min-height: 560px; } .ab-hero .container { padding: 4rem 1.5rem 8rem; } }
.ab-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; max-width: 680px; }
.ab-hero h1 span { color: #E9CF93; }
.ab-hero p.lead { color: rgba(255,255,255,.8); max-width: 560px; font-size: 1.12rem; line-height: 1.8; }
.ab-crumb { display: flex; gap: .6rem; list-style: none; padding: 0; margin: 0 0 1.75rem; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; }
.ab-crumb a { color: rgba(255,255,255,.65); }
.ab-crumb a:hover { color: #fff; }
.ab-crumb li + li::before { content: "/"; color: rgba(255,255,255,.35); margin-right: .6rem; }
.ab-crumb .active { color: #E9CF93; }
/* Ghost button */
.ab-btn-ghost { border: 1px solid rgba(255,255,255,.45); color: #fff; backdrop-filter: blur(4px); background: rgba(255,255,255,.06); }
.ab-btn-ghost:hover { background: #fff; color: var(--secondary); border-color: #fff; }
/* Highlights bar */
.ab-highlights { position: relative; z-index: 3; margin-top: -72px; }
.ab-highlights .inner { background: #fff; border-radius: 18px; box-shadow: 0 30px 60px rgba(11,31,56,.14); padding: 2rem 1.5rem; }
.ab-hl { display: flex; align-items: center; gap: 1rem; padding: .5rem 1rem; }
.ab-hl + .ab-hl { border-left: 1px solid rgba(11,31,56,.08); }
.ab-hl i { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--primary); background: rgba(178,139,58,.1); }
.ab-hl h6 { margin: 0 0 .15rem; color: var(--secondary); font-weight: 700; }
.ab-hl small { color: #6b7280; line-height: 1.4; display: block; }
@media (max-width: 991.98px) { .ab-hl + .ab-hl { border-left: 0; } }
/* Story */
.ab-collage { position: relative; padding: 0 3.5rem 4.5rem 0; }
.ab-collage::before { content: ""; position: absolute; top: -22px; left: -22px; width: 55%; height: 60%; border: 2px solid var(--primary); border-radius: 18px; opacity: .55; }
.ab-collage .main { position: relative; width: 100%; aspect-ratio: 4/4.4; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px rgba(11,31,56,.18); }
.ab-collage .sub { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; border: 8px solid #fff; box-shadow: 0 25px 50px rgba(11,31,56,.22); }
.ab-badge { position: absolute; left: -10px; bottom: 2.25rem; background: linear-gradient(135deg, var(--secondary), var(--dark)); color: #fff; border-radius: 14px; padding: 1rem 1.25rem; display: flex; align-items: center; gap: .85rem; box-shadow: 0 20px 40px rgba(11,31,56,.3); max-width: 250px; }
.ab-badge i { color: #E9CF93; font-size: 1.6rem; }
.ab-badge span { font-size: .88rem; line-height: 1.35; font-weight: 500; }
.ab-point { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(11,31,56,.08); }
.ab-point:last-of-type { border-bottom: 0; }
.ab-point i { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); box-shadow: 0 0 0 6px rgba(178,139,58,.12); }
.ab-point p { margin: 0; color: var(--secondary); font-weight: 500; align-self: center; }
@media (max-width: 575.98px) { .ab-collage { padding: 0 1.5rem 3.5rem 0; } .ab-collage::before { top: -12px; left: -12px; } .ab-badge { left: 0; bottom: 1rem; max-width: 200px; padding: .8rem 1rem; } }
/* Founders */
.ab-founder { position: relative; border-radius: 18px; overflow: hidden; background: var(--light); box-shadow: 0 18px 40px rgba(11,31,56,.1); transition: transform .4s, box-shadow .4s; }
.ab-founder:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(11,31,56,.18); }
.ab-founder img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; display: block; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.ab-founder:hover img { transform: scale(1.05); }
.ab-founder::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,31,56,.92) 0%, rgba(11,31,56,.35) 32%, rgba(11,31,56,0) 55%); }
.ab-founder .info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.5rem; text-align: center; }
.ab-founder h5 { color: #fff; margin: 0 0 .2rem; font-weight: 700; }
.ab-founder small { color: #E9CF93; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .7rem; }
.ab-founder .loc { display: block; color: rgba(255,255,255,.75); font-size: .8rem; margin-top: .35rem; }
.ab-founder .loc i { color: #E9CF93; margin-right: .35rem; }
.ab-founder .social { display: flex; justify-content: center; gap: .5rem; margin-top: 0; max-height: 0; opacity: 0; overflow: hidden; transition: all .45s ease; }
.ab-founder:hover .social { max-height: 60px; opacity: 1; margin-top: 1rem; }
.ab-founder .social a { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; border: 1px solid rgba(255,255,255,.35); font-size: .85rem; transition: all .3s; }
.ab-founder .social a:hover { background: var(--primary); border-color: var(--primary); }
@media (max-width: 575.98px) { .ab-founder { border-radius: 12px; } .ab-founder .info { padding: .9rem .5rem; } .ab-founder h5 { font-size: .95rem; } .ab-founder small { font-size: .6rem; letter-spacing: .12em; } .ab-founder .loc { font-size: .7rem; } }
/* Founders: "Private Doors" reveal */
.fd-grid .ab-founder { background: var(--dark); }
.fd-grid .ab-founder img { filter: blur(10px) grayscale(1) brightness(.6); transform: scale(1.15); transition: transform 1.4s cubic-bezier(.2,.7,.2,1), filter 1.2s ease .1s; }
.fd-grid .ab-founder.is-open img { filter: none; transform: scale(1); transition-delay: .35s, .45s; }
.fd-grid .ab-founder.is-open:hover img { transform: scale(1.05); transition-delay: 0s; }
.fd-grid .ab-founder .info { opacity: 0; transform: translateY(24px); transition: opacity .35s ease, transform .35s ease; }
.fd-grid .ab-founder.is-open .info { opacity: 1; transform: none; transition: opacity .7s ease .85s, transform .8s cubic-bezier(.2,.7,.2,1) .85s; }
.fd-grid .ab-founder.is-open .info > * { animation: fdRise .8s cubic-bezier(.2,.7,.2,1) both; }
.fd-grid .ab-founder.is-open .info > :nth-child(1) { animation-delay: .9s; }
.fd-grid .ab-founder.is-open .info > :nth-child(2) { animation-delay: 1s; }
.fd-grid .ab-founder.is-open .info > :nth-child(3) { animation-delay: 1.1s; }
@keyframes fdRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (hover: none) { .fd-grid .ab-founder.is-open .social { max-height: 60px; opacity: 1; margin-top: 1rem; } }

.fd-veil { position: absolute; inset: 0; z-index: 3; padding: 0; border: 0; background: transparent; cursor: pointer; perspective: 1100px; overflow: hidden; border-radius: inherit; }
.fd-veil:focus-visible { outline: 2px solid #E9CF93; outline-offset: -6px; }
.fd-door { position: absolute; top: 0; bottom: 0; width: 50.4%; transition: transform 1.1s cubic-bezier(.77,0,.18,1) .15s, opacity .25s ease .15s, filter 1.1s ease .15s;
    background:
        radial-gradient(120% 60% at 50% 0%, rgba(233,207,147,.1), transparent 60%),
        repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 8px),
        linear-gradient(165deg, var(--secondary) 0%, var(--dark) 75%); }
.fd-door::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(233,207,147,.2); border-radius: 10px; box-shadow: inset 0 0 30px rgba(0,0,0,.25); }
.fd-door-l { left: 0; transform-origin: left center; border-right: 1px solid rgba(233,207,147,.45); }
.fd-door-l::before { right: 10px; }
.fd-door-r { right: 0; transform-origin: right center; border-left: 1px solid rgba(233,207,147,.45); }
.fd-door-r::before { left: 10px; }
/* the light leaking through the seam */
.fd-veil::before { content: ""; position: absolute; left: 50%; top: 6%; bottom: 6%; width: 2px; margin-left: -1px; z-index: 1; background: linear-gradient(to bottom, transparent, #E9CF93 30%, #fff5dc 50%, #E9CF93 70%, transparent); box-shadow: 0 0 14px 2px rgba(233,207,147,.55); animation: fdGlow 3.2s ease-in-out infinite; transition: opacity .3s; }
@keyframes fdGlow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
/* a sheen that sweeps the doors on hover */
.fd-veil::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: -60%; width: 45%; z-index: 1; background: linear-gradient(100deg, transparent, rgba(255,245,220,.13), transparent); transform: skewX(-18deg); transition: left .9s ease; pointer-events: none; }
.ab-founder:not(.is-open) .fd-veil:hover::after { left: 120%; }

.fd-seal { position: absolute; left: 50%; top: 50%; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .9rem; transform: translate(-50%, -50%); transition: opacity .6s ease .8s, transform .8s cubic-bezier(.2,.7,.2,1) .8s; white-space: nowrap; }
.fd-no { color: #E9CF93; font-size: .7rem; font-weight: 600; letter-spacing: .35em; text-indent: .35em; }
.fd-mono { position: relative; width: 92px; height: 92px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1.85rem; letter-spacing: .06em; text-indent: .06em;
    background: radial-gradient(circle at 30% 25%, #1d3a5e, var(--dark) 70%); border: 1px solid rgba(233,207,147,.7);
    box-shadow: 0 0 0 6px rgba(11,31,56,.85), 0 0 0 7px rgba(233,207,147,.3), 0 18px 40px rgba(0,0,0,.45); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.fd-mono { color: #E9CF93; text-shadow: 0 0 18px rgba(233,207,147,.35); }
.fd-mono::before { content: ""; position: absolute; inset: -15px; border-radius: 50%; border: 1px dashed rgba(233,207,147,.35); animation: fdSpin 26s linear infinite; }
@keyframes fdSpin { to { transform: rotate(360deg); } }
.fd-hint { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.7); font-size: .68rem; font-weight: 600; letter-spacing: .28em; text-indent: .28em; text-transform: uppercase; transition: color .3s; }
.fd-hint i { color: #E9CF93; font-size: .75rem; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.fd-veil:hover .fd-mono { transform: scale(1.06); box-shadow: 0 0 0 6px rgba(11,31,56,.85), 0 0 0 7px rgba(233,207,147,.6), 0 0 40px rgba(233,207,147,.25), 0 18px 40px rgba(0,0,0,.45); }
.fd-veil:hover .fd-hint { color: #fff; }
.fd-veil:hover .fd-hint i { transform: rotate(-90deg); }

/* a slight "ajar" breath when a card first scrolls into view */
.ab-founder.fd-peek:not(.is-open) .fd-door-l { animation: fdPeekL 1.6s cubic-bezier(.45,0,.2,1) .4s; }
.ab-founder.fd-peek:not(.is-open) .fd-door-r { animation: fdPeekR 1.6s cubic-bezier(.45,0,.2,1) .4s; }
@keyframes fdPeekL { 40% { transform: rotateY(14deg); } 100% { transform: none; } }
@keyframes fdPeekR { 40% { transform: rotateY(-14deg); } 100% { transform: none; } }

/* open state: double doors swing inward */
.ab-founder.is-open .fd-veil { pointer-events: none; }
.ab-founder.is-open .fd-veil::before { animation: none; opacity: 0; }
.ab-founder.is-open .fd-door { opacity: 0; filter: brightness(.45); transition: transform 1.2s cubic-bezier(.77,0,.18,1) .2s, opacity .6s ease .7s, filter 1.2s ease .2s; }
.ab-founder.is-open .fd-door-l { transform: rotateY(88deg); }
.ab-founder.is-open .fd-door-r { transform: rotateY(-88deg); }
.ab-founder.is-open .fd-seal { opacity: 0; transform: translate(-50%, -50%) scale(.82); transition: opacity .3s ease, transform .4s ease; }

.fd-close { position: absolute; top: 12px; right: 12px; z-index: 4; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(11,31,56,.45); backdrop-filter: blur(6px); color: #fff; font-size: .8rem; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.7) rotate(-90deg); pointer-events: none; transition: opacity .3s, transform .4s, background .3s, border-color .3s; }
.ab-founder.is-open .fd-close { opacity: 1; transform: none; pointer-events: auto; transition-delay: 1.1s, 1.1s, 0s, 0s; }
.fd-close:hover { background: var(--primary); border-color: var(--primary); }
.fd-close:focus-visible { outline: 2px solid #E9CF93; outline-offset: 2px; }

.fd-all { display: inline-flex; align-items: center; gap: .7rem; padding: .9rem 1.9rem; border-radius: 50px; border: 1px solid var(--primary); background: transparent; color: var(--secondary); font-weight: 600; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; position: relative; overflow: hidden; z-index: 0; transition: color .4s; }
.fd-all::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); transform: scaleX(0); transform-origin: center; transition: transform .5s cubic-bezier(.77,0,.18,1); }
.fd-all:hover, .fd-all:focus-visible { color: #fff; }
.fd-all:hover::before, .fd-all:focus-visible::before { transform: scaleX(1); }
.fd-all i { color: var(--primary); transition: color .4s; }
.fd-all:hover i, .fd-all:focus-visible i { color: #fff; }

@media (max-width: 575.98px) {
    .fd-door::before { inset: 8px; border-radius: 7px; }
    .fd-seal { gap: .6rem; }
    .fd-mono { width: 58px; height: 58px; font-size: 1.15rem; box-shadow: 0 0 0 4px rgba(11,31,56,.85), 0 0 0 5px rgba(233,207,147,.3), 0 12px 26px rgba(0,0,0,.45); }
    .fd-mono::before { inset: -10px; }
    .fd-no { font-size: .58rem; letter-spacing: .25em; }
    .fd-hint { font-size: .56rem; letter-spacing: .18em; }
    .fd-close { top: 8px; right: 8px; width: 28px; height: 28px; font-size: .7rem; }
    .fd-all { padding: .8rem 1.4rem; font-size: .72rem; letter-spacing: .16em; }
}
@media (prefers-reduced-motion: reduce) {
    .fd-grid .ab-founder *, .fd-grid .ab-founder *::before, .fd-grid .ab-founder *::after, .fd-veil::before, .fd-veil::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
}
/* CTA */
.ab-cta { position: relative; border-radius: 24px; overflow: hidden; background: var(--dark) url(../img/apartment/gallery/arrival-1.jpg) center 35%/cover no-repeat; }
.ab-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,56,.2) 0%, rgba(11,31,56,.75) 45%, rgba(11,31,56,.95) 100%); }
.ab-cta .content { position: relative; z-index: 2; padding: 5rem 3.5rem; margin-left: auto; max-width: 560px; }
.ab-cta h2 { color: #fff; font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.15; }
.ab-cta p { color: rgba(255,255,255,.8); font-size: 1.05rem; line-height: 1.8; }
@media (max-width: 767.98px) { .ab-cta::before { background: linear-gradient(to top, rgba(11,31,56,.96) 35%, rgba(11,31,56,.55) 100%); } .ab-cta .content { padding: 14rem 1.75rem 2.5rem; } }

/* Testimonial cards */
.hm-quote { position: relative; background: #fff; border-radius: 18px; padding: 2.5rem 2.25rem 2rem; box-shadow: 0 20px 45px rgba(11,31,56,.08); border: 1px solid rgba(178,139,58,.18); height: 100%; margin: 1.75rem 0 2rem; }
.hm-quote .qicon { position: absolute; top: -22px; left: 2.25rem; width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); box-shadow: 0 10px 22px rgba(178,139,58,.35); }
.hm-quote .stars { color: var(--primary); font-size: .85rem; letter-spacing: .15em; margin-bottom: 1rem; }
.hm-quote p { color: var(--secondary); font-size: 1.08rem; line-height: 1.85; margin-bottom: 1.75rem; }
.hm-quote .who { display: flex; align-items: center; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid rgba(11,31,56,.08); }
.hm-quote .who img { width: 52px !important; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(178,139,58,.45); }
.hm-quote h6 { margin: 0 0 .15rem; color: var(--secondary); font-weight: 700; }
.hm-quote small { color: #6b7280; }
/* Dark info panel */
@media (max-width: 575.98px) { .ct-panel { padding: 2.25rem 1.5rem; } }
.ct-panel { position: relative; height: 100%; border-radius: 20px; overflow: hidden; padding: 3rem 2.5rem; color: #fff; background: linear-gradient(160deg, rgba(11,31,56,.94), rgba(22,48,79,.9)), url(../img/apartment/gallery/thumbs/arrival-1.jpg) center/cover; box-shadow: 0 30px 60px rgba(11,31,56,.22); }
.ct-panel h2 { color: #fff; font-weight: 800; line-height: 1.2; }
.ct-panel > p { color: rgba(255,255,255,.78); line-height: 1.8; }
.ct-list { list-style: none; padding: 0; margin: 0; }
.ct-list li { display: flex; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,.1); }
.ct-list i { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #E9CF93; background: rgba(178,139,58,.15); border: 1px solid rgba(178,139,58,.35); }
.ct-list small { display: block; color: #E9CF93; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .15rem; }
.ct-list div { color: #fff; word-break: break-word; }
.ct-list a { color: #fff; }
.ct-list a:hover { color: #E9CF93; }
/* Compact hero (legal pages) */
.ab-hero.compact { min-height: 480px; }
.ab-hero.compact .container { padding-bottom: 6rem; }
@media (max-width: 575.98px) { .ab-hero.compact { min-height: 420px; } .ab-hero.compact .container { padding-bottom: 5rem; } }
/* Legal document layout */
.lg-toc { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 1.25rem; }
.lg-toc-card { background: #fff; border-radius: 20px; padding: 2rem; box-shadow: 0 20px 45px rgba(11,31,56,.08); border: 1px solid rgba(178,139,58,.18); }
.lg-toc-card h6 { color: var(--primary); font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 1rem; }
.lg-toc-card a { display: flex; align-items: center; gap: .85rem; padding: .7rem 0; color: var(--secondary); font-weight: 500; border-top: 1px solid rgba(11,31,56,.07); transition: color .25s, padding .25s; }
.lg-toc-card a:first-of-type { border-top: 0; }
.lg-toc-card a span { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; color: var(--primary); background: rgba(178,139,58,.1); }
.lg-toc-card a:hover { color: var(--primary); padding-left: .35rem; }
.lg-toc .ct-panel { height: auto; padding: 2.25rem 2rem; }
.lg-doc { background: #fff; border-radius: 22px; padding: 3.5rem; box-shadow: 0 30px 60px rgba(11,31,56,.08); border: 1px solid rgba(11,31,56,.06); }
.lg-meta { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border-radius: 50px; background: rgba(178,139,58,.1); color: var(--primary-dark); font-size: .8rem; font-weight: 600; margin-bottom: 1.5rem; }
.lg-intro { font-size: 1.15rem; line-height: 1.85; color: var(--secondary); padding-bottom: 2rem; margin-bottom: .5rem; border-bottom: 1px solid rgba(11,31,56,.08); }
.lg-sec { display: flex; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid rgba(11,31,56,.08); scroll-margin-top: 110px; }
.lg-sec:last-of-type { border-bottom: 0; }
.lg-sec .num { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); box-shadow: 0 10px 22px rgba(178,139,58,.28); }
.lg-sec h2 { font-size: 1.35rem; color: var(--secondary); font-weight: 700; margin: .55rem 0 .75rem; }
.lg-sec p { color: #5b6470; font-size: 1.02rem; line-height: 1.85; margin: 0; }
.lg-help { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; margin-top: 2rem; padding: 1.75rem 2rem; border-radius: 16px; background: var(--light); border: 1px solid rgba(178,139,58,.25); }
.lg-help h5 { color: var(--secondary); font-weight: 800; margin: 0 0 .2rem; }
.lg-help p { margin: 0; color: #5b6470; }
@media (max-width: 991.98px) { .lg-toc { position: static; } }
@media (max-width: 575.98px) { .lg-doc { padding: 2rem 1.35rem; } .lg-sec { gap: 1rem; } .lg-sec .num { flex-basis: 40px; width: 40px; height: 40px; border-radius: 12px; } .lg-sec h2 { margin-top: .35rem; font-size: 1.2rem; } .lg-help { padding: 1.5rem; } }
/* Footer photo gallery */
.footer-thumb { display: block; border-radius: 8px; overflow: hidden; border: 2px solid rgba(255,255,255,.12); transition: border-color .3s, transform .3s; }
.footer-thumb img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; border-radius: 0 !important; transition: transform .6s ease; }
.footer-thumb:hover { border-color: var(--primary); transform: translateY(-2px); }
.footer-thumb:hover img { transform: scale(1.08); }
