/* =========================================================
   HAVEN LANDS
   ABOUT US
   HLAB27 — ULTRA PREMIUM REAL ESTATE DESIGN
   ========================================================= */

#hlab27-about {
    --hlab-blue: rgb(30, 67, 122);
    --hlab-blue-dark: rgb(20, 48, 88);
    --hlab-blue-deep: rgb(11, 28, 52);
    --hlab-ink: #172334;
    --hlab-muted: #667384;
    --hlab-light: #f5f7fa;
    --hlab-border: rgba(30, 67, 122, 0.12);
    --hlab-white: #ffffff;

    width: 100%;
    margin: 0;
    padding: 0;

    background: #ffffff;
    color: var(--hlab-ink);

    font-family: inherit;

    overflow: hidden;
}


/* =========================================================
   GLOBAL RESET
   ========================================================= */

#hlab27-about *,
#hlab27-about *::before,
#hlab27-about *::after {
    box-sizing: border-box;
}

#hlab27-about h1,
#hlab27-about h2,
#hlab27-about h3,
#hlab27-about p {
    margin-top: 0;
}

#hlab27-about a {
    text-decoration: none;
}


/* =========================================================
   PREMIUM SECTION LABEL
   ========================================================= */

#hlab27-about .hlab27-section-label,
#hlab27-about .hlab27-eyebrow {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    color: var(--hlab-blue);

    font-size: 10px;
    font-weight: 800;

    line-height: 1.3;

    letter-spacing: 2.4px;

    text-transform: uppercase;
}

#hlab27-about .hlab27-section-label::before,
#hlab27-about .hlab27-eyebrow::before {
    content: "";

    display: block;

    width: 28px;
    height: 1px;

    background: currentColor;

    opacity: 0.75;
}


/* =========================================================
   HERO
   ========================================================= */

#hlab27-about .hlab27-hero {
    position: relative;

    min-height: 560px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(8,24,45,0.96) 0%,
            rgba(12,32,59,0.88) 42%,
            rgba(15,39,70,0.66) 68%,
            rgba(15,39,70,0.45) 100%
        ),
        url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=90")
        center center / cover no-repeat;

    overflow: hidden;
}


/* HERO LIGHT */

#hlab27-about .hlab27-hero::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -230px;
    top: -210px;

    border: 1px solid rgba(255,255,255,0.10);

    transform: rotate(45deg);

    pointer-events: none;
}


/* HERO GEOMETRIC ELEMENT */

#hlab27-about .hlab27-hero::after {
    content: "";

    position: absolute;

    width: 310px;
    height: 310px;

    right: 8%;
    bottom: -235px;

    border: 1px solid rgba(255,255,255,0.08);

    transform: rotate(45deg);

    pointer-events: none;
}


/* HERO CONTENT */

#hlab27-about .hlab27-hero-inner {
    position: relative;

    z-index: 3;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    padding: 90px 30px;
}


/* HERO EYEBROW */

#hlab27-about .hlab27-eyebrow {
    color: rgba(255,255,255,0.78);

    margin-bottom: 23px;
}

#hlab27-about .hlab27-eyebrow::before {
    background: rgba(255,255,255,0.70);
}


/* HERO HEADING */

#hlab27-about .hlab27-hero h1 {
    max-width: 760px;

    margin-bottom: 24px;

    color: #ffffff;

    font-size: clamp(52px, 6vw, 82px);

    font-weight: 700;

    line-height: 0.98;

    letter-spacing: -3.2px;
}

#hlab27-about .hlab27-hero h1 span {
    color: rgba(255,255,255,0.62);
}


/* HERO DESCRIPTION */

#hlab27-about .hlab27-hero p {
    max-width: 570px;

    margin-bottom: 0;

    color: rgba(255,255,255,0.72);

    font-size: 16px;

    font-weight: 400;

    line-height: 1.8;

    letter-spacing: 0.15px;
}


/* =========================================================
   INTRO
   ========================================================= */

#hlab27-about .hlab27-intro {
    position: relative;

    display: grid;

    grid-template-columns: 22% 78%;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    padding: 105px 30px 95px;
}


/* INTRO LABEL */

#hlab27-about .hlab27-intro-label {
    position: relative;

    padding-top: 8px;

    color: var(--hlab-blue);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2.2px;

    text-transform: uppercase;
}

#hlab27-about .hlab27-intro-label::after {
    content: "";

    position: absolute;

    left: 0;
    top: 29px;

    width: 30px;
    height: 1px;

    background: var(--hlab-blue);

    opacity: 0.55;
}


/* INTRO CONTENT */

#hlab27-about .hlab27-intro-content {
    display: grid;

    grid-template-columns: 44% 56%;

    gap: 60px;
}


/* INTRO HEADING */

#hlab27-about .hlab27-intro h2 {
    margin-bottom: 0;

    color: var(--hlab-ink);

    font-size: clamp(35px, 4vw, 53px);

    font-weight: 650;

    line-height: 1.06;

    letter-spacing: -2px;
}

#hlab27-about .hlab27-intro h2 span {
    color: var(--hlab-blue);
}


/* INTRO TEXT */

#hlab27-about .hlab27-intro-text {
    padding-top: 3px;
}

#hlab27-about .hlab27-intro-text p {
    margin-bottom: 21px;

    color: var(--hlab-muted);

    font-size: 14px;

    font-weight: 400;

    line-height: 1.9;
}

#hlab27-about .hlab27-intro-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FEATURE STRIP
   ========================================================= */

#hlab27-about .hlab27-feature-strip {
    position: relative;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    width: 100%;

    background: var(--hlab-blue);

    color: #ffffff;

    overflow: hidden;
}


/* GEOMETRIC BACKGROUND */

#hlab27-about .hlab27-feature-strip::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -260px;
    top: -280px;

    border: 1px solid rgba(255,255,255,0.09);

    transform: rotate(45deg);

    pointer-events: none;
}


/* FEATURE */

#hlab27-about .hlab27-feature {
    position: relative;

    min-height: 205px;

    display: flex;

    gap: 24px;

    padding: 42px 44px;

    border-right: 1px solid rgba(255,255,255,0.12);
}

#hlab27-about .hlab27-feature:last-child {
    border-right: 0;
}


/* FEATURE NUMBER */

#hlab27-about .hlab27-feature-number {
    flex-shrink: 0;

    color: rgba(255,255,255,0.42);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


/* FEATURE TITLE */

#hlab27-about .hlab27-feature strong {
    display: block;

    margin-bottom: 10px;

    color: #ffffff;

    font-size: 18px;

    font-weight: 650;

    line-height: 1.3;
}


/* FEATURE TEXT */

#hlab27-about .hlab27-feature p {
    max-width: 260px;

    margin-bottom: 0;

    color: rgba(255,255,255,0.66);

    font-size: 12px;

    line-height: 1.75;
}


/* =========================================================
   EXPERIENCE
   ========================================================= */

#hlab27-about .hlab27-experience {
    display: grid;

    grid-template-columns: 50% 50%;

    min-height: 650px;

    background: var(--hlab-light);
}


/* EXPERIENCE IMAGE */

#hlab27-about .hlab27-experience-image {
    position: relative;

    min-height: 650px;

    overflow: hidden;
}

#hlab27-about .hlab27-experience-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(14,38,69,0.18),
            transparent 55%
        );

    pointer-events: none;
}

#hlab27-about .hlab27-experience-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 1s cubic-bezier(.2,.65,.2,1);
}

#hlab27-about .hlab27-experience:hover
.hlabl27-experience-image img {
    transform: scale(1.025);
}


/* EXPERIENCE CONTENT */

#hlab27-about .hlab27-experience-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 80px clamp(40px, 7vw, 105px);
}


/* EXPERIENCE LABEL */

#hlab27-about .hlab27-experience-content .hlab27-section-label {
    margin-bottom: 22px;
}


/* EXPERIENCE HEADING */

#hlab27-about .hlab27-experience-content h2 {
    max-width: 510px;

    margin-bottom: 25px;

    color: var(--hlab-ink);

    font-size: clamp(35px, 4vw, 55px);

    font-weight: 650;

    line-height: 1.05;

    letter-spacing: -2px;
}


/* EXPERIENCE PARAGRAPHS */

#hlab27-about .hlab27-experience-content > p {
    max-width: 550px;

    margin-bottom: 17px;

    color: var(--hlab-muted);

    font-size: 14px;

    line-height: 1.9;
}


/* EXPERIENCE NOTE */

#hlab27-about .hlab27-experience-note {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 24px;

    padding-top: 23px;

    border-top: 1px solid var(--hlab-border);
}

#hlab27-about .hlab27-experience-note > span {
    color: var(--hlab-blue);

    font-size: 29px;

    font-weight: 750;

    letter-spacing: -1px;
}

#hlab27-about .hlab27-experience-note p {
    max-width: 300px;

    margin: 0;

    color: #748090;

    font-size: 11px;

    line-height: 1.65;
}


/* =========================================================
   OUR DIRECTION
   ========================================================= */

#hlab27-about .hlab27-direction {
    position: relative;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    padding: 110px 30px 115px;
}


/* DIRECTION HEADER */

#hlab27-about .hlab27-direction-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 55px;
}

#hlab27-about .hlab27-direction-heading h2 {
    margin: 0;

    color: var(--hlab-ink);

    font-size: clamp(38px, 4vw, 58px);

    font-weight: 650;

    line-height: 1;

    letter-spacing: -2.4px;
}


/* DIRECTION GRID */

#hlab27-about .hlab27-direction-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}


/* DIRECTION CARD */

#hlab27-about .hlab27-direction-card {
    position: relative;

    min-height: 405px;

    padding: 42px 44px 45px;

    background: #ffffff;

    border: 1px solid rgba(30,67,122,0.10);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

#hlab27-about .hlab27-direction-card::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -120px;
    bottom: -125px;

    border: 1px solid rgba(30,67,122,0.08);

    transform: rotate(45deg);

    transition: transform 0.5s ease;
}

#hlab27-about .hlab27-direction-card:hover {
    transform: translateY(-6px);

    border-color: rgba(30,67,122,0.18);

    box-shadow:
        0 24px 55px rgba(19,43,73,0.10);
}

#hlab27-about .hlab27-direction-card:hover::before {
    transform: rotate(45deg) scale(1.15);
}


/* CARD NUMBER */

#hlab27-about .hlab27-direction-number {
    display: block;

    margin-bottom: 38px;

    color: rgba(30,67,122,0.38);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.8px;
}


/* CARD ICON */

#hlab27-about .hlab27-direction-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 27px;

    border: 1px solid rgba(30,67,122,0.15);

    border-radius: 50%;

    color: var(--hlab-blue);

    font-size: 23px;

    font-weight: 300;

    background:
        linear-gradient(
            145deg,
            rgba(30,67,122,0.07),
            rgba(30,67,122,0.015)
        );
}


/* CARD HEADING */

#hlab27-about .hlab27-direction-card h3 {
    margin-bottom: 17px;

    color: var(--hlab-ink);

    font-size: 24px;

    font-weight: 650;

    line-height: 1.2;

    letter-spacing: -0.6px;
}


/* CARD TEXT */

#hlab27-about .hlab27-direction-card p {
    max-width: 510px;

    margin-bottom: 14px;

    color: var(--hlab-muted);

    font-size: 13px;

    line-height: 1.8;
}

#hlab27-about .hlab27-direction-card p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   WHAT WE DO
   ========================================================= */

#hlab27-about .hlab27-values {
    display: grid;

    grid-template-columns: 38% 62%;

    width: 100%;

    padding: 105px max(30px, calc((100% - 1120px) / 2));

    background: #f4f6f9;
}


/* VALUES HEADING */

#hlab27-about .hlab27-values-heading {
    padding-right: 70px;
}

#hlab27-about .hlab27-values-heading .hlab27-section-label {
    margin-bottom: 22px;
}

#hlab27-about .hlab27-values-heading h2 {
    margin-bottom: 0;

    color: var(--hlab-ink);

    font-size: clamp(38px, 4vw, 55px);

    font-weight: 650;

    line-height: 1.02;

    letter-spacing: -2.2px;
}


/* VALUES LIST */

#hlab27-about .hlab27-values-list {
    border-top: 1px solid rgba(30,67,122,0.13);
}


/* VALUE */

#hlab27-about .hlab27-value {
    display: grid;

    grid-template-columns: 48px 1fr;

    gap: 25px;

    padding: 28px 0;

    border-bottom: 1px solid rgba(30,67,122,0.13);
}


/* VALUE NUMBER */

#hlab27-about .hlab27-value > span {
    padding-top: 4px;

    color: var(--hlab-blue);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


/* VALUE TITLE */

#hlab27-about .hlab27-value h3 {
    margin-bottom: 7px;

    color: var(--hlab-ink);

    font-size: 19px;

    font-weight: 650;

    line-height: 1.35;
}


/* VALUE TEXT */

#hlab27-about .hlab27-value p {
    max-width: 600px;

    margin-bottom: 0;

    color: var(--hlab-muted);

    font-size: 12.5px;

    line-height: 1.75;
}


/* =========================================================
   CLOSING CTA
   ========================================================= */

#hlab27-about .hlab27-closing {
    position: relative;

    padding: 125px 30px 130px;

    background:
        linear-gradient(
            135deg,
            rgba(11,28,52,0.98),
            rgba(25,57,105,0.96)
        );

    color: #ffffff;

    text-align: center;

    overflow: hidden;
}


/* LARGE GEOMETRY */

#hlab27-about .hlab27-closing::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    left: -235px;
    top: -260px;

    border: 1px solid rgba(255,255,255,0.08);

    transform: rotate(45deg);
}


/* SECOND GEOMETRY */

#hlab27-about .hlab27-closing::after {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: -185px;
    bottom: -205px;

    border: 1px solid rgba(255,255,255,0.08);

    transform: rotate(45deg);
}


/* CTA INNER */

#hlab27-about .hlab27-closing-inner {
    position: relative;

    z-index: 2;

    max-width: 700px;

    margin: 0 auto;
}


/* CTA LABEL */

#hlab27-about .hlab27-closing .hlab27-section-label {
    color: rgba(255,255,255,0.58);

    margin-bottom: 22px;
}

#hlab27-about .hlab27-closing .hlab27-section-label::before {
    background: rgba(255,255,255,0.60);
}


/* CTA HEADING */

#hlab27-about .hlab27-closing h2 {
    margin-bottom: 18px;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 66px);

    font-weight: 650;

    line-height: 1;

    letter-spacing: -2.5px;
}


/* CTA TEXT */

#hlab27-about .hlab27-closing p {
    max-width: 560px;

    margin: 0 auto 31px;

    color: rgba(255,255,255,0.65);

    font-size: 14px;

    line-height: 1.8;
}


/* CTA BUTTON */

#hlab27-about .hlab27-closing-button {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 17px;

    min-width: 190px;

    height: 51px;

    padding: 0 21px;

    background: #ffffff;

    color: var(--hlab-blue);

    border: 1px solid rgba(255,255,255,0.90);

    border-radius: 3px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.1px;

    text-transform: uppercase;

    box-shadow:
        0 14px 35px rgba(0,0,0,0.18);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

#hlab27-about .hlab27-closing-button span {
    font-size: 17px;

    line-height: 1;

    transition: transform 0.25s ease;
}

#hlab27-about .hlab27-closing-button:hover {
    background: #edf2f7;

    transform: translateY(-3px);

    box-shadow:
        0 19px 42px rgba(0,0,0,0.23);
}

#hlab27-about .hlab27-closing-button:hover span {
    transform: translate(3px, -3px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    #hlab27-about .hlab27-hero {
        min-height: 500px;
    }

    #hlab27-about .hlab27-hero-inner {
        padding: 80px 25px;
    }

    #hlab27-about .hlab27-intro {
        grid-template-columns: 18% 82%;

        padding: 85px 25px;
    }

    #hlab27-about .hlab27-intro-content {
        gap: 35px;
    }

    #hlab27-about .hlab27-feature {
        padding: 34px 25px;

        gap: 17px;
    }

    #hlab27-about .hlab27-experience-content {
        padding: 60px 45px;
    }

    #hlab27-about .hlab27-direction {
        padding: 85px 25px;
    }

    #hlab27-about .hlab27-values {
        padding: 85px 25px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    #hlab27-about .hlab27-hero {
        min-height: 560px;

        background-position: 62% center;
    }

    #hlab27-about .hlab27-hero-inner {
        padding: 80px 22px;
    }

    #hlab27-about .hlab27-eyebrow {
        font-size: 9px;

        letter-spacing: 1.8px;
    }

    #hlab27-about .hlab27-hero h1 {
        font-size: clamp(45px, 13vw, 65px);

        letter-spacing: -2.5px;

        line-height: 1;
    }

    #hlab27-about .hlab27-hero p {
        max-width: 430px;

        font-size: 13px;

        line-height: 1.75;
    }


    /* INTRO */

    #hlab27-about .hlab27-intro {
        display: block;

        padding: 72px 22px 70px;
    }

    #hlab27-about .hlab27-intro-label {
        margin-bottom: 38px;
    }

    #hlab27-about .hlab27-intro-content {
        display: block;
    }

    #hlab27-about .hlab27-intro h2 {
        margin-bottom: 28px;

        font-size: 39px;

        letter-spacing: -1.6px;
    }

    #hlab27-about .hlab27-intro-text p {
        font-size: 13px;

        line-height: 1.8;
    }


    /* FEATURE STRIP */

    #hlab27-about .hlab27-feature-strip {
        display: block;
    }

    #hlab27-about .hlab27-feature {
        min-height: auto;

        padding: 28px 22px;

        border-right: 0;

        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    #hlab27-about .hlab27-feature:last-child {
        border-bottom: 0;
    }

    #hlab27-about .hlab27-feature strong {
        font-size: 17px;
    }

    #hlab27-about .hlab27-feature p {
        max-width: 500px;

        font-size: 12px;
    }


    /* EXPERIENCE */

    #hlab27-about .hlab27-experience {
        display: flex;

        flex-direction: column;
    }

    #hlab27-about .hlab27-experience-image {
        min-height: 370px;

        height: 370px;
    }

    #hlab27-about .hlab27-experience-content {
        padding: 68px 22px 72px;
    }

    #hlab27-about .hlab27-experience-content h2 {
        font-size: 39px;

        letter-spacing: -1.6px;
    }

    #hlab27-about .hlab27-experience-content > p {
        font-size: 13px;

        line-height: 1.8;
    }


    /* DIRECTION */

    #hlab27-about .hlab27-direction {
        padding: 72px 22px;
    }

    #hlab27-about .hlab27-direction-heading {
        display: block;

        margin-bottom: 35px;
    }

    #hlab27-about .hlab27-direction-heading h2 {
        margin-top: 18px;

        font-size: 42px;

        letter-spacing: -1.8px;
    }

    #hlab27-about .hlab27-direction-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    #hlab27-about .hlab27-direction-card {
        min-height: 0;

        padding: 32px 27px 35px;
    }

    #hlab27-about .hlab27-direction-number {
        margin-bottom: 27px;
    }

    #hlab27-about .hlab27-direction-card h3 {
        font-size: 22px;
    }

    #hlab27-about .hlab27-direction-card p {
        font-size: 12.5px;

        line-height: 1.75;
    }


    /* VALUES */

    #hlab27-about .hlab27-values {
        display: block;

        padding: 72px 22px;
    }

    #hlab27-about .hlab27-values-heading {
        padding-right: 0;

        margin-bottom: 45px;
    }

    #hlab27-about .hlab27-values-heading h2 {
        font-size: 42px;

        letter-spacing: -1.8px;
    }

    #hlab27-about .hlab27-value {
        grid-template-columns: 37px 1fr;

        gap: 14px;

        padding: 23px 0;
    }

    #hlab27-about .hlab27-value h3 {
        font-size: 17px;
    }

    #hlab27-about .hlab27-value p {
        font-size: 12px;

        line-height: 1.7;
    }


    /* CLOSING */

    #hlab27-about .hlab27-closing {
        padding: 85px 22px 90px;
    }

    #hlab27-about .hlab27-closing h2 {
        font-size: 45px;

        letter-spacing: -1.8px;
    }

    #hlab27-about .hlab27-closing p {
        font-size: 13px;

        line-height: 1.75;
    }

    #hlab27-about .hlab27-closing-button {
        min-width: 180px;

        height: 49px;

        font-size: 10px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    #hlab27-about .hlab27-hero {
        min-height: 520px;
    }

    #hlab27-about .hlab27-hero-inner {
        padding: 70px 18px;
    }

    #hlab27-about .hlab27-hero h1 {
        font-size: 44px;

        letter-spacing: -2px;
    }

    #hlab27-about .hlab27-hero p {
        font-size: 12px;
    }

    #hlab27-about .hlab27-intro {
        padding-left: 18px;
        padding-right: 18px;
    }

    #hlab27-about .hlab27-intro h2 {
        font-size: 36px;
    }

    #hlab27-about .hlab27-feature {
        padding-left: 18px;
        padding-right: 18px;
    }

    #hlab27-about .hlab27-experience-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    #hlab27-about .hlab27-experience-content h2 {
        font-size: 36px;
    }

    #hlab27-about .hlab27-direction {
        padding-left: 18px;
        padding-right: 18px;
    }

    #hlab27-about .hlab27-direction-heading h2 {
        font-size: 38px;
    }

    #hlab27-about .hlab27-direction-card {
        padding-left: 23px;
        padding-right: 23px;
    }

    #hlab27-about .hlab27-values {
        padding-left: 18px;
        padding-right: 18px;
    }

    #hlab27-about .hlab27-values-heading h2 {
        font-size: 38px;
    }

    #hlab27-about .hlab27-closing {
        padding-left: 18px;
        padding-right: 18px;
    }

    #hlab27-about .hlab27-closing h2 {
        font-size: 40px;
    }

}

/* =========================================================
   HAVEN LANDS
   AGENT SECTION
   HVN27 — PREMIUM AGENT CARDS
   ========================================================= */


/* =========================================================
   FONT
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');


/* =========================================================
   MAIN SECTION
   ========================================================= */

/* =========================================================
   HAVEN LANDS
   AGENT SECTION
   HVN27 — PREMIUM TEAM CARDS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

/* =========================================================
   HAVEN LANDS
   AGENT SECTION
   HVN27 — PREMIUM TEAM CARDS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');


/* =========================================================
   MAIN SECTION
   ========================================================= */

#hvn27-agents {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;
    padding: 38px 18px;

    box-sizing: border-box;

    font-family: "DM Sans", sans-serif;
}


/* =========================================================
   GRID
   ========================================================= */

#hvn27-agents .hvn27-agents-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 18px;

    width: 100%;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* =========================================================
   CARD
   ========================================================= */

#hvn27-agents .hvn27-agent {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(20, 35, 55, 0.08);

    border-radius: 16px;

    box-shadow:
        0 5px 20px rgba(15, 35, 55, 0.055),
        0 1px 3px rgba(15, 35, 55, 0.035);

    box-sizing: border-box;

    text-align: center;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}


/* =========================================================
   DESKTOP HOVER
   ========================================================= */

@media (min-width: 901px) {

    #hvn27-agents .hvn27-agent:hover {

        transform: translateY(-5px);

        border-color: rgba(31, 78, 121, 0.25);

        box-shadow:
            0 16px 38px rgba(15, 35, 55, 0.10),
            0 3px 8px rgba(15, 35, 55, 0.035);
    }

}


/* =========================================================
   PHOTO
   ========================================================= */

#hvn27-agents .hvn27-agent-photo {

    position: relative;

    width: 100%;
    height: 188px;

    overflow: hidden;

    background: #f3f5f7;

    flex-shrink: 0;
}


#hvn27-agents .hvn27-agent-photo img {

    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    border: 0;

    object-fit: cover;
    object-position: center center;

    transform: scale(1);

    transition:
        transform .55s cubic-bezier(.2,.7,.2,1);
}


/* =========================================================
   PHOTO OVERLAY
   ========================================================= */

#hvn27-agents .hvn27-agent-photo::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 45px;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(0,0,0,.08)
        );
}


/* =========================================================
   IMAGE HOVER
   ========================================================= */

@media (min-width: 901px) {

    #hvn27-agents .hvn27-agent:hover
    .hvn27-agent-photo img {

        transform: scale(1.045);
    }

}


/* =========================================================
   CARD BODY
   ========================================================= */

#hvn27-agents .hvn27-agent-body {

    display: flex;

    flex-direction: column;

    align-items: center;

    min-width: 0;

    padding: 17px 15px 16px;

    box-sizing: border-box;

    text-align: center;
}


/* =========================================================
   NAME
   ========================================================= */

#hvn27-agents .hvn27-agent-body h3 {

    width: 100%;

    margin: 0 0 5px;

    padding: 0;

    font-family:
        "Playfair Display",
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: -0.2px;

    color: #171717;

    text-align: center;
}


/* =========================================================
   POSITION / DESIGNATION
   BLUE
   ========================================================= */

#hvn27-agents .hvn27-agent-role {

    width: 100%;

    margin: 0;

    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    line-height: 1.45;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: #1f4e79;

    text-align: center;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

#hvn27-agents .hvn27-agent-body p {

    width: 100%;

    margin: 9px 0 0;

    padding: 0;

    font-family: "DM Sans", sans-serif;

    font-size: 10px;

    line-height: 1.5;

    font-weight: 400;

    color: #777777;

    text-align: center;
}


/* =========================================================
   EMAIL
   ========================================================= */

#hvn27-agents .hvn27-email {

    display: block;

    width: 100%;

    margin: 11px 0 0;

    padding: 0;

    overflow: hidden;

    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    line-height: 1.4;

    font-weight: 500;

    white-space: nowrap;

    text-overflow: ellipsis;

    color: #666666;

    text-decoration: none;

    text-align: center;

    transition: color .25s ease;
}


#hvn27-agents .hvn27-email:hover {

    color: #1f4e79;
}


/* =========================================================
   CONTACT BUTTON WRAPPER
   ========================================================= */

#hvn27-agents .hvn27-contact-buttons {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 7px;

    width: 100%;

    margin-top: 13px;
}


/* =========================================================
   BOTH BUTTONS
   ========================================================= */

#hvn27-agents .hvn27-call,
#hvn27-agents .hvn27-whatsapp {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    min-width: 0;

    min-height: 34px;

    padding: 7px 8px;

    box-sizing: border-box;

    border-radius: 8px;

    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    line-height: 1;

    font-weight: 700;

    text-decoration: none !important;

    white-space: nowrap;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        color .25s ease;
}


/* =========================================================
   PHONE BUTTON
   ========================================================= */

#hvn27-agents .hvn27-call {

    border: 1px solid rgba(31, 78, 121, 0.20);

    background: #f7f9fb;

    color: #1f4e79;
}


#hvn27-agents .hvn27-call i {

    flex-shrink: 0;

    font-size: 11px;

    color: #1f4e79;
}


#hvn27-agents .hvn27-call:hover {

    background: #edf3f8;

    border-color: rgba(31, 78, 121, 0.40);

    color: #173b5c;

    transform: translateY(-1px);
}


/* =========================================================
   WHATSAPP BUTTON
   ========================================================= */

#hvn27-agents .hvn27-whatsapp {

    border: 1px solid rgba(37, 211, 102, 0.22);

    background: #fafafa;

    color: #333333;
}


#hvn27-agents .hvn27-whatsapp i {

    flex-shrink: 0;

    font-size: 13px;

    color: #25D366;
}


#hvn27-agents .hvn27-whatsapp:hover {

    background: #f2fff6;

    border-color: rgba(37, 211, 102, 0.42);

    color: #168b43;

    transform: translateY(-1px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 1000px) {

    #hvn27-agents {

        padding: 32px 16px;
    }

    #hvn27-agents .hvn27-agents-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 15px;
    }

    #hvn27-agents .hvn27-agent-photo {

        height: 180px;
    }

    #hvn27-agents .hvn27-agent-body {

        padding: 15px 13px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 700px) {

    #hvn27-agents {

        padding: 25px 12px;
    }

    #hvn27-agents .hvn27-agents-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }


    /* PHOTO */

    #hvn27-agents .hvn27-agent-photo {

        height: 168px;

        display: flex;

        align-items: center;
        justify-content: center;

        background: #f3f5f7;
    }


    /* PREVENT FACE CROPPING */

    #hvn27-agents .hvn27-agent-photo img {

        width: 100%;
        height: 100%;

        object-fit: contain;

        object-position: center center;

        transform: none;
    }


    /* BODY */

    #hvn27-agents .hvn27-agent-body {

        padding: 13px 10px 12px;
    }


    /* NAME */

    #hvn27-agents .hvn27-agent-body h3 {

        font-size: 15px;

        line-height: 1.2;
    }


    /* ROLE */

    #hvn27-agents .hvn27-agent-role {

        font-size: 8px;

        letter-spacing: .7px;
    }


    /* DESCRIPTION */

    #hvn27-agents .hvn27-agent-body p {

        font-size: 9px;

        line-height: 1.45;

        margin-top: 7px;
    }


    /* EMAIL */

    #hvn27-agents .hvn27-email {

        margin-top: 9px;

        font-size: 8px;
    }


    /* BUTTONS */

    #hvn27-agents .hvn27-contact-buttons {

        gap: 6px;

        margin-top: 10px;
    }


    #hvn27-agents .hvn27-call,
    #hvn27-agents .hvn27-whatsapp {

        min-height: 31px;

        padding: 6px 5px;

        font-size: 8px;

        border-radius: 7px;

        gap: 4px;
    }


    #hvn27-agents .hvn27-call i {

        font-size: 10px;
    }


    #hvn27-agents .hvn27-whatsapp i {

        font-size: 11px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media screen and (max-width: 420px) {

    #hvn27-agents {

        padding: 20px 10px;
    }

    #hvn27-agents .hvn27-agents-grid {

        gap: 10px;
    }


    #hvn27-agents .hvn27-agent {

        border-radius: 13px;
    }


    #hvn27-agents .hvn27-agent-photo {

        height: 145px;
    }


    #hvn27-agents .hvn27-agent-body {

        padding: 11px 8px;
    }


    #hvn27-agents .hvn27-agent-body h3 {

        font-size: 14px;
    }


    #hvn27-agents .hvn27-agent-role {

        font-size: 7px;

        letter-spacing: .55px;
    }


    #hvn27-agents .hvn27-agent-body p {

        font-size: 8px;

        line-height: 1.4;
    }


    #hvn27-agents .hvn27-email {

        font-size: 7px;

        margin-top: 8px;
    }


    #hvn27-agents .hvn27-contact-buttons {

        gap: 5px;

        margin-top: 8px;
    }


    #hvn27-agents .hvn27-call,
    #hvn27-agents .hvn27-whatsapp {

        min-height: 28px;

        padding: 5px 4px;

        font-size: 7px;

        border-radius: 6px;

        gap: 3px;
    }


    #hvn27-agents .hvn27-call i {

        font-size: 8px;
    }


    #hvn27-agents .hvn27-whatsapp i {

        font-size: 10px;
    }

}
/* =========================================================
   HAVEN LANDS
   PROPERTY CATEGORIES
   HLX9 — 2 + 3 PREMIUM LAYOUT
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');


/* =========================================================
   MAIN SECTION
   ========================================================= */

#hlx9-property-categories {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto !important;

    padding: 50px 18px 12px !important;

    box-sizing: border-box;

    font-family: "DM Sans", sans-serif;
}


/* =========================================================
   HEADING
   ========================================================= */

#hlx9-property-categories .hlx9-pc-heading {

    text-align: center;

    margin: 0 auto 28px !important;

    max-width: 650px;
}


#hlx9-property-categories .hlx9-pc-label {

    display: inline-block;

    margin-bottom: 8px;

    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #1f4e79;
}


#hlx9-property-categories .hlx9-pc-heading h2 {

    margin: 0;

    font-family:
        "Playfair Display",
        Georgia,
        "Times New Roman",
        serif;

    font-size: 34px;

    line-height: 1.15;

    font-weight: 600;

    letter-spacing: -0.5px;

    color: #171717;
}


#hlx9-property-categories .hlx9-pc-heading p {

    margin: 9px 0 0;

    font-family: "DM Sans", sans-serif;

    font-size: 12px;

    line-height: 1.55;

    color: #777777;
}


/* =========================================================
   MAIN GRID
   ========================================================= */

#hlx9-property-categories .hlx9-pc-list {

    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 17px;

    width: 100%;

    margin: 0 !important;

    padding: 0 !important;

    box-sizing: border-box;
}


/* =========================================================
   CARD
   ========================================================= */

#hlx9-property-categories .hlx9-pc-item {

    position: relative;

    display: block;

    height: 240px;

    overflow: hidden;

    border-radius: 14px;

    background: #eeeeee;

    text-decoration: none !important;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.065);

    box-sizing: border-box;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


/* =========================================================
   FIRST ROW
   2 CARDS
   ========================================================= */

#hlx9-property-categories .hlx9-pc-item:nth-child(1),
#hlx9-property-categories .hlx9-pc-item:nth-child(2) {

    grid-column: span 3;
}


/* =========================================================
   SECOND ROW
   3 CARDS
   ========================================================= */

#hlx9-property-categories .hlx9-pc-item:nth-child(3),
#hlx9-property-categories .hlx9-pc-item:nth-child(4),
#hlx9-property-categories .hlx9-pc-item:nth-child(5) {

    grid-column: span 2;
}


/* =========================================================
   IMAGE
   ========================================================= */

#hlx9-property-categories .hlx9-pc-item img {

    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    border: 0;

    object-fit: cover;

    object-position: center;

    transform: scale(1);

    transition:
        transform .65s cubic-bezier(.2,.7,.2,1);
}


/* =========================================================
   DARK COVER
   ========================================================= */

#hlx9-property-categories .hlx9-pc-cover {

    position: absolute;

    inset: 0;

    display: block;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.72) 0%,
            rgba(0,0,0,.25) 48%,
            rgba(0,0,0,.03) 100%
        );

    transition:
        background .35s ease;
}


/* =========================================================
   CARD DETAILS
   ========================================================= */

#hlx9-property-categories .hlx9-pc-details {

    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 18px;

    display: flex;

    flex-direction: column;

    z-index: 2;

    font-family: "DM Sans", sans-serif;

    font-size: 8px;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: 1.8px;

    color: rgba(255,255,255,.78);
}


/* =========================================================
   PROPERTY NAME
   ========================================================= */

#hlx9-property-categories .hlx9-pc-details strong {

    display: block;

    margin-top: 5px;

    font-family:
        "Playfair Display",
        Georgia,
        "Times New Roman",
        serif;

    font-size: 25px;

    line-height: 1.1;

    font-weight: 600;

    letter-spacing: -0.2px;

    color: #ffffff;
}


/* =========================================================
   EXPLORE
   ========================================================= */

#hlx9-property-categories .hlx9-pc-details em {

    display: inline-block;

    margin-top: 8px;

    width: fit-content;

    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    font-style: normal;

    font-weight: 600;

    letter-spacing: .4px;

    color: #ffffff;

    opacity: .9;

    transition:
        color .25s ease,
        transform .25s ease;
}


/* =========================================================
   DESKTOP HOVER
   ========================================================= */

@media (min-width: 801px) {

    #hlx9-property-categories .hlx9-pc-item:hover {

        transform: translateY(-4px);

        box-shadow:
            0 14px 32px rgba(0,0,0,.12);
    }


    #hlx9-property-categories
    .hlx9-pc-item:hover img {

        transform: scale(1.055);
    }


    #hlx9-property-categories
    .hlx9-pc-item:hover
    .hlx9-pc-cover {

        background:
            linear-gradient(
                to top,
                rgba(0,0,0,.78) 0%,
                rgba(0,0,0,.30) 50%,
                rgba(0,0,0,.05) 100%
            );
    }


    #hlx9-property-categories
    .hlx9-pc-item:hover
    .hlx9-pc-details em {

        transform: translateX(4px);

        color: #9fc4e2;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 800px) {

    #hlx9-property-categories {

        padding: 40px 16px 10px !important;
    }


    #hlx9-property-categories
    .hlx9-pc-list {

        gap: 14px;
    }


    #hlx9-property-categories
    .hlx9-pc-item {

        height: 215px;
    }


    #hlx9-property-categories
    .hlx9-pc-heading {

        margin-bottom: 24px !important;
    }


    #hlx9-property-categories
    .hlx9-pc-heading h2 {

        font-size: 30px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 600px) {

    #hlx9-property-categories {

        padding: 32px 12px 8px !important;
    }


    #hlx9-property-categories
    .hlx9-pc-heading {

        margin-bottom: 20px !important;
    }


    #hlx9-property-categories
    .hlx9-pc-heading h2 {

        font-size: 27px;
    }


    #hlx9-property-categories
    .hlx9-pc-heading p {

        font-size: 11px;

        line-height: 1.5;
    }


    #hlx9-property-categories
    .hlx9-pc-label {

        font-size: 8px;

        letter-spacing: 1.6px;
    }


    /* =====================================================
       2 COLUMNS ON MOBILE
       ===================================================== */

    #hlx9-property-categories
    .hlx9-pc-list {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;

        margin-bottom: 0 !important;
    }


    #hlx9-property-categories
    .hlx9-pc-item,
    #hlx9-property-categories
    .hlx9-pc-item:nth-child(1),
    #hlx9-property-categories
    .hlx9-pc-item:nth-child(2),
    #hlx9-property-categories
    .hlx9-pc-item:nth-child(3),
    #hlx9-property-categories
    .hlx9-pc-item:nth-child(4),
    #hlx9-property-categories
    .hlx9-pc-item:nth-child(5) {

        grid-column: span 1;

        height: 185px;

        border-radius: 11px;
    }


    /* =====================================================
       LAST CARD FULL WIDTH
       ===================================================== */

    #hlx9-property-categories
    .hlx9-pc-item:nth-child(5) {

        grid-column: 1 / -1;
    }


    /* =====================================================
       DETAILS
       ===================================================== */

    #hlx9-property-categories
    .hlx9-pc-details {

        left: 13px;
        right: 13px;
        bottom: 13px;

        font-size: 7px;

        letter-spacing: 1.2px;
    }


    #hlx9-property-categories
    .hlx9-pc-details strong {

        font-size: 19px;

        margin-top: 4px;
    }


    #hlx9-property-categories
    .hlx9-pc-details em {

        margin-top: 6px;

        font-size: 8px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media screen and (max-width: 380px) {

    #hlx9-property-categories {

        padding-left: 10px !important;
        padding-right: 10px !important;

        padding-bottom: 5px !important;
    }


    #hlx9-property-categories
    .hlx9-pc-list {

        gap: 8px;
    }


    #hlx9-property-categories
    .hlx9-pc-item,
    #hlx9-property-categories
    .hlx9-pc-item:nth-child(1),
    #hlx9-property-categories
    .hlx9-pc-item:nth-child(2),
    #hlx9-property-categories
    .hlx9-pc-item:nth-child(3),
    #hlx9-property-categories
    .hlx9-pc-item:nth-child(4),
    #hlx9-property-categories
    .hlx9-pc-item:nth-child(5) {

        height: 172px;
    }


    #hlx9-property-categories
    .hlx9-pc-details strong {

        font-size: 17px;
    }

}


/* =========================================================
   FORCE REMOVE EXTRA SPACE AFTER SECTION
   ========================================================= */

#hlx9-property-categories {

    margin-bottom: 0 !important;
}


#hlx9-property-categories .hlx9-pc-list {

    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


#hlx9-property-categories .hlx9-pc-item:last-child {

    margin-bottom: 0 !important;
}


/* Prevent theme/page builder from creating
   an artificial gap immediately after this section */

#hlx9-property-categories + * {

    margin-top: 0 !important;
}

/* =========================================================
   HAVEN LANDS
   WHATSAPP FLOATING BUTTON
   SMALLER + HIGHER POSITION
   ========================================================= */

#haven-whatsapp {
    position: fixed !important;

    right: 20px !important;
    bottom: 165px !important;

    width: 44px !important;
    height: 44px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #25D366 !important;
    color: #ffffff !important;

    border-radius: 50% !important;

    text-decoration: none !important;

    box-shadow:
        0 5px 16px rgba(0,0,0,0.18) !important;

    z-index: 999999 !important;

    animation:
        haven-wa-pop 0.7s cubic-bezier(.17,.89,.32,1.49) both !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease !important;
}


/* =========================================================
   WHATSAPP POP ANIMATION
   ========================================================= */

@keyframes haven-wa-pop {

    0% {
        opacity: 0;
        transform: translateY(22px) scale(0.4);
    }

    60% {
        opacity: 1;
        transform: translateY(-4px) scale(1.08);
    }

    80% {
        transform: translateY(1px) scale(0.97);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================================================
   WHATSAPP HOVER
   ========================================================= */

#haven-whatsapp:hover {
    transform: scale(1.08) !important;

    box-shadow:
        0 8px 21px rgba(0,0,0,0.23) !important;
}


/* =========================================================
   WHATSAPP ICON
   ========================================================= */

#haven-whatsapp i {
    display: block !important;

    font-family:
        "Font Awesome 6 Brands" !important;

    font-size: 24px !important;

    line-height: 1 !important;

    font-style: normal !important;

    color: #ffffff !important;
}


/* =========================================================
   WHATSAPP PULSE
   ========================================================= */

#haven-whatsapp::before {
    content: "" !important;

    position: absolute !important;

    inset: 0 !important;

    border-radius: 50% !important;

    background: #25D366 !important;

    z-index: -1 !important;

    animation:
        haven-wa-pulse 2.4s ease-out infinite !important;
}


@keyframes haven-wa-pulse {

    0% {
        transform: scale(1);
        opacity: 0.30;
    }

    70% {
        transform: scale(1.30);
        opacity: 0;
    }

    100% {
        transform: scale(1.30);
        opacity: 0;
    }

}


/* =========================================================
   WHATSAPP LABEL
   ========================================================= */

#haven-whatsapp-label {
    position: fixed !important;

    right: 74px !important;
    bottom: 173px !important;

    padding: 7px 11px !important;

    background: #ffffff !important;

    color: #26352e !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 12px !important;

    font-weight: 500 !important;

    border-radius: 6px !important;

    white-space: nowrap !important;

    box-shadow:
        0 5px 18px rgba(0,0,0,0.14) !important;

    opacity: 0 !important;

    visibility: hidden !important;

    transform: translateX(8px) !important;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease !important;

    z-index: 999998 !important;
}


/* =========================================================
   WHATSAPP LABEL HOVER
   ========================================================= */

#haven-whatsapp:hover + #haven-whatsapp-label {
    opacity: 1 !important;

    visibility: visible !important;

    transform: translateX(0) !important;
}


/* =========================================================
   WHATSAPP MOBILE
   ========================================================= */

@media (max-width: 600px) {

    #haven-whatsapp {
        right: 14px !important;
        bottom: 145px !important;

        width: 41px !important;
        height: 41px !important;
    }


    #haven-whatsapp i {
        font-size: 22px !important;
    }


    #haven-whatsapp-label {
        display: none !important;
    }

}
/* =========================================================
   PROPERTY HERO SMALL CARDS
   ========================================================= */

.hps {
    width: calc(100% - 24px);

    margin: 18px auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 7px;
}


.hpc {
    height: 250px;

    border-radius: 7px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    position: relative;

    text-decoration: none !important;

    color: #ffffff !important;

    background:
        center / cover;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.hpc::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(8,28,18,0.03),
            rgba(7,25,16,0.92)
        );
}


.hpc:hover {
    transform: translateY(-3px);

    box-shadow:
        0 7px 18px rgba(23,91,157,0.22);
}


.hpb {
    position: relative;

    z-index: 1;

    align-self: center;

    margin-top: 13px;

    padding: 6px 12px;

    background: #175B9D;

    color: #ffffff;

    border-bottom: 2px solid #C89B32;

    border-radius: 3px;

    font:
        700 8px Arial, Helvetica, sans-serif;

    letter-spacing: 1.1px;

    line-height: 1;

    white-space: nowrap;

    box-shadow:
        0 2px 7px rgba(23,91,157,0.28);
}


.hpc > div {
    position: relative;

    z-index: 1;

    text-align: center;

    padding:
        0 18px 19px;
}


.hpt {
    margin: 0 0 6px;

    font:
        600 17px/1.2 Arial, Helvetica, sans-serif;

    color: #ffffff;
}


.hpd {
    max-width: 280px;

    margin: auto;

    font:
        400 11px/1.5 Arial, Helvetica, sans-serif;

    color:
        rgba(255,255,255,0.88);
}


@media (max-width: 1000px) {

    .hps {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .hps {
        width: calc(100% - 20px);

        grid-template-columns: 1fr;

        gap: 9px;
    }

    .hpc {
        height: 235px;
    }

    .hpc > div {
        padding:
            0 24px 20px;
    }

    .hpt {
        font-size: 16px;
    }

}


/* =========================================================
   HAVEN LANDS
   PROPERTY TYPES SECTION
   ========================================================= */

.property-types {
    width: 100%;

    padding:
        55px 20px 25px;

    box-sizing: border-box;

    background: #f7f8fa;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.property-types-header {
    width: 100%;

    max-width: 720px;

    margin:
        0 auto 30px;

    text-align: center;
}


.property-eyebrow {
    display: inline-block;

    margin-bottom: 8px;

    color: #b88a32;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;
}


.property-types-header h2 {
    margin: 0;

    color: #102b4e;

    font-size:
        clamp(28px, 3.2vw, 40px);

    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -1px;
}


.property-types-header > p {
    max-width: 560px;

    margin:
        11px auto 0;

    color: #737d8d;

    font-size: 13px;

    line-height: 1.65;

    font-weight: 400;
}


/* =========================================================
   PROPERTY GRID
   ========================================================= */

.property-grid {
    width: 100%;

    max-width: 1050px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    grid-template-rows:
        215px
        215px
        215px;

    gap: 11px;
}


/* =========================================================
   PROPERTY CARD
   ========================================================= */

.property-card {
    position: relative;

    width: 100%;

    height: 100%;

    min-width: 0;

    display: block;

    overflow: hidden;

    box-sizing: border-box;

    border-radius: 14px;

    color: #ffffff;

    text-decoration: none;

    background-size: cover;

    background-position: center;

    isolation: isolate;

    box-shadow:
        0 8px 25px rgba(16,43,78,0.08);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* =========================================================
   PROPERTY IMAGES
   ========================================================= */

.property-land {
    grid-column: 1 / 3;

    grid-row: 1;

    background-image:
        url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1800&q=90");
}


.property-house {
    grid-column: 1;

    grid-row: 2;

    background-image:
        url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1400&q=90");
}


.property-apartment {
    grid-column: 2;

    grid-row: 2;

    background-image:
        url("https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=1400&q=90");
}


.property-villa {
    grid-column: 1;

    grid-row: 3;

    background-image:
        url("https://images.unsplash.com/photo-1613490493576-7fde63acd811?auto=format&fit=crop&w=1400&q=90");
}


.property-commercial {
    grid-column: 2;

    grid-row: 3;

    background-image:
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1400&q=90");
}


/* =========================================================
   IMAGE ZOOM
   ========================================================= */

.property-card::before {
    content: "";

    position: absolute;

    inset: 0;

    background: inherit;

    background-size: cover;

    background-position: center;

    z-index: -2;

    transition:
        transform 0.7s ease;
}


.property-card:hover::before {
    transform: scale(1.045);
}


/* =========================================================
   PROPERTY OVERLAY
   ========================================================= */

.property-overlay {
    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            180deg,
            rgba(8,21,38,0.02) 0%,
            rgba(8,21,38,0.08) 38%,
            rgba(8,21,38,0.82) 100%
        );

    transition:
        background 0.35s ease;
}


.property-card:hover .property-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(8,21,38,0.04) 0%,
            rgba(8,21,38,0.12) 38%,
            rgba(8,21,38,0.88) 100%
        );
}


/* =========================================================
   PROPERTY CONTENT
   ========================================================= */

.property-types .property-card .property-content {
    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;

    height: 100% !important;

    padding:
        25px 28px 24px !important;

    box-sizing: border-box !important;

    display: flex !important;

    flex-direction: column !important;

    justify-content: flex-end !important;

    align-items: flex-start !important;

    z-index: 3 !important;
}


/* =========================================================
   REMOVE NUMBERS
   ========================================================= */

.property-number {
    display: none !important;
}


/* =========================================================
   PROPERTY TITLE
   ========================================================= */

.property-types .property-card .property-content h3 {
    display: block !important;

    visibility: visible !important;

    opacity: 1 !important;

    margin:
        0 0 8px 0 !important;

    padding: 0 !important;

    color: #ffffff !important;

    font-size:
        clamp(27px, 3vw, 35px) !important;

    line-height: 1.08 !important;

    font-weight: 750 !important;

    letter-spacing: -0.7px !important;

    text-shadow:
        0 3px 10px rgba(0,0,0,0.75) !important;
}


/* =========================================================
   PROPERTY DESCRIPTION
   BALANCED SIZE
   ========================================================= */

.property-types .property-card .property-content p {
    display: block !important;

    visibility: visible !important;

    opacity: 1 !important;

    width: auto !important;

    max-width: 390px !important;

    height: auto !important;

    margin:
        0 0 13px 0 !important;

    padding: 0 !important;

    color:
        rgba(255,255,255,0.96) !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 15px !important;

    line-height: 1.4 !important;

    font-weight: 500 !important;

    letter-spacing: 0 !important;

    text-shadow:
        0 2px 7px rgba(0,0,0,0.85) !important;
}


/* =========================================================
   DESCRIPTION ACCENT
   ========================================================= */

.property-types .property-card .property-content p::before {
    content: "";

    display: block;

    width: 28px;

    height: 2px;

    margin:
        0 0 7px 0;

    background: #d2aa59;

    border-radius: 10px;
}

/* =========================================================
   HAVEN LANDS
   PROPERTY CONSULTANTS
   ========================================================= */

#hl_agents_section {
    width: 100%;

    padding:
        70px 20px;

    background: #f7f9fc;

    box-sizing: border-box;
}


#hl_agents_section .hl_agents_grid {
    width: 100%;

    max-width: 1180px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;

    box-sizing: border-box;
}


/* =========================================================
   AGENT CARD
   ========================================================= */

#hl_agents_section .hl_agent_card {
    width: 100%;

    background: #ffffff;

    border:
        1px solid #edf0f4;

    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 8px 30px rgba(21,42,70,0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

    box-sizing: border-box;
}


#hl_agents_section .hl_agent_card:hover {
    transform:
        translateY(-7px);

    box-shadow:
        0 18px 45px rgba(21,42,70,0.12);
}


/* =========================================================
   AGENT PHOTO
   ========================================================= */

#hl_agents_section .hl_agent_photo {
    width: 100%;

    height: 300px;

    overflow: hidden;

    background: #eef2f6;
}


#hl_agents_section .hl_agent_photo img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.5s ease;
}


#hl_agents_section .hl_agent_card:hover
.hl_agent_photo img {
    transform:
        scale(1.04);
}


/* =========================================================
   AGENT CONTENT
   ========================================================= */

#hl_agents_section .hl_agent_content {
    padding:
        27px 25px 25px;

    text-align: center;

    box-sizing: border-box;
}


/* =========================================================
   AGENT NAME
   ========================================================= */

#hl_agents_section .hl_agent_name {
    margin:
        0 0 7px;

    color: #171d2b;

    font-size: 24px;

    line-height: 1.25;

    font-weight: 700;

    letter-spacing: -0.3px;
}


/* =========================================================
   AGENT POSITION
   ========================================================= */

#hl_agents_section .hl_agent_position {
    margin:
        0 0 21px;

    color: #24558e;

    font-size: 15px;

    line-height: 1.5;

    font-weight: 600;
}


/* =========================================================
   AGENT DETAILS
   ========================================================= */

#hl_agents_section .hl_agent_details {
    width: 100%;

    background: #f7f9fb;

    border-radius: 13px;

    padding: 15px;

    margin-bottom: 19px;

    text-align: left;

    box-sizing: border-box;
}


#hl_agents_section .hl_detail_item {
    width: 100%;
}


#hl_agents_section .hl_detail_item
+ .hl_detail_item {
    margin-top: 14px;

    padding-top: 13px;

    border-top:
        1px solid #e9edf2;
}


#hl_agents_section .hl_detail_label {
    display: block;

    margin-bottom: 5px;

    color: #8b929d;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.2px;
}


#hl_agents_section .hl_detail_item a {
    color: #303744;

    font-size: 14px;

    line-height: 1.4;

    text-decoration: none;

    word-break: break-word;

    transition:
        color 0.2s ease;
}


#hl_agents_section .hl_detail_item a:hover {
    color: #24558e;
}


/* =========================================================
   AGENT ACTION BUTTONS
   ========================================================= */

#hl_agents_section .hl_agent_actions {
    width: 100%;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;
}


#hl_agents_section .hl_agent_actions a {
    min-height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    padding:
        0 12px;

    border-radius: 50px;

    box-sizing: border-box;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


#hl_agents_section .hl_agent_actions a:hover {
    transform:
        translateY(-2px);
}


#hl_agents_section .hl_call_button {
    background: #173f73;

    color: #ffffff;

    box-shadow:
        0 5px 14px rgba(23,63,115,0.18);
}


#hl_agents_section .hl_whatsapp_button {
    background: #079653;

    color: #ffffff;

    box-shadow:
        0 5px 14px rgba(7,150,83,0.18);
}


#hl_agents_section .hl_agent_actions span {
    font-size: 16px;

    line-height: 1;
}


/* =========================================================
   AGENT TABLET
   ========================================================= */

@media screen and (max-width: 1000px) {

    #hl_agents_section {
        padding:
            60px 18px;
    }

    #hl_agents_section .hl_agents_grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 22px;
    }

}


/* =========================================================
   AGENT MOBILE
   ========================================================= */

@media screen and (max-width: 650px) {

    #hl_agents_section {
        padding:
            45px 14px;
    }

    #hl_agents_section .hl_agents_grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    #hl_agents_section .hl_agent_photo {
        height: 310px;
    }

    #hl_agents_section .hl_agent_content {
        padding:
            25px 20px 22px;
    }

    #hl_agents_section .hl_agent_name {
        font-size: 23px;
    }

}


/* =========================================================
   AGENT SMALL MOBILE
   ========================================================= */

@media screen and (max-width: 400px) {

    #hl_agents_section {
        padding:
            35px 10px;
    }

    #hl_agents_section .hl_agent_photo {
        height: 285px;
    }

    #hl_agents_section .hl_agent_content {
        padding:
            23px 17px 20px;
    }

    #hl_agents_section .hl_agent_actions {
        gap: 8px;
    }

    #hl_agents_section .hl_agent_actions a {
        font-size: 13px;

        padding:
            0 8px;
    }

}