/*!
 * Theme 3 (remarketer3) on Bootstrap 5.3
 * Concept: rounded, airy. Manrope, 15-20px radius, light borders,
 * soft overlays, prime colour used for large icons.
 * Defines every style type of every shared component in this look.
 */

/* ------------------------------------------------------------------ */
/* Tokens (defaults; the admin profile overrides the brand ones)       */
/* ------------------------------------------------------------------ */
:root {
    --prime-color: #004e9b;
    --prime-color-rgb: 0, 78, 155;
    --secondary-color: #a84a9c;
    --secondary-color-rgb: 168, 74, 156;
    --hover-color: #0dbae8;
    --hover-color-rgb: 13, 186, 232;
    --header-color: #7c848b;
    --header-bg-color: #ffffff;
    --footer-color: #f6f6f6;
    --footer-bg-color: #4a525d;
    --body-font-family: 'Manrope', sans-serif;
    --body-font-size: 14px;
    --body-font-weight: 400;
    --body-font-color: #161e2d;
    --body-line-height: 1.6;
    --menu-font-color: #191c20;
    --titlebar-font-color: #ffffff;
    --title-font-family: 'Manrope', sans-serif;
    --title-font-size: 30px;
    --title-font-weight: 700;
    --title-font-color: #161e2d;
    --display-pagehead: block;
    --pagehead-bg: url(/images/banner.jpg);
    --service-section-bg: url(/images/hiw-bg.jpg);

    /* Theme scale */
    --bs-border-radius: .5rem;
    --bs-border-radius-sm: .375rem;
    --bs-border-radius-lg: 1rem;
    --bs-border-color: #e4e4e4;
    --section-space: 5rem;
    --section-title-size: 2.25rem;
    --section-title-space: 2.5rem;
    --btn-radius: .5rem;
    --btn-font-weight: 700;
}

/* ------------------------------------------------------------------ */
/* Page head                                                           */
/* ------------------------------------------------------------------ */
.page-head {
    --page-head-fallback-bg: #161e2d;
    --page-head-overlay: rgba(0, 0, 0, .3);
    --page-head-space: 4rem;
    --page-head-space-md: 5rem;
    --page-head-title-size: 30px;
    --page-head-title-size-md: 44px;
}

.page-head__title {
    letter-spacing: .02em;
}

/* 1: full-width, title left, rounded bottom corners */
.page-head-1 {
    border-radius: 0 0 15px 15px;
}

/* 2: full-width, centred */

/* 3: the original theme 3 inset card */
.page-head-3 {
    --page-head-radius: 15px;
    --page-head-inset: 15px;
    --page-head-inset-top: 50px;
    --page-head-inset-xl: 100px;
}

/* ------------------------------------------------------------------ */
/* Testimonial                                                         */
/* ------------------------------------------------------------------ */
.testimonial {
    --testimonial-bg: #f8f8f8;
    --testimonial-border: 1px solid #e4e4e4;
    --testimonial-radius: 16px;
    --testimonial-padding: 1.25rem 1.5rem;
    --testimonial-star-color: #ffa800;
    --testimonial-icon-color: var(--prime-color);
}

.testimonial__name {
    font-size: 1rem;
}

/* 1: quotation with accent bar, rounded */
.testimonial-1 {
    --testimonial-bg: #ffffff;
    --testimonial-accent: var(--prime-color);
    --testimonial-accent-width: 4px;
    --testimonial-icon-size: 1.5rem;
    --testimonial-padding: 1.75rem 2rem;
}

/* 2: centred, white rounded card */
.testimonial-2 {
    --testimonial-bg: #ffffff;
    --testimonial-radius: 20px;
    --testimonial-padding: 2.5rem 2rem;
    --testimonial-icon-size: 3rem;
}

/* 3: the original theme 3 box with the big quote icon */
.testimonial-3 {
    --testimonial-icon-size: 60px;
}

/* ------------------------------------------------------------------ */
/* Property card                                                       */
/* ------------------------------------------------------------------ */
.property-card,
.newdev-card {
    --card-border: 1px solid #e4e4e4;
    --card-radius: 16px;
    --card-title-color: #161e2d;
    --card-price-color: #161e2d;
    --card-muted: #5c6368;
    --meta-icon-color: #a3abb0;
    --meta-value-color: #161e2d;
    --badge-radius: 99px;
    --badge-font-size: 11px;
    --badge-padding: .1875rem .75rem;
    --badge-bg: rgba(0, 0, 0, .3);
    --badge-inset: 1rem;
    --card-padding: 1.25rem;
    --card-title-size: 1.0625rem;
    --card-img-hover: scale(1.05);
}

.property-card__badge--dom {
    background: var(--prime-color);
}

.property-card__badge--status {
    margin-left: 0;
}

/* 1: the original theme 3 card (homelengo-box) */
.property-card-1 .property-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 69%, rgba(0, 0, 0, .7) 100%);
}

.property-card-1 .property-card__meta {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e4e4e4;
}

.property-card-1 .property-card__eyebrow {
    order: 9;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-size: .875rem;
}

.property-card-1 .property-card__price {
    order: 10;
    margin-top: -1.75rem;
    align-self: flex-end;
}

/* 2: the original theme 3 list card (list-style-1) */
.property-card-2 {
    --card-border: 1px solid transparent;
}

.property-card-2 .property-card__body {
    background: #f8f8f8;
}

.property-card-2 .property-card__media {
    border-radius: 16px 0 0 16px;
}

@media (max-width: 575.98px) {
    .property-card-2 .property-card__media {
        border-radius: 16px 16px 0 0;
    }
}

/* 3: overlay card in theme 3: rounded with pill badges */
.property-card-3 {
    --card-shadow-hover: 0 30px 60px rgba(0, 0, 0, .1);
}

/* ------------------------------------------------------------------ */
/* New development card                                                */
/* ------------------------------------------------------------------ */
/* 1: card in theme 3 */
.newdev-card-1 .newdev-card__status {
    background: var(--prime-color);
}

/* 2: the original theme 3 tile (box-location) */
.newdev-card-2 {
    --card-border: 0;
    --tile-panel-radius: 12px;
}

/* ------------------------------------------------------------------ */
/* Site header                                                         */
/* ------------------------------------------------------------------ */
/* Theme 3 look (main-header, header-style-2): white with a soft shadow,
   16px semibold menu, a prime-colour underline that grows across the
   hovered item, rounded submenu card with a pointer, outline sign-in
   button. Type 4 follows header-style-2 (white text over the hero). */
.site-header {
    --header-topbar-bg: #f7f7f7;
    --header-topbar-color: #5c6368;
    --header-topbar-border: #e4e4e4;
    --header-topbar-size: .875rem;
    --header-shadow: 0 4px 18px rgba(0, 0, 0, .078);
    --nav-link-px: 0;
    --nav-link-py: 27px;
    --nav-gap: clamp(1.25rem, 2.4vw - .5rem, 2.5rem);
    --nav-font-size: 16px;
    --nav-font-weight: 600;
    --nav-transform: capitalize;
    --nav-color: #161e2d;
    --nav-hover-color: #161e2d;
    --nav-sub-color: #161e2d;
    --nav-sub-hover-color: var(--prime-color);
    --nav-sub-hover-bg: transparent;
    --nav-sub-width: 280px;
    --nav-sub-radius: 16px;
    --nav-sub-shadow: 0 10px 25px rgba(54, 95, 104, .1);
    --header-bar-py: 0;
    --logo-height: 60px;
}

@media (min-width: 1200px) {
    .site-header__bar-inner {
        max-width: none;
        padding-inline: clamp(15px, 4vw, 100px);
    }

    .site-header__topbar-inner {
        max-width: none;
        padding-inline: clamp(15px, 4vw, 100px);
    }

    .site-nav > .site-nav__item > .site-nav__link {
        position: relative;
    }

    .site-nav > .site-nav__item > .site-nav__link::before {
        content: "";
        position: absolute;
        right: 0;
        bottom: 25px;
        width: 0;
        height: 2px;
        background-color: var(--prime-color);
        transition: width .6s cubic-bezier(.25, .8, .25, 1);
    }

    .site-nav > .site-nav__item:hover > .site-nav__link::before,
    .site-nav > .site-nav__item.is-active > .site-nav__link::before {
        right: auto;
        left: 0;
        width: 100%;
    }

    .site-nav__caret {
        padding-left: .25rem;
        opacity: .5;
    }

    .site-nav .site-nav__sub {
        left: -35px;
        padding: .5rem 0;
    }

    /* Pointer above the card */
    .site-nav .site-nav__sub::before {
        content: "";
        position: absolute;
        bottom: calc(100% - 14px);
        left: 45px;
        border-top: 20px solid #fff;
        border-right: 20px solid transparent;
        transform: rotate(45deg);
    }

    .site-nav__sub .dropdown-item {
        position: relative;
        padding: 16px 24px;
        font-size: 14px;
        font-weight: 600;
        transition: padding .4s ease, color .4s ease;
    }

    .site-nav__sub .dropdown-item::before {
        content: "\F138";
        font-family: "bootstrap-icons";
        position: absolute;
        left: 24px;
        opacity: 0;
        transition: opacity .4s ease;
    }

    .site-nav__sub .dropdown-item:hover {
        padding-left: 45px;
    }

    .site-nav__sub .dropdown-item:hover::before {
        opacity: 1;
    }

    .site-header-2 .offcanvas {
        border-top: 1px solid #e4e4e4 !important;
    }

    .site-header-2 .site-brand {
        padding-block: 1rem;
    }

    .site-header-2 {
        --nav-link-py: 20px;
    }

    .site-header-2 .site-nav > .site-nav__item > .site-nav__link::before {
        bottom: 15px;
    }

    .site-header-3 {
        --nav-link-py: 20px;
    }

    .site-header-3 .site-nav > .site-nav__item > .site-nav__link::before {
        bottom: 16px;
    }
}

/* Outline sign-in button (tf-btn btn-line) */
.site-signin {
    min-height: 2.5rem;
    padding: .5rem 1.25rem;
    border: 1px solid #e4e4e4;
    border-radius: 999px;
    font-size: .9375rem;
    font-weight: 600;
    color: #161e2d;
}

.site-signin:hover {
    border-color: var(--prime-color);
    background-color: var(--prime-color);
    color: #fff;
}

.site-signin.is-icon {
    min-height: 0;
    padding: 0;
}

.site-brand__name {
    color: #161e2d;
}

/* 4: Transparent (header-style-2) */
.site-header-4.is-overlay:not(.is-scrolled) .site-signin {
    border-color: #fff;
}

.site-header-4.is-overlay:not(.is-scrolled) .site-signin:hover {
    background-color: #fff;
    color: var(--prime-color) !important;
}

.site-header-4.is-overlay:not(.is-scrolled) .site-nav > .site-nav__item > .site-nav__link::before {
    background-color: #fff;
}

/* ------------------------------------------------------------------ */
/* Site footer                                                         */
/* ------------------------------------------------------------------ */
/* Theme 3 look (footer, top-footer / inner-footer): rounded social
   pills with an outline, bold titles, generous spacing. */
.site-footer {
    --footer-main-py: 3.5rem;
    --footer-title-size: 1.125rem;
    --footer-social-size: 2.5rem;
    --footer-social-bg: transparent;
    --footer-rule: rgba(255, 255, 255, .1);
}

.site-footer__social a {
    border: 1px solid rgba(255, 255, 255, .2);
}

.site-footer__social a:hover {
    border-color: var(--prime-color);
}

.site-footer__apps .btn {
    border-radius: 999px;
}

.auth-modal {
    --auth-radius: 1rem;
    --auth-benefits-bg: #161e2d;
}

/* Contact pop-up sits bottom-left in theme 3, as before */
.contact-pop {
    --contact-pop-left: 10px;
    --contact-pop-right: auto;
    --contact-pop-align: flex-start;
}

/* ------------------------------------------------------------------ */
/* About: agent profile + award strip                                  */
/* ------------------------------------------------------------------ */
.agent-profile {
    --agent-name-size: 20px;
    --agent-role-color: #5c6368;
    --agent-card-radius: 16px;
    --agent-photo-radius: 16px;
    --agent-form-radius: 16px;
    --agent-form-bg: #f7f7f7;
    --agent-form-border: 0;
    --agent-card-border: 1px solid #e4e4e4;
    --agent-contact-divider: 1px dashed #e4e4e4;
}

.agent-profile .btn {
    border-radius: 999px;
}

.agent-profile-3 .agent-profile__card .btn .bi {
    transition: transform .2s ease;
}

.agent-profile-3 .agent-profile__card .btn:hover .bi {
    transform: translateX(4px);
}

.award-strip {
    --award-item-radius: 16px;
    --award-item-border: 1px solid #e4e4e4;
    --award-title-transform: none;
}

.award-strip__item {
    transition: box-shadow .2s ease, transform .2s ease;
}

.award-strip__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

/* ------------------------------------------------------------------ */
/* Hiva market stats                                                   */
/* ------------------------------------------------------------------ */
/* Theme 3 differences from style.css 14.0 (see legacy/theme-3/hiva.css):
   light #e4e4e4 borders and 16px radius. */
#stats {
    border-color: #e4e4e4;
    border-radius: 16px;
}
.statchartsection {
    border: 5px solid #e4e4e4;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}
.soldstat {
    border-color: #e4e4e4;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}
.soldstat h4 {
    margin-top: 10px;
}
.soldstat h6 {
    color: #a0a0a0;
    font-size: 16px;
    line-height: 1.5em;
}
/* Theme 3 had no .proptypestat h5 size: back to the Bootstrap h5 size. */
.proptypestat h5 {
    font-size: 1.25rem;
}

/* ------------------------------------------------------------------ */
/* Homepage: hero and sections                                         */
/* ------------------------------------------------------------------ */
.home-hero {
    --hero-3-bg: var(--section-alt-bg, #f7f7f7);
    --hero-search-radius: 999px;
    --hero-image-radius: 24px;
}

.home-hero__search .btn {
    border-radius: 999px;
}

.home-section {
    --home-card-radius: 16px;
    --news-card-border: 1px solid #e4e4e4;
}

.home-services {
    --home-services-bg: var(--section-alt-bg, #f7f7f7);
    --home-services-color: var(--title-font-color);
    --home-service-bg: #fff;
    --home-service-icon-bg: rgba(var(--prime-color-rgb, 0, 78, 155), .1);
    margin-inline: clamp(0rem, 3vw, 3rem);
    border-radius: 30px;
    background-image: none;
}

.home-service__icon { color: var(--prime-color); }

.home-services .btn-outline-primary {
    --bs-btn-color: var(--prime-color);
    --bs-btn-border-color: var(--prime-color);
    --bs-btn-hover-bg: var(--prime-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-border-color: var(--prime-color);
    border-radius: 999px;
}

.home-section .btn { border-radius: 999px; }

.home-cta2__box {
    --cta2-bg: var(--section-alt-bg, #f7f7f7);
    color: var(--title-font-color);
}

.home-cta2__box .btn-light {
    --bs-btn-bg: var(--prime-color);
    --bs-btn-color: #fff;
    --bs-btn-border-color: var(--prime-color);
}

/* ------------------------------------------------------------------ */
/* Custom pages (page builder, version 5)                              */
/* ------------------------------------------------------------------ */
/* Theme 3 concept: rounded, airy, light borders, soft shadows.
   Every style type of rm-form and rm-marketwatch (see style.css 16.0). */
.rm-page {
    --rm-field-py: .8rem;
    --rm-field-radius: .75rem;
}

/* Form 1: light rounded fields on the page */
.rm-form-1 {
    --rm-field-bg: #fff;
    --rm-field-border: #e4e4e4;
}

/* Form 2: pale grey rounded panel */
.rm-form-2 {
    --rm-field-bg: #fff;
    --rm-field-border: #e4e4e4;
    padding: 2rem;
    border-radius: 1rem;
    background: #f7f7f7;
}

/* Form 3: the original theme 3 look (white card, big radius, shadow, pill fields) */
.rm-form-3,
.rm-form-site {
    --rm-field-bg: #f7f7f7;
    --rm-field-border: #f7f7f7;
    --rm-field-radius: 999px;
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.rm-form-3 textarea.form-control,
.rm-form-site textarea.form-control {
    border-radius: 1rem;
}

/* Market Watch 1: bordered rounded boxes */
.rm-marketwatch-1 {
    --rm-stat-border: 1px solid #e4e4e4;
    --rm-stat-radius: 1rem;
}

/* Market Watch 2: soft prime tint */
.rm-marketwatch-2 {
    --rm-stat-bg: rgba(var(--prime-color-rgb, 0, 78, 155), .07);
    --rm-stat-border: 0;
    --rm-stat-radius: 1rem;
}

/* Market Watch 3: the original theme 3 look (white cards with a shadow) */
.rm-marketwatch-3,
.rm-marketwatch-site {
    --rm-stat-border: 0;
    --rm-stat-radius: 1.25rem;
    --rm-stat-shadow: 0 10px 30px rgba(0, 0, 0, .07);
    --rm-stat-padding: 2rem 1.5rem;
}

/* ------------------------------------------------------------------ */
/* Content pages (style.css 17.0)                                      */
/* ------------------------------------------------------------------ */
/* Theme 3 look: rounded, roomy, separate accordion cards, bold titles */
.content-page {
    --content-heading-size: 1.5rem;
    --content-box-bg: #f7f7f7;
    --guide-title-transform: none;
    --side-promo-title-transform: none;
    --guide-active-color: var(--title-font-color);
    --guide-active-bg: #fff;
}

.content-page__heading,
.news-post__title {
    font-weight: 800;
}

.guide-accordion .accordion-item {
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius-lg);
    overflow: hidden;
}

.guide-accordion .accordion-item + .accordion-item {
    margin-top: 1rem;
}

.guide-accordion .accordion-button {
    font-size: 1.125rem;
}

.side-promo {
    border-radius: var(--bs-border-radius-lg);
}

.app-promo__stores .btn {
    border-radius: 999px;
}
