
:root{
  --ink:#202722;--deep:#17231d;--hero:#1b2922;--orange:#ed6e36;
  --paper:#f8f7f3;--card:#ffffff;--muted:#657167;--line:#e7e5df;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit}
.wrap{width:min(1180px,calc(100% - 64px));margin:auto}
.skip{position:absolute;left:-9999px}
.skip:focus{left:10px;top:10px;z-index:100;background:white;padding:10px}
.header{position:sticky;top:0;background:#fffffff2;backdrop-filter:blur(12px);border-bottom:1px solid #e8e8e1;z-index:20}
.nav{height:82px;display:flex;align-items:center;gap:34px}
.brand{display:flex;align-items:center;flex-shrink:0}
.brand-logo{display:block;width:174px;height:auto}
nav{display:flex;gap:34px;align-items:center;margin-left:auto}
nav a{font-size:13px;font-weight:700;text-decoration:none;color:#435047}
nav a:hover{color:var(--orange)}
.nav-contact{white-space:nowrap;border:1px solid #637168;border-radius:24px;padding:11px 17px;font-weight:700;font-size:13px;text-decoration:none}
.nav-contact span{color:var(--orange);padding-left:6px}
.mobile-menu{display:none;border:0;background:transparent;font-size:26px;cursor:pointer}
.hero{position:relative;overflow:hidden;color:white;background:radial-gradient(circle at 79% 34%,#324339 0%,#26362c 26%,#19271f 70%,#151e19 100%)}
.hero-inner{min-height:570px;position:relative;z-index:2;padding-top:100px;display:flex;flex-direction:column;align-items:flex-start}
.kicker,.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:800}
.kicker{color:#e1b19a;border-left:3px solid var(--orange);padding-left:12px}
h1{font-size:clamp(56px,6.1vw,84px);letter-spacing:-.061em;line-height:1.06;max-width:740px;margin:30px 0 24px}
h1 em{font-style:normal;color:#f0a785}
.hero-description{max-width:510px;font-size:18px;line-height:1.65;color:#d5ddd6;margin:0 0 27px}
.hero-actions{display:flex;gap:12px}
.btn{display:inline-flex;align-items:center;gap:16px;border-radius:26px;padding:13px 21px;text-decoration:none;font-weight:750;font-size:13px;transition:background .2s}
.btn-primary{background:var(--orange);color:white}
.btn-primary:hover{background:#da5c28}
.btn-secondary{border:1px solid #768b7a;color:white}
.btn-secondary:hover{background:#ffffff14}
.hero-bottom{display:flex;align-items:center;gap:15px;color:#b7c7b9;font-size:10px;letter-spacing:.14em;font-weight:800;margin-top:auto;padding:54px 0 32px}
.hero-bottom i{background:#e99874;border-radius:50%;width:3px;height:3px}
.hero-feature{position:absolute;right:max(5.5%,calc((100vw - 1210px)/2));top:97px;width:353px;height:382px;z-index:1;pointer-events:none;
  display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;column-gap:26px;row-gap:24px;align-items:center;justify-items:center}
.hero-duo{position:relative;width:155px;height:156px;display:flex;align-items:center;justify-content:center;gap:9px}
.hero-duo::before{content:"";position:absolute;inset:15px;border-radius:50%;background:radial-gradient(circle,#ffffff09 0,transparent 69%);z-index:0}
.hero-duo img{position:relative;z-index:1;width:68px;max-height:117px;height:auto;object-fit:contain;filter:drop-shadow(0 6px 5px #00000012)}
.hero-duo img:nth-child(2){width:66px}
.hero-duo-1{transform:translate(-3px,-10px)}
.hero-duo-1 img:nth-child(1){width:66px;max-height:122px}
.hero-duo-1 img:nth-child(2){width:73px}
.hero-duo-2{transform:translate(0,12px)}
.hero-duo-2 img:nth-child(1){width:72px}
.hero-duo-2 img:nth-child(2){width:58px}
.hero-duo-3{transform:translate(6px,-12px)}
.hero-duo-3 img:nth-child(1){width:65px}
.hero-duo-3 img:nth-child(2){width:81px}
.hero-duo-4{transform:translate(1px,8px)}
.hero-duo-4 img:nth-child(1){width:72px}
.hero-duo-4 img:nth-child(2){width:82px}
.section{padding:88px 0 92px}
.section-head{margin-bottom:35px}
.eyebrow{color:#c66037}
.section-head h2{font-size:clamp(36px,4vw,54px);letter-spacing:-.048em;line-height:1.14;margin:12px 0 0}
.section-head h2 span{display:block;margin-top:8px;color:#8b958d;font-size:.78em;letter-spacing:-.03em}
.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.project-card{min-width:0;background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 26px #171c1a08;padding:26px 31px 27px;min-height:340px;display:flex;flex-direction:column;text-decoration:none;transition:transform .2s,box-shadow .2s}
.project-card:hover{transform:translateY(-3px);box-shadow:0 16px 30px #20231917}
.card-top{display:flex;align-items:center;gap:13px;min-height:50px}
.card-top>span:first-child{font-size:15px;font-weight:800;letter-spacing:.035em;line-height:1.25;max-width:345px}
.card-pictos{margin-left:auto;display:flex;align-items:center;justify-content:center;gap:11px;min-width:100px;flex-shrink:0}
.card-pictos img{width:auto;max-width:47px;height:auto;max-height:49px;object-fit:contain}
.card-pictos img[src$="picto-pribory.png"]{max-width:47px;max-height:36px}
.card-pictos img[src$="picto-skakaci-hrad.svg"]{max-width:51px;max-height:48px}
.arr{font-size:21px;color:var(--orange);flex-shrink:0}
.project-logo{width:100%;height:120px;margin:12px 0 15px;display:flex;align-items:center;justify-content:flex-start}
.project-logo img{display:block;width:auto;max-width:100%;max-height:118px;height:auto;object-fit:contain;object-position:left center}
.project-title{font-weight:850;font-size:clamp(38px,4vw,51px);letter-spacing:-.065em;min-height:120px;margin:12px 0 15px;display:flex;align-items:center}
.project-title span{color:#577260}
.project-title .orange-dot{color:var(--orange)}
.project-card p{font-size:14px;line-height:1.68;color:#616b63;margin:0 0 17px;max-width:55ch}
.domain{font-weight:750;color:#b9582b;font-size:13px;margin-top:auto}
.contact-band{background:#2a3d35;color:#f7f8f4;padding:64px 0 70px}
.contact-band-inner{display:grid;grid-template-columns:1fr 1fr;gap:70px}
.contact-heading .eyebrow{color:#ffad82}
.contact-heading h2{font-size:clamp(36px,4vw,56px);letter-spacing:-.045em;line-height:1.2;margin:10px 0 0}
.contact-note{color:#c9d3ca;font-size:14px;margin:14px 0 23px}
.contact-email{display:inline-block;color:white;font-size:clamp(22px,2.5vw,30px);font-weight:700;text-decoration:none;border-bottom:2px solid var(--orange);padding-bottom:6px}
.company-details{border-left:1px solid #ffffff2b;padding-left:40px;font-size:14px;color:#dce5dc;line-height:1.65}
.company-details h3{margin:0 0 15px;color:#fff;font-size:19px}
.company-details p{margin:0 0 10px}
.company-numbers{font-weight:700}
.company-register{font-size:12px;max-width:390px;color:#b2c3b5;margin-top:14px!important}
.footer{background:#111a15;color:#b9c9bb;padding:22px 0}
.footer-row{display:flex;align-items:center;justify-content:space-between;gap:22px}
.footer-logo{display:block;width:110px;height:auto}
.footer-row p,.footer-row>a:last-child{font-size:12px;color:#b9c9bb;text-decoration:none}
@media(max-width:1100px){
.hero-feature{right:1%;width:285px;opacity:.47;transform:scale(.88);transform-origin:top right}
h1{max-width:720px}
}
@media(max-width:860px){
.nav{height:74px}.brand-logo{width:150px}.mobile-menu{display:block;margin-left:auto}
.nav-contact{display:none}
nav{display:none;position:absolute;top:74px;left:0;right:0;background:#fff;padding:22px 28px;box-shadow:0 15px 24px #0002;flex-direction:column;align-items:flex-start;gap:20px}
nav.active{display:flex}
.hero-feature{opacity:.18;right:-70px}
}
@media(max-width:720px){
.wrap{width:min(100% - 36px,1180px)}
.hero-inner{padding-top:76px;min-height:550px}
.hero-description{font-size:16px}
.hero-feature{display:none}
.hero-bottom{flex-wrap:wrap;gap:10px}
.section{padding:66px 0}
.project-grid{grid-template-columns:1fr}
.project-card{min-height:320px;padding:25px}
.card-top>span:first-child{font-size:14px}
.card-pictos{min-width:93px;gap:8px}
.card-pictos img{max-width:42px;max-height:44px}
.project-logo{height:110px}
.project-logo img{max-height:107px}
.project-title{min-height:105px}
.contact-band-inner{grid-template-columns:1fr;gap:32px}
.company-details{border-left:0;border-top:1px solid #ffffff2b;padding:25px 0 0}
.footer-row{flex-wrap:wrap}
.footer-row p{order:3;width:100%;margin:0}
}
@media(max-width:410px){
h1{font-size:48px}
.card-top{gap:7px}
.card-top>span:first-child{font-size:12px}
.card-pictos{min-width:75px;gap:4px}
.card-pictos img{max-width:33px;max-height:37px}
.project-card{padding:22px}
}
/* Finishing touches: sufficient contrast of linework on light project cards */
.card-pictos img{filter:brightness(.80) saturate(1.28);transition:transform .22s ease,filter .22s ease}
.project-card:hover .card-pictos img{filter:brightness(.73) saturate(1.3);transform:translateY(-2px)}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* Sharper contrast on the white project cards; hero keeps the lighter palette */
.card-pictos img {filter:none;opacity:1}
.card-pictos img[src$="picto-skakaci-hrad.svg"] {filter:brightness(.73) saturate(.85)}


/* V15: editorial scatter, replacing the former 2x2 icon pair arrangement */
.hero .hero-feature{
  position:absolute;
  top:69px;
  right:max(4.8%, calc((100vw - 1210px)/2));
  width:380px; height:432px;
  display:block; opacity:1; transform:none;
  pointer-events:none; z-index:1; isolation:isolate;
}
.hero .floating-picto{
  position:absolute; display:block; width:auto; height:auto; max-width:none;
  object-fit:contain; transform-origin:center center;
  filter:drop-shadow(0 5px 5px rgba(0,0,0,.12));
  user-select:none;
}
/* Intentional asymmetric rhythm: 8 illustrations; no boxes, labels or rows */
.hero .floating-chatka   {left:13%;top:3%;height:117px;transform:rotate(-11deg);opacity:.95}
.hero .floating-pribory  {left:61%;top:0%;width:80px;transform:rotate(20deg);opacity:.78}
.hero .floating-lane     {left:48%;top:17%;height:125px;transform:rotate(12deg);opacity:.94}
.hero .floating-ohen     {left:5%;top:39%;height:80px;transform:rotate(-7deg);opacity:.87}
.hero .floating-paintball{left:75%;top:42%;height:112px;transform:rotate(16deg);opacity:.87}
.hero .floating-lidi     {left:36%;top:54%;width:120px;transform:rotate(-11deg);opacity:.92}
.hero .floating-luk      {left:3%;top:73%;height:97px;transform:rotate(13deg);opacity:.85}
.hero .floating-hrad     {left:67%;top:75%;width:101px;transform:rotate(-8deg);opacity:.80}
/* Responsive: text always wins; ornaments fade and eventually disappear. */
@media(max-width:1200px){
  .hero .hero-feature{right:1%;transform:scale(.90);transform-origin:top right;opacity:.72}
}
@media(max-width:960px){
  .hero .hero-feature{right:-38px;transform:scale(.78);opacity:.23}
}
@media(max-width:700px){.hero .hero-feature{display:none}}

/* V16 final responsive refinements */
.project-logo-profizabava img{max-width:100%;max-height:116px;width:auto;height:auto;object-fit:contain;object-position:left center}
.project-card{isolation:isolate}
.card-top>span:first-child{min-width:0;overflow-wrap:break-word}
@media(max-width:480px){
  .wrap{width:calc(100% - 32px)}
  .hero-actions{flex-wrap:wrap}
  .project-card{padding:22px 20px;min-height:0}
  .card-top{gap:7px}
  .card-top>span:first-child{font-size:12px;line-height:1.35}
  .card-pictos{min-width:0;gap:6px}
  .card-pictos img{max-width:30px;max-height:35px}
  .project-logo{height:auto;min-height:93px;margin:16px 0}
  .project-logo img{max-height:96px}
  .contact-email{overflow-wrap:anywhere;font-size:clamp(19px,5vw,25px)}
  .footer-row{gap:12px}
}
