/*
Theme Name: HomeFactory
Theme URI: https://homefactory.bg
Author: Albert
Author URI: https://homefactory.bg
Description: Custom WordPress theme for HomeFactory.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: homefactory
*/

:root {
    --hf-forest: #003f35;
    --hf-forest-deep: #002d27;
    --hf-teal: #00786b;
    --hf-cream: #f8f2e9;
    --hf-ink: #09251f;
    --hf-muted: #4b5b57;
    --hf-white: #ffffff;
    --hf-line: rgba(4, 59, 50, .14);
    --hf-header-height: 82px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 0;
    color: var(--hf-ink);
    background: var(--hf-white);
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.hf-video-float {
    position: fixed;
    z-index: 1200;
    right: 28px;
    bottom: 28px;
    width: clamp(150px, 16vw, 220px);
    overflow: hidden;
    background: #000;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(0, 45, 39, .3);
    touch-action: manipulation;
    user-select: none;
    cursor: pointer;
    transition: width 360ms cubic-bezier(.22, 1, .36, 1);
}

.hf-video-float.is-expanded {
    z-index: 1300;
    width: min(clamp(285px, 30.4vw, 418px), calc((100vh - 56px) * .5625), calc(100vw - 56px));
    cursor: default;
}
.hf-video-float.is-collapsing { width: clamp(150px, 16vw, 220px); }
.hf-video-float--left { right: auto; left: 28px; }
.hf-video-float__media { aspect-ratio: 9 / 16; }
.hf-video-float__media iframe, .hf-video-float__media video { display: block; width: 100%; height: 100%; border: 0; }
.hf-video-float__media video { object-fit: cover; }
.hf-video-float__activate { position: absolute; z-index: 1; inset: 0; width: 100%; padding: 0; background: transparent; border: 0; cursor: inherit; }
.hf-video-float__close { position: absolute; z-index: 2; top: 7px; right: 7px; display: none; width: 25px; height: 25px; padding: 0; place-items: center; color: #fff; background: rgba(0, 0, 0, .64); border: 1px solid rgba(255, 255, 255, .8); border-radius: 50%; font-size: 19px; line-height: 1; cursor: pointer; }
.hf-video-float.is-expanded .hf-video-float__activate { display: none; }
.hf-video-float.is-expanded .hf-video-float__close { display: grid; }
.hf-video-float__close:hover { background: rgba(0, 0, 0, .9); }
.hf-video-float__close:focus-visible, .hf-video-float__activate:focus-visible { outline: 3px solid #f3bf55; outline-offset: -5px; }

@media (max-width: 600px) {
    .hf-video-float { right: 16px; bottom: 16px; width: 130px; border-radius: 16px; }
    .hf-video-float--left { right: auto; left: 16px; }
    .hf-video-float.is-expanded { width: min(247px, calc((100vh - 32px) * .5625), calc(100vw - 32px)); }
    .hf-video-float.is-collapsing { width: 130px; }
    .hf-video-float__close { top: 5px; right: 5px; }
}

.hf-home {
    overflow: hidden;
}

.hf-shell {
    width: min(1400px, calc(100% - 64px));
    margin: 0 auto;
}

.hf-icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.hf-home svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.3;
}

.hf-site-header svg,
.hf-site-footer svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.3;
}

.hf-site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    background: #fcf8f2;
    border-bottom: 1px solid rgba(7, 55, 47, .08);
    transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.hf-site-header.is-scrolled {
    background: #fcf8f2;
    box-shadow: 0 8px 24px rgba(0, 42, 36, .09);
}

.hf-header-inner {
    display: flex;
    align-items: center;
    min-height: 82px;
    gap: 28px;
    transition: min-height .25s ease;
}

.hf-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    height: 72px;
    transition: height .25s ease;
}

.hf-brand-logo {
    width: 265px;
    height: 72px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: width .25s ease, height .25s ease;
}

.hf-site-header.is-scrolled .hf-header-inner {
    min-height: 70px;
}

.hf-site-header.is-scrolled .hf-brand {
    height: 60px;
}

.hf-site-header.is-scrolled .hf-brand-logo {
    width: 235px;
    height: 62px;
}

@media (min-width: 961px) {
    .hf-brand {
        margin-left: 12px;
    }

    /* A sticky header must not change document height at the scroll threshold. */
    .hf-site-header.is-scrolled .hf-header-inner {
        min-height: 82px;
    }

    .hf-site-header.is-scrolled .hf-brand {
        height: 72px;
    }

    .hf-site-header.is-scrolled .hf-brand-logo {
        width: 265px;
        height: 72px;
    }

}

.hf-main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 1.65vw, 31px);
    margin-left: auto;
    white-space: nowrap;
}

.hf-main-nav a {
    position: relative;
    padding: 10px 0;
    color: #101817;
    font-size: 14px;
    font-weight: 700;
}

.hf-main-nav a::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 2px;
    background: var(--hf-teal);
    content: "";
    opacity: 0;
    transform: scaleX(.25);
    transition: opacity .2s ease, transform .2s ease;
}

.hf-main-nav a:hover::after,
.hf-main-nav .is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.hf-header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 25px;
    margin-left: 4px;
}

.hf-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0b3029;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.hf-phone-link svg {
    width: 23px;
    height: 23px;
}

.hf-header-cta,
.hf-product-link,
.hf-config-card__action,
.hf-mobile-menu-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .015em;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.hf-header-cta {
    min-height: 44px;
    padding: 0 24px;
    border: 1px solid var(--hf-forest);
    border-radius: 7px;
    background: var(--hf-forest);
    color: var(--hf-white);
    white-space: nowrap;
}

.hf-header-cta:hover,
.hf-product-link:hover,
.hf-mobile-menu-cta:hover {
    transform: translateY(-2px);
}

.hf-mobile-actions {
    display: none;
}

.hf-mobile-menu-overlay,
.hf-mobile-menu-drawer {
    display: none;
}

@keyframes hf-menu-overlay-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hf-hero {
    position: relative;
}

.hf-hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 672px;
}

.hf-product-card {
    position: relative;
    display: block;
    min-height: 672px;
    overflow: hidden;
    isolation: isolate;
    text-decoration: none;
}

.hf-product-card:focus-visible {
    outline: 4px solid var(--hf-teal);
    outline-offset: -4px;
}

.hf-product-card:hover .hf-product-image {
    transform: scale(1.025);
}

.hf-product-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.hf-product-card::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
}

.hf-product-card--sip::after {
    background: none;
}

.hf-product-card--metal::after {
    background: none;
}

@media (min-width: 961px) {
    .hf-product-card--metal::after {
        background: none;
    }
}

.hf-product-copy {
    width: min(52%, 390px);
    padding: 76px 0 58px clamp(34px, 5vw, 78px);
}

.hf-product-card--metal .hf-product-copy {
    width: min(65%, 520px);
    margin-left: auto;
    padding: 76px clamp(34px, 5vw, 78px) 58px;
    text-align: right;
}

.hf-product-card--metal .hf-product-kicker {
    justify-content: flex-end;
}

.hf-product-card--metal .hf-product-copy h2,
.hf-product-card--metal .hf-product-lead,
.hf-product-card--metal .hf-feature-list {
    margin-left: auto;
}

.hf-product-card--metal .hf-product-copy h2,
.hf-product-card--metal .hf-product-lead {
    width: 100%;
    text-align: right;
}

.hf-product-card--metal .hf-product-copy > h2.hf-product-title--long {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: end;
    max-width: 520px;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    padding-right: 5px;
    text-align: right;
}

.hf-product-card--metal .hf-product-copy > h2.hf-product-title--long > span {
    display: block;
    min-width: 0;
    width: auto;
    justify-self: end;
    text-align: right;
    white-space: nowrap;
}

.hf-product-card--metal .hf-feature-list li {
    justify-content: flex-end;
}

.hf-product-card--metal .hf-feature-list svg {
    order: 1;
}

.hf-product-card--metal .hf-product-link {
    margin-left: auto;
}

.hf-product-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: var(--hf-forest);
    font-size: clamp(14px, 1.35vw, 22px);
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.hf-product-kicker > span {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.hf-product-kicker strong {
    color: var(--hf-teal);
    font-size: 1.38em;
    font-weight: 900;
    letter-spacing: .02em;
    line-height: .9;
}

.hf-product-kicker em {
    color: inherit;
    font-size: .68em;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .09em;
}

.hf-product-kicker svg {
    width: 31px;
    height: 31px;
}

.hf-product-copy h1,
.hf-product-copy h2 {
    max-width: 520px;
    margin: 0;
    color: var(--hf-forest);
    font-size: clamp(42px, 4.7vw, 73px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: .98;
    text-transform: uppercase;
}

.hf-product-copy .hf-product-title--long {
    max-width: 410px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: clamp(35px, 3.6vw, 57px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.03;
    text-transform: uppercase;
}

.hf-product-lead {
    max-width: 310px;
    margin: 19px 0 0;
    color: #142a26;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.hf-feature-list {
    display: grid;
    gap: 13px;
    margin: 38px 0 0;
    padding: 0;
    list-style: none;
}

.hf-feature-list li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #162c28;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.hf-feature-list svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    color: var(--hf-forest);
    stroke-width: 2.8 !important;
}

.hf-product-link {
    gap: 24px;
    min-height: 48px;
    margin-top: 29px;
    padding: 0 20px;
    border-radius: 6px;
    background: var(--hf-forest);
    color: var(--hf-white);
}

.hf-product-link svg,
.hf-config-card__action svg {
    width: 19px;
    height: 19px;
}

.hf-product-card--metal .hf-product-kicker,
.hf-product-card--metal .hf-product-copy h2,
.hf-product-card--metal .hf-product-lead,
.hf-product-card--metal .hf-feature-list li,
.hf-product-card--metal .hf-feature-list svg {
    color: var(--hf-white);
}

.hf-product-card--metal .hf-product-kicker strong {
    color: #79d3c4;
}

.hf-product-card--metal .hf-product-link {
    background: #006b60;
}

.hf-config-card {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: flex;
    width: 230px;
    min-height: 215px;
    padding: 34px 23px 19px;
    align-items: center;
    flex-direction: column;
    background: #fffdf9;
    clip-path: polygon(50% 0, 86% 9%, 100% 22%, 100% 88%, 91% 98%, 9% 98%, 0 88%, 0 22%, 14% 9%);
    color: var(--hf-forest);
    text-align: center;
    text-decoration: none;
    transform: translate(-50%, -50%);
    transition: filter .2s ease, transform .2s ease;
}

.hf-config-card--mobile {
    display: none;
}

.hf-config-card:hover {
    filter: brightness(.98);
    transform: translate(-50%, -50%) scale(1.025);
}

.hf-config-card:focus-visible {
    outline: 4px solid var(--hf-teal);
    outline-offset: 4px;
}

.hf-config-icon {
    width: 34px;
    height: 34px;
}

.hf-config-card h2 {
    margin: 8px 0 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.04;
    text-transform: uppercase;
}

.hf-card-rule {
    display: block;
    width: 43px;
    height: 1px;
    margin: 9px 0 7px;
    background: currentColor;
}

.hf-config-card p {
    margin: 0;
    color: #17362f;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.5;
}

.hf-config-card__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--hf-teal);
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.hf-benefits {
    background: var(--hf-cream);
}

.hf-home-certificates { overflow:hidden; padding:clamp(64px,8vw,112px) 0; background:linear-gradient(135deg,#f4f8f5 0%,#fffdf9 46%,#e5f2ee 100%); }
.hf-home-certificates__heading { max-width:650px; margin:0 auto clamp(30px,4vw,48px); text-align:center; }
.hf-home-certificates__heading p { margin:0 0 11px; color:var(--hf-teal); font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.hf-home-certificates__heading h2 { margin:0; color:var(--hf-forest); font-size:clamp(32px,4vw,54px); letter-spacing:-.05em; line-height:1; }
.hf-home-certificates__heading span { display:block; margin-top:14px; color:var(--hf-muted); font-size:16px; }
.hf-certificates-carousel { position:relative; max-width:1100px; margin:auto; }
.hf-certificates-carousel__viewport { overflow:hidden; padding:8px 8px 22px; outline:none; }
.hf-certificates-carousel__viewport:focus-visible { box-shadow:0 0 0 3px rgba(0,132,116,.35); border-radius:22px; }
.hf-certificates-carousel__track { display:flex; gap:22px; transition:transform .55s cubic-bezier(.22,.8,.25,1); }
.hf-certificate-slide { display:flex; flex:0 0 calc((100% - 44px) / 3); min-width:0; flex-direction:column; overflow:hidden; border:1px solid rgba(0,63,53,.12); border-radius:18px; background:#fffefa; box-shadow:0 14px 30px rgba(0,55,47,.10); color:var(--hf-forest); text-decoration:none; transition:transform .25s ease,box-shadow .25s ease; }
.hf-certificate-slide:hover { transform:translateY(-7px); box-shadow:0 22px 38px rgba(0,55,47,.18); }
.hf-certificate-slide__preview { display:grid; min-height:250px; place-items:center; padding:20px; background:linear-gradient(145deg,#edf5f1,#fff); }
.hf-certificate-slide__preview img { display:block; width:100%; height:230px; object-fit:contain; filter:drop-shadow(0 8px 8px rgba(0,40,33,.12)); transition:transform .35s ease; }
.hf-certificate-slide:hover img { transform:scale(1.035); }
.hf-certificate-slide__meta { display:flex; min-height:92px; flex-direction:column; justify-content:space-between; gap:7px; padding:17px 18px; }
.hf-certificate-slide__meta strong { font-size:16px; line-height:1.2; }
.hf-certificate-slide__meta em { color:var(--hf-teal); font-size:11px; font-style:normal; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.hf-certificate-slide__meta em span { margin-left:4px; font-size:16px; vertical-align:-1px; }
.hf-certificates-carousel__controls { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:0 8px; }
.hf-certificates-carousel__dots { display:flex; gap:7px; }
.hf-certificates-carousel__dots button { width:7px; height:7px; padding:0; border:0; border-radius:99px; background:#b8cbc3; cursor:pointer; transition:width .2s,background .2s; }
.hf-certificates-carousel__dots button.is-active { width:28px; background:var(--hf-teal); }
.hf-certificates-carousel__arrows { display:flex; gap:9px; }
.hf-certificates-carousel__arrow { display:grid; width:42px; height:42px; place-items:center; border:1px solid rgba(0,63,53,.24); border-radius:50%; background:#fffefa; color:var(--hf-forest); cursor:pointer; font-size:20px; transition:background .2s,color .2s,transform .2s; }
.hf-certificates-carousel__arrow:hover { transform:translateY(-2px); border-color:var(--hf-teal); background:var(--hf-teal); color:#fff; }
.hf-certificates-carousel__arrow:disabled { cursor:not-allowed; opacity:.35; transform:none; }
.hf-certificate-lightbox { position:fixed; inset:0; z-index:999; display:grid; place-items:center; padding:48px 22px; background:rgba(0,45,38,.90); opacity:0; pointer-events:none; transition:opacity .3s ease; }
.hf-certificate-lightbox.is-open { opacity:1; pointer-events:auto; }
.hf-certificate-lightbox img { max-width:min(880px,90vw); max-height:78vh; border-radius:8px; background:#fff; box-shadow:0 25px 80px rgba(0,0,0,.35); transform:scale(.94); transition:transform .35s cubic-bezier(.2,.8,.3,1); }
.hf-certificate-lightbox.is-open img { transform:scale(1); }
.hf-certificate-lightbox button { position:absolute; top:20px; right:24px; width:44px; height:44px; border:1px solid rgba(255,255,255,.5); border-radius:50%; background:transparent; color:#fff; cursor:pointer; font-size:32px; line-height:1; }
.hf-certificate-lightbox p { position:absolute; bottom:18px; margin:0; color:#fff; font-weight:700; text-align:center; }
@media (max-width:800px) { .hf-certificates-carousel__viewport { overflow:visible; padding:6px 0 18px; } .hf-certificates-carousel__track { gap:14px; overflow-x:auto; padding:0 18px 8px; scroll-snap-type:x mandatory; scrollbar-width:none; } .hf-certificates-carousel__track::-webkit-scrollbar { display:none; } .hf-certificate-slide { flex-basis:calc(84vw - 36px); scroll-snap-align:center; } .hf-certificate-slide__preview { min-height:245px; } .hf-certificates-carousel__controls { padding:0 18px; } }
.hf-chamber { padding:clamp(34px,5vw,68px) 0; background:#f4f7f5; }.hf-chamber__inner { display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,.72fr); gap:clamp(34px,7vw,100px); align-items:center; padding:clamp(24px,3.5vw,46px); border:1px solid rgba(0,63,53,.12); border-radius:18px; background:#fffdf9; box-shadow:0 16px 40px rgba(0,55,47,.07); }.hf-chamber__copy p { margin:0 0 12px; color:var(--hf-teal); font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }.hf-chamber__copy h2 { max-width:630px; margin:0; color:var(--hf-forest); font-size:clamp(27px,3.3vw,46px); letter-spacing:-.045em; line-height:1.04; }.hf-chamber__copy span { display:block; max-width:590px; margin-top:16px; color:var(--hf-muted); font-size:16px; line-height:1.55; }.hf-chamber__mark { display:grid; min-height:170px; place-items:center; padding:22px; border-radius:12px; background:linear-gradient(135deg,#f5f8f7,#e5efeb); }.hf-chamber__mark img { display:block; width:100%; max-width:400px; height:auto; mix-blend-mode:multiply; }

.hf-home-projects-showcase { overflow:hidden; padding:clamp(70px,9vw,120px) 0; background:#00483f; color:#fff; }
.hf-home-projects-showcase__heading { max-width:650px; text-align:center; margin:0 auto 28px; }
.hf-home-projects-showcase__heading p { margin:0 0 10px; color:#9fe4d8; font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.hf-home-projects-showcase__heading h2 { margin:0; font-size:clamp(34px,4.5vw,58px); line-height:1; letter-spacing:-.055em; }
.hf-home-projects-showcase__heading span { display:block; margin-top:14px; color:#d1e8e2; font-size:16px; }
.hf-home-projects-showcase__tabs { display:flex; justify-content:center; gap:10px; margin:0 0 30px; }
.hf-home-projects-showcase__tabs button { min-width:108px; padding:12px 20px; border:1px solid rgba(207,244,235,.5); border-radius:999px; background:transparent; color:#fff; cursor:pointer; font:800 14px/1 inherit; transition:.2s ease; }
.hf-home-projects-showcase__tabs button.is-active,.hf-home-projects-showcase__tabs button:hover { border-color:#fff; background:#fff; color:#00483f; }
.hf-home-projects-showcase__panel { display:none; }.hf-home-projects-showcase__panel.is-active { display:block; }
.hf-home-projects-showcase__viewport { overflow-x:auto; scrollbar-width:none; scroll-snap-type:x mandatory; }.hf-home-projects-showcase__viewport::-webkit-scrollbar { display:none; }
.hf-home-projects-showcase__grid { display:grid; grid-auto-columns:calc((100% - 40px) / 3); grid-auto-flow:column; gap:20px; }
.hf-home-project-card { position:relative; display:block; aspect-ratio:1.15; overflow:hidden; border-radius:16px; background:#126b60; color:#fff; scroll-snap-align:start; text-decoration:none; }
.hf-home-project-card__image,.hf-home-project-card__image img { display:block; width:100%; height:100%; }.hf-home-project-card__image img { object-fit:cover; transition:transform .45s ease; }
.hf-home-project-card::after { position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,40,34,.02) 34%,rgba(0,38,32,.84) 100%); content:""; }.hf-home-project-card:hover img { transform:scale(1.07); }
.hf-home-project-card__label { position:absolute; z-index:1; right:18px; bottom:16px; left:18px; font-size:14px; font-weight:800; line-height:1.25; }
.hf-home-projects-showcase__footer { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:24px; }.hf-home-projects-showcase__footer > a { color:#fff; font-size:13px; font-weight:800; text-decoration:none; text-transform:uppercase; letter-spacing:.04em; }.hf-home-projects-showcase__footer > a span { margin-left:7px; font-size:19px; vertical-align:-1px; }.hf-home-projects-showcase__footer > div { display:flex; gap:8px; }.hf-home-projects-showcase__footer button { width:42px; height:42px; border:1px solid rgba(255,255,255,.55); border-radius:50%; background:transparent; color:#fff; cursor:pointer; font-size:20px; transition:.2s ease; }.hf-home-projects-showcase__footer button:hover { border-color:#fff; background:#fff; color:#00483f; }
.hf-portfolio-lightbox { position:fixed; inset:0; z-index:1100; display:grid; place-items:center; padding:55px 20px; background:rgba(0,38,32,.94); opacity:0; pointer-events:none; transition:opacity .28s ease; }.hf-portfolio-lightbox.is-open { opacity:1; pointer-events:auto; }.hf-portfolio-lightbox img { max-width:92vw; max-height:80vh; box-shadow:0 24px 70px rgba(0,0,0,.4); transform:scale(.96); transition:transform .3s ease; }.hf-portfolio-lightbox.is-open img { transform:scale(1); }.hf-portfolio-lightbox button { position:absolute; top:18px; right:22px; width:44px; height:44px; border:1px solid rgba(255,255,255,.55); border-radius:50%; background:none; color:#fff; cursor:pointer; font-size:30px; }.hf-portfolio-lightbox p { position:absolute; bottom:18px; margin:0; color:#fff; font-size:14px; font-weight:700; }
@media (max-width:800px) { .hf-home-projects-showcase__grid { grid-auto-columns:82%; gap:14px; }.hf-home-projects-showcase__viewport { margin:0 -20px; padding:0 20px; }.hf-home-projects-showcase__footer { padding:0 2px; }.hf-home-project-card { aspect-ratio:1.05; } }

.hf-partners {
    overflow: hidden;
    padding: clamp(54px, 7vw, 90px) 0;
    border-top: 1px solid rgba(0, 63, 53, .09);
    border-bottom: 1px solid rgba(0, 63, 53, .09);
    background: #fffdf9;
}

.hf-partners__heading {
    margin-bottom: clamp(26px, 4vw, 42px);
    text-align: center;
}

.hf-partners__heading p {
    margin: 10px 0 0;
    color: var(--hf-muted);
    font-size: clamp(14px, 1.4vw, 18px);
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.hf-partners__heading h2 {
    margin: 0;
    color: var(--hf-forest);
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.04;
}

.hf-partners__viewport {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.hf-partners__track,
.hf-partners__group {
    display: flex;
    width: max-content;
    align-items: center;
}

.hf-partners__track {
    animation: hf-partners-scroll 28s linear infinite;
}

.hf-partners__viewport:hover .hf-partners__track {
    animation-play-state: paused;
}

.hf-partners__group {
    gap: 20px;
    padding-right: 20px;
}

.hf-partners__logo {
    display: grid;
    width: clamp(150px, 16vw, 220px);
    height: 108px;
    place-items: center;
    justify-content: center;
    align-content: center;
    padding: 18px;
    border: 1px solid rgba(0, 63, 53, .13);
    border-radius: 10px;
    background: var(--hf-white);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

a.hf-partners__logo:hover {
    border-color: rgba(0, 120, 107, .55);
    box-shadow: 0 11px 24px rgba(0, 63, 53, .10);
    transform: none;
}

.hf-partners__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

@keyframes hf-partners-scroll {
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .hf-partners__track { animation: none; }
}


.hf-benefits-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    padding: 39px 0 36px;
}

.hf-benefit {
    display: flex;
    min-width: 0;
    padding: 0 22px;
    gap: 15px;
}

.hf-benefit + .hf-benefit {
    border-left: 1px solid var(--hf-line);
}

.hf-benefit > svg {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    color: var(--hf-forest);
    stroke-width: 1.8 !important;
}

.hf-benefit h2 {
    margin: 2px 0 8px;
    color: #09221d;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

.hf-benefit p {
    margin: 0;
    color: #263b36;
    font-size: 10px;
    line-height: 1.5;
}

.hf-foundation-preview {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(93, 189, 173, .38) 0, transparent 24%), linear-gradient(120deg, #003c35 0%, #005b50 60%, #007366 100%);
    color: var(--hf-white);
}

.hf-foundation-preview-inner {
    display: grid;
    min-height: 218px;
    padding: 38px 0;
    grid-template-columns: minmax(220px, .9fr) minmax(190px, .65fr) minmax(260px, 1fr) auto;
    align-items: center;
    gap: clamp(22px, 3vw, 48px);
}

.hf-foundation-preview-heading span {
    display: block;
    margin-bottom: 7px;
    color: #a8e9dc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hf-foundation-preview-heading h2 {
    margin: 0;
    color: var(--hf-white);
    font-size: clamp(27px, 2.5vw, 40px);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.04;
}

.hf-foundation-preview-copy {
    max-width: 430px;
}

.hf-foundation-preview-copy p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    line-height: 1.52;
}

.hf-foundation-preview-copy p + p {
    margin-top: 7px;
}

.hf-foundation-preview-price {
    display: grid;
    gap: 4px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 16px 34px rgba(0, 24, 20, .16);
}

.hf-foundation-preview-price > span,
.hf-foundation-preview-price small {
    color: #c6f0e8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    line-height: 1.35;
    text-transform: uppercase;
}

.hf-foundation-preview-price strong {
    color: var(--hf-white);
    font-size: clamp(29px, 2.7vw, 42px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1;
}

.hf-foundation-preview-link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 19px;
    border-radius: 7px;
    background: var(--hf-white);
    color: var(--hf-forest);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    transition: background .2s ease, transform .2s ease;
    white-space: nowrap;
}

.hf-foundation-preview-link:hover {
    background: #b6ece2;
    transform: translateY(-2px);
}

.hf-foundation-preview-link svg {
    width: 18px;
    height: 18px;
}

.hf-stats {
    background: radial-gradient(circle at 55% -110%, #0b7463 0, var(--hf-forest) 46%, var(--hf-forest-deep) 100%);
    color: var(--hf-white);
}

.hf-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 31px 0;
}

.hf-stat {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 28px;
}

.hf-stat + .hf-stat {
    border-left: 1px solid rgba(255, 255, 255, .14);
}

.hf-stat > svg {
    width: 49px;
    height: 49px;
    flex: 0 0 49px;
    stroke-width: 1.7 !important;
}

.hf-stat div {
    display: grid;
    gap: 4px;
}

.hf-stat strong {
    font-size: clamp(24px, 2.2vw, 36px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1;
    white-space: nowrap;
}

.hf-stat:last-child strong {
    font-size: clamp(18px, 1.6vw, 25px);
    letter-spacing: -.02em;
}

.hf-stat--certified {
    min-height: 112px;
    margin: -15px 14px;
    padding: 18px 20px;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(152, 232, 218, .44) !important;
    border-radius: 12px;
    background: linear-gradient(145deg, #078979 0%, #00594e 100%);
    box-shadow: 0 14px 28px rgba(0, 23, 20, .26);
    transform: translateY(-7px);
}

.hf-stat--certified > svg {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
}

.hf-stat--certified div {
    justify-items: center;
    text-align: center;
}

.hf-stat--certified strong {
    font-size: clamp(18px, 1.7vw, 27px);
    letter-spacing: -.03em;
    white-space: normal;
}

.hf-stat span {
    font-size: 13px;
    line-height: 1.3;
}

@media (min-width: 961px) {
    .hf-stats-grid {
        align-items: center;
    }

    .hf-stat {
        min-height: 142px;
    }

    .hf-stat--certified {
        width: calc(100% - 48px);
        margin: -15px 0;
        justify-self: center;
    }

    .hf-stat--certified + .hf-stat {
        border-left: 0;
    }

    /* Keep the wider final label inside its desktop column. */
    .hf-stat:last-child {
        gap: 12px;
        padding: 0 10px;
    }

    .hf-stat:last-child strong {
        font-size: clamp(18px, 1.4vw, 22px);
    }
}

.hf-site-footer {
    overflow: hidden;
    background: #001f1b;
    color: var(--hf-white);
}

.hf-footer-main {
    display: grid;
    padding: 42px 0 31px;
    grid-template-columns: minmax(230px, 1.1fr) minmax(150px, .65fr) minmax(190px, .8fr) auto;
    align-items: start;
    gap: clamp(28px, 5vw, 86px);
}

.hf-footer-brand-block {
    display: grid;
    gap: 14px;
}

.hf-footer-brand-block p {
    max-width: 330px;
    margin: 0;
    color: rgba(255, 255, 255, .66);
    font-size: 13px;
    line-height: 1.55;
}

.hf-footer-brand {
    display: inline-flex;
    width: fit-content;
    color: var(--hf-white);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.06em;
}

.hf-footer-brand img { display:block; width:min(250px,100%); height:auto; padding:9px 12px; border-radius:7px; background:#fffdf9; }

.hf-footer-brand > span > span {
    color: #63b7aa;
}

.hf-footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
}

.hf-footer-nav a {
    width: fit-content;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    font-weight: 700;
    transition: color .2s ease, transform .2s ease;
}

.hf-footer-nav a:hover {
    color: var(--hf-white);
    transform: translateX(3px);
}
.hf-footer-contact{display:grid;gap:7px;color:rgba(255,255,255,.72);font-size:13px}.hf-footer-contact p{margin:0;color:#fff;font-weight:800;text-transform:uppercase}.hf-footer-contact a{color:#fff;text-decoration:none}.hf-footer-contact address{font-style:normal}.hf-footer-socials{display:flex;gap:14px}.hf-footer-socials a{display:inline-flex;color:var(--hf-teal);font-weight:700}.hf-footer-socials svg{width:28px;height:28px}

.hf-footer-cta {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 19px;
    border: 1px solid rgba(134, 215, 203, .55);
    border-radius: 7px;
    background: #00786b;
    color: var(--hf-white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    white-space: nowrap;
    transition: background .2s ease, transform .2s ease;
}

.hf-footer-cta:hover {
    background: #0b927f;
    transform: translateY(-2px);
}

.hf-footer-cta span {
    font-size: 20px;
    font-weight: 400;
}

.hf-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .13);
}

.hf-footer-bottom__inner {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: rgba(255, 255, 255, .52);
    font-size: 11px;
    line-height: 1.4;
}

.hf-footer-bottom__inner span:last-child {
    color: #75cabe;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hf-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: rgba(255, 255, 255, .66) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.hf-footer-legal a {
    color: inherit;
    text-decoration: none;
}

.hf-footer-legal a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hf-cookie-settings-link {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.hf-cookie-settings-link:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hf-cookie-notice {
    position: fixed;
    z-index: 1000;
    right: 24px;
    bottom: 24px;
    width: min(580px, calc(100vw - 32px));
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .2s ease, transform .2s ease;
}

.hf-cookie-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hf-cookie-notice__inner {
    display: grid;
    gap: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(0, 35, 29, .3);
    background: #073f36;
    color: #fff;
}

.hf-cookie-notice h2 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.hf-cookie-notice p {
    max-width: 60ch;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: .91rem;
    line-height: 1.55;
}

.hf-cookie-notice p a {
    color: #b9e2da;
    font-weight: 700;
}

.hf-cookie-notice__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hf-cookie-notice__actions button {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-size: .86rem;
    font-weight: 800;
}

.hf-cookie-notice__necessary {
    border: 1px solid rgba(255, 255, 255, .55);
    background: transparent;
    color: #fff;
}

.hf-cookie-notice__accept {
    border: 1px solid #a0e0d5;
    background: #a0e0d5;
    color: #073f36;
}

.hf-cookie-notice__actions button:hover {
    transform: translateY(-1px);
}

.hf-cookie-notice__preferences { display: grid; gap: 1px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; background: rgba(255, 255, 255, .1); }
.hf-cookie-notice__preferences[hidden] { display: none; }
.hf-cookie-notice__preferences-intro { max-width: none !important; padding: 13px 14px 11px; background: rgba(0, 0, 0, .12); color: rgba(255, 255, 255, .72) !important; font-size: .78rem !important; }
.hf-cookie-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 14px; background: rgba(0, 0, 0, .08); cursor: pointer; }
.hf-cookie-toggle > span { display: grid; gap: 3px; }
.hf-cookie-toggle strong { font-size: .87rem; }
.hf-cookie-toggle small { color: rgba(255, 255, 255, .68); font-size: .73rem; line-height: 1.35; }
.hf-cookie-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hf-cookie-toggle i { position: relative; width: 42px; height: 24px; flex: 0 0 auto; border-radius: 99px; background: rgba(255, 255, 255, .28); transition: background .2s ease; }
.hf-cookie-toggle i::after { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; content: ''; transition: transform .2s ease; }
.hf-cookie-toggle input:checked + i { background: #86dacd; }
.hf-cookie-toggle input:checked + i::after { transform: translateX(18px); }
.hf-cookie-toggle input:focus-visible + i { outline: 3px solid #fff; outline-offset: 3px; }
.hf-cookie-toggle input:disabled + i { opacity: .72; }
.hf-cookie-toggle:has(input:disabled) { cursor: default; }
.hf-cookie-notice__save { min-height: 42px; margin: 12px; border: 1px solid #a0e0d5; border-radius: 8px; background: #a0e0d5; color: #073f36; cursor: pointer; font: inherit; font-size: .86rem; font-weight: 800; }
.hf-cookie-notice__save:hover { transform: translateY(-1px); }

.hf-legal-page {
    background: #f7f6f1;
    color: #073f36;
    min-height: 60vh;
}

.hf-legal-page__hero {
    padding: 118px 0 58px;
    background: #075c50;
    color: #fff;
}

.hf-legal-page__eyebrow {
    margin: 0 0 12px;
    color: #b9e2da;
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.hf-legal-page h1 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.04;
}

.hf-legal-page__content {
    max-width: 900px;
    padding-top: 64px;
    padding-bottom: 88px;
    font-size: 1.05rem;
    line-height: 1.75;
}

.hf-legal-page__content h2 {
    margin: 42px 0 12px;
    color: #075c50;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.hf-legal-page__content h2:first-child {
    margin-top: 0;
}

.hf-legal-page__content a {
    color: #075c50;
    font-weight: 700;
}

.hf-standard-page__hero {
    padding: clamp(62px, 9vw, 124px) 0 clamp(45px, 6vw, 84px);
    background: linear-gradient(130deg, var(--hf-forest) 0%, #075c4f 100%);
    color: var(--hf-white);
}

.hf-standard-page__hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1;
}

.hf-standard-page__content {
    max-width: 860px;
    padding-top: clamp(46px, 6vw, 84px);
    padding-bottom: clamp(60px, 8vw, 110px);
    font-size: 17px;
    line-height: 1.7;
}

.hf-standard-page__content > * + * {
    margin-top: 1.25em;
}

@media (max-width: 1220px) {
    .hf-header-inner {
        gap: 20px;
    }

    .hf-main-nav {
        gap: 15px;
    }

    .hf-main-nav a,
    .hf-phone-link {
        font-size: 12px;
    }

    .hf-header-actions {
        gap: 15px;
    }

    .hf-header-cta {
        padding: 0 16px;
        font-size: 10px;
    }

    .hf-brand-logo {
        width: 200px;
        height: 58px;
    }

    .hf-benefits-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 28px;
    }

    .hf-benefit:nth-child(4) {
        border-left: 0;
    }

    .hf-benefit {
        padding: 0 26px;
    }

    .hf-foundation-preview-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }

    .hf-footer-main {
        grid-template-columns: 180px 1fr auto;
        gap: 24px;
    }

}

@media (max-width: 960px) {
    .hf-chamber__inner { grid-template-columns:1fr; }
    .hf-chamber__mark { min-height:130px; }
    :root {
        --hf-header-height: 73px;
    }

    .hf-shell {
        width: min(100% - 40px, 720px);
    }

    .hf-header-inner {
        min-height: 73px;
        justify-content: space-between;
    }

    .hf-site-header.is-scrolled .hf-header-inner {
        min-height: 64px;
    }

    .hf-site-header.is-scrolled .hf-brand {
        height: 57px;
    }

    .hf-site-header.is-scrolled .hf-brand-logo {
        width: 165px;
        height: 48px;
    }

    .hf-main-nav,
    .hf-header-actions {
        display: none;
    }

    .hf-mobile-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .hf-mobile-phone,
    .hf-mobile-menu-toggle {
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--hf-forest);
        cursor: pointer;
    }

    .hf-mobile-phone svg,
    .hf-mobile-menu-toggle svg {
        width: 29px;
        height: 29px;
    }

    .hf-mobile-menu-toggle:focus-visible,
    .hf-mobile-menu-close:focus-visible,
    .hf-mobile-menu-panel a:focus-visible,
    .hf-mobile-menu-drawer__footer a:focus-visible {
        outline: 3px solid var(--hf-teal);
        outline-offset: 3px;
    }

    .hf-mobile-menu-overlay {
        position: fixed;
        z-index: 2000;
        inset: 0;
        display: block;
        background: rgba(0, 24, 21, .48);
        backdrop-filter: blur(5px);
        animation: hf-menu-overlay-in .25s ease both;
    }

    .hf-mobile-menu-overlay[hidden] {
        display: none;
    }

    .hf-mobile-menu-drawer {
        position: fixed;
        z-index: 2001;
        top: 0;
        right: 0;
        display: grid;
        width: min(390px, 88vw);
        height: 100dvh;
        padding: 26px 24px 24px;
        grid-template-rows: auto auto 1fr;
        gap: 22px;
        background: linear-gradient(155deg, #004a40 0%, #00342e 60%, #002721 100%);
        box-shadow: -24px 0 60px rgba(0, 31, 27, .28);
        color: var(--hf-white);
        transform: translateX(104%);
        transition: transform .36s cubic-bezier(.22, 1, .36, 1);
        will-change: transform;
    }

    .hf-mobile-menu-open .hf-mobile-menu-drawer {
        transform: translateX(0);
    }

    .hf-mobile-menu-open {
        overflow: hidden;
    }

    .hf-mobile-menu-drawer__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, .16);
        color: rgba(255, 255, 255, .74);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

    .hf-mobile-menu-close {
        display: grid;
        width: 40px;
        height: 40px;
        place-items: center;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 50%;
        background: var(--hf-teal);
        color: var(--hf-white);
        cursor: pointer;
    }

    .hf-mobile-menu-close svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 3;
    }

    .hf-mobile-menu-panel {
        display: grid;
        align-content: start;
        gap: 0;
    }

    .hf-mobile-menu-panel a {
        position: relative;
        padding: 10px 0;
        color: rgba(255, 255, 255, .78);
        font-size: clamp(22px, 5vw, 29px);
        font-weight: 800;
        letter-spacing: -.045em;
        line-height: 1.1;
    }

    .hf-mobile-menu-panel a::after {
        position: absolute;
        bottom: 7px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--hf-teal);
        content: "";
        transition: width .25s ease;
    }

    .hf-mobile-menu-panel a:hover,
    .hf-mobile-menu-panel a.is-active {
        color: var(--hf-white);
    }

    .hf-mobile-menu-panel a.is-active::after,
    .hf-mobile-menu-panel a:hover::after {
        width: 34px;
    }

    .hf-mobile-menu-drawer__footer {
        display: grid;
        align-self: end;
        gap: 14px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, .16);
    }

    .hf-mobile-menu-phone {
        color: rgba(255, 255, 255, .78);
        font-size: 14px;
        font-weight: 800;
    }

    .hf-mobile-menu-drawer .hf-mobile-menu-cta {
        min-height: 53px;
        padding: 0 18px;
        border-radius: 8px;
        background: var(--hf-teal);
        color: var(--hf-white);
        font-size: 12px;
    }

    .hf-hero-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hf-product-card {
        min-height: 540px;
    }

    .hf-product-copy {
        width: min(60%, 410px);
        padding: 62px 0 50px clamp(31px, 8vw, 75px);
    }

    .hf-product-card--metal .hf-product-copy {
        width: min(60%, 410px);
        margin-left: auto;
        padding: 62px clamp(31px, 8vw, 75px) 50px 0;
        text-align: right;
    }

    .hf-product-card--metal .hf-product-kicker {
        justify-content: flex-end;
    }

    .hf-product-card--metal .hf-product-copy h2,
    .hf-product-card--metal .hf-product-lead,
    .hf-product-card--metal .hf-feature-list,
    .hf-product-card--metal .hf-product-link {
        margin-left: auto;
    }

    .hf-product-card--metal .hf-product-copy h2,
    .hf-product-card--metal .hf-product-lead {
        text-align: right;
    }

    .hf-product-card--metal .hf-product-copy > h2.hf-product-title--long {
        max-width: 420px;
    }

    .hf-product-card--metal .hf-product-copy h2.hf-product-title--long {
        text-align: right;
    }

    .hf-product-card--metal .hf-feature-list li {
        justify-content: flex-end;
    }

    .hf-product-card--metal .hf-feature-list svg {
        order: 1;
    }

    .hf-product-copy h1,
    .hf-product-copy h2 {
        font-size: clamp(47px, 8vw, 66px);
    }

    .hf-product-copy .hf-product-title--long {
        max-width: 420px;
        font-size: clamp(39px, 6.2vw, 58px);
    }

    .hf-hero-grid > .hf-config-card--mobile {
        display: none;
    }

    .hf-config-card {
        position: relative;
        top: auto;
        left: auto;
        display: grid;
        width: calc(100% - 40px);
        min-height: 0;
        margin: -56px auto -1px;
        padding: 27px 28px;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        column-gap: 18px;
        background: linear-gradient(125deg, #006d61 0%, #003f35 100%);
        clip-path: none;
        border: 1px solid rgba(255, 255, 255, .52);
        border-radius: 14px;
        color: var(--hf-white);
        text-align: left;
        transform: none;
    }

    .hf-config-card:hover {
        transform: none;
    }

    .hf-config-icon {
        width: 53px;
        height: 53px;
        grid-row: 1 / span 2;
    }

    .hf-config-card h2 {
        margin: 0;
        font-size: 24px;
    }

    .hf-config-card p {
        grid-column: 2;
        color: rgba(255, 255, 255, .88);
        font-size: 11px;
    }

    .hf-card-rule {
        display: none;
    }

    .hf-config-card__action {
        display: inline-flex;
        align-items: center;
        min-height: 42px;
        padding: 0 15px;
        grid-column: 3;
        grid-row: 1 / span 2;
        border-radius: 6px;
        background: var(--hf-white);
        color: var(--hf-forest);
        white-space: nowrap;
    }

    .hf-benefits-grid {
        padding-top: 76px;
    }

    .hf-foundation-preview-inner {
        padding: 42px 0;
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .hf-foundation-preview-copy {
        max-width: 660px;
    }

    .hf-foundation-preview-link {
        justify-self: start;
    }

    .hf-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 28px;
    }

    .hf-stat:nth-child(3) {
        border-left: 0;
    }

    .hf-stat--certified {
        grid-column: 1 / -1;
        margin: -4px 0;
    }

    .hf-stat--certified + .hf-stat {
        border-left: 0;
    }
}

@media (max-width: 600px) {
    .hf-shell {
        width: calc(100% - 30px);
    }

    .hf-header-inner {
        min-height: 72px;
        gap: 10px;
    }

    .hf-brand {
        height: 64px;
    }

    .hf-brand-logo {
        width: clamp(200px, 60vw, 230px);
        height: 64px;
    }

    .hf-site-header.is-scrolled .hf-brand-logo {
        width: clamp(184px, 54vw, 210px);
        height: 56px;
    }

    .hf-product-card {
        min-height: 620px;
    }

    .hf-hero-grid {
        --hf-mobile-card-height: 620px;
        position: relative;
    }

    .hf-product-card--sip::after {
        background: none;
    }

    .hf-product-card--metal::after {
        background: none;
    }

    .hf-product-copy {
        width: 63%;
        padding: 25px 0 14px 30px;
    }

    .hf-product-card--metal .hf-product-copy {
        width: 63%;
        margin-left: auto;
        padding: 150px 30px 14px 0;
        text-align: right;
    }

    .hf-product-card--metal .hf-product-kicker {
        justify-content: flex-end;
    }

    .hf-product-card--metal .hf-product-copy h2,
    .hf-product-card--metal .hf-product-lead,
    .hf-product-card--metal .hf-feature-list,
    .hf-product-card--metal .hf-product-link {
        margin-left: auto;
    }

    .hf-product-card--metal .hf-product-copy h2,
    .hf-product-card--metal .hf-product-lead {
        text-align: right;
    }

    .hf-product-card--metal .hf-feature-list li {
        justify-content: flex-end;
    }

    .hf-product-card--metal .hf-feature-list svg {
        order: 1;
    }

    .hf-product-kicker {
        gap: 7px;
        margin-bottom: 8px;
        font-size: 13px;
    }

    .hf-product-kicker svg {
        width: 23px;
        height: 23px;
    }

    .hf-product-copy h1,
    .hf-product-copy h2 {
        font-size: clamp(29px, 8vw, 36px);
    }

    .hf-product-copy .hf-product-title--long {
        font-size: clamp(29px, 8vw, 36px);
    }

    .hf-product-card--metal .hf-product-copy > h2.hf-product-title--long {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding-right: 5px;
        font-size: clamp(29px, 8vw, 36px);
        line-height: .98;
    }

    .hf-product-lead {
        max-width: 212px;
        margin-top: 12px;
        font-size: 12px;
        line-height: 1.42;
    }

    .hf-feature-list {
        display: none;
    }

    .hf-hero > .hf-config-card:not(.hf-config-card--mobile) {
        display: none;
    }

    .hf-hero-grid > .hf-config-card--mobile {
        position: absolute;
        z-index: 3;
        top: var(--hf-mobile-card-height);
        left: 50%;
        display: flex;
        width: 230px;
        min-height: 215px;
        margin: 0;
        padding: 34px 23px 19px;
        align-items: center;
        flex-direction: column;
        background: #fffdf9;
        filter: drop-shadow(0 12px 20px rgba(0, 48, 42, .22));
        clip-path: polygon(50% 0, 86% 9%, 100% 22%, 100% 88%, 91% 98%, 9% 98%, 0 88%, 0 22%, 14% 9%);
        color: var(--hf-forest);
        text-align: center;
        transform: translate(-50%, -50%);
    }

    .hf-hero-grid > .hf-config-card--mobile:hover {
        transform: translate(-50%, -50%) scale(1.025);
    }

    .hf-hero-grid > .hf-config-card--mobile .hf-config-icon {
        width: 34px;
        height: 34px;
        color: inherit;
    }

    .hf-hero-grid > .hf-config-card--mobile h2 {
        margin: 8px 0 0;
        font-size: 22px;
        line-height: 1.04;
        color: inherit;
    }

    .hf-hero-grid > .hf-config-card--mobile .hf-card-rule {
        display: block;
        margin: 9px 0 7px;
    }

    .hf-hero-grid > .hf-config-card--mobile p {
        display: block;
        margin: 0;
        color: #17362f;
        font-size: 10.5px;
        line-height: 1.5;
    }

    .hf-hero-grid > .hf-config-card--mobile .hf-config-card__action {
        min-height: 0;
        margin-top: 10px;
        padding: 0;
        background: transparent;
        color: var(--hf-teal);
        font-size: 10.5px;
        letter-spacing: .015em;
    }

    .hf-hero-grid > .hf-config-card--mobile .hf-config-card__action svg {
        display: block;
        width: 19px;
        height: 19px;
    }

    .hf-feature-list li {
        gap: 8px;
        font-size: 10px;
        white-space: nowrap;
    }

    .hf-feature-list svg {
        width: 17px;
        height: 17px;
        flex-basis: 17px;
    }

    .hf-product-link {
        min-height: 43px;
        margin-top: 23px;
        padding: 0 15px;
        font-size: 10px;
    }

    .hf-product-link svg {
        width: 17px;
        height: 17px;
    }

    .hf-config-card {
        width: calc(100% - 30px);
        margin-top: -36px;
        padding: 22px 17px;
        column-gap: 11px;
    }

    .hf-config-icon {
        width: 41px;
        height: 41px;
    }

    .hf-config-card h2 {
        font-size: 17px;
        letter-spacing: -.045em;
    }

    .hf-config-card p {
        font-size: 9px;
        line-height: 1.34;
    }

    .hf-config-card__action {
        display: inline-flex;
        align-items: center;
        min-height: 37px;
        padding: 0 10px;
        font-size: 8px;
    }

    .hf-config-card__action svg {
        display: none;
    }

    .hf-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 63px 0 30px;
        row-gap: 0;
    }

    .hf-benefit {
        display: block;
        min-height: 171px;
        padding: 21px 13px;
        text-align: center;
    }

    .hf-benefit + .hf-benefit,
    .hf-benefit:nth-child(4) {
        border-left: 0;
    }

    .hf-benefit:nth-child(even) {
        border-left: 1px solid var(--hf-line);
    }

    .hf-benefit:nth-child(n + 3) {
        border-top: 1px solid var(--hf-line);
    }

    .hf-benefit > svg {
        width: 40px;
        height: 40px;
        margin: 0 auto 13px;
    }

    .hf-benefit h2 {
        margin: 0 0 7px;
        font-size: 9px;
    }

    .hf-benefit p {
        font-size: 9px;
        line-height: 1.45;
    }

    .hf-foundation-preview-inner {
        padding: 34px 0;
        gap: 15px;
    }

    .hf-foundation-preview-heading h2 {
        font-size: 26px;
    }

    .hf-foundation-preview-copy p {
        font-size: 13px;
    }

    .hf-foundation-preview-link {
        width: 100%;
    }

    .hf-stats-grid {
        width: 100%;
        padding: 26px 15px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 0;
    }

    .hf-stat {
        display: grid;
        padding: 0 8px;
        justify-items: center;
        gap: 9px;
        text-align: center;
    }

    .hf-stat + .hf-stat,
    .hf-stat:nth-child(3) {
        border-left: 1px solid rgba(255, 255, 255, .14);
    }

    .hf-stat > svg {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
    }

    .hf-stat div {
        gap: 3px;
    }

    .hf-stat strong {
        font-size: 21px;
    }

    .hf-stat:last-child strong {
        font-size: 12px;
        white-space: normal;
    }

    .hf-stat--certified {
        min-height: 78px;
        margin: -2px 0 3px;
        padding: 13px 14px;
        transform: translateY(-4px);
    }

    .hf-stat--certified > svg {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .hf-stat--certified strong {
        font-size: 13px;
        white-space: normal;
    }

    .hf-stat--certified + .hf-stat {
        border-left: 0;
    }

    .hf-stat span {
        font-size: 8px;
        line-height: 1.25;
    }

    .hf-footer-main {
        padding: 31px 0 25px;
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .hf-footer-brand-block p {
        max-width: 290px;
        font-size: 12px;
    }

    .hf-footer-nav {
        gap: 12px 22px;
    }

    .hf-footer-cta {
        width: 100%;
    }

    .hf-footer-bottom__inner {
        min-height: 0;
        padding: 17px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .hf-cookie-notice {
        right: 16px;
        bottom: 16px;
    }

    .hf-cookie-notice__inner {
        padding: 21px;
    }

    .hf-cookie-notice__actions button {
        flex: 1 1 180px;
    }
}

@media (max-width: 390px) {
    .hf-product-copy {
        width: 68%;
        padding-left: 22px;
    }

    .hf-product-card {
        min-height: 560px;
    }

    .hf-hero-grid {
        --hf-mobile-card-height: 560px;
    }

    .hf-hero-grid > .hf-config-card--mobile {
        width: 205px;
        min-height: 195px;
        padding: 27px 19px 17px;
    }

    .hf-hero-grid > .hf-config-card--mobile h2 {
        font-size: 20px;
    }

    .hf-hero-grid > .hf-config-card--mobile p {
        font-size: 9.5px;
    }

    .hf-hero-grid > .hf-config-card--mobile .hf-config-card__action {
        font-size: 9.5px;
    }

    .hf-config-card h2 {
        font-size: 15px;
    }

    .hf-config-card p {
        font-size: 8px;
    }

    .hf-config-card__action {
        padding: 0 8px;
    }
}

/* Benefits: a trust-building section instead of a compact feature list. */
.hf-benefits {
    padding: clamp(62px, 8vw, 112px) 0;
    background: radial-gradient(circle at 9% 8%, rgba(105, 193, 177, .18), transparent 23%), linear-gradient(135deg, #f8f4ed 0%, #f2f7f5 100%);
}

/* Keep the homepage sections visually connected without changing the hero. */
.hf-home > section:not(.hf-hero) { padding-top: clamp(40px, 5vw, 68px); padding-bottom: clamp(40px, 5vw, 68px); }
.hf-home > .hf-stats { padding-top:clamp(20px,2vw,30px); padding-bottom:clamp(20px,2vw,30px); }
@media (min-width:961px) { .hf-home > .hf-stats { padding-top:0; padding-bottom:0; }.hf-stats-grid { padding-top:14px; padding-bottom:14px; }.hf-stat { min-height:112px; }.hf-stat--certified { min-height:100px; margin-top:-8px; margin-bottom:-8px; padding-top:14px; padding-bottom:14px; } }

.hf-benefits-heading {
    max-width: 720px;
    margin: 0 auto clamp(32px, 5vw, 56px);
    text-align: center;
}

.hf-benefits-heading p {
    margin: 0 0 12px;
    color: var(--hf-teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hf-benefits-heading h2 {
    margin: 0;
    color: var(--hf-forest);
    font-size: clamp(31px, 3.8vw, 52px);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1.02;
}

.hf-benefits-heading span {
    display: block;
    max-width: 560px;
    margin: 18px auto 0;
    color: #48625b;
    font-size: 16px;
    line-height: 1.55;
}

.hf-benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
}

.hf-benefit,
.hf-benefit + .hf-benefit {
    display: block;
    min-height: 230px;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(0, 63, 53, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 14px 30px rgba(0, 57, 48, .06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hf-benefit:hover {
    border-color: rgba(0, 120, 107, .46);
    box-shadow: 0 19px 36px rgba(0, 57, 48, .12);
    transform: translateY(-4px);
}

.hf-benefit > svg {
    box-sizing: content-box;
    width: 31px;
    height: 31px;
    margin: 0 0 27px;
    padding: 12px;
    border-radius: 50%;
    background: var(--hf-forest);
    color: #b9eee4;
    stroke-width: 1.8 !important;
}

.hf-benefit h2 {
    margin: 0 0 11px;
    color: var(--hf-forest);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.15;
    text-transform: none;
}

.hf-benefit p {
    margin: 0;
    color: #48625b;
    font-size: 14px;
    line-height: 1.56;
}

@media (max-width: 960px) {
    .hf-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
    .hf-benefit, .hf-benefit + .hf-benefit { min-height: 0; border: 1px solid rgba(0, 63, 53, .12); }
}

@media (max-width: 600px) {
    .hf-benefits { padding: 54px 0; }
    .hf-benefits-heading h2 { font-size: 32px; }
    .hf-benefits-heading span { font-size: 14px; }
    .hf-benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .hf-benefit, .hf-benefit + .hf-benefit { min-height: 0; padding: 14px 8px 16px; text-align: center; }
    .hf-benefit > svg { width: 24px; height: 24px; margin: 0 auto 12px; padding: 10px; }
    .hf-benefit h2 { margin-bottom: 7px; font-size: 13px; line-height: 1.12; }
    .hf-benefit p { font-size: 11px; line-height: 1.38; }
}
