/* BARАKEH V2 — precise implementation of approved industrial premium direction.
   Visual-only layer for development. Odoo-owned content is not modified. */
:root { --bk-deep:#0a2744; --bk-accent:#0cab60; --bk-muted:#546575; --bk-surface:#f6f8fa; }
html,body { overflow-x:clip; }
.topbar { z-index:150; overflow:visible; }
.bk-topline { background:#0a2948; color:#e7f0f7; font-size:12px; }
.bk-topline-inner { min-height:37px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.bk-topline-message { letter-spacing:.035em; font-weight:550; }
.bk-topline-links { display:flex; gap:25px; align-items:center; }
.bk-topline-links a { display:inline-flex; gap:7px; align-items:center; color:#ebf3f8; white-space:nowrap; }
.bk-topline-links .material-symbols-rounded { font-size:16px; }
.topbar-inner { min-height:84px; gap:22px; }
.brand { flex:0 0 230px; width:230px; }
.brand img { width:200px; max-height:68px; }
.main-nav { gap:3px; margin-left:auto; }
.main-nav a { padding:12px 10px; font-size:12.5px; font-weight:700; border-radius:5px; }
.main-nav .bk-nav-home { color:#0b8050; position:relative; }
.main-nav .bk-nav-home:after { content:""; height:3px; border-radius:2px; background:var(--bk-accent); position:absolute; bottom:0; left:10px; right:10px; }
.bk-nav-product { position:relative; }
.bk-product-dropdown { display:none; position:absolute; top:calc(100% - 1px); left:-15px; width:465px; padding:22px; background:#fff; border:1px solid #e3edf1; border-radius:0 0 14px 14px; box-shadow:0 22px 48px rgba(7,30,50,.16); }
.bk-nav-product:hover .bk-product-dropdown,.bk-nav-product:focus-within .bk-product-dropdown { display:block; }
.bk-product-dropdown-head { display:flex; align-items:center; justify-content:space-between; padding:0 3px 13px; border-bottom:1px solid #e4eaed; }
.bk-product-dropdown-head strong { color:var(--bk-deep); font-size:15px; }
.bk-product-dropdown-head a { color:var(--bk-accent); display:inline-flex; align-items:center; gap:3px; }
.bk-product-dropdown-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; padding-top:12px; }
.bk-product-dropdown-grid a { display:flex; align-items:center; padding:12px; background:#f7fafb; border-radius:8px; color:#12304e; }
.bk-product-dropdown-grid a:hover { background:#eaf7f1; }
.bk-search-toggle { display:grid; width:38px; height:42px; place-items:center; border:0; border-radius:9px; background:transparent; color:#0a2948; cursor:pointer; }
.bk-search-toggle:hover { background:#e8f2ed; }
.language-btn { min-height:42px; border-radius:9px; }
.topbar-actions { gap:7px; margin-left:3px; }
.topbar-actions .quote-btn { min-height:43px; padding:0 17px; font-size:12px; border-radius:8px; box-shadow:none; }
.bk-search-panel { position:absolute; top:100%; left:0; right:0; z-index:130; background:#fff; border-top:1px solid #e7ecee; box-shadow:0 25px 50px rgba(7,30,50,.16); padding:26px 0; }
.bk-search-panel[hidden] { display:none; }
.bk-search-panel label { display:block; color:#27455d; font-size:12px; font-weight:750; text-transform:uppercase; letter-spacing:.1em; margin-bottom:12px; }
.bk-search-input-wrap { display:flex; align-items:center; gap:12px; border:1px solid #d6e4e7; border-radius:12px; padding:0 14px; }
.bk-search-input-wrap input { width:100%; min-width:0; padding:16px 0; border:0; outline:0; color:#16314a; font:inherit; background:transparent; }
.bk-search-close { background:none; border:0; padding:9px; cursor:pointer; color:#4b6175; }
.bk-search-results { display:flex; flex-wrap:wrap; gap:8px; margin-top:15px; }
.bk-search-results a { padding:10px 14px; border-radius:999px; background:#edf6f2; color:#0a6543; font-size:13px; font-weight:700; }
.bk-search-results a:hover { background:#d9efe3; }
.bk-search-results p { color:#526779; margin:4px 0; }
/* Full-bleed architectural hero with Odoo-controlled image */
.hero,.hero-inner { min-height:clamp(555px,64vw,640px); }
.hero { background-position:58% 50%; }
.hero-overlay {
  background:linear-gradient(90deg,rgba(4,24,46,.94) 0%,rgba(8,39,70,.83) 32%,rgba(8,39,70,.50) 54%,rgba(8,39,70,.05) 85%);
}
.hero::after { width:520px; height:520px; bottom:-300px; opacity:.25; }
.hero-copy { max-width:700px; padding:62px 0; }
.hero-eyebrow { border:0; border-radius:0; padding:0; background:transparent; color:#d2e5f2; backdrop-filter:none; font-size:11px; letter-spacing:.12em; }
.hero-eyebrow span { width:30px; height:4px; border-radius:0; background:#21c57c; }
.hero h1 { font-size:clamp(48px,5.15vw,79px); line-height:1.035; letter-spacing:-.045em; max-width:700px; }
.hero p { font-size:clamp(18px,1.7vw,22px); max-width:575px; margin-top:21px; line-height:1.5; }
.bk-hero-actions { display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.bk-hero-actions .hero-cta { min-height:51px; border-radius:8px; padding:0 25px; font-size:14px; }
.bk-hero-secondary { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:51px; padding:0 23px; border:1px solid rgba(255,255,255,.72); border-radius:8px; color:#fff; font-size:14px; font-weight:750; transition:background .2s; }
.bk-hero-secondary:hover { background:rgba(255,255,255,.13); }
/* Benefit strip is part of chosen design */
.bk-benefits { border-bottom:1px solid #e5e9ec; background:linear-gradient(180deg,#fff,#f8fafb); }
.bk-benefits-inner { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding-top:26px; padding-bottom:26px; gap:10px; }
.bk-benefit { display:flex; align-items:center; gap:15px; min-width:0; padding:9px 18px; border-right:1px solid #dce5e8; }
.bk-benefit:first-child { padding-left:0; }
.bk-benefit:last-child { border-right:0; }
.bk-benefit>.material-symbols-rounded { font-size:34px; flex:0 0 34px; color:#0a3554; font-variation-settings:"FILL" 0,"wght" 350,"GRAD" 0,"opsz" 36; }
.bk-benefit div { display:grid; gap:5px; }
.bk-benefit strong { color:#0b2947; font-size:13.5px; line-height:1.2; }
.bk-benefit div span { font-size:11.5px; color:#5f6d7b; line-height:1.4; }
/* Modern catalog: image-first cards with stronger composition */
.product-range { background:#fff; }
.product-range.section { padding-block:70px 100px; }
.product-range .section-head { margin-bottom:30px; }
.product-range .section-head h2 { font-size:clamp(32px,3vw,47px); }
.product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.product-card { border-radius:12px; box-shadow:0 5px 17px rgba(9,44,70,.06); }
.card-media { aspect-ratio:1.65/1; width:100%; object-fit:cover; }
.product-card-copy { padding:19px 20px 23px; }
.product-card h3 { font-size:20px; }
.product-card p { margin-bottom:10px; }
.product-card span { font-size:12.5px; }
.product-card:hover { transform:translateY(-5px); }
/* Remaining homepage sections keep their exact Odoo selectors */
.applications { background:#f6f8fa; }
.applications-intro { top:164px; }
.support-strip { background:linear-gradient(105deg,#082848,#0c4861); }
.contact-cta { background:linear-gradient(100deg,#eef8f3,#e8f3f4); }
@media(max-width:1400px) {
  .brand { flex-basis:195px; width:195px; }
  .brand img { width:185px; }
  .main-nav a { font-size:12px; padding-inline:7px; }
  .topbar-inner { gap:10px; }
}
@media(max-width:1120px) {
  .main-nav,.topbar-actions { display:none; }
  .mobile-menu-btn { display:grid; }
  .topbar-inner { min-height:76px; }
  .bk-topline-links a:last-child { display:none; }
  .bk-product-dropdown { display:none; }
  .mobile-menu { display:none; }
  .mobile-menu.open { display:block; }
  .mobile-menu a { font-size:14px; }
  .bk-benefits-inner { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bk-benefit:nth-child(2) { border-right:0; }
}
@media(max-width:768px) {
  .bk-topline-inner { min-height:30px; }
  .bk-topline-message { font-size:10px; }
  .bk-topline-links { gap:9px; }
  .bk-topline-links a:first-child { display:none; }
  .bk-topline-links a { font-size:10px; }
  .topbar-inner { min-height:69px; }
  .hero,.hero-inner { min-height:550px; }
  .hero { background-position:65% center; }
  .hero-overlay { background:linear-gradient(90deg,rgba(5,26,48,.94),rgba(7,32,58,.74)); }
  .hero-copy { padding-block:66px; }
  .hero h1 { font-size:clamp(36px,9.5vw,59px); max-width:100%; overflow-wrap:break-word; }
  .hero p { font-size:17px; max-width:32ch; }
  .bk-hero-actions { gap:10px; }
  .bk-hero-secondary,.bk-hero-actions .hero-cta { min-height:48px; padding-inline:17px; font-size:13px; width:auto; }
  .bk-benefits-inner { gap:0; padding-block:12px; }
  .bk-benefit { padding:15px 12px; border-right:0; border-bottom:1px solid #e7ecee; }
  .bk-benefit:nth-last-child(-n+2) { border-bottom:0; }
  .bk-benefit>.material-symbols-rounded { font-size:28px; flex-basis:28px; }
  .bk-benefit strong { font-size:12px; }
  .bk-benefit div span { font-size:10px; }
  .product-range.section { padding-block:56px; }
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
  .product-card h3 { font-size:16px; }
  .product-card p { font-size:11px; line-height:1.5; }
  .product-card-copy { padding:14px; }
  .card-media { aspect-ratio:4/3; }
  .applications-intro { position:static; }
}
@media(max-width:480px) {
  .bk-topline-message { max-width:57%; }
  .bk-topline-links a { font-size:0; }
  .bk-topline-links .material-symbols-rounded { font-size:18px; }
  .hero h1 { font-size:clamp(35px,9.7vw,47px); }
  .hero p { font-size:15.5px; }
  .bk-hero-actions .hero-cta,.bk-hero-secondary { flex:1 1 100%; }
  .bk-benefits-inner { grid-template-columns:1fr 1fr; }
  .bk-benefit { flex-direction:column; align-items:start; gap:7px; padding-inline:9px; }
  .bk-benefit:first-child { padding-left:9px; }
  .product-grid { grid-template-columns:1fr; }
  .product-card h3 { font-size:19px; }
  .product-card p { font-size:13px; }
  .card-media { aspect-ratio:16/10; }
}
/* RTL layout provisions activate only when Odoo translations exist */
html[dir="rtl"] .bk-topline-inner { flex-direction:row-reverse; }
html[dir="rtl"] .bk-benefit { border-left:1px solid #dce5e8; border-right:0; }
html[dir="rtl"] .bk-benefit:last-child { border-left:0; }
@media(prefers-reduced-motion:reduce) {
  .product-card,.card-media,.quote-btn,.hero-cta,.bk-hero-secondary { transition:none!important; }
}

/* V2.1 IMAGE-FIRST PRODUCT TILES
   The approved concept has full-bleed product photography with text overlaid.
   No CMS/Odoo fields are hidden, deleted, rewritten or hardcoded. */
.product-grid .product-card {
  position: relative;
  display: block;
  min-height: 345px;
  aspect-ratio: 1.22 / 1;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: 14px;
  background: #15324b;
  box-shadow: 0 12px 32px rgba(8,40,70,.12);
}
.product-grid .product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8,25,42,.04) 5%, rgba(8,30,50,.22) 38%, rgba(5,21,39,.94) 100%);
}
.product-grid .product-card .card-media {
  position: absolute;
  inset: 0;
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 0;
  aspect-ratio: auto;
  transform: scale(1);
  transition: transform .65s cubic-bezier(.2,.7,.3,1);
}
.product-grid .product-card:hover .card-media,
.product-grid .product-card:focus-visible .card-media { transform: scale(1.055); }
.product-grid .product-card .product-card-copy {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 24px 25px;
  background: transparent;
}
.product-grid .product-card h3 {
  color: #fff;
  font-size: clamp(20px, 1.65vw, 26px);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 8px;
  text-shadow: 0 2px 14px rgba(0,0,0,.18);
}
.product-grid .product-card p {
  color: rgba(247,250,255,.88);
  font-size: 13px;
  line-height: 1.5;
  min-height: 0;
  margin: 0 0 13px;
  max-width: 40ch;
}
.product-grid .product-card span {
  color: #93f2be;
  font-size: 13px;
  font-weight: 750;
  margin: 0;
}
.product-grid .product-card span .material-symbols-rounded { font-size: 19px; }
.product-grid .product-card:focus-visible { outline: 3px solid #36d68b; outline-offset: 3px; }
.product-grid .product-card:hover {
  box-shadow: 0 20px 44px rgba(8,40,70,.19);
}
@media (max-width: 1120px) {
  .product-grid .product-card { min-height: 300px; }
  .product-grid .product-card .product-card-copy { padding: 30px 18px 21px; }
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .product-grid .product-card { min-height: 285px; aspect-ratio: auto; }
  .product-grid .product-card h3 { font-size: 20px; }
  .product-grid .product-card p { font-size: 12px; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-grid .product-card { min-height: 315px; aspect-ratio: 1.26 / 1; }
  .product-grid .product-card h3 { font-size: 23px; }
  .product-grid .product-card p { font-size: 13px; }
  .product-grid .product-card .product-card-copy { padding: 35px 22px 24px; }
}
@media (prefers-reduced-motion:reduce) {
  .product-grid .product-card .card-media { transition: none; }
}
