/* PROFF-KZ visual/functionality fixes v12 — final public layer */
:root{
  --content-width:1240px;
  --heading-inset:48px;
}

/* One desktop field contract across public pages. */
.shell,.wrap,.header-inner,.footer-inner{
  width:min(var(--content-width),calc(100% - 48px));
  margin-inline:auto;
}

/* Align open-section headings to the same internal line as card headings. */
@media (min-width:1025px){
  .home-page > .section-intro{
    padding-inline:var(--heading-inset);
  }
  .home-page > .section-intro.brands-intro{
    grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);
  }
}

/* =========================================================
   ABOUT COMPANY — open/light, no outer underlay
   ========================================================= */
.home-page .company-section{
  margin-top:78px;
  padding:0 var(--heading-inset);
  color:var(--ink);
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  grid-template-areas:
    "kicker kicker"
    "main copy"
    "main ai"
    "features features";
  gap:22px 64px;
}
.home-page .company-kicker{
  grid-area:kicker;
  padding:0;
  border:0!important;
  color:#7e8490;
}
.home-page .company-main{grid-area:main;align-self:start}
.home-page .company-main .eyebrow{color:var(--accent)}
.home-page .company-main h2{
  max-width:610px;
  color:#111;
  font-size:clamp(37px,3.45vw,50px);
  line-height:1.02;
}
.home-page .company-copy,
.home-page .company-copy-rich{
  grid-area:copy;
  align-self:start;
  max-width:650px;
  padding-top:0!important;
  color:#656a73;
}
.home-page .company-copy-rich p{
  color:#656a73;
  font-size:14px;
  line-height:1.68;
}
.home-page .company-copy-rich strong{color:#111}
.home-page .company-ai-cta{
  grid-area:ai;
  align-self:start;
  width:230px;
  height:48px;
  margin:0!important;
  padding:0 18px;
  border-radius:999px;
  flex-direction:row;
  color:#fff;
}
.home-page .company-ai-cta span{font-size:12px}
.home-page .company-ai-cta span br{display:none}
.home-page .company-ai-cta b{align-self:auto;font-size:18px}
.home-page .company-scale-title{display:none!important}
.home-page .company-features{
  grid-area:features;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin-top:10px;
  border:0!important;
}
.home-page .company-feature{
  min-height:126px;
  padding:20px 22px 10px 0;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-rows:auto auto;
  column-gap:14px;
  align-content:center;
  color:#111;
  background:transparent!important;
  border:0!important;
  border-top:1px solid var(--line)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.home-page .company-feature:not(:first-child){padding-left:22px;border-left:1px solid var(--line)!important}
.home-page .company-feature:hover{transform:none;background:transparent!important}
.home-page .company-feature-icon{
  grid-column:1;grid-row:1/3;
  width:36px;height:36px;margin:0;
  color:var(--accent);
}
.home-page .company-feature b{
  grid-column:2;
  align-self:end;
  margin:0 0 5px;
  color:#111;
  font-size:12px;
}
.home-page .company-feature span{
  grid-column:2;
  align-self:start;
  color:#7b818b;
  font-size:10px;
  line-height:1.45;
}

/* =========================================================
   CONTACTS — clean heading, compact lead, proper spacing
   ========================================================= */
.home-page .branches-section.branches-section-light{
  margin-top:82px;
  padding:0;
  overflow:visible;
  color:var(--ink);
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.home-page .branches-section.branches-section-light::before,
.home-page .branches-section.branches-section-light::after{display:none!important}
.home-page .branches-section-light .branches-head{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(370px,.95fr);
  gap:72px;
  align-items:end;
  margin:0;
  padding:0 var(--heading-inset);
  border:0!important;
}
.home-page .branches-section-light .branches-title{align-self:end}
.home-page .branches-section-light .branches-head .eyebrow{margin:0 0 16px;color:var(--accent)}
.home-page .branches-section-light .branches-head h2{
  max-width:620px;
  margin:0;
  color:#111;
  font-size:clamp(37px,3.45vw,50px);
  line-height:1.02;
}
.home-page .branches-section-light .branches-side{
  display:block;
  max-width:500px;
  justify-self:end;
  align-self:end;
}
.home-page .branches-section-light .branches-lead{
  display:grid;
  gap:7px;
  max-width:500px;
  margin:0 0 3px;
  color:#6e747f;
  font-size:14px;
  line-height:1.58;
}
.home-page .branches-section-light .branches-lead span{display:block}
.home-page .branches-map-card{display:none!important}
.home-page .branches-section-light .branches-grid{
  margin-top:28px!important;
  padding:14px;
  border-radius:26px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 16px 48px rgba(20,35,70,.07);
}
.home-page .branches-section-light .branch-card{
  min-height:150px;
  padding:22px 22px 18px;
  background:#f5f7fb;
}
.home-page .branches-section-light .branch-card b{font-size:17px}
.home-page .branches-section-light .branch-card small{font-size:11px;line-height:1.45}
.home-page .branches-section-light .branch-phone{font-size:12px}
.home-page .branches-section-light .branch-num{font-size:10px}
.home-page .branches-section-light .branches-bottom{
  margin-top:14px;
  padding:16px 20px;
  min-height:76px;
  border:0!important;
  border-radius:20px;
  background:#071027!important;
  box-shadow:none;
}
.home-page .branches-section-light .branches-bottom span{
  color:#8996af;
  font-size:9px;
  letter-spacing:.12em;
}
.home-page .branches-section-light .branches-bottom a{
  color:#fff!important;
  font-size:12px;
  font-weight:600;
}
.home-page .branches-section-light .branches-whatsapp{
  width:238px;
  height:48px;
  padding:0 18px;
  background:var(--accent)!important;
  color:#fff!important;
}
.home-page .branches-section-light .branches-whatsapp span{
  color:#fff!important;
  font-size:12px!important;
  font-weight:700;
  letter-spacing:0;
}

/* =========================================================
   CATALOG — rebuilt first screen + non-overlapping controls
   ========================================================= */
.catalog-page .page-head{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:278px;
  padding:42px 48px;
  display:grid;
  grid-template-columns:minmax(0,1.16fr) minmax(360px,.84fr);
  gap:64px;
  align-items:center;
  border:1px solid #dfe5f1;
  border-radius:28px;
  background:
    radial-gradient(circle at 92% 18%,rgba(27,95,217,.18),transparent 31%),
    linear-gradient(135deg,#fff 0%,#fff 57%,#f1f5ff 100%);
  box-shadow:0 18px 55px rgba(20,35,70,.07);
}
.catalog-page .page-head::after{
  content:"";
  position:absolute;
  right:-120px;
  bottom:-220px;
  width:430px;
  height:430px;
  border:1px solid rgba(27,95,217,.18);
  border-radius:50%;
  z-index:-1;
}
.catalog-page .page-head h1{
  max-width:690px;
  font-size:clamp(45px,4.2vw,61px);
  line-height:.99;
  letter-spacing:-.057em;
  font-weight:500;
}
.catalog-page .page-head>div:last-child{
  max-width:470px;
  justify-self:end;
  padding:25px 26px;
  border:1px solid rgba(174,191,227,.55);
  border-radius:22px;
  background:rgba(255,255,255,.7);
  backdrop-filter:blur(12px);
}
.catalog-page .page-head p:not(.eyebrow){
  max-width:410px;
  margin:0 0 20px;
  color:#656c79;
  font-size:14px;
  line-height:1.62;
}
.catalog-page .audience-toggle{background:#f5f7fb}
.catalog-page .catalog-controls{
  position:static!important;
  top:auto!important;
  z-index:auto!important;
  margin:24px 0 16px;
  padding:13px;
  border-radius:22px;
  box-shadow:0 10px 32px rgba(20,35,70,.06);
}
.catalog-page .catalog-result-bar{margin:0 0 16px}
.catalog-page .catalog-grid{align-items:stretch}
.catalog-page .product-card{
  min-height:382px;
  padding:12px;
}
.catalog-page .product-card h3{margin-bottom:6px}
.catalog-page .product-more{
  margin-top:4px;
  color:#8d929b!important;
  font-size:10px!important;
  line-height:1.35;
  font-weight:500!important;
  opacity:.62;
}
.catalog-page .price-row{margin-top:auto;padding-top:12px}
.catalog-page .catalog-load-more{
  min-height:1px;
  padding:0;
  margin:0;
}
.catalog-page .catalog-load-more button{display:none!important}

/* Professional access modal used by all retail/guest audience toggles. */
.pro-access-backdrop{
  position:fixed;
  inset:0;
  z-index:1600;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(7,16,39,.62);
  backdrop-filter:blur(10px);
}
.pro-access-backdrop[hidden]{display:none}
.pro-access-dialog{
  width:min(560px,100%);
  padding:34px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:28px;
  background:#fff;
  box-shadow:0 30px 100px rgba(0,0,0,.28);
}
.pro-access-dialog .eyebrow{margin-bottom:13px}
.pro-access-dialog h2{
  margin:0 0 15px;
  font-size:clamp(30px,4vw,42px);
  line-height:1.02;
  letter-spacing:-.045em;
}
.pro-access-dialog p{
  margin:0;
  color:#656c79;
  font-size:14px;
  line-height:1.65;
}
.pro-access-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-top:28px;
}
.pro-access-actions button,
.pro-access-actions a{
  min-height:48px;
  padding:0 17px;
  border:1px solid var(--line);
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:#fff;
  color:#111;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.pro-access-actions a{
  border-color:var(--accent);
  background:var(--accent);
  color:#fff;
}

/* Dark footer: white transparent logo, never a white plate. */
.footer-logo{
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
}
.footer-logo img{
  width:132px;
  filter:brightness(0) invert(1);
}

@media (max-width:1024px){
  :root{--heading-inset:28px}
  .home-page .company-section{grid-template-columns:1fr;grid-template-areas:"kicker" "main" "copy" "ai" "features";gap:20px;padding-inline:var(--heading-inset)}
  .home-page .company-features{grid-template-columns:repeat(2,1fr)}
  .home-page .company-feature:nth-child(odd){border-left:0!important;padding-left:0}
  .home-page .branches-section-light .branches-head{grid-template-columns:1fr;gap:22px;padding-inline:var(--heading-inset)}
  .home-page .branches-section-light .branches-side{justify-self:start;max-width:680px}
  .catalog-page .page-head{grid-template-columns:1fr;gap:28px;padding:36px 34px}
  .catalog-page .page-head>div:last-child{justify-self:start;max-width:650px}
}

@media (max-width:820px){
  .home-page .branches-section-light .branches-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}
  .home-page .branches-section-light .branch-card{min-height:130px}
  .home-page .branches-section-light .branches-bottom{grid-template-columns:1fr 1fr}
  .home-page .branches-section-light .branches-whatsapp{grid-column:1/-1;width:100%}
  .catalog-page .catalog-controls{position:static!important}
}

@media (max-width:560px){
  :root{--heading-inset:0px}
  .shell,.wrap,.header-inner,.footer-inner{width:min(var(--content-width),calc(100% - 28px))}
  .home-page .company-section{margin-top:58px;padding:0}
  .home-page .company-features{grid-template-columns:1fr}
  .home-page .company-feature:not(:first-child){border-left:0!important;padding-left:0}
  .home-page .branches-section.branches-section-light{margin-top:58px}
  .home-page .branches-section-light .branches-head{padding:0}
  .home-page .branches-section-light .branches-grid{grid-template-columns:1fr;padding:10px}
  .home-page .branches-section-light .branches-bottom{grid-template-columns:1fr;padding:16px}
  .home-page .branches-section-light .branches-whatsapp{grid-column:1}
  .catalog-page .page-head{padding:30px 24px;border-radius:24px}
  .catalog-page .page-head h1{font-size:40px}
  .catalog-page .page-head>div:last-child{padding:20px}
  .pro-access-dialog{padding:28px 22px;border-radius:24px}
  .pro-access-actions{grid-template-columns:1fr}
}

/* Requested: no horizontal underline in the About section. */
.home-page .company-feature{border-top:0!important}
