
:root{--brown:#432717;--copper:#c17d39;--olive:#526e36;--cream:#faf7f1;--muted:#6f6257}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,'Segoe UI',sans-serif;color:var(--brown);background:#fff}a{color:inherit;text-decoration:none}button{cursor:pointer}img{max-width:100%;display:block}.container{max-width:1200px;margin:auto;padding:0 25px}header{position:sticky;top:0;z-index:9;background:#fffefaee;backdrop-filter:blur(15px);border-bottom:1px solid #e9e1d5}.head{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:124px}.brand img{width:175px;max-height:115px;object-fit:contain}.nav{display:flex;gap:25px;align-items:center}.nav a:hover{color:var(--copper)}.btn{display:inline-block;background:var(--olive);color:white;padding:15px 22px;border-radius:8px;font-weight:700;border:1px solid var(--olive);transition:.2s}.btn:hover{filter:brightness(1.12)}.btn-outline{color:var(--brown);background:white;border-color:var(--copper)}.hero{background:linear-gradient(90deg,#fcf8f2 0%,#fcf8f2 40%,transparent 79%);position:relative;overflow:hidden}.hero-grid{display:grid;grid-template-columns:48% 52%;align-items:center;min-height:560px}.hero-copy{padding:50px 0;position:relative;z-index:1}.eyebrow{color:var(--olive);letter-spacing:2px;font-weight:800;text-transform:uppercase;font-size:13px}h1,h2,h3{font-family:Georgia,serif}h1{font-size:clamp(40px,5vw,67px);line-height:1.08;margin:18px 0}h1 em{color:var(--copper);font-style:normal}.lead{font-size:19px;line-height:1.65;max-width:550px;color:#51483e}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.hero-image{height:100%;min-height:560px;width:100%;object-fit:cover;object-position:center}.trust{display:grid;grid-template-columns:repeat(3,1fr);background:white;box-shadow:0 12px 38px #4b261b15;padding:26px;border-radius:15px;gap:22px;transform:translateY(-38px);position:relative}.trust div{display:flex;gap:12px;align-items:center;font-weight:750}.trust b{font-size:27px;color:var(--copper)}section{padding:65px 0}h2{font-size:clamp(29px,3.5vw,43px);margin:0 0 20px}p{line-height:1.7}.sub{color:var(--muted)}.services{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.service{padding:27px;background:var(--cream);border-radius:14px;border:1px solid #eee6db}.service .ico{font-size:31px}.service h3{font-size:21px;margin:14px 0 8px}.service p{margin:0;color:var(--muted);font-size:15px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.photo{position:relative;border-radius:12px;overflow:hidden;background:#eee;cursor:pointer}.photo img{height:255px;width:100%;object-fit:cover;transition:transform .25s}.photo:hover img{transform:scale(1.04)}.photo span{position:absolute;left:12px;bottom:12px;border-radius:5px;background:#fffef5;padding:7px 10px;font-size:13px;font-weight:bold}.about{background:var(--cream)}.two{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.about-photo{height:425px;width:100%;border-radius:15px;object-fit:cover}.story{font-size:18px;color:#594a3d}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.step{padding:22px;background:#f8f4ed;border-radius:12px}.step b{display:block;font-size:30px;color:var(--copper);margin-bottom:10px}.contact{background:#49301f;color:white}.contact .sub{color:#eadacc}.contact .btn{background:#78934a;border-color:#78934a}footer{background:#2f1c13;color:#e5d5c7;padding:25px 0;text-align:center}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.formgrid input,.formgrid select,.formgrid textarea{width:100%;border:1px solid #dacabc;border-radius:7px;padding:13px;background:#fff;font:inherit}.formgrid textarea{grid-column:1/-1;min-height:110px}.formgrid .wide{grid-column:1/-1}.note{font-size:13px;opacity:.8}.contact a{text-decoration:underline}#modal{position:fixed;inset:0;background:#140b08dc;z-index:30;display:none;align-items:center;justify-content:center;padding:30px}#modal.show{display:flex}#modal img{max-height:88vh;max-width:95vw;object-fit:contain}#modal button{position:absolute;top:15px;right:20px;background:white;border:0;border-radius:25px;font-size:25px;width:42px;height:42px}@media(max-width:850px){.head{min-height:95px;flex-wrap:wrap;padding:10px 0}.brand img{width:130px;max-height:100px}.nav{gap:12px;font-size:13px;flex-wrap:wrap}.head>.btn{display:none}.hero-grid{grid-template-columns:1fr}.hero-copy{padding:55px 0 20px}.hero-image{min-height:320px;height:350px}.trust{grid-template-columns:1fr;transform:none;margin-top:20px}.services,.gallery{grid-template-columns:repeat(2,1fr)}.two{grid-template-columns:1fr}.steps{grid-template-columns:repeat(2,1fr)}}@media(max-width:540px){.nav{gap:11px}.nav a{font-size:12px}.services,.gallery,.steps{grid-template-columns:1fr}.photo img{height:260px}.formgrid{grid-template-columns:1fr}.formgrid>*{grid-column:1/-1}.container{padding:0 18px}section{padding:43px 0}.hero-image{min-height:290px;height:290px}}

/* Přehledné podstránky a dostupná navigace */
.page-intro{padding-top:68px;padding-bottom:95px}.page-intro h1{font-size:clamp(36px,5vw,58px)}.page-intro .lead{max-width:740px}.service-link{display:block;text-decoration:none;transition:transform .18s,box-shadow .18s}.service-link:hover{transform:translateY(-3px);box-shadow:0 12px 34px #43271718}.more,.back-link{color:var(--olive);font-weight:700}.more{display:inline-block;margin-top:16px}.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:start;margin-top:35px}.detail-layout img{width:100%;max-height:480px;object-fit:cover;border-radius:16px}.light-section{background:#fcfaf7}.section-link{text-align:center;margin-top:32px}.cta-panel{background:#faf7f1;border-radius:18px;padding:38px}.gallery .photo{cursor:zoom-in}@media(max-width:780px){.detail-layout{grid-template-columns:1fr}.page-intro{padding-top:35px;padding-bottom:55px}.head{flex-wrap:wrap;padding-top:10px;padding-bottom:15px}.nav{flex-wrap:wrap;gap:12px}}

/* Návrh: velkoformátový web přes celou obrazovku */
.container{max-width:1680px;padding-left:clamp(28px,5vw,100px);padding-right:clamp(28px,5vw,100px)}
header .container{max-width:none}
.head{min-height:120px}
.brand img{width:190px;max-height:112px}
.hero{background:#faf7f1}
.hero .hero-grid{max-width:none;padding:0;grid-template-columns:50% 50%;min-height:690px}
.hero .hero-copy{width:100%;max-width:780px;margin-left:0;padding:85px clamp(40px,5vw,105px) 85px clamp(28px,6vw,120px)}
.hero h1{font-size:clamp(52px,5vw,87px);line-height:1.075;letter-spacing:-1.7px}
.hero .lead{font-size:20px;max-width:620px}
.hero .hero-image{height:690px;min-height:690px;width:100%;object-fit:cover;object-position:center center}
.trust{max-width:1510px;margin-left:auto;margin-right:auto;grid-template-columns:repeat(3,1fr)}
.services{gap:26px}.service{padding:35px}.gallery{gap:22px}.photo img{height:345px}
@media(max-width:850px){.head{min-height:90px}.brand img{width:145px}.hero .hero-grid{grid-template-columns:1fr;min-height:0}.hero .hero-copy{max-width:none;margin:0;padding:58px 30px 45px}.hero h1{font-size:clamp(42px,8vw,64px)}.hero .hero-image{height:400px;min-height:400px}.photo img{height:270px}}
@media(max-width:540px){.hero .hero-copy{padding:45px 20px 35px}.hero .hero-image{height:300px;min-height:300px}.container{padding-left:20px;padding-right:20px}}

/* Finální návrh hlavičky: výrazné logo uprostřed a čitelná navigace */
header .head{display:grid;grid-template-columns:1fr auto 1fr;grid-template-areas:". logo ." "nav nav nav";justify-items:center;align-items:center;column-gap:24px;row-gap:11px;min-height:0;padding-top:14px;padding-bottom:18px;position:relative}
header .brand{grid-area:logo;display:block}
header .brand img{width:250px;max-height:155px;object-fit:contain}
header .nav{grid-area:nav;display:flex;align-items:center;justify-content:center;gap:clamp(20px,2.6vw,46px);font-size:19px;font-weight:700}
header .nav a{white-space:nowrap}
header .head>.btn{position:absolute;right:clamp(28px,5vw,100px);top:63px;font-size:15px;padding:13px 17px}
footer{font-size:15px}
@media(max-width:1050px){header .head>.btn{position:static;grid-area:nav;justify-self:end;display:none}header .brand img{width:215px;max-height:135px}header .nav{font-size:17px;gap:20px}}
@media(max-width:700px){header .head{grid-template-columns:1fr;grid-template-areas:"logo" "nav";gap:12px;padding:12px 0 16px}header .brand img{width:190px;max-height:120px}header .nav{gap:12px 20px;font-size:15px;flex-wrap:wrap}header .nav a{font-size:15px}}
@media(max-width:390px){header .nav{font-size:14px;gap:10px 13px}header .nav a{font-size:14px}}

/* Kontaktní údaje */
.contact-details{margin-top:24px}.contact-method{display:flex;flex-direction:column;gap:3px;padding:12px 0;border-bottom:1px solid #ffffff30}.contact-method span{font-size:13px;color:#eadacc}.contact-method a{font-size:clamp(19px,2.3vw,25px);font-weight:700;text-decoration:none;overflow-wrap:anywhere}.contact-method a:hover{text-decoration:underline}.company-details{margin-top:22px;line-height:1.7}.company-details address{font-style:normal;margin:5px 0 12px}.company-details p{margin:5px 0}

.privacy-consent{display:flex;align-items:flex-start;gap:10px;grid-column:1/-1;font-size:13px;line-height:1.5;color:#fff}.privacy-consent input{width:auto;flex:none;margin-top:4px;accent-color:#82944a}#notice{line-height:1.5}button:disabled{opacity:.65;cursor:wait}

/* Úprava polohy horní poptávky: vpravo těsně nad úvodním obrázkem. */
@media(min-width:1051px){header .head>.btn{right:clamp(16px,2.4vw,45px);top:auto;bottom:8px}}
@media(min-width:701px) and (max-width:1050px){header .head>.btn{display:inline-block;position:absolute;grid-area:auto;right:18px;top:auto;bottom:7px;font-size:13px;padding:10px 12px}header .nav{padding-right:180px}}
@media(max-width:700px){header .head>.btn{display:inline-block;position:static;grid-area:auto;justify-self:end;margin-top:3px;font-size:13px;padding:10px 14px}header .head{grid-template-areas:"logo" "nav" "cta"}header .head>.btn{grid-area:cta}}

/* Úprava úvodu: text a fotografie blíže, informační lišta pod fotografií. */
@media (min-width: 851px) {
 .hero .hero-grid { grid-template-columns: 43% 57%; }
 .hero .hero-copy { max-width:none; padding-right:clamp(18px,2vw,40px); padding-left:clamp(32px,3.4vw,76px); }
 .hero .lead { max-width:650px; }
}
.hero + .container .trust { transform:none; margin-top:26px; margin-bottom:12px; }
@media (max-width:850px) { .hero + .container .trust {margin-top:22px; margin-bottom:8px;} }

/* Logo +20 %, zachování středu a bezpečný odstup od horního okraje. */
header .head{padding-top:24px;}
header .brand img{width:300px;max-height:186px;height:auto;object-fit:contain;}
@media(max-width:1050px){header .brand img{width:258px;max-height:162px;}}
@media(max-width:700px){header .brand img{width:228px;max-height:144px;}header .head{padding-top:18px;}}

/* Horní hlavička: telefon vlevo, logo uprostřed, poptávka vpravo */
header .head{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:"phone logo cta" "nav nav nav";row-gap:9px;padding-top:12px;padding-bottom:13px;}
header .header-phone{grid-area:phone;justify-self:start;display:flex;align-items:center;gap:12px;font-size:17px;text-decoration:none;color:var(--brown);white-space:nowrap;}
header .header-phone-icon{font-size:25px;color:var(--olive);line-height:1;}
header .header-phone strong{font-size:18px;font-weight:750;}
header .header-phone small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:3px;}
header .header-phone:hover strong{text-decoration:underline;}
header .head>.btn{position:static;grid-area:cta;justify-self:end;align-self:center;margin:0;font-size:15px;padding:13px 18px;}
header .nav{grid-area:nav;justify-self:center;padding-right:0;}
header .brand{grid-area:logo;justify-self:center;}
@media(max-width:1050px){header .head{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:"phone logo cta" "nav nav nav";}header .head>.btn{position:static;grid-area:cta;display:inline-block;font-size:13px;padding:10px 12px;}header .nav{padding-right:0;}header .header-phone strong{font-size:15px;}header .header-phone-icon{font-size:21px;}}
@media(max-width:700px){header .head{grid-template-columns:1fr 1fr;grid-template-areas:"logo logo" "phone cta" "nav nav";row-gap:12px;padding-top:14px;padding-bottom:15px;}header .brand{grid-area:logo;}header .header-phone{grid-area:phone;gap:7px;}header .header-phone-icon{font-size:19px;}header .header-phone strong{font-size:13px;}header .header-phone small{font-size:10px;}header .head>.btn{grid-area:cta;justify-self:end;display:inline-block;font-size:11px;padding:10px 9px;}header .nav{grid-area:nav;gap:11px 17px;}header .nav a{font-size:14px;}}
@media(max-width:390px){header .header-phone strong{font-size:12px;}header .head>.btn{font-size:10px;}}


/* === Finální kompaktní hlavička a CTA částečně přes fotografii === */
header{overflow:visible}
header .head{
  grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr);
  grid-template-areas:"phone logo cta" "nav nav nav";
  row-gap:6px;
  padding-top:8px;
  padding-bottom:8px;
  align-items:end;
}
header .brand img{
  width:235px;
  max-height:145px;
}
header .header-phone{
  gap:10px;
  font-size:15px;
  align-self:center;
  background:rgba(250,247,241,.95);
  padding:10px 14px;
  border-radius:12px;
  border:1px solid #ece3d6;
  box-shadow:0 6px 18px rgba(67,39,23,.05);
}
header .header-phone-icon{font-size:22px}
header .header-phone strong{font-size:16px}
header .header-phone small{font-size:11px;margin-top:2px}
header .nav{
  font-size:17px;
  gap:clamp(18px,2vw,34px);
  margin-top:-4px;
}
header .head>.btn{
  position:relative;
  justify-self:end;
  align-self:end;
  transform:translateY(22px);
  z-index:6;
  font-size:15px;
  padding:14px 19px;
  border-radius:10px;
  box-shadow:0 12px 28px rgba(67,39,23,.15);
}
.hero{padding-top:0}
.hero .hero-grid{min-height:620px}
.hero .hero-copy{padding-top:64px}
.hero .hero-image{height:620px;min-height:620px}
.hero + .container .trust{margin-top:34px}
.trust b[aria-hidden], .trust b{display:inline-flex;align-items:center;justify-content:center}

@media(max-width:1200px){
  header .head{grid-template-columns:minmax(170px,1fr) auto minmax(170px,1fr)}
  header .brand img{width:220px;max-height:138px}
  header .nav{font-size:16px;gap:18px}
  header .head>.btn{transform:translateY(18px);font-size:14px;padding:13px 16px}
}
@media(max-width:900px){
  header .head{
    grid-template-columns:1fr auto;
    grid-template-areas:"logo cta" "phone phone" "nav nav";
    row-gap:10px;
    padding-top:10px;
    padding-bottom:12px;
    align-items:center;
  }
  header .brand{justify-self:start}
  header .brand img{width:205px;max-height:128px}
  header .header-phone{justify-self:start;font-size:14px;padding:8px 12px}
  header .head>.btn{transform:none;align-self:center;font-size:13px;padding:11px 14px}
  header .nav{justify-self:start;flex-wrap:wrap;font-size:15px;gap:12px 18px;margin-top:0}
  .hero .hero-grid{grid-template-columns:1fr;min-height:0}
  .hero .hero-copy{padding-top:44px}
  .hero .hero-image{height:380px;min-height:380px}
}
@media(max-width:600px){
  header .head{
    grid-template-columns:1fr;
    grid-template-areas:"logo" "cta" "phone" "nav";
  }
  header .brand{justify-self:center}
  header .head>.btn{justify-self:end}
  header .header-phone{width:100%;justify-content:center;text-align:left}
  header .nav{justify-self:center;justify-content:center}
}

/* Mobilní rozložení – konečná pravidla, platná po starších stylech */
@media (max-width: 900px) {
  html, body {max-width:100%;overflow-x:clip}
  header {position:relative}
  header .head {display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"logo" "nav" "contact" "cta";justify-items:center;gap:12px;padding:14px 16px 18px;min-width:0}
  header .brand {grid-area:logo;justify-self:center}
  header .brand img {width:clamp(170px,43vw,220px);height:auto;max-height:none;object-fit:contain}
  header .nav {grid-area:nav;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 19px;width:100%;padding:0;margin:0;font-size:15px}
  header .nav a {font-size:15px;white-space:nowrap;line-height:1.6}
  header .header-phone {grid-area:contact;justify-self:center;display:flex;width:auto;max-width:100%;padding:7px 13px;gap:9px;align-items:center;white-space:normal;box-shadow:none}
  header .header-phone strong {font-size:15px}
  header .header-phone small {font-size:11px}
  header .head>.btn {grid-area:cta;display:inline-flex;position:static;transform:none;justify-self:center;align-self:center;max-width:100%;padding:12px 22px;font-size:14px;text-align:center;margin:0;box-shadow:none}
  .hero .hero-grid {display:grid;grid-template-columns:minmax(0,1fr);min-height:0;padding:0}
  .hero .hero-copy {padding:34px 22px 32px;max-width:100%;width:100%;min-width:0;margin:0}
  .hero h1 {font-size:clamp(38px,9vw,58px);line-height:1.07;letter-spacing:-.6px;overflow-wrap:break-word}
  .hero .lead {font-size:16px;line-height:1.55;max-width:100%}
  .hero .hero-image {width:100%;height:clamp(260px,72vw,430px);min-height:0;object-fit:cover;object-position:54% 50%}
  .hero + .container .trust {display:grid;grid-template-columns:1fr;gap:14px;transform:none;margin-top:14px;margin-bottom:12px;padding:20px}
  .hero + .container .trust div {font-size:14px;gap:12px}
  .hero + .container .trust b {min-width:32px;font-size:25px}
  .services,.gallery {grid-template-columns:1fr}
  .two,.detail-layout {grid-template-columns:1fr;gap:24px}
  section {padding:42px 0}
  .container {padding-left:18px;padding-right:18px}
  .page-intro {padding-top:38px;padding-bottom:48px}
  .page-intro h1 {font-size:clamp(32px,8vw,48px)}
  .formgrid {grid-template-columns:1fr}
  .formgrid > * {grid-column:1/-1}
  .formgrid input,.formgrid select,.formgrid textarea {min-width:0}
  .contact .two {gap:28px}
}
@media (max-width: 390px){
  header .nav{gap:8px 14px}
  header .nav a{font-size:14px}
  .eyebrow{font-size:11px;letter-spacing:1px}
  .hero .hero-copy{padding:30px 18px}
  .hero h1{font-size:39px}
}


/* Osvědčené materiály – stránka Služby */
.materials-section{background:#faf7f1;padding:72px 0 82px;border-top:1px solid #eee5da}
.materials-section h2{max-width:950px;margin-top:14px;margin-bottom:16px}
.materials-lead{max-width:900px;font-size:18px;color:#62554a;margin:0 0 34px}
.materials-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.material-card{background:white;border:1px solid #e7ddcf;border-radius:17px;padding:29px 31px;display:flex;flex-direction:column;box-shadow:0 8px 22px #43271709;min-width:0}
.material-index{font-size:11px;color:#846b50;letter-spacing:1.5px;font-weight:800}
.material-card h3{font-size:25px;line-height:1.15;margin:15px 0 9px}
.material-card p{font-size:15px;color:#62554a;line-height:1.6;margin:0 0 25px}
.brandmarks{margin-top:auto;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.brandmark{font-family:Arial,'Segoe UI',sans-serif;display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:8px 14px;border:1px solid #ded7c9;border-radius:7px;background:#fff;white-space:nowrap;font-size:18px;font-weight:900;letter-spacing:.2px;color:#46392e}
.brand-fatra{font-style:italic;color:#1667a7;letter-spacing:1px}
.brand-gerflor{color:#1d7772;font-size:16px;letter-spacing:.8px}
.brand-thermofix{color:#7a352d;font-size:15px;letter-spacing:.5px}
.brand-quickstep{color:#312b25;font-size:17px}
.brand-uzin{color:#185e9f;font-size:20px;letter-spacing:1.2px}
.brand-ardex{color:#b82127;font-size:20px;letter-spacing:.8px}
.brand-dollken{color:#435b40;font-size:20px;font-weight:800}
.materials-footnote{font-size:13px;color:#7b6d60;margin:20px 0 0}
@media(max-width:750px){.materials-section{padding:48px 0 56px}.materials-grid{grid-template-columns:1fr;gap:14px}.material-card{padding:23px}.materials-lead{font-size:16px}.material-card h3{font-size:23px}.brandmark{font-size:15px;padding:7px 11px;min-height:39px}}

/* Materiál dle vlastního výběru investora */
.materials-choice{margin-top:26px;padding:29px 33px;background:#f1e8d9;border:1px solid #e2d2be;border-left:4px solid var(--copper);border-radius:14px;display:flex;gap:19px;align-items:flex-start}
.materials-choice-icon{width:37px;height:37px;flex:0 0 37px;border-radius:50%;display:grid;place-items:center;background:#fff9ee;color:var(--olive);font-weight:800;font-size:22px}
.materials-choice h3{font-size:clamp(23px,2.2vw,30px);margin:0 0 13px}
.materials-choice p{color:#544739;font-size:16px;line-height:1.7;max-width:1000px;margin:0 0 12px}
.materials-choice-link{display:inline-block;margin-top:5px;font-size:15px;font-weight:750;color:var(--olive);text-decoration:underline;text-underline-offset:4px}
@media(max-width:600px){.materials-choice{padding:22px 18px;gap:12px}.materials-choice-icon{width:30px;height:30px;flex-basis:30px;font-size:18px}.materials-choice p{font-size:15px}}

/* Karty realizací a přístupná fotogalerie */
.projects-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;margin-top:42px}.project-card{appearance:none;text-align:left;color:inherit;background:white;padding:0;border:1px solid #e8dfd3;border-radius:17px;overflow:hidden;box-shadow:0 9px 32px #43271712;cursor:pointer;transition:transform .2s,box-shadow .2s;font:inherit}.project-card:hover{transform:translateY(-3px);box-shadow:0 15px 38px #43271724}.project-card:focus-visible,.project-x:focus-visible,.project-arrow:focus-visible,.project-phases button:focus-visible,.project-thumbnails button:focus-visible{outline:3px solid var(--copper);outline-offset:3px}.project-card>img{width:100%;height:300px;object-fit:cover}.project-copy{padding:22px 25px 26px}.project-copy h2{font-size:28px;margin:12px 0 9px}.project-copy p{font-size:15px;margin:0 0 12px;color:#594a3d}.project-tag{background:#eff1e7;color:#526e36;font-size:12px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;border-radius:30px;padding:7px 12px}.project-copy .project-meta{border-top:1px solid #e9e1d5;padding-top:12px}.project-link{color:var(--olive);font-weight:800}.project-notice{background:#faf7f1;border-left:4px solid var(--copper);margin-top:28px;padding:17px 20px;line-height:1.6;font-size:14px}.project-overlay[hidden]{display:none!important}.project-overlay{position:fixed;inset:0;z-index:60;background:#160f0bcf;padding:clamp(10px,3vh,30px) clamp(8px,2vw,30px);display:flex;justify-content:center;align-items:center;overflow-y:auto}.project-dialog{width:min(980px,100%);max-height:95vh;overflow:auto;border-radius:15px;background:white;padding:clamp(14px,2vw,26px);box-shadow:0 24px 80px #0005}.project-dialog-top,.project-dialog-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px}.project-dialog-top h2{font-size:clamp(21px,3vw,32px);margin:6px 0 14px}.project-x{font-size:28px;background:#f3eee8;border:0;width:44px;height:44px;border-radius:50%}.project-phases{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.project-phases button{border:1px solid #cbbbaa;border-radius:30px;padding:10px 16px;background:white;color:var(--brown);font-size:14px;font-weight:700;cursor:pointer}.project-phases button.active{background:var(--olive);color:white;border-color:var(--olive)}.project-carousel{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:7px;background:#faf7f1;border-radius:12px;padding:8px}.project-visual{min-height:260px;display:flex;align-items:center;justify-content:center}.project-visual img{width:100%;max-height:min(49vh,500px);object-fit:contain}.project-visual img[hidden],.project-visual p[hidden]{display:none}.project-visual p{text-align:center;padding:45px 10px;color:var(--muted)}.project-arrow{background:white;border:1px solid #e2d6c9;border-radius:12px;font-size:35px;color:var(--brown);height:48px}.project-arrow:disabled{opacity:.3;cursor:default}.project-dialog-bottom{margin-top:10px;font-size:14px}.project-dialog-bottom p{margin:4px 0}.project-dialog-bottom span{white-space:nowrap;color:var(--muted)}.project-thumbnails{display:flex;gap:9px;overflow-x:auto;margin:13px 0}.project-thumbnails button{border:2px solid transparent;padding:0;background:transparent;border-radius:8px;flex:0 0 88px;cursor:pointer}.project-thumbnails button.active{border-color:var(--olive)}.project-thumbnails img{height:63px;width:100%;object-fit:cover;border-radius:6px}.project-disclaimer{font-size:12px;color:var(--muted);margin:10px 0 0}@media(max-width:740px){.projects-grid{grid-template-columns:1fr;gap:19px}.project-card>img{height:245px}.project-copy h2{font-size:24px}.project-dialog{max-height:94vh}.project-carousel{grid-template-columns:33px minmax(0,1fr) 33px;padding:5px;gap:3px}.project-arrow{height:43px;font-size:29px}.project-visual{min-height:180px}.project-phases button{padding:9px 11px;font-size:12px}}

/* Přehled samostatných projektů */
.project-copy h2{margin:15px 0 13px}.project-copy p{line-height:1.65}.project-copy .project-meta{border-top:0;padding-top:0}.project-copy p strong{color:var(--brown)}.project-copy .project-meta{border-bottom:1px solid #e9e1d5;padding-bottom:12px}.project-tag{display:inline-block}.project-link{display:inline-block;margin-top:9px}


/* Kompaktní a sjednocené karty projektů – desktop / mobil */
.projects-grid {grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; max-width:1440px; margin:34px auto 0; align-items:stretch}
.project-card {min-width:0; width:100%; display:flex; flex-direction:column; height:100%; border-radius:15px}
.project-card>img {width:100%; height:auto; aspect-ratio:4/3; max-height:270px; min-height:0; object-fit:cover; object-position:center; flex:0 0 auto}
.project-copy {padding:17px 19px 20px; display:flex; flex-direction:column; flex:1; min-width:0}
.project-copy h2 {font-size:clamp(20px,1.6vw,25px); line-height:1.2; margin:11px 0 12px; overflow-wrap:anywhere}
.project-copy p {font-size:14px;line-height:1.48;margin:0 0 10px;overflow-wrap:anywhere}
.project-copy .project-meta {padding-bottom:10px;margin-bottom:10px}
.project-tag {align-self:flex-start;font-size:11px;padding:6px 10px}
.project-link {margin-top:auto;padding-top:7px;font-size:14px}
@media(max-width:1080px){.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.project-card>img{max-height:none;aspect-ratio:4/3}}
@media(max-width:650px){.projects-grid{grid-template-columns:1fr;gap:19px;max-width:480px;margin-top:26px}.project-card>img{aspect-ratio:4/3;height:auto;max-height:none}.project-copy{padding:18px}.project-copy h2{font-size:23px}}
