/*
Theme Name: Homes Fixa Bode Premium Editorial
Theme URI: https://example.com/
Author: Homes Fixa Bode
Description: Restored premium Homes Fixa Bode theme.
Version: 1.8.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: homes-fixa-bode
*/

:root{
  --hfb-ink:#172521;
  --hfb-deep:#0d2a22;
  --hfb-gold:#c7902e;
  --hfb-gold2:#e5b85d;
  --hfb-soft:#f4f6f1;
  --hfb-card:#ffffff;
  --hfb-line:#dfe6df;
  --hfb-muted:#6f7d78;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--hfb-ink);font-family:Arial,Helvetica,sans-serif}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.hfb-wrap{width:min(1420px,calc(100% - 48px));margin:auto}

/* Header */
.hfb-header{background:#fff;border-bottom:1px solid #e7ece8;position:relative;z-index:10}
.hfb-head{min-height:104px;display:grid;grid-template-columns:350px minmax(0,1fr) auto;align-items:center;gap:28px}
.hfb-logo{display:flex;align-items:center;gap:16px}
.hfb-logo-mark{width:56px;height:56px;position:relative;border:3px solid var(--hfb-gold);border-radius:8px 8px 2px 2px;transform:rotate(45deg);margin-left:8px}
.hfb-logo-mark:before{content:"";position:absolute;width:22px;height:22px;left:14px;top:14px;border:3px solid var(--hfb-gold);background:#fff}
.hfb-logo-mark:after{content:"";position:absolute;width:6px;height:16px;left:23px;bottom:6px;background:var(--hfb-gold)}
.hfb-logo-copy{display:block}
.hfb-logo-copy strong{display:block;font:700 31px/1 Georgia,serif;letter-spacing:-.02em}
.hfb-logo-copy small{display:block;margin-top:5px;color:#6f746f;font-size:10px}
.hfb-nav{display:flex;justify-content:center;gap:34px;align-items:center}
.hfb-nav a{position:relative;padding:40px 0 34px;color:#3f4b47;font-size:13px;font-weight:700}
.hfb-nav a:hover,.hfb-nav a.current{color:#111}
.hfb-nav a:after{content:"";position:absolute;left:50%;bottom:24px;width:0;height:2px;background:var(--hfb-gold);transform:translateX(-50%);transition:.18s}
.hfb-nav a:hover:after,.hfb-nav a.current:after{width:28px}
.hfb-header-actions{display:flex;align-items:center;gap:18px}
.hfb-search-icon{font-size:22px;color:#172521}
.hfb-contact{padding:12px 20px;background:var(--hfb-deep);color:#fff;border-radius:999px;font-size:12px;font-weight:800}

/* Hero */
.hfb-hero{position:relative;min-height:530px;overflow:hidden;background:#193226;color:#fff}
.hfb-hero-media{position:absolute;inset:0}
.hfb-hero-media img,.hfb-hero-media .hfb-fallback{width:100%;height:100%;object-fit:cover}
.hfb-fallback{display:block;background:linear-gradient(135deg,#d9e2dc,#becbc2)}
.hfb-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,25,19,.88) 0%,rgba(5,25,19,.70) 40%,rgba(5,25,19,.18) 70%,rgba(5,25,19,.28) 100%)}
.hfb-hero-inner{position:relative;z-index:2;min-height:530px;display:flex;align-items:center}
.hfb-hero-copy{max-width:700px;padding:65px 0}
.hfb-kicker{display:block;margin-bottom:15px;font-size:11px;font-weight:900;letter-spacing:.17em}
.hfb-hero-copy h1{margin:0 0 18px;font:400 clamp(52px,5.6vw,78px)/.96 Georgia,serif;letter-spacing:-.03em}
.hfb-hero-copy p{margin:0;max-width:720px;font-size:17px;line-height:1.58;color:#eef3ef}
.hfb-hero-search{margin-top:32px;display:grid;grid-template-columns:48px 1fr 58px;align-items:center;width:min(660px,100%);height:58px;border-radius:999px;overflow:hidden;background:#fff;box-shadow:0 14px 32px rgba(0,0,0,.20)}
.hfb-hero-search span{display:grid;place-items:center;color:#4e5a55;font-size:20px}
.hfb-hero-search input{border:0;outline:0;font-size:14px}
.hfb-hero-search button{height:46px;width:46px;margin-right:6px;border:0;border-radius:50%;background:linear-gradient(180deg,var(--hfb-gold2),var(--hfb-gold));color:#fff;font-size:22px;cursor:pointer}

/* Sections */
.hfb-main{padding:48px 0 56px}
.hfb-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.hfb-eyebrow{color:#b5761d;font-size:10px;font-weight:900;letter-spacing:.17em}
.hfb-section-head h2{margin:7px 0 0;font:400 48px/1 Georgia,serif;letter-spacing:-.025em}
.hfb-section-head>a{font-size:12px;font-weight:800;padding-bottom:8px;border-bottom:2px solid var(--hfb-gold)}

.hfb-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.hfb-card{background:#fff;border:1px solid var(--hfb-line);border-radius:10px;overflow:hidden;box-shadow:0 10px 26px rgba(24,46,35,.055)}
.hfb-card-img{display:block;aspect-ratio:16/9;overflow:hidden}
.hfb-card-img img,.hfb-card-img .hfb-fallback{width:100%;height:100%;object-fit:cover}
.hfb-card-copy{padding:16px 18px 18px;position:relative}
.hfb-pill{display:inline-block;padding:5px 10px;border-radius:999px;background:#edf4ec;color:#355541;font-size:8px;font-weight:900;letter-spacing:.08em}
.hfb-card h3{margin:9px 0 10px;font:400 24px/1.06 Georgia,serif}
.hfb-card-meta{display:flex;align-items:center;gap:8px;color:#8d9994;font-size:10px}
.hfb-card p{margin:12px 0 6px;color:#6e7a76;font:14px/1.5 Georgia,serif}
.hfb-card-arrow{position:absolute;right:16px;bottom:16px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--hfb-gold);color:var(--hfb-gold);font-weight:900}

/* Four feature links */
.hfb-services{padding:0 0 28px}
.hfb-service-row{display:grid;grid-template-columns:repeat(4,1fr);background:linear-gradient(90deg,#f3f6f0,#f0f3ee);border-radius:12px;overflow:hidden}
.hfb-service{min-height:112px;display:grid;grid-template-columns:70px 1fr;align-items:center;gap:8px;padding:16px 26px;border-right:1px solid #d7ddd7}
.hfb-service:last-child{border-right:0}
.hfb-service-icon{font-size:40px;color:#14352a}
.hfb-service strong{display:block;font:700 18px Georgia,serif}
.hfb-service small{display:block;margin-top:5px;color:#6d7974;font-size:11px}

/* newsletter banner */
.hfb-news{padding:0 0 36px}
.hfb-news-wrap{position:relative;overflow:hidden;min-height:205px;border-radius:12px;background:#103328;color:#fff}
.hfb-news-media{position:absolute;inset:0 0 0 48%}
.hfb-news-media img,.hfb-news-media .hfb-fallback{width:100%;height:100%;object-fit:cover}
.hfb-news-overlay{position:absolute;inset:0;background:linear-gradient(90deg,#103328 0%,#103328 44%,rgba(16,51,40,.80) 56%,rgba(16,51,40,.15) 100%)}
.hfb-news-inner{position:relative;z-index:2;padding:34px 40px;max-width:700px}
.hfb-news-inner span{font-size:10px;font-weight:900;letter-spacing:.15em}
.hfb-news-inner h3{margin:8px 0 8px;font:400 34px Georgia,serif}
.hfb-news-inner p{margin:0 0 18px;color:#dde8e1;font-size:13px;line-height:1.55}
.hfb-news-form{display:grid;grid-template-columns:1fr 120px;max-width:590px;height:42px;border-radius:999px;overflow:hidden;background:#fff}
.hfb-news-form input{border:0;outline:0;padding:0 16px}
.hfb-news-form button{border:0;background:linear-gradient(180deg,#f1c267,#d79d39);font-weight:800}

/* footer */
.hfb-footer{background:linear-gradient(180deg,#0d2922,#0b211c);color:#fff;padding:36px 0 16px}
.hfb-footer-top{display:grid;grid-template-columns:330px 1fr auto;align-items:center;gap:30px}
.hfb-footer .hfb-logo-copy strong{color:#fff}
.hfb-footer .hfb-logo-copy small{color:#cbd6d0}
.hfb-footer-nav{display:flex;justify-content:center;gap:28px;font-size:12px;color:#d8e2dc}
.hfb-footer-social{display:flex;gap:16px;font-weight:700}
.hfb-footer-line{height:1px;background:#496158;margin:24px 0 18px}
.hfb-footer-bottom{display:flex;justify-content:space-between;color:#a9b7b0;font-size:9px}

/* single */
.hfb-single{padding:36px 0 60px}
.hfb-single-head{max-width:980px;margin:auto;text-align:center}
.hfb-single-head h1{margin:10px 0 14px;font:400 clamp(44px,5vw,66px)/1 Georgia,serif;letter-spacing:-.025em}
.hfb-single-meta{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;color:#8e9894;font-size:10px}
.hfb-single-image{width:min(1040px,88%);margin:28px auto}
.hfb-single-image img{width:100%;max-height:680px;object-fit:cover;border-radius:9px;border:1px solid #dce4dd;box-shadow:0 16px 40px rgba(22,50,33,.11)}
.hfb-body{width:min(820px,calc(100% - 44px));margin:auto;color:#4f5d57;font:17px/1.78 Georgia,serif}
.hfb-body h2{margin:32px 0 9px;font:400 31px Georgia,serif;color:#1a2923}
.hfb-body h3{margin:25px 0 8px;font:400 24px Georgia,serif;color:#1a2923}
.hfb-body a{color:#2b7f50;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.hfb-body a.hfb-external{color:#c8682f!important;text-decoration-style:dashed}
.hfb-body a.hfb-external:after{content:" ↗";font-size:.8em}
.hfb-inline{margin:24px 0;padding:14px 16px;border-left:3px solid #2a8251;background:#eff6f0}
.hfb-inline small{display:block;color:#6f8c78;font-size:8px;font-weight:900;letter-spacing:.12em}
.hfb-related{width:min(1120px,calc(100% - 48px));margin:52px auto 0;padding-top:24px;border-top:1px solid #e0e6e1}
.hfb-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}

/* archive/search */
.hfb-archive{padding:45px 0 65px}
.hfb-archive h1{font:400 50px Georgia,serif}
.hfb-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}

@media(max-width:1100px){
  .hfb-head{grid-template-columns:300px 1fr}
  .hfb-header-actions{display:none}
  .hfb-nav{gap:22px}
  .hfb-card-grid,.hfb-archive-grid{grid-template-columns:repeat(2,1fr)}
  .hfb-service-row{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .hfb-head{grid-template-columns:1fr;gap:0;padding:18px 0}
  .hfb-nav{justify-content:flex-start;overflow-x:auto}
  .hfb-nav a{padding:18px 0 14px}
  .hfb-nav a:after{bottom:8px}
  .hfb-hero,.hfb-hero-inner{min-height:470px}
  .hfb-card-grid,.hfb-archive-grid,.hfb-related-grid{grid-template-columns:1fr}
  .hfb-service-row{grid-template-columns:1fr}
  .hfb-service{border-right:0;border-bottom:1px solid #d7ddd7}
  .hfb-service:last-child{border-bottom:0}
  .hfb-news-media{left:0;opacity:.25}
  .hfb-news-overlay{background:rgba(16,51,40,.82)}
  .hfb-footer-top{grid-template-columns:1fr}
  .hfb-footer-nav{justify-content:flex-start;flex-wrap:wrap}
  .hfb-footer-bottom{flex-direction:column;gap:8px}
}
@media(max-width:560px){
  .hfb-wrap{width:calc(100% - 24px)}
  .hfb-hero-copy h1{font-size:47px}
  .hfb-section-head h2{font-size:38px}
  .hfb-news-form{grid-template-columns:1fr 100px}
}


/* =========================================================
   v1.1.0 — image-rich extended homepage
   ========================================================= */

.hfb11-inspiration{
  padding:26px 0 54px;
  background:#fbfcfa;
}

.hfb11-mosaic{
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr;
  grid-auto-rows:220px;
  gap:15px;
}

.hfb11-mosaic-card{
  position:relative;
  overflow:hidden;
  border-radius:12px;
  background:#dde7df;
  box-shadow:0 12px 30px rgba(19,48,32,.08);
}

.hfb11-mosaic-card.is-large{
  grid-row:span 2;
}

.hfb11-media,
.hfb11-media img,
.hfb11-media .hfb-fallback{
  display:block;
  width:100%;
  height:100%;
}

.hfb11-media img,
.hfb11-media .hfb-fallback{
  object-fit:cover;
}

.hfb11-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(5,25,18,.03) 25%,rgba(5,25,18,.77) 100%);
}

.hfb11-copy{
  position:absolute;
  left:18px;
  right:18px;
  bottom:16px;
  z-index:2;
  color:#fff;
}

.hfb11-copy small{
  display:block;
  margin-bottom:6px;
  color:#f1ce85;
  font-size:8px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.hfb11-copy strong{
  display:block;
  max-width:88%;
  font:400 22px/1.08 Georgia,serif;
}

.hfb11-mosaic-card.is-large .hfb11-copy strong{
  font-size:30px;
}

.hfb11-copy i{
  position:absolute;
  right:0;
  bottom:0;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  color:var(--hfb-gold);
  font-style:normal;
}

.hfb11-projects{
  padding:56px 0;
  background:#fff;
}

.hfb11-project-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.hfb11-project-card{
  overflow:hidden;
  border:1px solid var(--hfb-line);
  border-radius:11px;
  background:#fff;
  box-shadow:0 9px 24px rgba(20,51,33,.05);
}

.hfb11-project-img{
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
}

.hfb11-project-img img,
.hfb11-project-img .hfb-fallback{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hfb11-project-copy{
  padding:16px 17px 18px;
}

.hfb11-project-copy>span{
  display:block;
  color:#9b6a25;
  font-size:8px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.hfb11-project-copy h3{
  margin:8px 0 12px;
  font:400 22px/1.08 Georgia,serif;
}

.hfb11-read{
  color:#9f6d22;
  font-size:10px;
  font-weight:900;
}

.hfb11-visual-strip{
  padding:12px 0 58px;
  background:#fff;
}

.hfb11-strip-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:13px;
}

.hfb11-strip-card{
  position:relative;
  min-height:200px;
  overflow:hidden;
  border-radius:10px;
  background:#dfe8e2;
}

.hfb11-strip-media,
.hfb11-strip-media img,
.hfb11-strip-media .hfb-fallback{
  display:block;
  width:100%;
  height:100%;
}

.hfb11-strip-media img,
.hfb11-strip-media .hfb-fallback{
  object-fit:cover;
}

.hfb11-strip-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 28%,rgba(9,32,22,.72));
}

.hfb11-strip-card strong{
  position:absolute;
  left:14px;
  right:14px;
  bottom:14px;
  color:#fff;
  font:400 18px/1.15 Georgia,serif;
}

.hfb11-mosaic-card,
.hfb11-project-card,
.hfb11-strip-card{
  transition:transform .18s ease, box-shadow .18s ease;
}

.hfb11-mosaic-card:hover,
.hfb11-project-card:hover,
.hfb11-strip-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 32px rgba(18,48,31,.11);
}

@media(max-width:1000px){
  .hfb11-mosaic{
    grid-template-columns:1fr 1fr;
  }
  .hfb11-project-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .hfb11-strip-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:620px){
  .hfb11-mosaic{
    grid-template-columns:1fr;
    grid-auto-rows:240px;
  }
  .hfb11-mosaic-card.is-large{
    grid-row:auto;
  }
  .hfb11-project-grid,
  .hfb11-strip-grid{
    grid-template-columns:1fr;
  }
  .hfb11-strip-card{
    min-height:230px;
  }
}


/* =========================================================
   v1.2.0 — newsletter area removed
   ========================================================= */
.hfb-news,
.hfb-news-wrap,
.hfb-news-inner,
.hfb-news-media,
.hfb-news-overlay,
.hfb-news-form{
  display:none!important;
}


/* =========================================================
   v1.3.0 — requested menu + category structure
   ========================================================= */
.hfb-nav{
  gap:28px!important;
}
.hfb-nav a{
  white-space:nowrap!important;
}
@media(max-width:1180px){
  .hfb-nav{gap:18px!important}
  .hfb-nav a{font-size:12px!important}
}


/* =========================================================
   v1.4.0 — modern stylish header search
   ========================================================= */

.hfb-head{
  grid-template-columns:330px minmax(0,1fr) auto!important;
}

.hfb14-actions{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
}

.hfb14-header-search{
  width:230px;
  height:44px;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 42px;
  align-items:center;
  overflow:hidden;
  border:1px solid #dce4de;
  border-radius:999px;
  background:linear-gradient(180deg,#ffffff,#fafbf9);
  box-shadow:
    0 7px 18px rgba(19,48,32,.055),
    inset 0 1px 0 rgba(255,255,255,.95);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.hfb14-header-search:focus-within{
  border-color:#c9a45c;
  box-shadow:
    0 9px 22px rgba(19,48,32,.08),
    0 0 0 3px rgba(199,144,46,.08);
  transform:translateY(-1px);
}

.hfb14-search-icon{
  display:grid;
  place-items:center;
  color:#17362c;
  font-size:18px;
}

.hfb14-header-search input{
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:#29352f;
  font-size:11.5px;
  font-family:Arial,Helvetica,sans-serif;
}

.hfb14-header-search input::placeholder{
  color:#8d9892;
}

.hfb14-header-search button{
  width:36px;
  height:36px;
  margin-right:4px;
  border:0;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg,#d8aa50,#bf8423);
  color:#fff;
  font-size:16px;
  font-weight:900;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease;
}

.hfb14-header-search button:hover{
  transform:translateX(2px);
  box-shadow:0 5px 12px rgba(180,124,31,.24);
}

.hfb14-actions .hfb-contact{
  min-height:44px;
  display:flex;
  align-items:center;
  padding:0 18px!important;
  box-shadow:0 7px 18px rgba(13,42,34,.10);
}

/* medium desktop */
@media(max-width:1240px){
  .hfb-head{
    grid-template-columns:280px minmax(0,1fr) auto!important;
    gap:18px!important;
  }
  .hfb-nav{
    gap:16px!important;
  }
  .hfb14-header-search{
    width:190px;
  }
}

/* tablet */
@media(max-width:1050px){
  .hfb-head{
    grid-template-columns:1fr auto!important;
  }
  .hfb-nav{
    grid-column:1/-1;
    justify-content:flex-start!important;
    overflow-x:auto;
    padding-bottom:8px;
  }
  .hfb14-actions{
    display:flex!important;
  }
}

/* mobile */
@media(max-width:700px){
  .hfb-head{
    grid-template-columns:1fr!important;
  }
  .hfb14-actions{
    width:100%;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto;
  }
  .hfb14-header-search{
    width:100%;
  }
}

/* Restore safeguards */
html,body{width:100%;min-height:100%}
body{overflow-x:hidden!important}
.hfb-header,.hfb-hero,.hfb-main,.hfb-services,.hfb11-inspiration,.hfb11-projects,.hfb11-visual-strip,.hfb-footer{width:100%}


/* =========================================================
   v1.6.0 — premium editorial header + unique footer
   ========================================================= */

body{background:#fffdf8!important}

/* HEADER */
.hfb16-header{
  width:100%;
  background:rgba(255,253,248,.98);
  border-bottom:1px solid #e7e0d5;
  position:relative;
  z-index:40;
}
.hfb16-head{
  min-height:92px;
  display:grid;
  grid-template-columns:290px minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
}
.hfb16-brand{
  display:flex;
  align-items:center;
  gap:14px;
}
.hfb16-logo-mark{
  position:relative;
  width:56px;
  height:56px;
  flex:0 0 56px;
}
.hfb16-roof{
  position:absolute;
  left:4px;
  top:8px;
  width:40px;
  height:40px;
  border-left:4px solid #173d31;
  border-top:4px solid #173d31;
  transform:rotate(45deg);
}
.hfb16-house{
  position:absolute;
  left:14px;
  top:20px;
  width:30px;
  height:28px;
  border-left:3px solid #b68b43;
  border-right:3px solid #b68b43;
  border-bottom:3px solid #b68b43;
}
.hfb16-door{
  position:absolute;
  left:25px;
  top:32px;
  width:8px;
  height:16px;
  background:#b68b43;
}
.hfb16-brand-copy strong{
  display:block;
  color:#152920;
  font:700 20px/0.9 Georgia,serif;
  letter-spacing:.02em;
}
.hfb16-brand-copy small{
  display:block;
  margin-top:7px;
  color:#9b875d;
  font-size:7px;
  letter-spacing:.12em;
}
.hfb16-nav{
  display:flex;
  justify-content:center;
  gap:24px;
}
.hfb16-nav a{
  position:relative;
  padding:36px 0 31px;
  color:#23372f;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}
.hfb16-nav a:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:24px;
  width:0;
  height:2px;
  background:#b78738;
  transform:translateX(-50%);
  transition:.18s;
}
.hfb16-nav a:hover:after{width:24px}
.hfb16-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.hfb16-search{
  width:270px;
  height:42px;
  display:grid;
  grid-template-columns:36px 1fr 36px;
  align-items:center;
  border:1px solid #ddd8ce;
  border-radius:999px;
  background:#fff;
  box-shadow:0 4px 14px rgba(37,49,42,.04);
}
.hfb16-search span{
  display:grid;
  place-items:center;
  color:#46564f;
}
.hfb16-search input{
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  font-size:10px;
}
.hfb16-search button{
  width:32px;
  height:32px;
  margin-right:4px;
  border:0;
  border-radius:50%;
  background:#123e30;
  color:#fff;
  cursor:pointer;
}
.hfb16-contact{
  min-height:42px;
  padding:0 18px;
  display:flex;
  align-items:center;
  gap:8px;
  border-radius:999px;
  background:#10392d;
  color:#fff;
  box-shadow:0 6px 14px rgba(16,57,45,.12);
  font-size:11px;
  font-weight:800;
}

/* UNIQUE FOOTER */
.hfb16-footer{
  margin-top:0;
  padding:36px 26px 0;
  background:#fffdf8;
}
.hfb16-footer-shell{
  width:min(1460px,100%);
  margin:auto;
  display:grid;
  grid-template-columns:1.15fr .95fr 1.05fr;
  min-height:330px;
  overflow:hidden;
  border-radius:38px 38px 0 0;
  background:
    radial-gradient(circle at 16% 26%,rgba(181,139,67,.12),transparent 30%),
    linear-gradient(120deg,#0c3b2e 0%,#0d3027 55%,#162f27 100%);
  box-shadow:0 -10px 30px rgba(25,46,36,.07);
  color:#fff;
}
.hfb16-footer-brand-zone{
  position:relative;
  padding:44px 46px 36px;
}
.hfb16-footer-brand-zone:after{
  content:"";
  position:absolute;
  right:-90px;
  top:-70px;
  width:250px;
  height:250px;
  border:1px solid rgba(207,170,104,.22);
  border-radius:50%;
}
.hfb16-footer-brand{
  display:flex;
  align-items:center;
  gap:16px;
}
.hfb16-logo-mark.large{
  transform:scale(1.15);
}
.hfb16-footer-brand strong{
  display:block;
  color:#f5eee3;
  font:700 27px/0.9 Georgia,serif;
}
.hfb16-footer-brand small{
  display:block;
  margin-top:7px;
  color:#c7a56a;
  font-size:7px;
  letter-spacing:.14em;
}
.hfb16-footer-brand-zone p{
  max-width:410px;
  margin:26px 0 18px;
  color:#d7ded9;
  font:14px/1.55 Georgia,serif;
}
.hfb16-socials{
  display:flex;
  gap:10px;
}
.hfb16-socials a{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid rgba(220,190,135,.45);
  border-radius:50%;
  color:#fff;
  transition:.18s;
}
.hfb16-socials a:hover{
  background:#b78b43;
  transform:translateY(-2px);
}

.hfb16-footer-links{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:36px;
  padding:50px 38px 30px;
  border-left:1px solid rgba(255,255,255,.09);
  border-right:1px solid rgba(255,255,255,.09);
}
.hfb16-footer-links>div{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.hfb16-footer-links span{
  color:#d7b56f;
  font:700 15px Georgia,serif;
  margin-bottom:6px;
}
.hfb16-footer-links a{
  color:#e2e8e3;
  font-size:11px;
}
.hfb16-footer-links a:hover{color:#fff}

.hfb16-footer-visual{
  position:relative;
  min-height:330px;
  overflow:hidden;
}
.hfb16-footer-image{
  position:absolute;
  inset:0;
}
.hfb16-footer-image:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(13,48,39,.52),rgba(13,48,39,.08));
}
.hfb16-footer-image img,
.hfb16-footer-image .hfb-fallback{
  width:100%;
  height:100%;
  object-fit:cover;
}
.hfb16-footer-message{
  position:absolute;
  z-index:2;
  right:38px;
  top:44px;
  max-width:240px;
  text-align:right;
}
.hfb16-footer-message em{
  color:#f7efe4;
  font:italic 28px/1.05 Georgia,serif;
}
.hfb16-footer-message i{
  display:block;
  width:52px;
  height:2px;
  margin:18px 0 0 auto;
  background:#c69b55;
}

.hfb16-bottom{
  width:min(1460px,100%);
  margin:auto;
  min-height:64px;
  display:grid;
  grid-template-columns:1fr auto auto;
  align-items:center;
  gap:22px;
  padding:0 20px;
  background:#0d3027;
  color:#cbd6d0;
  font-size:9px;
  border-top:1px solid rgba(255,255,255,.08);
}
.hfb16-bottom nav{
  display:flex;
  align-items:center;
  gap:12px;
}
.hfb16-bottom nav i{
  width:1px;
  height:12px;
  background:#6f837b;
}
.hfb16-top{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid #b88a42;
  border-radius:50%;
  color:#fff;
}

/* visually sync homepage with new premium direction */
.hfb-section-head h2,
.hfb11-project-copy h3,
.hfb11-strip-card strong,
.hfb11-copy strong{
  color:#1f3028!important;
}
.hfb-eyebrow,
.hfb11-project-copy>span,
.hfb11-read{
  color:#9e6b21!important;
}
.hfb-card,
.hfb11-project-card,
.hfb11-strip-card,
.hfb11-mosaic-card{
  border-color:#e9e1d6!important;
  box-shadow:0 10px 26px rgba(48,43,35,.06)!important;
}
.hfb-card-arrow{
  border-color:#b8893c!important;
  color:#b8893c!important;
}

/* responsive */
@media(max-width:1180px){
  .hfb16-head{
    grid-template-columns:250px 1fr;
  }
  .hfb16-actions{
    grid-column:1/-1;
    padding-bottom:16px;
    justify-content:flex-end;
  }
  .hfb16-nav{gap:16px}
}
@media(max-width:900px){
  .hfb16-head{
    grid-template-columns:1fr;
    padding:16px 0;
  }
  .hfb16-nav{
    justify-content:flex-start;
    overflow-x:auto;
  }
  .hfb16-nav a{
    padding:12px 0 16px;
  }
  .hfb16-nav a:after{bottom:8px}
  .hfb16-actions{
    grid-column:auto;
    justify-content:flex-start;
    width:100%;
  }
  .hfb16-search{flex:1}
  .hfb16-footer-shell{
    grid-template-columns:1fr 1fr;
  }
  .hfb16-footer-visual{
    grid-column:1/-1;
    min-height:270px;
  }
}
@media(max-width:620px){
  .hfb16-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .hfb16-search{width:100%}
  .hfb16-contact{justify-content:center}
  .hfb16-footer{
    padding:18px 12px 0;
  }
  .hfb16-footer-shell{
    grid-template-columns:1fr;
    border-radius:24px 24px 0 0;
  }
  .hfb16-footer-links{
    grid-template-columns:1fr 1fr;
    border-left:0;
    border-right:0;
    border-top:1px solid rgba(255,255,255,.08);
  }
  .hfb16-footer-visual{
    grid-column:auto;
  }
  .hfb16-bottom{
    grid-template-columns:1fr;
    padding:18px;
  }
  .hfb16-bottom nav{
    flex-wrap:wrap;
  }
}


/* =========================================================
   v1.7.0 — requested menu + full category showcase
   ========================================================= */

.hfb16-nav{
  gap:24px!important;
}
.hfb16-nav a{
  white-space:nowrap!important;
}

.hfb17-categories{
  padding:58px 0 62px;
  background:
    radial-gradient(circle at 10% 10%,rgba(183,139,67,.08),transparent 25%),
    linear-gradient(180deg,#fffdf8,#f7f4ed);
  border-top:1px solid #ece5da;
  border-bottom:1px solid #ece5da;
}

.hfb17-cat-head{
  text-align:center;
  max-width:820px;
  margin:0 auto 30px;
}
.hfb17-cat-head h2{
  margin:7px 0 10px;
  color:#1f3028;
  font:700 46px/1 Georgia,serif;
}
.hfb17-cat-head p{
  margin:0;
  color:#78827d;
  font-size:13px;
  line-height:1.55;
}

.hfb17-cat-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
}

.hfb17-cat-card{
  position:relative;
  min-height:132px;
  padding:18px 16px 16px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:hidden;
  border:1px solid #e5ddd0;
  border-radius:16px;
  background:linear-gradient(180deg,#ffffff,#fbf8f2);
  box-shadow:0 8px 22px rgba(55,45,32,.055);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.hfb17-cat-card:before{
  content:"";
  position:absolute;
  width:90px;
  height:90px;
  right:-32px;
  top:-32px;
  border-radius:50%;
  background:rgba(183,139,67,.08);
}
.hfb17-cat-card:hover{
  transform:translateY(-4px);
  border-color:#c9b58c;
  box-shadow:0 14px 30px rgba(50,43,31,.10);
}
.hfb17-cat-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:linear-gradient(135deg,#143f31,#b78b43);
  color:#fff;
  font-size:21px;
  box-shadow:0 7px 16px rgba(20,63,49,.15);
}
.hfb17-cat-name{
  max-width:82%;
  color:#1d3027;
  font:700 17px/1.12 Georgia,serif;
}
.hfb17-cat-arrow{
  position:absolute;
  right:14px;
  bottom:14px;
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border:1px solid #b78b43;
  border-radius:50%;
  color:#9c6d24;
  font-weight:900;
}

@media(max-width:1180px){
  .hfb16-nav{gap:16px!important}
  .hfb16-nav a{font-size:10px!important}
  .hfb17-cat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:820px){
  .hfb17-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .hfb17-cat-grid{grid-template-columns:1fr}
  .hfb17-cat-head h2{font-size:38px}
}


/* =========================================================
   v1.8.0 — image-based premium categories + WP stability
   ========================================================= */

.hfb18-categories{
  width:100%;
  padding:62px 0 68px;
  overflow:hidden;
  background:
    radial-gradient(circle at 9% 3%,rgba(183,139,67,.08),transparent 25%),
    radial-gradient(circle at 91% 0%,rgba(20,63,49,.06),transparent 24%),
    linear-gradient(180deg,#fffdf8 0%,#f8f5ee 100%);
  border-top:1px solid #ede5da;
  border-bottom:1px solid #ede5da;
}

.hfb18-cat-head{
  max-width:840px;
  margin:0 auto 34px;
  text-align:center;
}

.hfb18-cat-head h2{
  margin:8px 0 10px;
  color:#183529;
  font:700 50px/1 Georgia,serif;
  letter-spacing:-.025em;
}

.hfb18-cat-head h2 span{
  color:#b48539;
}

.hfb18-cat-head p{
  margin:0;
  color:#758079;
  font-size:13px;
  line-height:1.55;
}

.hfb18-cat-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:16px!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  clear:both!important;
}

.hfb18-cat-card{
  position:relative!important;
  display:block!important;
  min-width:0!important;
  min-height:250px!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  clear:none!important;
  overflow:hidden!important;
  border:1px solid #e3dacb!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 11px 28px rgba(55,46,34,.075)!important;
  isolation:isolate!important;
  transform:translateZ(0);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.hfb18-cat-card:hover{
  transform:translateY(-5px);
  border-color:#cbb58b!important;
  box-shadow:0 18px 38px rgba(48,42,31,.13)!important;
}

.hfb18-cat-media{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  overflow:hidden!important;
  background:#e6e6df!important;
}

.hfb18-cat-media img,
.hfb18-cat-media .hfb-fallback{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  transition:transform .32s ease;
}

.hfb18-cat-card:hover .hfb18-cat-media img{
  transform:scale(1.04);
}

.hfb18-cat-gradient{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  display:block!important;
  background:
    linear-gradient(
      180deg,
      rgba(14,42,33,.02) 16%,
      rgba(14,42,33,.10) 44%,
      rgba(255,253,248,.92) 70%,
      #fffdf8 100%
    )!important;
}

.hfb18-cat-content{
  position:absolute!important;
  z-index:2!important;
  left:14px!important;
  right:14px!important;
  bottom:14px!important;
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr) 34px!important;
  gap:11px!important;
  align-items:end!important;
}

.hfb18-cat-icon{
  width:46px!important;
  height:46px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:linear-gradient(135deg,#173f31,#ba8b3d)!important;
  color:#fff!important;
  font-size:19px!important;
  box-shadow:0 7px 17px rgba(27,63,48,.22)!important;
}

.hfb18-cat-copy{
  min-width:0!important;
  align-self:end!important;
}

.hfb18-cat-copy strong{
  display:block!important;
  color:#17372b!important;
  font:700 19px/1.06 Georgia,serif!important;
}

.hfb18-cat-copy small{
  display:block!important;
  margin-top:5px!important;
  color:#6d786f!important;
  font-size:9.5px!important;
  line-height:1.35!important;
}

.hfb18-cat-arrow{
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  align-self:end!important;
  border-radius:50%!important;
  border:1px solid #c7ae7d!important;
  background:#fff!important;
  color:#173f31!important;
  font-weight:900!important;
  box-shadow:0 5px 12px rgba(51,46,37,.09)!important;
}

/* last row larger for balanced editorial rhythm */
.hfb18-cat-card:nth-child(11),
.hfb18-cat-card:nth-child(12),
.hfb18-cat-card:nth-child(13){
  min-height:270px!important;
}

/* Aggressive isolation from plugins / old theme CSS */
body.home .hfb18-categories,
body.home .hfb18-categories *{
  box-sizing:border-box!important;
}

body.home .hfb18-categories ul,
body.home .hfb18-categories li{
  list-style:none!important;
}

body.home .hfb18-categories .hfb18-cat-grid > *{
  width:auto!important;
  max-width:none!important;
}

/* responsive */
@media(max-width:1280px){
  .hfb18-cat-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

@media(max-width:980px){
  .hfb18-cat-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

@media(max-width:760px){
  .hfb18-cat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .hfb18-cat-head h2{
    font-size:42px!important;
  }
}

@media(max-width:520px){
  .hfb18-categories{
    padding:46px 0 50px!important;
  }
  .hfb18-cat-grid{
    grid-template-columns:1fr!important;
  }
  .hfb18-cat-card,
  .hfb18-cat-card:nth-child(11),
  .hfb18-cat-card:nth-child(12),
  .hfb18-cat-card:nth-child(13){
    min-height:235px!important;
  }
  .hfb18-cat-head h2{
    font-size:36px!important;
  }
}
