/* Микра-АЯ – calm corporate style for the separate pages (reference: ptsbg.eu).
   Open Sans, light headings with a short navy rule, indented body text, lots of white,
   photos with one big rounded corner, round photos with rings, thin lines instead of boxes, dark footer.
   Loaded after main.css and overrides it. */
body.corp{--fb:"Open Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;--fs:var(--fb);--txt:#45454d;--head:#2b2a3a;--muted:#7a7a86;--panel:#f3f3f6;--hair:#e4e4ea;
  --navh:92px;font:400 16px/1.75 var(--fb);color:var(--txt);background:#fff}
body.corp h1,body.corp h2,body.corp h3{font-family:var(--fb);color:var(--head);letter-spacing:0}
body.corp h1{font-weight:400;font-size:clamp(38px,4.4vw,60px);line-height:1.15;margin:0}
body.corp h1 b{font-weight:700}
body.corp h2{font-weight:400;font-size:clamp(30px,3.1vw,44px);line-height:1.2;margin:0 0 34px}
body.corp h3{font-weight:600;font-size:21px;line-height:1.3}
:where(body.corp) p{margin:0 0 1.1em}
body.corp a{color:var(--navy)}
.corp .wrap{width:min(1240px,100%);padding:0 32px}

/* the short rule under every heading */
.ruled::after{content:"";display:block;width:84px;height:2px;margin-top:20px;background:var(--navy)}
.ruled.center{text-align:center}.ruled.center::after{margin-left:auto;margin-right:auto}
.ruled.light::after{background:#9aa0e6}
h2.ruled{margin-bottom:38px}
h3.ruled::after{width:54px;margin-top:14px}
.indent{padding-left:clamp(0px,3.4vw,52px)}
.indent p{color:var(--txt)}
.center{text-align:center}
.sub{color:var(--muted);margin:-18px 0 50px}

/* buttons */
.corp .btn{font-family:var(--fb);font-weight:600;font-size:14.5px;letter-spacing:.01em;min-height:48px;padding:13px 30px;box-shadow:0 10px 24px -14px rgba(38,34,97,.7)}
.btn-line{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 28px;border:1.5px solid var(--navy);border-radius:999px;
  font:600 14.5px/1 var(--fb);color:var(--navy);text-decoration:none;background:#fff;transition:background .25s,color .25s}
.btn-line:hover,a:hover>.btn-line{background:var(--navy);color:#fff}
.btn-line.sm{min-height:40px;padding:9px 22px;font-size:13.5px}
.btns{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}

/* header: white, logo left, plain text menu, phone on the right */
.corp #nav{background:rgba(255,255,255,.97);box-shadow:0 1px 0 var(--hair)}
.corp #nav.scrolled{box-shadow:0 1px 0 var(--hair),0 10px 30px -24px rgba(0,0,0,.35)}
.corp .bar{height:var(--navh)}
.corp .logo-img{height:66px}
.corp #nav.scrolled .logo-img{height:54px}
.corp .links{gap:34px}
.corp .links a{font:500 15px/1 var(--fb);color:var(--txt)}
.corp .links a::after{bottom:-2px;height:2px}
.corp .links a.on,.corp .links a:hover{color:var(--navy)}
.nav-phone{display:flex;align-items:center;gap:8px;font:600 15px/1 var(--fb);color:var(--navy);text-decoration:none;white-space:nowrap}
.nav-phone svg{width:18px;height:18px;fill:none;stroke:var(--navy);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* page opening: text left, photo right on a big light panel */
.opening{position:relative;isolation:isolate;padding:calc(var(--navh) + clamp(30px,4vw,60px)) 0 clamp(50px,6vw,90px);overflow:hidden}
.opening::before{content:"";position:absolute;right:0;top:0;bottom:clamp(30px,4vw,60px);width:38%;background:var(--panel);border-bottom-left-radius:240px;z-index:-1}
.opening.plain::before{width:30%;bottom:0}
.opening-in{display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(30px,5vw,80px);align-items:center}
.opening-txt .indent{margin-top:32px}
.opening-txt .indent p{font-size:16.5px}
.pre{margin:0 0 18px;font:600 12.5px/1 var(--fb);letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.crumbs{display:flex;gap:8px;align-items:center;margin:0 0 26px;font:400 13px/1 var(--fb);color:var(--muted)}
.crumbs a{color:var(--muted);text-decoration:none}.crumbs a:hover{color:var(--navy)}
.crumbs [aria-current]{color:var(--txt)}
.shot{margin:0;position:relative}
.shot img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:0 150px 0 150px;box-shadow:0 30px 60px -36px rgba(20,20,40,.55)}
.shot.sm img{border-radius:0 100px 0 100px}
/* a fine dot grid next to the big photos */
.opening .shot::after{content:"";position:absolute;left:-46px;bottom:-34px;width:150px;height:120px;z-index:-1;
  background:radial-gradient(circle,#c7c9dc 1.3px,transparent 1.6px) 0 0/14px 14px}

.sec{padding:clamp(70px,8vw,110px) 0}
.two{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(30px,5vw,80px);align-items:start}

/* home: what we do – photo, heading, text, outline button. No boxes. */
.serv{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(24px,3.4vw,48px)}
.serv a{display:flex;flex-direction:column;align-items:flex-start;height:100%;text-decoration:none;color:inherit}
.serv-img{display:block;width:100%;overflow:hidden;border-radius:0 80px 0 0}
.serv-img img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.8,.2,1)}
.serv a:hover .serv-img img{transform:scale(1.05)}
.serv h3{margin:26px 0 10px;font-size:23px}
.serv p{color:var(--txt);margin-bottom:24px}
.serv .btn-line{margin-top:auto}

/* home: about with round photos */
.about-home{position:relative;overflow:hidden;isolation:isolate}
.about-home::before{content:"";position:absolute;left:-260px;top:10%;width:520px;height:520px;border-radius:50%;background:var(--panel);z-index:-1}
.ah-in{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.ah-in .btn{margin-top:14px}
.rings{position:relative;height:480px}
.ring{position:absolute;display:block;border-radius:50%;overflow:hidden;box-shadow:0 0 0 16px #fff,0 0 0 17px var(--hair),0 20px 50px -20px rgba(20,20,40,.5)}
.ring img{width:100%;height:100%;object-fit:cover}
.r1{width:330px;height:330px;left:6%;top:70px}
.r2{width:220px;height:220px;right:2%;top:0}
.r3{width:170px;height:170px;right:12%;bottom:6px;filter:grayscale(1)}
.rings::before{content:"";position:absolute;right:0;bottom:60px;width:180px;height:150px;background:radial-gradient(circle,#c7c9dc 1.3px,transparent 1.6px) 0 0/14px 14px}

/* numbers: plain row between two hairlines */
.numbers{border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);background:#fff}
.numbers dl{display:grid;grid-template-columns:repeat(4,1fr);margin:0;padding:46px 0}
.numbers div{text-align:center;padding:0 16px}
.numbers div+div{border-left:1px solid var(--hair)}
.numbers dt{font:300 clamp(42px,4.4vw,60px)/1 var(--fb);color:var(--navy)}
.numbers dd{margin:12px 0 0;font-size:14.5px;color:var(--muted)}

/* dark band with the three bases */
.dark-band{padding:clamp(70px,8vw,110px) 0;background:#1f1e2b;color:#c9c9d3}
.dark-band h2{color:#fff}
.dbases{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr)}
.dbases li{padding:6px 40px 6px}
.dbases li+li{border-left:1px solid rgba(255,255,255,.12)}
.dn{display:block;font:300 54px/1 var(--fb);color:rgba(255,255,255,.18);margin-bottom:18px}
.dk{margin:0 0 6px;font-size:12.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#9aa0e6}
.dark-band h3{color:#fff;font-weight:400;font-size:32px;margin-bottom:10px}
.dm{color:#a5a5b2;margin-bottom:12px}
.dp a{color:#fff;font-size:18px;font-weight:600;text-decoration:none}
.dl{display:inline-block;margin-top:6px;color:#c9cdff;font-weight:600;font-size:14.5px;text-decoration:none;border-bottom:1px solid rgba(201,205,255,.4);padding-bottom:3px}
.dl:hover{color:#fff;border-color:#fff}

/* closing call to action – centered, no box */
.closing{padding:clamp(70px,8vw,110px) 0;background:var(--panel)}
.closing-in{text-align:center;max-width:760px}
.closing h2.ruled::after{margin-left:auto;margin-right:auto}
.closing p{font-size:17px}
.closing .btns{justify-content:center}

/* brand logos above the footer */
.logos{padding:34px 0;border-top:1px solid var(--hair)}
.logos ul{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:22px 30px;list-style:none;margin:0;padding:0}
.logos img{height:34px;width:auto;max-width:120px;object-fit:contain;filter:grayscale(1);opacity:.55;transition:filter .3s,opacity .3s}
.logos img:hover{filter:none;opacity:1}

/* footer */
.corp-foot{background:#24232c;color:#b9b9c4;padding:70px 0 0}
.corp-foot::before,.corp-foot::after{display:none}
.fcols{display:grid;grid-template-columns:1.3fr .9fr 1fr 1.2fr;gap:40px;padding-bottom:50px}
.corp-foot h3{color:#fff;font-size:16px;font-weight:600;margin:0 0 18px}
.corp-foot ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.corp-foot a{color:#d6d6de;text-decoration:none}
.corp-foot a:hover{color:#fff}
.fbrand .foot-logo{height:62px;width:auto;margin-bottom:18px}
.fbrand p{font-size:14.5px;max-width:30ch}
.fbases li{display:flex;flex-direction:column;font-size:14.5px}
.fbases b{color:#fff;font-weight:600}
.fcontact{padding:26px 28px;background:#2d2c37}
.fcontact p{font-size:14.5px;line-height:1.9;margin:0 0 14px}
.fb{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#3a3946}
.fb svg{width:16px;height:16px;fill:#fff}
.corp-foot .foot-legal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 30px;padding:22px 32px 28px;border-top:1px solid rgba(255,255,255,.08)}
.corp-foot .foot-legal nav{display:flex;flex-wrap:wrap;gap:6px 22px}
.corp-foot .foot-legal nav a,.corp-foot .foot-legal nav button{font:400 13px/1.4 var(--fb);color:#b9b9c4;background:none;border:0;padding:0;cursor:pointer}
.corp-foot .foot-legal p{margin:0;font-size:12.5px;color:#8d8d99;max-width:80ch}

/* lists */
ol.nums{list-style:none;counter-reset:n;margin:10px 0 0;padding:0;display:grid;gap:20px}
ol.nums li{counter-increment:n;position:relative;padding-left:44px;color:var(--txt)}
ol.nums li::before{content:counter(n) ".";position:absolute;left:0;top:0;font-weight:700;color:var(--navy)}
ol.nums b{display:block;color:var(--head);font-weight:600;font-size:17px;margin-bottom:2px}
ol.nums.big{gap:28px}
ol.nums.big li::before{font:300 30px/1 var(--fb);top:-2px}
ul.ticks{list-style:none;margin:0;padding:0;display:grid;gap:10px}
ul.ticks li{position:relative;padding-left:30px;font-weight:600;color:var(--head)}
ul.ticks li::before{content:"";position:absolute;left:2px;top:7px;width:12px;height:7px;border-left:2px solid var(--navy);border-bottom:2px solid var(--navy);transform:rotate(-45deg)}
.side-note{margin:-8px 0 14px;color:var(--muted)}

/* about page: history in alternating rows */
.history{background:linear-gradient(180deg,#fff,var(--panel) 40%,#fff)}
.story{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,6vw,90px);align-items:center;margin:0 0 clamp(60px,7vw,100px)}
.story:last-child{margin-bottom:0}
.story.rev .shot{order:2}
.yr{display:block;margin:0 0 6px;font:300 clamp(56px,6vw,88px)/1 var(--fb);color:rgba(38,34,97,.2)}
.story h3{font-size:clamp(24px,2.3vw,30px);font-weight:400;margin-bottom:24px}
.cols3{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(24px,4vw,60px)}
.cols3 li{border-top:1px solid var(--hair);padding-top:26px}
.cn{display:block;font:300 40px/1 var(--fb);color:var(--navy);margin-bottom:16px}
.cols3 h3{margin-bottom:10px}

/* distribution: wide photo + areas */
.wide-photo img{display:block;width:100%;height:clamp(240px,30vw,440px);object-fit:cover}
.jump a{margin:0 10px;font-weight:600;text-decoration:none;border-bottom:1.5px solid var(--navy);padding-bottom:2px}
.area{scroll-margin-top:calc(var(--navh) + 20px);padding:44px 0;border-top:1px solid var(--hair)}
.area:last-of-type{border-bottom:1px solid var(--hair)}
.area>header{display:flex;align-items:flex-start;gap:24px;margin-bottom:26px}
.an{font:300 46px/1 var(--fb);color:rgba(38,34,97,.25);min-width:64px}
.ak{margin:0 0 4px;font-size:12.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--navy)}
.area h3{font-size:32px;font-weight:400;margin:0 0 6px}
.am{margin:0;color:var(--muted)}
.am a{font-weight:600;text-decoration:none}
.acount{margin:0 0 0 auto;text-align:right;color:var(--muted);font-size:14px}
.acount b{display:block;font:300 44px/1 var(--fb);color:var(--navy)}
.plist{list-style:none;margin:0;padding:0 0 0 88px;columns:4 180px;column-gap:30px}
.plist li{padding:5px 0;break-inside:avoid;border-bottom:1px dotted #d9d9e2;font-size:15px}
.plist li.town{font-weight:700;color:var(--navy)}
.note{margin:36px auto 0;max-width:640px;text-align:center;color:var(--muted)}
/* FAQ as plain lines */
.corp .faq{gap:0}
.corp .faq details{background:none;border:0;border-bottom:1px solid var(--hair);border-radius:0;box-shadow:none;padding:0}
.corp .faq details:first-child{border-top:1px solid var(--hair)}
.corp .faq summary{padding:20px 40px 20px 0;font:600 16.5px/1.4 var(--fb);color:var(--head)}
.corp .faq details p{padding:0 0 20px;margin:0;color:var(--txt)}

/* contacts */
.ccols{display:grid;grid-template-columns:repeat(3,1fr)}
.ccol{display:flex;flex-direction:column;padding:0 40px}
.ccol:first-child{padding-left:0}.ccol:last-child{padding-right:0}
.ccol+.ccol{border-left:1px solid var(--hair)}
.ccol h3{font-size:32px;font-weight:400;margin-bottom:26px}
.clist{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.clist span{display:block;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.clist a,.clist em{font-style:normal;font-size:17px;font-weight:600;color:var(--head);text-decoration:none}
.clist a:hover{color:var(--navy)}
.carea{margin:auto 0 0;padding-top:24px;font-size:14.5px;color:var(--muted)}
.carea a{font-weight:600}
.form-sec{background:var(--panel)}
#forma{scroll-margin-top:var(--navh)}
.corp .form-box{border-radius:0;box-shadow:none;border:0;background:#fff;padding:36px 34px}
.corp form input,.corp form select,.corp form textarea{border-radius:3px;font-family:var(--fb)}
.corp form label{font-family:var(--fb)}
.job-form .sub{margin:-20px 0 26px}

@media (max-width:1060px){
  .corp .links{gap:22px}
  .nav-phone span{display:none}
  .opening-in,.two,.ah-in,.story{grid-template-columns:1fr}
  .story.rev .shot{order:0}
  .opening::before{width:60%;bottom:auto;height:60%;top:auto}
  .serv{grid-template-columns:1fr 1fr}
  .serv li:last-child{grid-column:1/-1}
  .dbases{grid-template-columns:1fr}
  .dbases li{padding:28px 0}.dbases li+li{border-left:0;border-top:1px solid rgba(255,255,255,.12)}
  .ccols{grid-template-columns:1fr}
  .ccol{padding:34px 0}.ccol+.ccol{border-left:0;border-top:1px solid var(--hair)}
  .fcols{grid-template-columns:1fr 1fr}
  .rings{height:420px;max-width:560px}
}
@media (max-width:760px){
  body.corp{--navh:76px}
  .corp .logo-img,.corp #nav.scrolled .logo-img{height:52px}
  .corp .wrap{padding:0 20px}
  .opening{padding-top:calc(var(--navh) + 24px)}
  .shot img{border-radius:0 90px 0 90px}
  .opening .shot::after{display:none}
  .serv{grid-template-columns:1fr}
  .numbers dl{grid-template-columns:1fr 1fr;row-gap:30px}
  .numbers div:nth-child(3){border-left:0}
  .rings{height:330px}
  .r1{width:230px;height:230px;left:0;top:60px}.r2{width:150px;height:150px}.r3{width:120px;height:120px;right:4%}
  .cols3{grid-template-columns:1fr}
  .area>header{flex-wrap:wrap;gap:12px}
  .an{min-width:0}
  .acount{margin:0;text-align:left;width:100%}
  .acount b{display:inline;font-size:30px;margin-right:6px}
  .plist{padding-left:0;columns:2}
  .fcols{grid-template-columns:1fr}
  .corp-foot .foot-legal{padding:22px 20px 28px}
  .corp .form-box{padding:26px 20px}
}

/* --- fixes: keep button/dark-section colours above the general link and heading colours --- */
body.corp .btn{color:#fff}
body.corp .btn-white{color:var(--navy)}
body.corp .serv-img img,body.corp .shot img,body.corp .ring img,body.corp .wide-photo img{height:auto}
body.corp .ring img{height:100%}
body.corp .wide-photo img{height:clamp(240px,30vw,440px)}
body.corp .dark-band h2,body.corp .dark-band h3{color:#fff}
body.corp .dark-band .dp a{color:#fff}
body.corp .dark-band .dl{color:#c9cdff}
body.corp .dark-band .dl:hover{color:#fff}
body.corp .corp-foot h3{color:#fff}
body.corp .corp-foot a{color:#d6d6de}
body.corp .corp-foot a:hover{color:#fff}
body.corp .corp-foot .foot-legal a{color:#b9b9c4;text-decoration:underline}

/* on the home page the header floats over the bottles until you scroll, as before */

/* home opening: the floating bottles on a clean white page with one light panel – no stripes */
body.corp .hero-clean{background:#fff;isolation:isolate}
.hero-clean::before{content:"";position:absolute;right:0;top:0;bottom:56px;width:46%;background:var(--panel);border-bottom-left-radius:300px;z-index:-1}
.hero-clean::after{content:"";position:absolute;left:47%;bottom:40px;width:150px;height:110px;z-index:-1;background:radial-gradient(circle,#c7c9dc 1.3px,transparent 1.6px) 0 0/14px 14px}
.hero-clean .hero-in{padding-left:max(32px,calc((100vw - 1240px)/2 + 32px))}
.hero-clean .hero-txt{width:min(560px,40vw);margin-top:0}
.hero-clean .pre{margin:0 0 18px}
body.corp .hero-clean h1{font-weight:400;font-size:clamp(36px,3.6vw,58px);line-height:1.18;color:var(--head);margin:0}
body.corp .hero-clean h1 b{font-weight:700}
.hero-clean .indent{margin-top:30px}
.hero-clean .indent p{font-size:16.5px}
.hero-clean .sh{background:radial-gradient(closest-side,rgba(30,30,50,.22),rgba(30,30,50,0))}
@media (max-width:1060px){
  .hero-clean::before{width:100%;top:auto;height:52%;bottom:0;border-radius:200px 0 0 0}
  .hero-clean::after{display:none}
  .hero-clean .hero-in{padding:0 32px}
  .hero-clean .hero-txt{width:100%}
}
@media (max-width:760px){.hero-clean .hero-in{padding:0 20px}body.corp .hero-clean h1{font-size:32px}}
@media (min-width:1061px){
  /* bottles stay on the right half, under the menu, never over the text */
  .hero-clean .hero-vis{width:min(66vw,1150px);top:calc(var(--navh) - 6px)}
}

/* ===== home opening: the approved old look (PT Serif, navy accent, ribbons bottom-left) with the real photo of the Haskovo base ===== */
body.corp .hero.hero-old{--fs:"PT Serif",Georgia,"Times New Roman",serif;--fb:Montserrat,system-ui,-apple-system,"Segoe UI",sans-serif}
body.corp .hero-old h1{font-family:var(--fs);font-weight:700;color:var(--navy);line-height:1.16;letter-spacing:-.005em;font-size:clamp(36px,3.8vw,72px);margin:0 0 clamp(22px,2.4vw,44px)}
body.corp .hero-old .kicker{margin:0 0 4px}
body.corp .hero-old .btn{min-height:50px;padding:clamp(15px,1.25vw,22px) clamp(24px,2.1vw,38px);font-size:clamp(14px,1.05vw,19px);font-weight:600;letter-spacing:0}
.hero-old .hero-txt{width:38vw}
/* the photo fills the right side; its left edge is cut at the same 45° as the navy ribbons */
.hero-pic{position:absolute;z-index:1;right:0;top:var(--navh);bottom:0;width:60vw;margin:0}
.hero-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 60%;clip-path:polygon(26% 0,100% 0,100% 100%,0 100%)}
.hp-band{position:absolute;inset:0;z-index:2;pointer-events:none}
.hp-band.b1{background:var(--navy);clip-path:polygon(23% 0,25.2% 0,-.8% 100%,-3% 100%)}
.hp-band.b2{background:var(--blue);opacity:.45;clip-path:polygon(20% 0,20.8% 0,-5.2% 100%,-6% 100%)}
.hero-old .hero-lines{z-index:2}
@media (max-width:1060px){
  .hero-old .hero-txt{width:100%}
  .hero-pic{position:relative;top:auto;bottom:auto;width:auto;margin:28px -28px 0;aspect-ratio:4/3}
  .hero-pic img{clip-path:polygon(18% 0,100% 0,100% 100%,0 100%)}
  .hp-band.b1{clip-path:polygon(14% 0,16.5% 0,-1.5% 100%,-4% 100%)}
  .hp-band.b2{clip-path:polygon(10% 0,11% 0,-7% 100%,-8% 100%)}
}
@media (max-width:760px){body.corp .hero-old h1{font-size:32px;margin-bottom:14px}.hero-pic{margin:22px -16px 0}}
/* the opening uses the full width (the general .wrap limit would squeeze it) */
body.corp .hero-old .hero-in{width:100%;max-width:none;padding:var(--navh) 0 0 max(28px,5.2vw)}
@media (max-width:1060px){body.corp .hero-old .hero-in{padding:0 28px}}
@media (max-width:760px){body.corp .hero-old .hero-in{padding:0 16px}}
/* keep the whole "МИКРА" sign visible: only the bottom-left corner of the photo is cut at 45°, the navy ribbons run along that cut */
.hero-pic img{clip-path:polygon(0 0,100% 0,100% 100%,24% 100%,0 58%)}
.hp-band.b1{clip-path:polygon(-6% 58%,-3% 58%,21% 100%,18% 100%)}
.hp-band.b2{clip-path:polygon(-11% 58%,-10% 58%,14% 100%,13% 100%)}
@media (max-width:1060px){
  .hero-pic img{clip-path:polygon(0 0,100% 0,100% 100%,22% 100%,0 70%)}
  .hp-band.b1{clip-path:polygon(-6% 70%,-3% 70%,19% 100%,16% 100%)}
  .hp-band.b2{clip-path:polygon(-11% 70%,-10% 70%,12% 100%,11% 100%)}
}
@media (min-width:1061px){.hero-old .hero-txt{width:34vw}body.corp .hero-old h1{font-size:clamp(34px,3.3vw,64px)}}
/* home opening photo of the real base: whole picture visible (the МИКРА sign never cut) */
.base-shot img{object-position:50% 50%}

/* faint dot grid over the whole site (replaces the small dot patches next to the photos) */
body.corp{background-color:#fff;background-image:radial-gradient(circle,rgba(38,34,97,.085) 1px,transparent 1.35px);background-size:18px 18px}
body.corp .numbers{background:transparent}
.opening .shot::after,.rings::before,.hero-clean::after{display:none}
/* home: "За нас" follows the opening closely */
.opening.home{padding-bottom:clamp(24px,3vw,44px)}
.opening.home::before{bottom:0}
body.corp .about-home{padding-top:clamp(24px,3vw,48px)}
/* home: "За нас" text sits under the opening photo (right), the three round photos under the opening text (left) */
@media (min-width:1061px){
  .pg-index .ah-in{grid-template-columns:1fr 1.05fr;gap:clamp(30px,5vw,80px)}
  .pg-index .ah-in .rings{order:-1}
  .pg-index .rings .r1{left:0}
}

/* "Три складови бази": light blue band that melts into the page instead of a dark navy block */
body.corp .dark-band{color:var(--txt);background:linear-gradient(180deg,rgba(234,238,252,0) 0%,#eaeefc 22%,#eaeefc 78%,rgba(234,238,252,0) 100%)}
body.corp .dark-band h2,body.corp .dark-band h3{color:var(--head)}
body.corp .dark-band .ruled.light::after{background:var(--navy)}
body.corp .dark-band .dbases li+li{border-left-color:rgba(38,34,97,.14)}
body.corp .dark-band .dn{color:rgba(38,34,97,.2)}
body.corp .dark-band .dk{color:var(--blue)}
body.corp .dark-band .dm{color:var(--muted)}
body.corp .dark-band .dp a{color:var(--navy)}
body.corp .dark-band .dl{color:var(--navy);border-bottom-color:rgba(38,34,97,.35)}
body.corp .dark-band .dl:hover{color:var(--blue);border-bottom-color:var(--blue)}
@media (max-width:1060px){body.corp .dark-band .dbases li+li{border-top-color:rgba(38,34,97,.14)}}
/* the closing call-to-action also fades in softly instead of starting with a hard grey edge */
body.corp .closing{background:linear-gradient(180deg,rgba(243,243,246,0) 0%,var(--panel) 30%,var(--panel) 100%)}

/* home "За нас": one photo of the base gate, mirrored shape of the opening photo, on a soft panel */
.gate-shot{position:relative;isolation:isolate}
.gate-shot::before{content:"";position:absolute;left:-7%;top:9%;right:9%;bottom:-9%;z-index:-1;background:var(--panel);border-radius:180px 0 180px 0}
.gate-shot img{border-radius:150px 0 150px 0}
@media (min-width:1061px){.pg-index .ah-in .gate-shot{order:-1}}
@media (max-width:760px){.gate-shot img{border-radius:90px 0 90px 0}.gate-shot::before{border-radius:110px 0 110px 0}}

/* "Три складови бази": plain white section again; only the soft grey panels at the sides, like the ones behind the photos */
body.corp .dark-band{background:transparent;position:relative;isolation:isolate;overflow:hidden}
body.corp .dark-band::before{content:"";position:absolute;right:0;top:0;bottom:22%;width:24%;z-index:-1;background:var(--panel);border-bottom-left-radius:240px}
body.corp .dark-band::after{content:"";position:absolute;left:0;bottom:0;height:52%;width:15%;z-index:-1;background:var(--panel);border-top-right-radius:200px}
@media (max-width:760px){body.corp .dark-band::before{width:40%;bottom:55%}body.corp .dark-band::after{width:30%;height:30%}}
body.corp .dark-band::before{width:17%;bottom:30%;border-bottom-left-radius:200px}
body.corp .dark-band::after{width:10%;height:42%;border-top-right-radius:160px}
.dbases .dl-btn{margin-top:14px}

/* compact footer */
body.corp .corp-foot{padding:40px 0 0}
body.corp .fcols{gap:28px;padding-bottom:28px;align-items:start}
body.corp .corp-foot h3{font-size:14.5px;margin:0 0 12px}
body.corp .corp-foot ul{gap:6px}
body.corp .corp-foot li,body.corp .corp-foot p{font-size:14px;line-height:1.6}
body.corp .fbrand .foot-logo{height:46px;margin-bottom:12px}
body.corp .fbrand p{margin:0}
body.corp .fbases li{flex-direction:row;gap:8px;align-items:baseline}
body.corp .fcontact{padding:0;background:none}
body.corp .fcontact p{margin:0 0 10px;line-height:1.6}
body.corp .fb{width:30px;height:30px}
body.corp .corp-foot .foot-legal{padding:14px 32px 18px}
body.corp .fcols .fcol:nth-child(2) ul{grid-template-columns:auto auto;column-gap:22px}
body.corp .corp-foot .foot-legal p{max-width:none}

/* home "Асортимент": text left, shop photo right (zig-zag continues), portrait photo with the opening's corner shape */
.as-in{display:grid;grid-template-columns:1fr .8fr;gap:clamp(30px,5vw,80px);align-items:center}
.as-txt .indent p{font-size:16.5px}
ul.ticks.cols2{grid-template-columns:1fr 1fr;gap:10px 24px;margin:6px 0 22px}
.shop-shot{position:relative;isolation:isolate;max-width:520px;justify-self:end;width:100%}
.shop-shot::before{content:"";position:absolute;right:-8%;top:8%;left:10%;bottom:-8%;z-index:-1;background:var(--panel);border-radius:0 180px 0 180px}
.shop-shot img{aspect-ratio:3/4;border-radius:0 150px 0 150px}
@media (max-width:1060px){.as-in{grid-template-columns:1fr}.shop-shot{justify-self:center}}
@media (max-width:760px){.shop-shot img{border-radius:0 90px 0 90px}.shop-shot::before{border-radius:0 110px 0 110px}ul.ticks.cols2{grid-template-columns:1fr}}
ul.ticks.rich{margin:6px 0 22px;gap:9px}
ul.ticks.rich li{font-weight:400;color:var(--txt)}
ul.ticks.rich b{font-weight:600;color:var(--head)}

/* 18+ question: the "Не" button was white on white (the general white button text won) */
body.corp .btn.btn-ghost{background:#fff;color:var(--navy);box-shadow:inset 0 0 0 1.5px var(--navy)}
body.corp .btn.btn-ghost:hover{background:var(--navy);color:#fff}
/* За нас starts directly with "Дейност": text + numbered list left, yard photo right */
.opening.dejnost .indent{margin-top:28px}
.opening.dejnost ol.nums{gap:16px}
.yard-shot img{object-position:50% 55%}

/* "Нашата история": all chapters as text on the left, one photo on the right that stays in view while reading */
.hist{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,5vw,80px);align-items:start}
.hist-txt{display:grid;gap:clamp(36px,4vw,56px)}
.chap .yr{font-size:clamp(46px,4.4vw,64px)}
.chap h3{font-size:clamp(22px,2vw,27px);font-weight:400;margin-bottom:20px}
.hist-shot{position:sticky;top:calc(var(--navh) + 30px);isolation:isolate}
.hist-shot::before{content:"";position:absolute;right:-7%;top:9%;left:9%;bottom:-9%;z-index:-1;background:var(--panel);border-radius:0 180px 0 180px}
.hist-shot img{aspect-ratio:4/3}
@media (max-width:1060px){.hist{grid-template-columns:1fr}.hist-shot{position:relative;top:auto;order:-1}}

/* Дистрибуция = only the served areas: three columns, places flow as text, an open ending shows the list goes on */
.areas-head{padding-bottom:clamp(20px,3vw,40px)}
.areas-head .indent{margin-top:26px;max-width:760px}
.acols{display:grid;grid-template-columns:repeat(3,1fr)}
.acol{padding:0 clamp(20px,3vw,44px);scroll-margin-top:calc(var(--navh) + 20px)}
.acol:first-child{padding-left:0}.acol:last-child{padding-right:0}
.acol+.acol{border-left:1px solid var(--hair)}
.acol .an{display:block;font:300 46px/1 var(--fb);color:rgba(38,34,97,.2);margin-bottom:14px}
.acol h2{font-size:clamp(28px,2.6vw,36px);margin:0 0 8px}
.acol .ak{margin:0 0 6px}
.acol .am{margin:0 0 4px;color:var(--muted)}
.aph{display:flex;flex-wrap:wrap;gap:4px 16px;margin:0 0 22px}
.aph a{font-weight:600;text-decoration:none}
/* places as flowing text separated by dots; towns stand out; the list fades into "и още…" */
ul.flow{list-style:none;margin:0;padding:22px 0 0;border-top:2px solid var(--navy);font-size:15px;line-height:2;color:var(--txt)}
ul.flow li{display:inline}
ul.flow li::after{content:" · ";color:#b9bbcc}
ul.flow li.town{font-weight:700;color:var(--navy)}
ul.flow li.more{font-style:italic;font-weight:600;color:var(--blue);white-space:nowrap}
ul.flow li.more::after{content:" …";color:var(--blue)}
.areas-note{display:flex;align-items:center;gap:16px;max-width:820px;margin:clamp(44px,5vw,70px) auto 0;padding:22px 26px;background:var(--panel);border-radius:0 40px 0 40px;color:var(--txt)}
.areas-note a{font-weight:600}
.plus{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:var(--navy);color:#fff;font:300 28px/1 var(--fb)}
@media (max-width:1060px){.acols{grid-template-columns:1fr}.acol{padding:30px 0}.acol+.acol{border-left:0;border-top:1px solid var(--hair)}}
ul.flow li{white-space:nowrap}
/* a page that starts directly with a section (no opening block) */
.first-sec{padding-top:calc(var(--navh) + clamp(40px,5vw,70px))}
body.corp .first-sec h1{font-size:clamp(34px,3.4vw,48px);margin-bottom:38px}
.plist li.etc{font-style:italic;color:var(--muted);border-bottom:0}

/* Асортимент page: photo/text rows in zig-zag, photos in the site's corner shapes */
.as-rows{padding-top:clamp(30px,4vw,60px)}
.as-row{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,5vw,80px);align-items:center;margin:0 0 clamp(60px,7vw,100px)}
.as-row:last-child{margin-bottom:0}
.as-row.rev .shot{order:2}
.as-row .shot{position:relative;isolation:isolate}
.as-row .shot::before{content:"";position:absolute;left:-6%;top:8%;right:8%;bottom:-8%;z-index:-1;background:var(--panel);border-radius:180px 0 180px 0}
.as-row .shot.mir img{border-radius:150px 0 150px 0}
.as-row .shot.tall{max-width:440px;justify-self:center;width:100%}
.as-row .shot.tall img{aspect-ratio:3/4;border-radius:0 150px 0 150px}
.as-row.rev .shot::before{left:8%;right:-6%;border-radius:0 180px 0 180px}
.as-row-txt h2{font-size:clamp(26px,2.5vw,36px)}
@media (max-width:1060px){.as-row{grid-template-columns:1fr}.as-row.rev .shot{order:0}}
@media (max-width:760px){.as-row .shot.mir img,.as-row .shot.tall img{border-radius:0 90px 0 90px}}

/* Асортимент: two rows "text + two round photos with rings" in zig-zag (round photo beside text, never round under round) */
.as-lead{margin-top:28px;max-width:780px}
.as-duo-sec{padding-top:clamp(30px,4vw,60px)}
.as-duo{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,5vw,80px);align-items:center;margin:0 0 clamp(50px,6vw,90px)}
.as-duo:last-child{margin-bottom:0}
.as-duo.rev .duo{order:-1}
.as-duo-txt h2{font-size:clamp(26px,2.5vw,36px)}
.duo{position:relative;height:clamp(360px,34vw,480px);isolation:isolate}
.duo::before{content:"";position:absolute;left:12%;top:4%;width:76%;height:92%;z-index:-1;border-radius:50%;background:var(--panel)}
.duo .ring{position:absolute;border-radius:50%;overflow:hidden;box-shadow:0 0 0 14px #fff,0 0 0 15px var(--hair),0 0 0 44px rgba(255,255,255,.55),0 0 0 45px var(--hair),0 24px 50px -22px rgba(20,20,40,.45)}
.duo .ring img{width:100%;height:100%;object-fit:cover}
.duo .big{width:clamp(250px,24vw,340px);height:clamp(250px,24vw,340px);left:6%;bottom:6%}
.duo .small{width:clamp(160px,15vw,215px);height:clamp(160px,15vw,215px);right:6%;top:4%}
.as-duo.rev .big{left:auto;right:6%}
.as-duo.rev .small{right:auto;left:6%}
@media (max-width:1060px){.as-duo{grid-template-columns:1fr}.as-duo.rev .duo{order:0}.duo{height:400px;max-width:520px;width:100%;justify-self:center}}
@media (max-width:760px){.duo{height:320px}.duo .big{width:220px;height:220px}.duo .small{width:140px;height:140px}.duo .ring{box-shadow:0 0 0 10px #fff,0 0 0 11px var(--hair),0 20px 40px -20px rgba(20,20,40,.45)}}
.as-duo.rev .small img{object-position:50% 85%}

/* Асортимент = only the opening: text left, two round photos right */
.as-open-in{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,5vw,80px);align-items:center}
.as-open .opening-txt .indent{margin-top:28px}
.as-open .small img{object-position:50% 85%}
@media (max-width:1060px){.as-open-in{grid-template-columns:1fr}.as-open .duo{height:400px;max-width:520px;width:100%;justify-self:center}}
.as-open .small img{object-position:50% 50%}

/* ===== Екип: a darker, quieter page with more weight ===== */
.team-hero{position:relative;overflow:hidden;isolation:isolate;padding:calc(var(--navh) + clamp(40px,5vw,80px)) 0 clamp(60px,7vw,110px);color:#d8daf0;
  background:radial-gradient(60% 80% at 78% 40%,rgba(59,79,208,.35),transparent 65%),radial-gradient(50% 70% at 10% 100%,rgba(59,79,208,.18),transparent 70%),linear-gradient(160deg,#1d1a4f 0%,#14123a 55%,#0f0d2c 100%)}
.team-25{position:absolute;right:-2vw;bottom:-8vw;z-index:-1;font:800 clamp(260px,36vw,560px)/1 var(--fb);letter-spacing:-.04em;color:transparent;-webkit-text-stroke:1px rgba(201,208,255,.12);pointer-events:none}
.team-hero-in{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(30px,6vw,100px);align-items:center}
.team-hero .crumbs,.team-hero .crumbs a{color:rgba(216,218,240,.6)}
.team-hero .crumbs [aria-current]{color:#fff}
.team-kicker{margin:0 0 16px;font:600 12.5px/1 var(--fb);letter-spacing:.32em;text-transform:uppercase;color:#9aa4ff}
.team-kicker.dark{color:var(--blue)}
body.corp .team-hero h1{color:#fff;font-weight:300;font-size:clamp(40px,4.6vw,66px);line-height:1.12}
.team-hero .ruled::after{background:#9aa4ff}
.team-hero .indent{margin-top:30px}
body.corp .team-hero .indent p{color:#d8daf0;font-size:17.5px;line-height:1.8}
.team-founders{position:relative;margin:0;justify-self:center;width:min(440px,100%)}
.team-founders img{position:relative;z-index:1;width:100%;height:auto;aspect-ratio:1100/1285;object-fit:cover;border-radius:0 160px 0 160px;box-shadow:0 40px 80px -30px rgba(0,0,0,.7)}
.tf-frame{position:absolute;inset:-18px -18px 18px 18px;border:1px solid rgba(154,164,255,.45);border-radius:0 170px 0 170px}
.team-founders::before{content:"";position:absolute;inset:-12%;z-index:0;background:radial-gradient(closest-side,rgba(154,164,255,.28),transparent);filter:blur(10px)}
.team-founders figcaption{position:relative;z-index:1;margin-top:34px;font:600 12.5px/1.4 var(--fb);letter-spacing:.2em;text-transform:uppercase;color:#c9cdff;text-align:center}
.team-all .sub{max-width:720px;margin-left:auto;margin-right:auto}
.team-photo{margin:10px 0 0}
.team-photo img{width:100%;height:auto;border-radius:0 140px 0 140px;box-shadow:0 40px 80px -40px rgba(20,20,60,.55)}
.team-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:clamp(40px,5vw,64px) 0 0;text-align:center}
.team-stats div{padding:6px 16px}
.team-stats div+div{border-left:1px solid var(--hair)}
.team-stats dt{font:300 clamp(40px,4.4vw,58px)/1 var(--fb);color:var(--navy)}
.team-stats dd{margin:12px 0 0;color:var(--muted);font-size:14.5px}
@media (max-width:1060px){.team-hero-in{grid-template-columns:1fr}.team-founders{width:min(380px,90%);margin-top:20px}}
@media (max-width:760px){.team-stats{grid-template-columns:1fr;row-gap:24px}.team-stats div+div{border-left:0}.team-founders img{border-radius:0 100px 0 100px}.tf-frame{border-radius:0 110px 0 110px}.team-photo img{border-radius:0 70px 0 70px}}
/* Контакти: the bases follow the title closely */
.pg-kontakti .opening.plain{padding-bottom:clamp(10px,1.5vw,20px)}
.pg-kontakti .opening.plain + .sec{padding-top:clamp(20px,2.5vw,36px)}
/* header: "Кариера" button where the phone was */
.nav-career{min-height:42px;padding:10px 24px;font-size:14px}

/* pages that are only a form (Стани клиент, Кариера) */
.form-head{padding-bottom:clamp(10px,1.5vw,20px)}
.form-head .indent{margin-top:24px;max-width:720px}
.form-only{padding-top:clamp(20px,3vw,40px)}
.form-only-in{max-width:820px}
.form-only .form-box{background:#fff;border:1px solid var(--hair);padding:clamp(26px,3vw,40px);box-shadow:0 30px 60px -40px rgba(20,20,60,.35)}
.form-only.job-only .form-box form{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}
.form-only.job-only .form-box form>.btn,.form-only.job-only .form-box form>.form-msg,.form-only.job-only .form-box form>.fine,.form-only.job-only .form-box form>.hp{grid-column:1/-1}
@media (max-width:760px){.form-only.job-only .form-box form{grid-template-columns:1fr}}

/* "Стани клиент" form: three labelled blocks */
.client-form fieldset{border:0;margin:0 0 8px;padding:0}
.client-form legend{display:block;width:100%;margin:0 0 16px;padding:0 0 10px;border-bottom:1px solid var(--hair);font:600 12.5px/1 var(--fb);letter-spacing:.16em;text-transform:uppercase;color:var(--navy)}
.client-form fieldset+fieldset{margin-top:14px}
.client-form .row2{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
.client-form .btn{margin-top:10px}
@media (max-width:760px){.client-form .row2{grid-template-columns:1fr}}
/* product groups as tick boxes */
.client-form .checks{display:flex;flex-wrap:wrap;gap:8px 10px;margin:0 0 16px}
.client-form .checks-l{flex-basis:100%;font-size:13px;font-weight:600;color:var(--ink-2);margin-bottom:4px}
.client-form .chk{position:relative;display:inline-flex;margin:0;cursor:pointer}
.client-form .chk input{position:absolute;opacity:0;width:1px;height:1px}
.client-form .chk span{display:inline-block;padding:9px 16px;border:1px solid var(--hair);border-radius:999px;background:#f6f7fb;font:500 14px/1 var(--fb);color:var(--txt);transition:background .2s,color .2s,border-color .2s}
.client-form .chk input:checked+span{background:var(--navy);border-color:var(--navy);color:#fff}
.client-form .chk input:focus-visible+span{outline:2px solid var(--blue);outline-offset:2px}
.client-form .checks .err{flex-basis:100%}
/* the job form now uses the same fieldset layout as the client form */
.form-only.job-only .form-box form{display:block}

/* confirmation after a form is sent */
.form-only .sent{padding:clamp(36px,5vw,64px) 20px;text-align:center}
.sent-ic{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 22px;border-radius:50%;background:var(--navy);box-shadow:0 0 0 10px rgba(38,34,97,.08)}
.sent-ic::after{content:"";width:26px;height:14px;margin-top:-6px;border-left:3px solid #fff;border-bottom:3px solid #fff;transform:rotate(-45deg)}
body.corp .form-only .sent h3{font-size:clamp(28px,3vw,38px);font-weight:400;margin:0 0 10px}
body.corp .form-only .sent p{font-size:17px;color:var(--muted);margin:0}

/* контакти – карта и навигация за всяка база */
.ccol .clist{margin-bottom:28px}
.cmap{margin-top:auto;position:relative;aspect-ratio:4/3;border:1px solid var(--hair);background:#eef0f4;overflow:hidden}
.cmap iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.cnav{align-self:flex-start;margin-top:16px}
@media (min-width:901px){
  .ccols{column-gap:80px}
  .ccol,.ccol:first-child,.ccol:last-child{padding:0;position:relative}
  .ccol+.ccol{border-left:0}
  .ccol+.ccol::before{content:"";position:absolute;left:-40px;top:0;bottom:0;border-left:1px solid var(--hair)}
}
