/* Flooren realization case studies. All selectors are scoped to hcfr components. */
.hcfr-listing,
.hcfr-single {
    --hcfr-black: var(--color-black, #000);
    --hcfr-white: var(--color-white, #fff);
    --hcfr-orange: #ff7400;
    --hcfr-orange-light: #ff9100;
    --hcfr-beige: #f8f6f2;
    --hcfr-line: #d6d2cd;
    --hcfr-heading: var(--font-primary, termina, sans-serif);
    --hcfr-body: var(--font-secondary, "Montserrat", sans-serif);
    color: var(--hcfr-black);
    font-family: var(--hcfr-body);
}

.hcfr-listing {
    margin: 35px 0 75px;
}

.hcfr-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    max-width: 1215px;
    margin-right: auto;
    margin-left: auto;
}

.hcfr-listing-carousel {
    width: 100%;
    max-width: 1215px;
    min-width: 0;
    margin-right: auto;
    margin-left: auto;
}

.hcfr-listing__controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.hcfr-listing__button {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #d9d5cf;
    border-radius: 50%;
    background: #fff;
    color: var(--hcfr-black);
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, opacity .2s ease;
}

.hcfr-listing__button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.hcfr-listing__button--previous svg {
    transform: rotate(180deg);
}

.hcfr-listing__button:hover:not(:disabled),
.hcfr-listing__button:focus-visible {
    border-color: var(--hcfr-orange);
    background: var(--hcfr-orange);
    color: #fff;
}

.hcfr-listing__button:focus-visible,
.hcfr-listing--slider .hcfr-grid:focus-visible {
    outline: 3px solid var(--hcfr-orange-light);
    outline-offset: 4px;
}

.hcfr-listing__button:disabled {
    opacity: .35;
    cursor: default;
}

.hcfr-listing--slider .hcfr-listing-carousel {
    position: relative;
    max-width: 1600px;
    overflow: hidden;
}

.hcfr-listing-block--slider .hcfr-listing .padding-glob {
    padding-right: 0;
}

.hcfr-listing--slider .hcfr-grid {
    display: flex;
    width: 100%;
    max-width: none;
    gap: 0;
    margin: 0;
}

.hcfr-listing--slider .hcfr-listing-carousel:not(.swiper-initialized) .hcfr-grid {
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.hcfr-listing--slider .hcfr-listing-carousel:not(.swiper-initialized) .hcfr-grid::-webkit-scrollbar {
    display: none;
}

.hcfr-listing--slider .swiper-slide {
    width: calc((100% - 45px) / 4);
    height: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.hcfr-listing--slider .hcfr-card,
.hcfr-listing--slider .hcfr-card__link {
    height: 100%;
}

.hcfr-listing-block .act-title-section-with-desc > * {
    margin-top: 0;
    margin-bottom: 0;
}

.hcfr-listing-block .act-title-section-with-desc > * + * {
    margin-top: 14px;
}

.hcfr-listing-block--cards-3:not(.hcfr-listing-block--compact) .act-title-section-with-desc,
.hcfr-listing-block--cards-3:not(.hcfr-listing-block--compact) .act-title-section-with-desc > * {
    text-align: center;
}

@media (min-width: 1101px) {
    .hcfr-listing-block--slider .hcfr-listing-carousel::after {
        position: absolute;
        z-index: 2;
        top: 0;
        right: 0;
        width: 15px;
        height: 540px;
        background: linear-gradient(to left, #fff 0%, transparent 100%);
        content: "";
        pointer-events: none;
    }
}

.hcfr-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #eceae7;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .07);
}

.hcfr-card__link {
    position: relative;
    display: flex;
    min-height: 540px;
    align-items: flex-end;
    overflow: hidden;
    color: var(--hcfr-white) !important;
    text-decoration: none !important;
}

.hcfr-card__media,
.hcfr-card__media img,
.hcfr-card__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hcfr-card__media {
    margin: 0;
    background: linear-gradient(135deg, #dfdad2, #b8afa1);
}

.hcfr-card__media img {
    object-fit: cover;
    transition: transform .45s ease;
}

.hcfr-card__overlay {
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55) 100%);
}

.hcfr-card__link:hover .hcfr-card__media img,
.hcfr-card__link:focus-visible .hcfr-card__media img {
    transform: scale(1.055);
}

.hcfr-card__link:focus-visible {
    outline: 3px solid var(--hcfr-orange-light);
    outline-offset: -3px;
}

.hcfr-card__cta {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--hcfr-white);
    box-shadow: 0 10px 15px rgba(0, 0, 0, .15);
    color: var(--hcfr-black);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
}

.hcfr-card__cta svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform .2s ease;
}

.hcfr-card__link:hover .hcfr-card__cta svg {
    transform: translateX(3px);
}

.hcfr-card__content {
    position: relative;
    z-index: 2;
    width: calc(100% - 40px);
    margin: 20px;
    box-sizing: border-box;
    padding: 12px 20px;
    border: 0;
    border-radius: 10px;
    background: rgba(0, 0, 0, .45);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .08);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.hcfr-card__city {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.hcfr-card__content h3 {
    margin: 0 0 15px;
    color: var(--hcfr-white);
    font-family: var(--hcfr-body);
    font-size: 16px;
    font-weight: 600;
    line-height: 19px;
}

.hcfr-card__metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    margin: 0;
}

.hcfr-card__metrics div {
    flex: 0 1 auto;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
}

.hcfr-card__metrics dt {
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .68);
    font-size: 10px;
    font-weight: 550;
    letter-spacing: .04em;
    line-height: 1.25;
    text-transform: uppercase;
}

.hcfr-card__metrics dd {
    margin: 0;
    color: var(--hcfr-white);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.3;
}

.hcfr-empty {
    padding: 56px 28px;
    border-radius: 20px;
    background: var(--hcfr-beige);
    text-align: center;
}

.hcfr-empty h3 {
    margin: 0 0 10px;
    font-family: var(--hcfr-heading);
    font-size: 27px;
    font-weight: 500;
}

.hcfr-empty p {
    margin: 0;
}

.hcfr-single {
    --hcfr-content-width: 1102px;
    overflow: clip;
    background: var(--hcfr-white);
}

.hcfr-single .max-width-page {
    max-width: 2000px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.hcfr-single .padding-glob {
    padding-right: 15px;
    padding-left: 15px;
}

.hcfr-single__hero-shell {
    width: calc(100% - 30px);
    max-width: 1569px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

.hcfr-single__hero {
    position: relative;
    min-height: min(690px, 78vh);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 20px;
    background: #282623;
}

.hcfr-single__hero-image,
.hcfr-single__hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hcfr-single__hero-image {
    object-fit: cover;
}

.hcfr-single__hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, .16) 15%, rgba(0, 0, 0, .82) 100%);
}

.hcfr-single__hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 165px 40px 58px;
    color: var(--hcfr-white);
}

.hcfr-single__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--hcfr-white) !important;
    font-family: var(--hcfr-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    text-decoration: none !important;
}

.hcfr-single__back svg {
    width: 12px;
    height: auto;
    flex: 0 0 12px;
    fill: currentColor;
    transition: transform .2s ease;
}

.hcfr-single__back:hover svg,
.hcfr-single__back:focus-visible svg {
    transform: translateX(-3px);
}

.hcfr-single__back:focus-visible {
    outline: 2px solid var(--hcfr-white);
    outline-offset: 5px;
}

.hcfr-single__hero h1 {
    max-width: 1022px;
    margin: 0;
    color: var(--hcfr-white);
    font-family: var(--hcfr-heading);
    font-size: 60px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 70px;
}

.hcfr-single__location {
    margin: 15px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
}

.hcfr-single__stats-wrap {
    position: relative;
    z-index: 2;
    max-width: var(--hcfr-content-width);
    margin: -30px auto 0;
    padding: 0 40px;
}

.hcfr-single__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .12);
}

.hcfr-single__stats div {
    padding: 22px 24px 24px;
}

.hcfr-single__stats div + div {
    border-left: 1px solid #ebe8e3;
}

.hcfr-single__stats dt {
    margin-bottom: 5px;
    color: #716d67;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hcfr-single__stats dd {
    margin: 0;
    font-family: var(--hcfr-heading);
    font-size: clamp(19px, 2vw, 26px);
    font-weight: 500;
    line-height: 1.2;
}

.hcfr-single__section {
    padding: 56px 0;
}

.hcfr-single__section--beige {
    background: linear-gradient(180deg, #fff 0%, var(--hcfr-beige) 16%, var(--hcfr-beige) 84%, #fff 100%);
}

.hcfr-single__inner {
    max-width: var(--hcfr-content-width);
    margin: 0 auto;
    padding: 0 40px;
}

.hcfr-single__two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
    gap: 70px;
    align-items: start;
}

.hcfr-single__kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--hcfr-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hcfr-single h2 {
    margin: 0 0 25px;
    color: var(--hcfr-black);
    font-family: var(--hcfr-heading);
    font-size: clamp(31px, 4vw, 48px);
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.13;
}

.hcfr-single__content,
.hcfr-single__richtext {
    color: #383633;
    font-size: 16px;
    line-height: 1.75;
}

.hcfr-single__content > :is(p, ul, ol, blockquote),
.hcfr-single__richtext > :is(p, ul, ol, blockquote) {
    margin-top: 0;
    margin-bottom: 0;
}

.hcfr-single__content > :is(h2, h3, h4, h5, h6),
.hcfr-single__richtext > :is(h2, h3, h4, h5, h6) {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--hcfr-black);
    font-family: var(--hcfr-heading);
    font-weight: 500;
    line-height: 1.25;
}

.hcfr-single__content > * + *,
.hcfr-single__richtext > * + * {
    margin-top: 1.25em;
}

.hcfr-single__content > :is(p, ul, ol, blockquote):not(:first-child),
.hcfr-single__richtext > :is(p, ul, ol, blockquote):not(:first-child) {
    margin-top: 1.25em;
}

.hcfr-single__content > :is(h2, h3, h4, h5, h6):not(:first-child),
.hcfr-single__richtext > :is(h2, h3, h4, h5, h6):not(:first-child) {
    margin-top: 1.35em;
}

.hcfr-single__content > :is(h2, h3, h4, h5, h6) + :is(p, ul, ol, blockquote):not(:first-child),
.hcfr-single__richtext > :is(h2, h3, h4, h5, h6) + :is(p, ul, ol, blockquote):not(:first-child) {
    margin-top: .65em;
}

.hcfr-single__content > .wp-block-spacer,
.hcfr-single__richtext > .wp-block-spacer {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.hcfr-single__content > .wp-block-spacer + :is(p, ul, ol, blockquote, h2, h3, h4, h5, h6):not(:first-child),
.hcfr-single__richtext > .wp-block-spacer + :is(p, ul, ol, blockquote, h2, h3, h4, h5, h6):not(:first-child) {
    margin-top: 0;
}

.hcfr-single__content > p:empty,
.hcfr-single__richtext > p:empty {
    display: none;
}

.hcfr-single__content > h4,
.hcfr-single__richtext > h4 {
    font-size: 20px;
}

.hcfr-single__content > h5,
.hcfr-single__richtext > h5 {
    font-size: 18px;
}

.hcfr-single__content > h6,
.hcfr-single__richtext > h6 {
    font-size: 16px;
}

.hcfr-single__content li + li,
.hcfr-single__richtext li + li {
    margin-top: .45em;
}

.hcfr-single__content :is(strong, b),
.hcfr-single__richtext :is(strong, b) {
    font-weight: 500;
}

.hcfr-single__content > *:first-child,
.hcfr-single__richtext > *:first-child {
    margin-top: 0;
}

.hcfr-single__content > *:last-child,
.hcfr-single__richtext > *:last-child {
    margin-bottom: 0;
}

.hcfr-single__content h3,
.hcfr-single__richtext h3 {
    color: var(--hcfr-black);
    font-family: var(--hcfr-heading);
    font-size: 24px;
    font-weight: 500;
}

@media (min-width: 1101px) {
    .hcfr-listing-block--compact {
        display: grid;
        width: calc(100% - 30px);
        max-width: 1215px;
        grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr);
        align-items: center;
        gap: clamp(40px, 6vw, 90px);
        margin: 90px auto 75px;
    }

    .hcfr-listing-block--compact > .section-act-title-section-with-desc,
    .hcfr-listing-block--compact > .hcfr-listing {
        margin: 0;
    }

    .hcfr-listing-block--compact .max-width-page {
        max-width: none;
    }

    .hcfr-listing-block--compact .padding-glob {
        padding-right: 0;
        padding-left: 0;
    }

    .hcfr-listing-block--compact .act-title-section-with-desc {
        max-width: 390px;
        margin: 0;
    }

    .hcfr-listing-block--compact .act-title-section-with-desc,
    .hcfr-listing-block--compact .act-title-section-with-desc > * {
        text-align: left;
    }

    .hcfr-listing-block--compact .hcfr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hcfr-listing-block--cards-3 .hcfr-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hcfr-listing-block--cards-1 .hcfr-grid {
        max-width: 390px;
        grid-template-columns: minmax(0, 1fr);
        margin-right: 0;
    }

    .hcfr-listing-block--cards-1 {
        grid-template-columns: minmax(280px, 390px) minmax(320px, 390px);
        justify-content: center;
    }
}

.hcfr-spec {
    margin: 0;
    padding: 25px 28px;
    border: 1px solid #e5e1db;
    border-radius: 20px;
    background: var(--hcfr-white);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .05);
}

.hcfr-spec h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.hcfr-spec__list {
    margin: 0;
}

.hcfr-spec__list div {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(95px, .75fr) minmax(0, 1.25fr);
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid #ebe8e3;
}

.hcfr-spec__list div:first-child {
    border-top: 0;
    padding-top: 0;
}

.hcfr-spec__list dt {
    color: #79746e;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hcfr-spec__list dd {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.hcfr-video-section__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: start;
    gap: clamp(32px, 4vw, 64px);
}

.hcfr-video-section__inner > h2 {
    margin: 0;
}

.hcfr-videos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    min-width: 0;
}

.hcfr-video:only-child { grid-column: 1 / -1; width: min(100%, 360px); justify-self: center; }

.hcfr-gallery__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.hcfr-gallery__heading h2 {
    margin: 0;
}

.hcfr-gallery__controls {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

.hcfr-gallery__button {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #d9d5cf;
    border-radius: 50%;
    background: #fff;
    color: var(--hcfr-black);
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, opacity .2s ease;
}

.hcfr-gallery__button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.hcfr-gallery__button:hover:not(:disabled),
.hcfr-gallery__button:focus-visible {
    border-color: var(--hcfr-orange);
    background: var(--hcfr-orange);
    color: #fff;
}

.hcfr-gallery__button:focus-visible,
.hcfr-gallery__item:focus-visible,
.hcfr-lightbox__close:focus-visible {
    outline: 3px solid #ff9100;
    outline-offset: 4px;
}

.hcfr-gallery__button:disabled {
    opacity: .35;
    cursor: default;
}

.hcfr-gallery-carousel {
    min-width: 0;
}

.hcfr-gallery-carousel--slider {
    --hcfr-gallery-visible-items: 3;
    width: 100%;
    margin-left: 0;
    overflow: hidden;
}

.hcfr-gallery-carousel--slider .hcfr-gallery {
    margin: 0;
    padding: 4px;
    scroll-padding-right: 4px;
    scroll-padding-left: 4px;
}

.hcfr-gallery-carousel--grid {
    --hcfr-gallery-grid-columns: 3;
    width: 100%;
    overflow: visible;
}

.hcfr-gallery-carousel--columns-2 { --hcfr-gallery-grid-columns: 2; }
.hcfr-gallery-carousel--columns-3 { --hcfr-gallery-grid-columns: 3; }
.hcfr-gallery-carousel--columns-4 { --hcfr-gallery-grid-columns: 4; }
.hcfr-gallery-carousel--columns-5 { --hcfr-gallery-grid-columns: 5; }

.hcfr-gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 4px;
    margin: -4px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.hcfr-gallery::-webkit-scrollbar {
    display: none;
}

.hcfr-gallery--grid {
    display: grid;
    grid-template-columns: repeat(var(--hcfr-gallery-grid-columns), minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
}

.hcfr-gallery__item {
    position: relative;
    display: block;
    flex: 0 0 calc((100% - 40px) / 3);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 20px;
    background: #ece9e4;
    cursor: zoom-in;
    scroll-snap-align: start;
}

.hcfr-gallery__item::after {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 4 4M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
    content: '';
    pointer-events: none;
}

.hcfr-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .25s ease;
}

.hcfr-gallery__item:hover img {
    transform: scale(1.03);
}

body.hcfr-lightbox-open {
    overflow: hidden;
}

.hcfr-lightbox {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 72px;
    background: rgba(10, 10, 10, .9);
    cursor: zoom-out;
}

.hcfr-lightbox[hidden] {
    display: none;
}

.hcfr-lightbox__figure {
    display: grid;
    max-width: min(100%, 1500px);
    max-height: 100%;
    justify-items: center;
    gap: 14px;
    margin: 0;
    cursor: default;
}

.hcfr-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 150px);
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

.hcfr-lightbox__caption {
    max-width: 900px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.hcfr-lightbox__caption:empty {
    display: none;
}

.hcfr-lightbox__close {
    position: absolute;
    z-index: 1;
    top: 22px;
    right: 22px;
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    background: rgba(0, 0, 0, .28);
    color: #fff;
    cursor: pointer;
}

.hcfr-lightbox__close svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

@media (max-width: 1000px) {
    .hcfr-gallery-carousel--slider { --hcfr-gallery-visible-items: 2; }
    .hcfr-gallery-carousel--slider .hcfr-gallery__item { flex-basis: calc((100% - 20px) / 2); }
    .hcfr-gallery--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .hcfr-gallery__heading { margin-bottom: 22px; }
    .hcfr-gallery__button { width: 44px; height: 44px; }
    .hcfr-gallery { gap: 15px; }
    .hcfr-gallery-carousel--slider { --hcfr-gallery-visible-items: 1; }
    .hcfr-gallery-carousel--slider .hcfr-gallery__item { flex-basis: calc(100% - 15px); }
    .hcfr-gallery--grid { grid-template-columns: 1fr; }
    .hcfr-gallery__item { border-radius: 16px; }
    .hcfr-lightbox { padding: 68px 16px 24px; }
    .hcfr-lightbox__close { top: 12px; right: 12px; }
    .hcfr-lightbox__image { max-height: calc(100vh - 120px); }
}

@media (prefers-reduced-motion: reduce) {
    .hcfr-listing--slider .hcfr-grid {
        scroll-behavior: auto;
    }

    .hcfr-listing__button {
        transition: none;
    }

    .hcfr-gallery { scroll-behavior: auto; }
    .hcfr-gallery__button,
    .hcfr-gallery__item img { transition: none; }
}

.hcfr-video {
    overflow: hidden;
    border-radius: 20px;
    min-width: 0;
    background: #fff;
    border: 1px solid #e5e1db;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
}

.hcfr-video__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    color: var(--hcfr-black);
}

.hcfr-video__header h3 {
    margin: 0;
    color: inherit;
    font-family: var(--hcfr-heading);
    font-size: 18px;
    font-weight: 500;
}

.hcfr-video__number {
    color: #79746e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
}

.hcfr-video__embed,
.hcfr-video__player {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    border: 0;
    background: #111;
    object-fit: contain;
    object-position: center;
}

.hcfr-video__embed iframe,
.hcfr-video__embed video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.hcfr-video__link {
    margin: 28px;
}

.hcfr-accounting > h2 {
    margin-bottom: 28px;
}

.hcfr-accounting__body {
    padding: 28px 32px;
    border-radius: 20px;
    background: #f8f6f2;
    overflow-x: auto;
}

.hcfr-accounting__body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: var(--hcfr-heading);
}

.hcfr-accounting__body :is(td, th) {
    padding: 18px 20px;
    border-bottom: 1px solid #d6d2cd;
    vertical-align: middle;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.hcfr-accounting__body th {
    color: #79746e;
}

.hcfr-accounting__body :is(td, th):last-child {
    text-align: right;
    width: 42%;
}

.hcfr-accounting__body td {
    color: #000;
    font-size: 18px;
}

.hcfr-accounting__body tr:last-child > * {
    border-bottom: 0;
}

.hcfr-cost-table__head {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hcfr-cost-table + .hcfr-cost-summary {
    margin-top: 0;
}

.hcfr-cost-summary {
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    padding: 20px 30px;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
}

.hcfr-cost-summary__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 15px;
    padding: 18px 0;
}

.hcfr-cost-summary__row + .hcfr-cost-summary__row {
    border-top: 1px solid #d6d2cd;
}

.hcfr-cost-summary dt,
.hcfr-cost-summary dd {
    margin: 0;
    font-family: var(--hcfr-heading);
    font-weight: 500;
}

.hcfr-cost-summary dt {
    color: #a2a2a2;
    font-size: 14px;
    line-height: 18px;
}

.hcfr-cost-summary dd {
    color: #000;
    font-size: 18px;
    line-height: 26px;
    text-align: right;
}

.hcfr-cost-summary__row--total dt {
    color: #a2a2a2;
}

.hcfr-cost-summary__amount {
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    white-space: nowrap;
}

.hcfr-cost-summary__note {
    display: block;
    margin-top: 8px;
    color: #79746e;
    font-family: var(--hcfr-body);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.hcfr-why {
    display: grid;
    grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: 70px;
}

.hcfr-why h2 {
    margin-bottom: 0;
    font-size: clamp(24px, calc(4vw - 18px), 30px);
}

.hcfr-single__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 56px 48px;
    border-radius: 24px;
    background: radial-gradient(ellipse at 100% 100%, rgba(255, 145, 0, .10), transparent 65%), linear-gradient(180deg, #fff 0%, #f8f6f2 100%);
}

.hcfr-single__cta h2 {
    max-width: 480px;
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
}

.hcfr-single__cta-actions {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hcfr-single__button,
.hcfr-single__button-secondary {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 25px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.25;
    text-decoration: none !important;
}

.hcfr-single__button {
    background: linear-gradient(100deg, var(--hcfr-orange) 0%, var(--hcfr-orange-light) 100%);
    box-shadow: 0 10px 15px rgba(0, 0, 0, .08);
    color: var(--hcfr-white) !important;
}

.hcfr-single__button-secondary {
    border: 1px solid var(--hcfr-line);
    background: var(--hcfr-white);
    color: var(--hcfr-black) !important;
}

.hcfr-single__button svg,
.hcfr-single__button-secondary svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

@media (max-width: 1100px) {
    .hcfr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hcfr-listing--slider .swiper-slide {
        width: calc((100% - 15px) / 2);
    }

    .hcfr-single__two-col,
    .hcfr-why {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hcfr-spec {
        max-width: 620px;
    }

    .hcfr-single__cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .hcfr-video-section__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .hcfr-listing-block--cards-3:not(.hcfr-listing-block--slider) .hcfr-card:last-child:nth-child(odd) {
        width: calc((100% - 15px) / 2);
        grid-column: 1 / -1;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .hcfr-listing {
        margin: 25px 0 55px;
    }

    .hcfr-grid {
        grid-template-columns: 1fr;
    }

    .hcfr-listing__button {
        width: 44px;
        height: 44px;
    }

    .hcfr-listing--slider .swiper-slide {
        width: calc(100% - 20px);
    }

    .hcfr-card__link {
        min-height: 500px;
    }

    .hcfr-card__cta {
        right: 50%;
        width: max-content;
        max-width: calc(100% - 36px);
        transform: translateX(50%);
    }

    .hcfr-single__hero {
        min-height: 620px;
        border-radius: 16px;
    }

    .hcfr-single__hero h1 {
        font-size: 42px;
        line-height: 50px;
    }

    .hcfr-single__hero-content,
    .hcfr-single__inner {
        padding-right: 20px;
        padding-left: 20px;
    }

    .hcfr-single__stats-wrap {
        margin-top: -22px;
        padding: 0 15px;
    }

    .hcfr-single__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hcfr-single__stats div {
        padding: 18px;
    }

    .hcfr-single__stats div + div {
        border-left: 0;
    }

    .hcfr-single__stats div:nth-child(even) {
        border-left: 1px solid #ebe8e3;
    }

    .hcfr-single__stats div:nth-child(n+3) {
        border-top: 1px solid #ebe8e3;
    }

    .hcfr-single__section {
        padding: 40px 0;
    }

    .hcfr-videos {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .hcfr-accounting__body { padding: 12px; }
    .hcfr-accounting__body :is(td, th) { padding: 16px 10px; font-size: 12px; }
    .hcfr-accounting__body td { font-size: 14px; }
    .hcfr-accounting__body :is(td, th):last-child { width: 45%; }
    .hcfr-cost-summary { padding: 6px 14px; border-radius: 16px; background: #fff; }
    .hcfr-cost-summary__row { grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:12px;padding:16px 0; }
    .hcfr-cost-summary dt { font-size: 12px; line-height: 16px; }
    .hcfr-cost-summary dd { text-align: right; }
    .hcfr-why { gap: 24px; }
    .hcfr-single__cta { padding: 36px 24px; }

    .hcfr-single__cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .hcfr-single__button,
    .hcfr-single__button-secondary {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .hcfr-card__metrics dd {
        font-size: 12px;
    }

    .hcfr-single__stats {
        grid-template-columns: 1fr;
    }

    .hcfr-single__stats div:nth-child(even) {
        border-left: 0;
    }

    .hcfr-single__stats div + div {
        border-top: 1px solid #ebe8e3;
    }
}

/* Compact FAQ variant used only at the bottom of realization pages. */
.hcfr-shared-faq {
    width: 100%;
    max-width: var(--hcfr-content-width);
    margin: 0 auto;
    padding: 40px 40px 56px;
    box-sizing: border-box;
}

.hcfr-faq__heading {
    margin: 0 0 22px;
}

.hcfr-faq__heading h2 {
    margin: 0;
    font-size: clamp(27px, 3vw, 34px);
    line-height: 1.2;
}

.hcfr-faq__list {
    display: grid;
    gap: 10px;
}

.hcfr-faq__item {
    overflow: hidden;
    border: 1px solid #d6d2cd;
    border-radius: 15px;
    background: #f9f7f3;
}

.hcfr-faq__trigger {
    display: flex;
    width: 100%;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border: 0;
    background: transparent;
    color: #000;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.hcfr-faq__trigger > span:first-child {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
}

.hcfr-faq__trigger:focus-visible {
    outline: 2px solid #111;
    outline-offset: -3px;
}

.hcfr-faq__icon {
    display: flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6d2cc;
    border-radius: 50%;
    background: #e5e1db;
}

.hcfr-faq__icon svg {
    width: 10px;
    height: auto;
    transform: rotate(90deg);
    transition: transform .2s ease;
}

.hcfr-faq__item.is-open .hcfr-faq__icon svg {
    transform: rotate(270deg);
}

.hcfr-faq__answer {
    padding: 0 16px 14px;
    font-family: var(--font-secondary);
    font-size: 14px;
    line-height: 1.65;
}

.hcfr-faq__answer[hidden] {
    display: none;
}

.hcfr-faq__answer p,
.hcfr-faq__answer ul,
.hcfr-faq__answer ol {
    margin: 0 0 .75em;
}

.hcfr-faq__answer > :last-child {
    margin-bottom: 0;
}

.hcfr-faq__answer a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

.hcfr-shared-faq > .section-act-title-section-with-desc,
.hcfr-shared-faq > .section-acf-faq {
    margin: 0;
}

.hcfr-shared-faq > .section-act-title-section-with-desc {
    margin-bottom: 22px;
}

.hcfr-shared-faq .max-width-page {
    max-width: none;
}

.hcfr-shared-faq .padding-glob {
    padding-right: 0;
    padding-left: 0;
}

.hcfr-shared-faq .act-title-section-with-desc h1,
.hcfr-shared-faq .act-title-section-with-desc h2,
.hcfr-shared-faq .act-title-section-with-desc h3 {
    margin: 0;
    font-size: clamp(27px, 3vw, 34px);
    line-height: 1.2;
}

.hcfr-shared-faq .act-title-section-with-desc p,
.hcfr-shared-faq .act-title-section-with-desc li,
.hcfr-shared-faq .act-title-section-with-desc a {
    font-size: 14px;
    line-height: 1.6;
}

.hcfr-shared-faq .acf-faq-box {
    padding: 0;
    border-radius: 0;
    background: none;
}

.hcfr-shared-faq .faq-box-list {
    gap: 10px;
}

.hcfr-shared-faq .faq-box-list--single {
    padding: 0 0 12px;
    border-radius: 15px;
}

.hcfr-shared-faq .faq-box-list--single-header {
    min-height: 62px;
    gap: 16px;
    padding: 12px 16px 0;
    box-sizing: border-box;
}

.hcfr-shared-faq .faq-box-list--single-header h3 {
    font-size: 16px;
    line-height: 1.35;
}

.hcfr-shared-faq .faq-box-list--single-header-svg-wrapper {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
}

.hcfr-shared-faq .faq-box-list--single-header-svg-wrapper svg {
    width: 10px;
}

.hcfr-shared-faq .faq-box-list--single-content {
    margin-top: 6px;
    padding: 0 16px 2px;
}

.hcfr-shared-faq .faq-box-list--single-content p,
.hcfr-shared-faq .faq-box-list--single-content li,
.hcfr-shared-faq .faq-box-list--single-content a {
    font-size: 14px;
    line-height: 1.65;
}

.hcfr-shared-faq .faq-box-list--single.is-open {
    padding-bottom: 14px;
}

@media (max-width: 768px) {
    .hcfr-shared-faq {
        padding: 32px 20px 40px;
    }

    .hcfr-faq__heading {
        margin-bottom: 18px;
    }

    .hcfr-faq__heading h2 {
        font-size: 25px;
        line-height: 1.25;
    }

    .hcfr-faq__list {
        gap: 8px;
    }

    .hcfr-faq__item {
        border-radius: 13px;
    }

    .hcfr-faq__trigger {
        min-height: 56px;
        gap: 12px;
        padding: 10px 13px;
    }

    .hcfr-faq__trigger > span:first-child {
        font-size: 14px;
        line-height: 1.4;
    }

    .hcfr-faq__icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .hcfr-faq__icon svg {
        width: 9px;
    }

    .hcfr-faq__answer {
        padding: 0 13px 12px;
        font-size: 13px;
        line-height: 1.6;
    }

    .hcfr-shared-faq > .section-act-title-section-with-desc {
        margin-bottom: 18px;
    }

    .hcfr-shared-faq .act-title-section-with-desc h1,
    .hcfr-shared-faq .act-title-section-with-desc h2,
    .hcfr-shared-faq .act-title-section-with-desc h3 {
        font-size: 25px;
        line-height: 1.25;
    }

    .hcfr-shared-faq .faq-box-list {
        gap: 8px;
    }

    .hcfr-shared-faq .faq-box-list--single {
        border-radius: 13px;
    }

    .hcfr-shared-faq .faq-box-list--single-header {
        min-height: 56px;
        gap: 12px;
        padding: 10px 13px 0;
    }

    .hcfr-shared-faq .faq-box-list--single-header h3 {
        font-size: 14px;
        line-height: 1.4;
    }

    .hcfr-shared-faq .faq-box-list--single-header-svg-wrapper {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .hcfr-shared-faq .faq-box-list--single-header-svg-wrapper svg {
        width: 9px;
    }

    .hcfr-shared-faq .faq-box-list--single-content {
        margin-top: 5px;
        padding: 0 13px 2px;
    }

    .hcfr-shared-faq .faq-box-list--single-content p,
    .hcfr-shared-faq .faq-box-list--single-content li,
    .hcfr-shared-faq .faq-box-list--single-content a {
        font-size: 13px;
        line-height: 1.6;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hcfr-card__media img,
    .hcfr-card__cta svg {
        transition: none;
    }
}
