/* Real Estate landing page */
.ucg-re-page {
    --re-ink: #18222b;
    --re-muted: #66717a;
    --re-paper: #ffffff;
    --re-soft: #f7f4ef;
    --re-line: #e9e2d8;
    --re-orange: #ff3c00;
    --re-gold: #ff9800;
    --re-dark: #111a21;
    color: var(--re-ink);
    overflow: hidden;
}

.ucg-re-page *,
.ucg-re-page *::before,
.ucg-re-page *::after {
    box-sizing: border-box;
}

.ucg-re-page h1,
.ucg-re-page h2,
.ucg-re-page h3,
.ucg-re-page p {
    margin-top: 0;
}

.ucg-re-page h1,
.ucg-re-page h2,
.ucg-re-page h3 {
    color: var(--re-ink);
}

.ucg-re-page p {
    color: var(--re-muted);
    line-height: 1.75;
}

.ucg-re-wrap {
    width: min(1170px, calc(100% - 40px));
    margin-inline: auto;
}

.ucg-re-section {
    padding: 110px 0;
}

.ucg-re-section--soft {
    background: var(--re-soft);
}

.ucg-re-hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    isolation: isolate;
    background: var(--re-dark);
}

.ucg-re-hero__image,
.ucg-re-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ucg-re-hero__image {
    z-index: -2;
    object-fit: cover;
    object-position: center;
}

.ucg-re-hero__shade {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(11, 18, 23, .92) 0%, rgba(11, 18, 23, .77) 38%, rgba(11, 18, 23, .18) 74%, rgba(11, 18, 23, .08) 100%),
        linear-gradient(0deg, rgba(11, 18, 23, .35), transparent 45%);
}

.ucg-re-hero__content {
    padding-top: 80px;
    padding-bottom: 80px;
}

.ucg-re-eyebrow,
.ucg-re-kicker {
    margin-bottom: 16px;
    color: var(--re-orange) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.4 !important;
    text-transform: uppercase;
}

.ucg-re-hero h1 {
    max-width: 790px;
    margin-bottom: 24px;
    color: #ffffff;
    font-size: clamp(46px, 6.1vw, 80px);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.ucg-re-hero__intro {
    max-width: 680px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, .84) !important;
    font-size: 19px;
    line-height: 1.7 !important;
}

.ucg-re-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ucg-re-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 25px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.ucg-re-button:hover {
    transform: translateY(-2px);
}

.ucg-re-button--primary {
    background: linear-gradient(135deg, var(--re-orange), var(--re-gold));
    box-shadow: 0 12px 30px rgba(255, 60, 0, .26);
    color: #ffffff;
}

.ucg-re-button--primary:hover,
.ucg-re-button--primary:focus {
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(255, 60, 0, .36);
}

.ucg-re-button--ghost {
    border-color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.ucg-re-button--ghost:hover,
.ucg-re-button--ghost:focus {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--re-ink);
}

.ucg-re-focus {
    position: relative;
    z-index: 2;
    margin-top: -1px;
    background: #ffffff;
    border-bottom: 1px solid var(--re-line);
}

.ucg-re-focus__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.ucg-re-focus__grid > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 96px;
    border-right: 1px solid var(--re-line);
    color: var(--re-ink);
    font-weight: 700;
}

.ucg-re-focus__grid > div:first-child {
    border-left: 1px solid var(--re-line);
}

.ucg-re-focus i {
    color: var(--re-orange);
    font-size: 25px;
}

.ucg-re-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    align-items: center;
    gap: clamp(48px, 7vw, 92px);
}

.ucg-re-split--reverse {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
}

.ucg-re-copy h2,
.ucg-re-heading h2 {
    margin-bottom: 22px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.13;
    letter-spacing: -.025em;
}

.ucg-re-lead {
    color: #3e4952 !important;
    font-size: 18px;
}

.ucg-re-checklist {
    display: grid;
    gap: 13px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.ucg-re-checklist li {
    position: relative;
    padding-left: 30px;
    color: var(--re-ink);
    line-height: 1.55;
}

.ucg-re-checklist li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--re-orange);
    font-weight: 900;
}

.ucg-re-image-card {
    position: relative;
    margin: 0;
}

.ucg-re-image-card::before {
    content: "";
    position: absolute;
    inset: -14px 14px 14px -14px;
    z-index: -1;
    border: 1px solid rgba(255, 60, 0, .28);
    border-radius: 22px;
}

.ucg-re-image-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 4.4;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(24, 34, 43, .16);
}

.ucg-re-image-card figcaption {
    position: absolute;
    right: -24px;
    bottom: 26px;
    max-width: 330px;
    padding: 18px 22px;
    border-left: 4px solid var(--re-orange);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(24, 34, 43, .16);
    color: var(--re-ink);
    font-size: 14px;
    line-height: 1.55;
}

.ucg-re-heading {
    max-width: 760px;
    margin: 0 auto 54px;
    text-align: center;
}

.ucg-re-heading > p:last-child {
    max-width: 690px;
    margin: 0 auto;
    font-size: 17px;
}

.ucg-re-heading--left {
    margin-left: 0;
    text-align: left;
}

.ucg-re-heading--left > p:last-child {
    margin-left: 0;
}

.ucg-re-services {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.ucg-re-service-card {
    position: relative;
    min-height: 295px;
    padding: 30px 25px;
    overflow: hidden;
    border: 1px solid var(--re-line);
    border-radius: 14px;
    background: #ffffff;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.ucg-re-service-card::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -55px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 60, 0, .12), rgba(255, 152, 0, .04));
}

.ucg-re-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 60, 0, .34);
    box-shadow: 0 18px 40px rgba(24, 34, 43, .1);
}

.ucg-re-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--re-orange), var(--re-gold));
    color: #ffffff;
    font-size: 25px;
}

.ucg-re-service-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.3;
}

.ucg-re-service-card p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.7;
}

.ucg-re-opportunity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--re-line);
    border-radius: 16px;
    background: var(--re-line);
}

.ucg-re-opportunity-grid article {
    position: relative;
    min-height: 240px;
    padding: 38px;
    background: #ffffff;
}

.ucg-re-opportunity-grid article > span {
    display: block;
    margin-bottom: 34px;
    color: var(--re-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ucg-re-opportunity-grid h3 {
    margin-bottom: 12px;
    font-size: 24px;
}

.ucg-re-opportunity-grid p {
    max-width: 450px;
    margin-bottom: 0;
}

.ucg-re-process {
    padding: 110px 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 152, 0, .16), transparent 32%),
        var(--re-dark);
}

.ucg-re-heading--light h2 {
    color: #ffffff;
}

.ucg-re-heading--light > p:last-child {
    color: rgba(255, 255, 255, .66);
}

.ucg-re-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, .16);
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.ucg-re-steps li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    min-height: 210px;
    padding: 30px;
    border-right: 1px solid rgba(255, 255, 255, .16);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.ucg-re-steps li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--re-orange), var(--re-gold));
    color: #ffffff;
    font-weight: 800;
}

.ucg-re-steps h3 {
    margin: 7px 0 10px;
    color: #ffffff;
    font-size: 20px;
}

.ucg-re-steps p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 14px;
}

.ucg-re-image-card--team img {
    aspect-ratio: 4 / 3.6;
}

.ucg-re-diligence-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin: 26px 0;
}

.ucg-re-diligence-grid > div {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--re-ink);
    font-size: 14px;
    line-height: 1.55;
}

.ucg-re-diligence-grid i {
    margin-top: 4px;
    color: var(--re-orange);
}

.ucg-re-note {
    margin: 0;
    padding: 17px 19px;
    border-left: 3px solid var(--re-orange);
    background: var(--re-soft);
    font-size: 13px;
}

.ucg-re-partnership-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.ucg-re-partnership-grid article {
    padding: 30px 24px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(24, 34, 43, .06);
    text-align: center;
}

.ucg-re-partnership-grid i {
    display: block;
    margin-bottom: 18px;
    color: var(--re-orange);
    font-size: 37px;
}

.ucg-re-partnership-grid h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.ucg-re-partnership-grid p {
    margin-bottom: 0;
    font-size: 14px;
}

.ucg-re-faq__layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: start;
    gap: clamp(45px, 7vw, 90px);
}

.ucg-re-faq .ucg-re-heading {
    margin-bottom: 0;
}

.ucg-re-text-link {
    display: inline-flex;
    gap: 8px;
    margin-top: 14px;
    color: var(--re-orange);
    font-weight: 800;
}

.ucg-re-text-link:hover {
    color: var(--re-ink);
}

.ucg-re-faq__items {
    border-top: 1px solid var(--re-line);
}

.ucg-re-faq details {
    border-bottom: 1px solid var(--re-line);
}

.ucg-re-faq summary {
    position: relative;
    padding: 23px 42px 23px 0;
    color: var(--re-ink);
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    list-style: none;
}

.ucg-re-faq summary::-webkit-details-marker {
    display: none;
}

.ucg-re-faq summary::after {
    content: "+";
    position: absolute;
    top: 20px;
    right: 4px;
    color: var(--re-orange);
    font-size: 25px;
    font-weight: 400;
}

.ucg-re-faq details[open] summary::after {
    content: "−";
}

.ucg-re-faq details p {
    margin: -4px 45px 23px 0;
}

.ucg-re-cta {
    padding: 85px 0;
    background: linear-gradient(125deg, #e53500 0%, var(--re-orange) 42%, var(--re-gold) 100%);
}

.ucg-re-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.ucg-re-cta .ucg-re-eyebrow,
.ucg-re-cta h2,
.ucg-re-cta p {
    color: #ffffff !important;
}

.ucg-re-cta h2 {
    max-width: 760px;
    margin-bottom: 12px;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.14;
}

.ucg-re-cta p:last-child {
    max-width: 760px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .82) !important;
}

.ucg-re-button--light {
    flex: 0 0 auto;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(83, 24, 0, .2);
    color: var(--re-orange);
}

.ucg-re-button--light:hover,
.ucg-re-button--light:focus {
    background: var(--re-dark);
    color: #ffffff;
}

@media (max-width: 1050px) {
    .ucg-re-services,
    .ucg-re-partnership-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ucg-re-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .ucg-re-section,
    .ucg-re-process {
        padding: 80px 0;
    }

    .ucg-re-hero {
        min-height: 640px;
    }

    .ucg-re-hero__shade {
        background: linear-gradient(90deg, rgba(11, 18, 23, .9), rgba(11, 18, 23, .54));
    }

    .ucg-re-focus__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ucg-re-focus__grid > div {
        border-bottom: 1px solid var(--re-line);
    }

    .ucg-re-split,
    .ucg-re-split--reverse,
    .ucg-re-faq__layout {
        grid-template-columns: 1fr;
    }

    .ucg-re-split--reverse .ucg-re-copy {
        order: -1;
    }

    .ucg-re-image-card {
        width: calc(100% - 18px);
        max-width: 650px;
        margin-inline: auto;
    }

    .ucg-re-image-card img,
    .ucg-re-image-card--team img {
        aspect-ratio: 16 / 11;
    }

    .ucg-re-image-card figcaption {
        right: -18px;
    }

    .ucg-re-cta__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .ucg-re-wrap {
        width: min(100% - 28px, 1170px);
    }

    .ucg-re-section,
    .ucg-re-process {
        padding: 66px 0;
    }

    .ucg-re-hero {
        min-height: 650px;
    }

    .ucg-re-hero__image {
        object-position: 61% center;
    }

    .ucg-re-hero__shade {
        background: rgba(11, 18, 23, .74);
    }

    .ucg-re-hero__content {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .ucg-re-hero h1 {
        font-size: 43px;
    }

    .ucg-re-hero__intro {
        font-size: 17px;
    }

    .ucg-re-actions,
    .ucg-re-button {
        width: 100%;
    }

    .ucg-re-focus__grid > div {
        min-height: 78px;
        font-size: 14px;
    }

    .ucg-re-copy h2,
    .ucg-re-heading h2 {
        font-size: 34px;
    }

    .ucg-re-services,
    .ucg-re-partnership-grid,
    .ucg-re-opportunity-grid,
    .ucg-re-steps,
    .ucg-re-diligence-grid {
        grid-template-columns: 1fr;
    }

    .ucg-re-service-card {
        min-height: 0;
    }

    .ucg-re-opportunity-grid article {
        min-height: 0;
        padding: 30px 24px;
    }

    .ucg-re-opportunity-grid article > span {
        margin-bottom: 22px;
    }

    .ucg-re-steps li {
        min-height: 0;
        padding: 25px 20px;
    }

    .ucg-re-image-card figcaption {
        position: relative;
        right: auto;
        bottom: auto;
        max-width: none;
        margin: -8px 12px 0;
    }

    .ucg-re-cta {
        padding: 65px 0;
    }
}
