/* =============================================================================
   Public site theme (property management product)

   Loaded after kazikings.css by layouts.app only, so the portals keep the
   base design system. Everything is scoped under body.kk-site.

   Look: Inter throughout, deep navy text, an olive-green action colour; a
   dark photo hero with a dashboard panel; white feature cards with soft
   icon tiles; dark stakeholder cards; a green band and a dark footer.

   1. Tokens and type    4. Hero           7. Cards
   2. Buttons            5. Sections       8. Previews (console, phone)
   3. Header             6. Inner banner   9. Footer      10. Small screens
   ============================================================================= */

/* 1. Tokens and type ======================================================== */
.kk-site {
    --mt-ink: #071426;
    --mt-ink-2: #0f2238;
    /* The brand blue does the job the reference's green did: actions,
       eyebrows, icons and the footer band. */
    --mt-green: #2777be;
    --mt-green-hover: #1f62a0;
    --mt-green-soft: rgba(39, 119, 190, .12);
    --mt-page: #f5f7f6;
    --mt-muted: #5b6676;
    --mt-line: #e4e8ee;
    --mt-font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

    --kk-font-body: var(--mt-font);
    --kk-font-heading: var(--mt-font);
    --kk-primary: var(--mt-green);
    --kk-primary-hover: var(--mt-green-hover);
    --kk-primary-rgb: 39, 119, 190;
    --kk-navy: var(--mt-ink);

    font-family: var(--mt-font);
    color: var(--mt-ink);
    background: #fff;
}

.kk-site h1,
.kk-site h2,
.kk-site h3,
.kk-site h4,
.kk-site .h1,
.kk-site .h2,
.kk-site .h3 {
    font-family: var(--mt-font);
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--mt-ink);
}

.kk-site a {
    color: var(--mt-green-hover);
}

.kk-eyebrow2 {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--mt-green);
}

.kk-eyebrow2::before {
    width: 2.25rem;
    height: 2px;
    content: "";
    background: currentColor;
}

.kk-eyebrow2--center {
    justify-content: center;
}

/* 2. Buttons ================================================================ */
.kk-site .btn {
    font-family: var(--mt-font);
    font-weight: 700;
    border-radius: 6px;
}

.kk-btn-green,
.kk-site .btn-primary {
    color: #fff !important;
    background-color: var(--mt-green);
    border: 1px solid var(--mt-green);
}

.kk-btn-green:hover,
.kk-btn-green:focus,
.kk-site .btn-primary:hover,
.kk-site .btn-primary:focus {
    background-color: var(--mt-green-hover);
    border-color: var(--mt-green-hover);
}

.kk-btn-outline-light {
    color: #fff !important;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .85);
}

.kk-btn-outline-light:hover,
.kk-btn-outline-light:focus {
    color: var(--mt-ink) !important;
    background: #fff;
}

.kk-btn-dark {
    color: #fff !important;
    background: var(--mt-ink);
    border: 1px solid var(--mt-ink);
}

.kk-btn-dark:hover {
    background: var(--mt-ink-2);
}

.kk-site .kk-btn-green .kk-icon,
.kk-site .kk-btn-dark .kk-icon {
    margin-right: .375rem;
}

/* 3. Header ================================================================= */
.kk-site .kk-site-header {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 6px 24px rgba(7, 20, 38, .06);
}

.kk-site .kk-navbar {
    padding: 1rem 0;
}

.kk-site .kk-navbar__logo {
    height: 3rem;
}

.kk-site .kk-navbar .nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--mt-ink) !important;
}

.kk-site .kk-navbar .nav-link:hover,
.kk-site .kk-navbar .nav-link.active {
    color: var(--mt-green) !important;
}

.kk-site .kk-navbar .nav-link.active::after {
    background: var(--mt-green);
}

/* 4. Hero =================================================================== */
.kk-hero2 {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 6rem 0 5rem;
    color: #fff;
    background: var(--mt-ink);
}

.kk-hero2__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kk-hero2::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(90deg, rgba(7, 20, 38, .92) 0%, rgba(7, 20, 38, .78) 55%, rgba(7, 20, 38, .55) 100%);
}

.kk-hero2__title {
    margin-bottom: 1.25rem;
    font-size: clamp(2.5rem, 6vw, 5.25rem) !important;
    font-weight: 500 !important;
    line-height: 1.04;
    letter-spacing: -.02em;
    color: #fff !important;
}

.kk-hero2__lead {
    max-width: 44rem;
    margin-bottom: 2rem;
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .84);
}

.kk-hero2__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.kk-hero2__figures {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    margin: 2.75rem 0 0;
    padding: 0;
    list-style: none;
}

.kk-hero2__figures li {
    flex: 1 1 0;
    min-width: 0;
    max-width: 13rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.kk-hero2__figures strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.kk-hero2__figures span {
    font-size: .875rem;
    color: rgba(255, 255, 255, .78);
}

.kk-trustbar {
    padding: 1.75rem 0;
    background: var(--mt-page);
    border-bottom: 1px solid var(--mt-line);
}

.kk-trustbar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 600;
    color: var(--mt-muted);
}

.kk-trustbar__list {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    font-weight: 800;
    color: var(--mt-ink);
    list-style: none;
}

/* 5. Sections =============================================================== */
.kk-sec {
    padding: 6rem 0;
    background: linear-gradient(180deg, #fff 0%, var(--mt-page) 100%);
}

.kk-sec--white {
    background: #fff;
}

.kk-sec--dark {
    color: #fff;
    background: var(--mt-ink);
}

.kk-sec--dark .kk-sec__title {
    color: #fff !important;
}

.kk-sec__head {
    max-width: 52rem;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.kk-sec__title {
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    font-weight: 500 !important;
    line-height: 1.12;
}

.kk-sec__lead {
    margin-bottom: 1.75rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--mt-muted);
}

.kk-sec__photo {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(7, 20, 38, .15);
}

.kk-sec__photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.kk-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 1.5rem;
    margin: 0;
    padding: 0;
    font-weight: 600;
    list-style: none;
}

.kk-tags li {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.kk-tags .kk-icon {
    color: var(--mt-green);
}

.kk-statements {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kk-statements li {
    margin-bottom: 1rem;
    padding: 1.125rem 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .88);
    border-left: 3px solid var(--mt-green);
    background: rgba(255, 255, 255, .04);
    border-radius: 0 6px 6px 0;
}

.kk-steps2 {
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

.kk-steps2__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
    color: #fff;
    background: var(--mt-green);
    border-radius: 50%;
}

.kk-ctaband {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 5rem 0;
    color: #fff;
    background: var(--mt-ink);
}

.kk-ctaband__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kk-ctaband::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(90deg, rgba(7, 20, 38, .94), rgba(7, 20, 38, .7));
}

.kk-ctaband__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.kk-ctaband__title {
    margin-bottom: .75rem;
    font-size: clamp(1.75rem, 3.4vw, 2.75rem) !important;
    font-weight: 500 !important;
    color: #fff !important;
}

.kk-ctaband__text {
    max-width: 40rem;
    margin: 0;
    color: rgba(255, 255, 255, .8);
}

.kk-ctaband__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.kk-faq2 {
    max-width: 60rem;
    margin: 0 auto;
}

.kk-contactlist {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.kk-contactlist li {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.kk-contactlist .kk-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--mt-green);
    background: var(--mt-green-soft);
    border-radius: 8px;
}

.kk-contactform {
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--mt-line);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(7, 20, 38, .06);
}

/* 6. Inner banner =========================================================== */
.kk-site .kk-banner {
    padding: 5rem 0 4rem;
    background-color: var(--mt-ink);
}

.kk-site .kk-banner::before {
    background: linear-gradient(90deg, rgba(7, 20, 38, .94), rgba(7, 20, 38, .72));
}

.kk-site .kk-banner__title {
    font-weight: 500;
    letter-spacing: -.02em;
    color: #fff !important;
}

.kk-site .kk-banner .breadcrumb a {
    color: rgba(255, 255, 255, .8);
}

/* 7. Cards ================================================================== */
.kk-fcard {
    width: 100%;
    padding: 2rem 1.75rem;
    background: #fff;
    border: 1px solid var(--mt-line);
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(7, 20, 38, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.kk-fcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(7, 20, 38, .1);
}

.kk-fcard--outline {
    box-shadow: none;
}

.kk-fcard__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    color: var(--mt-green);
    background: var(--mt-page);
    border-radius: 8px;
}

.kk-fcard__title {
    margin-bottom: .75rem;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
}

.kk-fcard__text {
    margin: 0;
    line-height: 1.65;
    color: var(--mt-muted);
}

.kk-dcard {
    width: 100%;
    padding: 2rem 1.75rem;
    color: #fff;
    background: var(--mt-ink);
    border-radius: 10px;
    box-shadow: 0 18px 46px rgba(7, 20, 38, .25);
}

.kk-dcard__icon {
    display: inline-flex;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--mt-green);
}

.kk-dcard__title {
    margin-bottom: .75rem;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #fff !important;
}

.kk-dcard__text {
    margin: 0;
    line-height: 1.65;
    color: rgba(255, 255, 255, .72);
}

/* 8. Previews (console, phone) ============================================== */
.kk-console {
    padding: 1.5rem;
    color: var(--mt-ink);
    background: rgba(255, 255, 255, .94);
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.kk-console__head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--mt-muted);
}

.kk-console__tag {
    padding: .125rem .5rem;
    font-size: .75rem;
    font-weight: 700;
    color: var(--mt-green-hover);
    background: var(--mt-green-soft);
    border-radius: 999px;
}

.kk-console__row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: .75rem;
    padding: 1rem 1.125rem;
    background: #fff;
    border: 1px solid var(--mt-line);
    border-radius: 8px;
}

.kk-console__row.is-good {
    border-color: rgba(39, 119, 190, .45);
    box-shadow: 0 0 0 3px var(--mt-green-soft);
}

.kk-console__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--mt-green);
    background: var(--mt-page);
    border-radius: 8px;
}

.kk-console__text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.kk-console__text small {
    color: var(--mt-muted);
}

.kk-console__value {
    font-weight: 800;
    color: var(--mt-green-hover);
    white-space: nowrap;
}

.kk-console__note {
    display: flex;
    flex-direction: column;
    gap: .375rem;
    margin-top: 1rem;
    padding: 1.125rem 1.25rem;
    color: rgba(255, 255, 255, .88);
    background: var(--mt-ink-2);
    border-radius: 8px;
}

.kk-console__note strong {
    font-size: .8125rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #9cc8f0;
}

.kk-console--dark {
    background: var(--mt-ink-2);
    border: 1px solid rgba(255, 255, 255, .08);
}

.kk-console--dark .kk-console__row {
    color: #fff;
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .1);
}

.kk-console--dark .kk-console__icon {
    background: rgba(255, 255, 255, .06);
}

.kk-console--dark .kk-console__text small {
    color: rgba(255, 255, 255, .6);
}

.kk-phone {
    width: 18rem;
    max-width: 100%;
    margin: 0 auto;
    padding: .75rem;
    background: var(--mt-ink);
    border-radius: 2.25rem;
    box-shadow: 0 30px 70px rgba(7, 20, 38, .3);
}

.kk-phone__screen {
    padding: 1.5rem 1.25rem;
    background: #fff;
    border-radius: 1.75rem;
}

.kk-phone__hello {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
    padding: 1rem;
    color: #fff;
    background: var(--mt-green);
    border-radius: 12px;
}

.kk-phone__hello span {
    font-size: .8125rem;
    opacity: .85;
}

.kk-phone__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .625rem;
    margin-bottom: 1rem;
}

.kk-phone__grid span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .375rem;
    padding: .875rem .5rem;
    font-size: .8125rem;
    font-weight: 600;
    background: var(--mt-page);
    border-radius: 10px;
}

.kk-phone__grid .kk-icon {
    font-size: 1.125rem;
    color: var(--mt-green);
}

.kk-phone__card {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid var(--mt-line);
    border-radius: 10px;
}

.kk-phone__card small {
    color: var(--mt-muted);
}

.kk-phone__ok {
    font-size: .8125rem;
    font-weight: 700;
    color: var(--mt-green-hover);
}

/* 9. Footer ================================================================= */
.kk-greenband {
    padding: 3rem 0;
    color: #fff;
    background: var(--mt-green);
}

.kk-greenband__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.kk-greenband__title {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
    font-weight: 600 !important;
    color: #fff !important;
}

.kk-greenband__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.kk-site-footer__main {
    padding: 4.5rem 0 2rem;
    color: rgba(255, 255, 255, .72);
    background: var(--mt-ink);
}

.kk-site-footer__col {
    margin-bottom: 2rem;
}

.kk-site-footer__logo {
    width: auto;
    height: 3rem;
}

.kk-site-footer__tagline {
    max-width: 20rem;
}

.kk-site-footer__title {
    margin-bottom: 1.25rem;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--mt-green) !important;
}

.kk-site-footer__links,
.kk-site-footer__contact,
.kk-site-footer__social {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kk-site-footer__links li + li,
.kk-site-footer__contact li + li {
    margin-top: .625rem;
}

.kk-site-footer__links a,
.kk-site-footer__contact a {
    color: rgba(255, 255, 255, .78) !important;
}

.kk-site-footer__links a:hover,
.kk-site-footer__contact a:hover {
    color: #fff !important;
}

.kk-site-footer__contact li {
    display: flex;
    gap: .625rem;
    align-items: baseline;
}

.kk-site-footer__contact .kk-icon {
    color: var(--mt-green);
}

.kk-site-footer__social {
    display: flex;
    gap: 1rem;
}

.kk-site-footer__social a {
    color: #fff !important;
}

.kk-site-footer__bar {
    padding: 1.25rem 0;
    font-size: .875rem;
    color: rgba(255, 255, 255, .6);
    background: #040d19;
}

/* 10. Small screens ========================================================= */
@media (max-width: 991.98px) {
    .kk-hero2 {
        padding: 4rem 0;
    }

    .kk-sec {
        padding: 4rem 0;
    }

    .kk-sec__head {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .kk-hero2__figures {
        gap: .5rem;
    }

    .kk-hero2__figures li {
        padding: .875rem .75rem;
    }

    .kk-hero2__figures strong {
        font-size: 1.5rem;
    }

    .kk-hero2__figures span {
        font-size: .75rem;
    }

    .kk-tags {
        grid-template-columns: 1fr;
    }

    .kk-contactform {
        padding: 1.25rem;
    }

    .kk-site .kk-navbar__logo {
        height: 2.5rem;
    }
}

/* Headings on dark bands (the call-to-action band, dark sections) stay white:
   the theme's heading colour above would otherwise turn them dark. */
.kk-site .kk-on-dark h1,
.kk-site .kk-on-dark h2,
.kk-site .kk-on-dark h3,
.kk-site .kk-cta__title {
    color: #fff !important;
}

.kk-site a.btn-outline-light {
    color: #fff;
}

.kk-site a.btn-outline-light:hover {
    color: var(--kk-gray-900);
}
