﻿:root {
    --off-white: #F4F2EF;
    --light-blue: #ebf4fa;
    --navy: #2563ab;
    --orange: #E68C3A;
    --sky: #94B6EF;
    --navy-text: #213E60;
    --slate: #4a5a6e;
    --rust: #c6613f;
    --rust-lt: #e07a58;
    --gold: #d4a843;
    --cream: #faf7f2;
    --line: #d0d8e4;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--navy-text);
    background: var(--off-white);
    overflow-x: hidden;
    font-size: 18px
}

/* ── Page header ─────────────────────────────────── */
.page-header {
    background: var(--navy);
    padding: 56px 32px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .page-header::before {
        content: '';
        position: absolute;
        inset: 0;
        /* background: radial-gradient(ellipse 60% 120% at 8% 50%, rgba(230,140,58,.18) 0%, transparent 55%), radial-gradient(ellipse 50% 120% at 92% 50%, rgba(148,182,239,.14) 0%, transparent 55%);*/
    }

    .page-header h1 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(2rem, 5vw, 3.4rem);
        font-weight: 900;
        color: #fff;
        position: relative;
        letter-spacing: -.3px;
    }

        .page-header h1 em {
            color: var(--orange);
            font-style: normal;
        }

    .page-header p {
        margin-top: 10px;
        color: rgba(255,255,255,.6);
        font-size: 1.1rem;
        font-weight: 300;
        position: relative;
    }

.header-rule {
    width: 52px;
    height: 3px;
    background: var(--orange);
    margin: 18px auto 0;
    border-radius: 2px;
    position: relative;
}

/* ── Scroll-reveal base ──────────────────────────── */
        .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}

    .reveal.in-view {
        opacity: 1;
        transform: translateY(0);
    }

/* ── Icon bounce animation ───────────────────────── */
@keyframes iconBounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.18);
    }

    55% {
        transform: scale(0.93);
    }

    75% {
        transform: scale(1.07);
    }

    90% {
        transform: scale(0.97);
    }

    100% {
        transform: scale(1);
    }
}

.icon-circle.bounced {
    animation: iconBounce .7s cubic-bezier(.36,.07,.19,.97) forwards;
}

/* ── Tilt card ───────────────────────────────────── */
/* (removed) */

/* ── Stat counter ────────────────────────────────── */
.icon-stat-val {
    transition: opacity .3s ease;
}

    .icon-stat-val.counting {
        opacity: .85;
    }

/* ── Section blocks ──────────────────────────────── */
.section {
    width: 100%;
    position: relative;
}

.section-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 72px 40px;
    display: grid;
    gap: 48px;
    align-items: center;
}

    /* Two-column for alternating layout */
    .section-inner.two-col {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }

        .section-inner.two-col.flip {
            direction: rtl;
        }

            .section-inner.two-col.flip > * {
                direction: ltr;
            }

@media (max-width: 768px) {
    .section-inner.two-col {
        grid-template-columns: 1fr;
    }

        .section-inner.two-col.flip {
            direction: ltr;
        }

    .section-inner {
        padding: 52px 24px;
    }
}

/* ── Section 1: Mission — light blue bg ─────────── */
.sec-mission {
    background: var(--light-blue);
}

/* ── Section 2: Real Estate — off-white bg ──────── */
.sec-realestate {
    background: var(--off-white);
}

/* ── Section 3: RE Services — sky bg ────────────── */
.sec-reservices {
    background: var(--sky);
}

/* ── Section 4: BPP — light orange bg ───────────── */
.sec-bpp {
    background: #fbe8d0;
}

/* ── Section 5: BPP Services — off-white bg ─────── */
.sec-bppservices {
    background: var(--off-white);
}

/* ── Section 5: BPP Services — off-white bg ─────── */
.sec-lookup {
    background: var(--off-white);
}

/* ── Section 6: CTA — navy bg ───────────────────── */
.sec-cta {
    background: var(--navy);
}

/* ── Decorative icon block ───────────────────────── */
.icon-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .icon-circle svg {
        width: 52px;
        height: 52px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.icon-stat {
    text-align: center;
}

.icon-stat-val {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.icon-stat-lbl {
    font-size: .92rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    opacity: .75;
}

/* ── Text content ────────────────────────────────── */
.section-label {
    font-size: 1.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    opacity: .6;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-body {
    line-height: 1.75;
    font-weight: 300;
}

    .section-body + .section-body {
        margin-top: 14px;
    }

/* ── Service list ────────────────────────────────── */
.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

    .service-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        line-height: 1.6;
        font-weight: 400;
    }



.list-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    position: relative;
}
/* Use a custom check approach */
.service-list li .check-wrap {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

    .service-list li .check-wrap svg {
        width: 12px;
        height: 12px;
        stroke: currentColor;
        fill: none;
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* ── Color-specific overrides ────────────────────── */

/* Light blue section */
.sec-mission .section-label {
    color: var(--navy);
}

.sec-mission .section-title {
    color: var(--navy);
}

.sec-mission .section-body {
    color: var(--slate);
}

.sec-mission .icon-circle {
    background: rgba(33,62,96,.08);
    color: var(--navy);
}

.sec-mission .icon-stat-val {
    color: var(--navy);
}

.sec-mission .icon-stat-lbl {
    color: var(--navy);
}

/* Off-white section */
.sec-realestate .section-label {
    color: var(--orange);
}

.sec-realestate .section-title {
    color: var(--navy);
}

.sec-realestate .section-body {
    color: var(--slate);
}

.sec-realestate .icon-circle {
    background: rgba(230,140,58,.1);
    color: var(--orange);
}

/* Sky section (RE services) */
.sec-reservices .section-label {
    color: var(--navy);
}

.sec-reservices .section-title {
    color: var(--navy);
}

.sec-reservices .section-body {
    color: #2a4060;
}

.sec-reservices .service-list li {
    color: #213e60;
}

.sec-reservices .check-wrap {
    background: rgba(33,62,96,.12);
    color: var(--navy);
}

.sec-reservices .icon-circle {
    background: rgba(33,62,96,.1);
    color: var(--navy);
}

.sec-reservices .icon-stat-val {
    color: var(--navy);
}

.sec-reservices .icon-stat-lbl {
    color: var(--navy);
}

/* Light orange section */
.sec-bpp .section-label {
    color: var(--orange);
    opacity: 1;
}

.sec-bpp .section-title {
    color: var(--navy);
}

.sec-bpp .section-body {
    color: var(--slate);
}

.sec-bpp .icon-circle {
    background: rgba(230,140,58,.15);
    color: var(--orange);
}

.sec-bpp .icon-stat-val {
    color: var(--navy);
}

.sec-bpp .icon-stat-lbl {
    color: var(--slate);
}

.sec-bpp .asset-tag {
    background: rgba(230,140,58,.18);
    color: var(--white);
    border-color: rgba(230,140,58,.35);
}

/* Sky section */
.sec-bppservices .section-label {
    color: var(--navy);
}

.sec-bppservices .section-title {
    color: var(--navy);
}

.sec-bppservices .section-body {
    color: #2a4060;
}

.sec-bppservices .service-list li {
    color: #213e60;
}

.sec-bppservices .check-wrap {
    background: rgba(33,62,96,.12);
    color: var(--navy);
}

.sec-bppservices .icon-circle {
    background: rgba(33,62,96,.1);
    color: var(--navy);
}

/* ── Divider wave ────────────────────────────────── */
.wave {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

    .wave svg {
        display: block;
        width: 100%;
    }

/* ── CTA section ─────────────────────────────────── */
.sec-cta .section-inner {
    text-align: center;
    grid-template-columns: 1fr;
    justify-items: center;
}

.cta-phone {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: var(--orange);
    text-decoration: none;
    display: block;
    margin: 10px 0 4px;
    transition: color .2s;
}

    .cta-phone:hover {
        color: var(--sky);
    }

.cta-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,.5);
    margin-bottom: 28px;
}

.cta-note {
    color: rgba(255,255,255,.65);
    line-height: 1.65;
    max-width: 480px;
    font-style: italic;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 28px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 8px;
    transition: background .2s, transform .15s;
}

    .btn-primary:hover {
        background: #c97520;
        transform: translateY(-2px);
    }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.25);
    text-decoration: none;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 8px;
    transition: all .2s;
}

    .btn-secondary:hover {
        background: rgba(255,255,255,.18);
        transform: translateY(-2px);
    }

    .btn-primary svg, .btn-secondary svg {
        width: 15px;
        height: 15px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2.5;
        stroke-linecap: round;
    }

/* ── Highlight pill ──────────────────────────────── */
.highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 20px;
    padding: 5px 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 14px;
}

    .highlight-pill svg {
        width: 12px;
        height: 12px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2.5;
        stroke-linecap: round;
    }

/* ── BPP asset tags ──────────────────────────────── */
.asset-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.asset-tag {
    background: rgba(255,255,255,.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 6px;
    padding: 5px 12px;
    font-weight: 600;
}

/* ── Check-mark pop animation ────────────────────── */
@keyframes checkPop {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.35);
        background: rgba(33,62,96,.28);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

.check-wrap.check-pop {
    animation: checkPop .4s cubic-bezier(.36,.07,.19,.97) forwards;
}

/* ── Spider web container ────────────────────────── */
.spider-web {
    position: relative;
    flex-shrink: 0;
}

/* Override icon-block flex for spider section so it centers properly */
.sec-bpp .icon-block {
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 0;
}

/* Spider-web is self-contained — no extra margin from icon-block gap */
.sec-bpp .spider-web {
    margin: 0 auto;
}

/* Keep BPP icon solid and above the SVG lines */
.sec-bpp .icon-circle {
    background: #fbe8d0;
    border: 3px solid rgba(230,140,58,.35);
    z-index: 2;
    position: relative;
}

/* Keep asset tag bubbles solid above SVG lines */
.spider-node {
    background: #e8a96a !important;
    border: 1.5px solid rgba(230,140,58,.6) !important;
    z-index: 2;
    position: absolute;
}