/* Products hub — Barakeh 2026 */
.products-hub{
  --products-navy:#0a2f5c;
  --products-green:#10a95d;
  --products-green-dark:#07874a;
  --products-line:#dfe5e9;
  --products-soft:#f5f8f9;
  --products-muted:#647386;
}
.products-hub .nav-active{color:var(--products-green)}

.products-hero{
  background:
    radial-gradient(circle at 82% 18%,rgba(16,169,93,.10),transparent 24%),
    linear-gradient(135deg,#f8fafb 0%,#eef4f6 100%);
  border-bottom:1px solid var(--products-line);
}
.products-hero-grid{
  min-height:520px;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);
  gap:84px;
  align-items:center;
}
.products-hero-copy{padding:70px 0}
.products-hero-copy h1{
  margin:0;
  max-width:900px;
  color:var(--products-navy);
  font-family:"Manrope",sans-serif;
  font-size:clamp(54px,5.6vw,84px);
  line-height:.96;
  letter-spacing:-.055em;
}
.products-hero-copy > p{
  max-width:720px;
  margin:24px 0 30px;
  color:#53657a;
  font-size:19px;
  line-height:1.65;
}
.products-hero-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:22px;
}
.products-ghost-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:50px;
  color:var(--products-navy);
  font-weight:700;
}
.products-ghost-link .material-symbols-rounded{color:var(--products-green)}
.products-hero-summary{
  position:relative;
  padding:34px 0 34px 42px;
  border-left:1px solid #cdd8df;
}
.products-hero-summary::before{
  content:"";
  position:absolute;
  top:34px;
  left:-2px;
  width:3px;
  height:78px;
  background:var(--products-green);
}
.summary-kicker{
  display:block;
  margin-bottom:14px;
  color:#718092;
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
}
.products-hero-summary > strong{
  display:block;
  color:var(--products-navy);
  font-family:"Manrope",sans-serif;
  font-size:88px;
  line-height:.9;
  letter-spacing:-.06em;
}
.products-hero-summary h2{
  margin:10px 0 10px;
  color:var(--products-navy);
  font-family:"Manrope",sans-serif;
  font-size:28px;
  line-height:1.1;
}
.products-hero-summary > p{
  margin:0;
  color:#667587;
  line-height:1.6;
}
.summary-meta{
  margin-top:28px;
  padding-top:20px;
  border-top:1px solid #d7e0e5;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.summary-meta span{
  display:block;
  margin-bottom:4px;
  color:#83909d;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.summary-meta b{
  color:var(--products-navy);
  font-size:16px;
}

.family-browser{padding:82px 0}
.products-section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:50px;
  margin-bottom:30px;
}
.products-section-head h2{
  margin:0;
  color:var(--products-navy);
  font-family:"Manrope",sans-serif;
  font-size:clamp(40px,4vw,60px);
  line-height:1;
  letter-spacing:-.045em;
}
.products-section-head > p{
  width:min(520px,42%);
  margin:0;
  color:#667587;
  line-height:1.65;
}
.products-section-head.compact{margin-bottom:28px}
.products-section-head.compact h2{font-size:clamp(36px,3.6vw,52px)}

.product-toolbar{
  margin-bottom:34px;
  padding:18px;
  background:#f8fafb;
  border:1px solid var(--products-line);
  display:grid;
  grid-template-columns:minmax(310px,1fr) auto;
  gap:18px;
  align-items:center;
}
.product-search{
  min-height:50px;
  display:grid;
  grid-template-columns:44px 1fr;
  align-items:center;
  background:#fff;
  border:1px solid #d8e0e5;
}
.product-search .material-symbols-rounded{
  justify-self:center;
  color:#54708d;
  font-size:24px;
}
.product-search input{
  width:100%;
  height:48px;
  border:0;
  outline:0;
  background:transparent;
  color:#17263a;
  font-size:14px;
}
.product-filters{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.product-filter{
  min-height:40px;
  padding:0 14px;
  border:1px solid #d7e0e5;
  border-radius:999px;
  background:#fff;
  color:#526377;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  transition:.2s ease;
}
.product-filter:hover,
.product-filter.active{
  border-color:var(--products-green);
  background:var(--products-green);
  color:#fff;
}

.family-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
}
.family-card{
  position:relative;
  min-height:330px;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(210px,.72fr);
  background:#fff;
  border:1px solid var(--products-line);
  box-shadow:0 12px 32px rgba(10,47,92,.06);
  transition:.22s ease;
}
.family-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 44px rgba(10,47,92,.10);
}
.family-card-copy{
  position:relative;
  z-index:2;
  padding:30px 28px 26px;
  display:flex;
  flex-direction:column;
}
.family-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:42px;
}
.family-number{
  color:#8a97a4;
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
}
.family-status{
  padding:7px 9px;
  border-radius:999px;
  background:#edf8f2;
  color:var(--products-green-dark);
  font-size:10px;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.family-status.pending{
  background:#f1f4f6;
  color:#788693;
}
.family-tag{
  margin-bottom:10px;
  color:var(--products-green);
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.family-card h3{
  margin:0 0 12px;
  color:var(--products-navy);
  font-family:"Manrope",sans-serif;
  font-size:30px;
  line-height:1.05;
  letter-spacing:-.035em;
}
.family-card p{
  margin:0;
  color:#647386;
  font-size:14px;
  line-height:1.6;
}
.family-card-link{
  margin-top:auto;
  padding-top:24px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--products-green);
  font-weight:700;
  font-size:13px;
}
.family-card-link .material-symbols-rounded{font-size:19px}
.family-card-media{
  position:relative;
  min-height:100%;
  background:#e9eff1;
  overflow:hidden;
}
.family-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.family-card-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.08),transparent 40%);
}
.family-card.placeholder .family-card-media{
  display:grid;
  place-items:center;
  background:
    linear-gradient(145deg,var(--card-a,#0a2f5c),var(--card-b,#10a95d));
}
.family-card.placeholder .family-card-media::before{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:50%;
  transform:translate(52px,-66px);
}
.family-placeholder-icon{
  position:relative;
  z-index:1;
  color:rgba(255,255,255,.93);
  font-size:70px;
  font-variation-settings:"FILL" 0,"wght" 300,"GRAD" 0,"opsz" 48;
}
.products-empty{
  margin-top:22px;
  padding:32px;
  background:#f8fafb;
  border:1px solid var(--products-line);
  color:#687788;
  text-align:center;
}

.find-by-need{
  padding:76px 0;
  background:#f5f8f9;
  border-top:1px solid var(--products-line);
  border-bottom:1px solid var(--products-line);
}
.need-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  border-top:1px solid #d9e1e5;
}
.need-card{
  min-height:126px;
  padding:22px 24px;
  display:grid;
  grid-template-columns:54px 1fr 30px;
  gap:18px;
  align-items:center;
  background:transparent;
  border:0;
  border-bottom:1px solid #d9e1e5;
  text-align:left;
  cursor:pointer;
  transition:.18s ease;
}
.need-card:nth-child(odd){border-right:1px solid #d9e1e5}
.need-card:hover{background:#fff}
.need-icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  background:#e8f6ee;
  color:var(--products-green);
  border-radius:50%;
  font-size:28px;
}
.need-card strong{
  display:block;
  margin-bottom:6px;
  color:var(--products-navy);
  font-family:"Manrope",sans-serif;
  font-size:20px;
}
.need-card small{
  display:block;
  color:#6c7987;
  font-size:13px;
  line-height:1.45;
}
.need-card > i{
  color:var(--products-green);
  font-style:normal;
  font-size:26px;
}

.products-resource{
  padding:72px 0;
  background:#fff;
}
.products-resource-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}
.products-resource h2{
  margin:0;
  max-width:680px;
  color:var(--products-navy);
  font-family:"Manrope",sans-serif;
  font-size:clamp(36px,3.5vw,52px);
  line-height:1.03;
  letter-spacing:-.04em;
}
.products-resource p{
  max-width:640px;
  color:#657386;
  line-height:1.65;
}
.resource-items{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid var(--products-line);
  border-left:1px solid var(--products-line);
}
.resource-items div{
  min-height:126px;
  padding:24px;
  border-right:1px solid var(--products-line);
  border-bottom:1px solid var(--products-line);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.resource-items .material-symbols-rounded{
  color:var(--products-green);
  font-size:30px;
}
.resource-items strong{
  color:var(--products-navy);
  font-size:15px;
}

@media(max-width:1100px){
  .products-hero-grid{gap:50px}
  .family-card{grid-template-columns:1fr 190px}
  .products-section-head > p{width:min(460px,46%)}
}

@media(max-width:900px){
  .products-hero-grid{
    grid-template-columns:1fr;
    min-height:auto;
    gap:0;
  }
  .products-hero-copy{padding:58px 0 28px}
  .products-hero-summary{
    margin-bottom:52px;
    padding:24px 0 0;
    border-left:0;
    border-top:1px solid #cdd8df;
  }
  .products-hero-summary::before{
    top:-2px;
    left:0;
    width:78px;
    height:3px;
  }
  .products-hero-summary > strong{font-size:68px}
  .product-toolbar{grid-template-columns:1fr}
  .product-filters{
    justify-content:flex-start;
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:4px;
    scrollbar-width:none;
  }
  .product-filters::-webkit-scrollbar{display:none}
  .product-filter{flex:0 0 auto}
  .family-grid{grid-template-columns:1fr}
  .products-section-head{
    display:block;
  }
  .products-section-head > p{
    width:auto;
    max-width:680px;
    margin-top:18px;
  }
  .products-resource-grid{grid-template-columns:1fr;gap:32px}
}

@media(max-width:640px){
  .products-hero-copy h1{
    font-size:clamp(42px,12vw,56px);
  }
  .products-hero-copy > p{font-size:16px}
  .products-hero-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }
  .products-hero-actions .quote-btn{
    width:100%;
  }
  .products-ghost-link{
    justify-content:center;
  }
  .family-browser{padding:58px 0}
  .products-section-head h2,
  .products-section-head.compact h2{
    font-size:clamp(34px,9.5vw,42px);
  }
  .product-toolbar{
    padding:12px;
    margin-left:-4px;
    margin-right:-4px;
  }
  .product-search{grid-template-columns:40px 1fr}
  .family-card{
    min-height:0;
    grid-template-columns:1fr;
  }
  .family-card-copy{padding:24px 20px 22px}
  .family-card-top{margin-bottom:28px}
  .family-card h3{font-size:27px}
  .family-card-media{
    order:-1;
    min-height:220px;
    aspect-ratio:16/10;
  }
  .family-card.placeholder .family-card-media{min-height:190px}
  .family-card-link{margin-top:22px}
  .find-by-need{padding:58px 0}
  .need-grid{grid-template-columns:1fr}
  .need-card:nth-child(odd){border-right:0}
  .need-card{
    grid-template-columns:48px 1fr 26px;
    padding:18px 4px;
    gap:14px;
  }
  .need-icon{width:48px;height:48px;font-size:25px}
  .need-card strong{font-size:18px}
  .products-resource{padding:58px 0}
  .resource-items{grid-template-columns:1fr}
  .resource-items div{min-height:100px}
}