/* Barakeh V2.2 shared frontend skin.
 * Applies only to company pages and the product directory.
 * Keeps Odoo product/family rendering, content and links untouched.
 */
body.products-hub,body.barakeh-company-page {
  --bk-page-navy:#082844;
  --bk-page-green:#0cab60;
  --bk-page-soft:#f5f8fa;
  --bk-page-line:#e3eaee;
  color:#17324a;
  background:#fff;
}
body.products-hub .topbar,
body.barakeh-company-page .topbar {
  background:rgba(255,255,255,.975);
  border-bottom:1px solid #edf1f2;
  box-shadow:0 6px 25px rgba(6,38,69,.055);
}
body.products-hub .topbar-inner,
body.barakeh-company-page .topbar-inner {min-height:86px}
body.products-hub .main-nav a,
body.barakeh-company-page .main-nav a {
  padding:12px 13px;
  border-radius:9px;
  transition:background-color .2s,color .2s;
}
body.products-hub .main-nav a:hover,
body.barakeh-company-page .main-nav a:hover {background:#edf8f2;color:#087044}
body.products-hub .quote-btn,
body.barakeh-company-page .quote-btn {
  border-radius:9px;
  background:#0aab60;
  box-shadow:0 7px 21px rgba(12,171,96,.16);
}
body.products-hub .language-btn {border-radius:9px}

/* Architectural product directory — same picture asset, no CMS changes */
.products-hub .products-hero {
  background:
    linear-gradient(92deg,rgba(5,27,48,.95) 0%,rgba(7,38,69,.90) 40%,rgba(7,38,69,.55) 100%),
    url("assets/hero-building.webp") center 48%/cover no-repeat;
  border:0;
  color:white;
  overflow:hidden;
}
.products-hub .products-hero-grid {min-height:520px;gap:clamp(32px,6vw,94px)}
.products-hub .products-hero-copy h1 {
  color:#fff;
  line-height:1.04;
  font-size:clamp(45px,5.2vw,78px);
  letter-spacing:-.05em;
  text-wrap:balance;
}
.products-hub .products-hero-copy > p {color:#dce9f2;font-size:clamp(17px,1.7vw,20px)}
.products-hub .products-hero .eyebrow {color:#b7ecd3}
.products-hub .products-ghost-link {color:#f0f7f8}
.products-hub .products-hero-summary {
  padding:35px 31px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:18px;
  background:rgba(255,255,255,.12);
  box-shadow:0 22px 70px rgba(0,0,0,.13);
  backdrop-filter:blur(16px);
}
.products-hub .products-hero-summary::before {display:none}
.products-hub .summary-kicker {color:#d9f7e7}
.products-hub .products-hero-summary > strong,
.products-hub .products-hero-summary h2,
.products-hub .summary-meta b {color:#fff}
.products-hub .products-hero-summary > p {color:#d4e4ef}
.products-hub .summary-meta {border-color:rgba(255,255,255,.25)}
.products-hub .summary-meta span {color:#c2dbe9}
.products-hub .family-browser {padding:clamp(64px,7vw,104px) 0}
.products-hub .products-section-head h2 {font-size:clamp(37px,3.8vw,59px)}
.products-hub .product-toolbar {padding:15px;border-radius:14px;background:#f7fafb}
.products-hub .product-search {border-radius:10px;overflow:hidden}
.products-hub .family-grid {gap:23px}
.products-hub .family-card {
  min-height:325px;
  border:1px solid #e6edf0;
  border-radius:16px;
  box-shadow:0 10px 32px rgba(8,41,68,.065);
  transition:transform .25s,box-shadow .25s;
}
.products-hub .family-card:hover {transform:translateY(-5px);box-shadow:0 20px 48px rgba(8,41,68,.13)}
.products-hub .family-card-copy {padding:30px 26px}
.products-hub .family-card-media {background:#e5f0f2}
.products-hub .family-card-media img {transition:transform .45s}
.products-hub .family-card:hover .family-card-media img {transform:scale(1.04)}
.products-hub .family-status {border-radius:100px}
.products-hub .family-card-link {font-size:13px}
.products-hub .products-resource {background:#fafcfc}
.products-hub .resource-items div {background:#fff}

/* Company pages: elegant, non-destructive visual hierarchy */
.barakeh-company-page .company-hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:clamp(85px,9vw,125px) 0;
  background:
    linear-gradient(90deg,rgba(6,31,55,.94) 0%,rgba(8,42,73,.85) 48%,rgba(8,42,73,.48) 100%),
    url("assets/hero-building.webp") center 52%/cover no-repeat;
}
.barakeh-company-page .company-hero .eyebrow {color:#aee4c7}
.barakeh-company-page .company-hero h1 {font-size:clamp(44px,5.4vw,76px);line-height:1.03}
.barakeh-company-page .company-hero p {max-width:700px;color:#e4eff4}
.barakeh-company-page .company-content.section {padding:clamp(68px,7.3vw,108px) 0}
.barakeh-company-page .company-card {
  border-radius:16px;
  border:1px solid #e4ecee;
  background:#fff;
  box-shadow:0 9px 28px rgba(9,40,67,.055);
  transition:box-shadow .25s,transform .25s;
}
.barakeh-company-page .company-card:hover {
  transform:translateY(-4px);
  box-shadow:0 17px 38px rgba(9,40,67,.10);
}
.barakeh-company-page .company-contact {
  background:linear-gradient(115deg,#eef8f3,#eaf3f5);
}
.barakeh-company-page .footer,
.products-hub .footer {background:#08263e}
@media(max-width:1100px){
  body.products-hub .topbar-inner,body.barakeh-company-page .topbar-inner {min-height:76px}
  .products-hub .products-hero-grid {gap:30px}
}
@media(max-width:900px){
  .products-hub .products-hero-grid {grid-template-columns:1fr;min-height:auto}
  .products-hub .products-hero-copy {padding:69px 0 30px}
  .products-hub .products-hero-summary {margin-bottom:54px;padding:25px}
  .products-hub .family-grid {grid-template-columns:1fr}
}
@media(max-width:640px){
  .products-hub .products-hero {background-position:60% center}
  .products-hub .products-hero-copy h1 {font-size:clamp(41px,10vw,59px)}
  .products-hub .products-hero-copy > p {font-size:16px}
  .products-hub .products-hero-summary > strong {font-size:62px}
  .products-hub .family-card {border-radius:13px}
  .products-hub .family-card-copy {padding:22px}
  .barakeh-company-page .company-hero {padding:72px 0}
  .barakeh-company-page .company-hero h1 {font-size:clamp(40px,11vw,56px)}
}
@media(prefers-reduced-motion:reduce){
  .products-hub .family-card,
  .products-hub .family-card-media img,
  .barakeh-company-page .company-card {transition:none}
}
