/* =========================================================================
   Compolift — statická rekonstrukce (1:1 dle archivu z prosince 2024)
   Paleta:  marshland #0f140b (pozadí) · satinLinen #e3dfcd (krémová)
            siam #60665a (olivový akcent) · gray #9ca3af (sekundární text)
   Font:    Geometria
   ========================================================================= */

/* ---------- Fonty ---------- */
@font-face{font-family:"Geometria";src:url("fonts/geometria-light.woff2") format("woff2");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:"Geometria";src:url("fonts/geometria-regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Geometria";src:url("fonts/geometria-medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Geometria";src:url("fonts/geometria-bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

/* ---------- Proměnné ---------- */
:root{
  --bg:#0f140b;          /* marshland */
  --bg-2:#131a0f;        /* jemně světlejší panel */
  --cream:#e3dfcd;       /* satinLinen / primary text */
  --olive:#60665a;       /* siam */
  --muted:#9ca3af;       /* sekundární text */
  --line:rgba(227,223,205,.14);
  --line-strong:rgba(227,223,205,.28);
  --maxw:1280px;
  --pad:clamp(1.25rem,4vw,3rem);
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;background:var(--bg);-webkit-text-size-adjust:100%}
body{
  font-family:"Geometria",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-weight:400;line-height:1.6;color:var(--cream);background:var(--bg);
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:0;background:none;color:inherit}
ul{list-style:none}

/* ---------- Typografie ---------- */
h1,h2,h3,h4{font-weight:500;line-height:1.1;color:var(--cream)}
.h-hero{font-size:clamp(2.75rem,8vw,4.75rem);text-transform:uppercase;letter-spacing:.02em;font-weight:500;line-height:1.02}
.h-section{font-size:clamp(2rem,5vw,3rem);font-weight:500}
.h-block{font-size:clamp(1.15rem,2.4vw,1.6rem);text-transform:uppercase;letter-spacing:.02em;font-weight:500;line-height:1.15}
.lead{color:var(--muted);font-weight:300;font-size:clamp(1rem,1.5vw,1.1rem)}
.muted{color:var(--muted);font-weight:300}
.eyebrow{font-size:.7rem;letter-spacing:.28em;text-transform:uppercase;color:var(--olive);font-weight:500}

.container{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad)}
section{position:relative}

/* ---------- Diagonální textura (signature prvek) ---------- */
.diagonals{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;
  background-image:repeating-linear-gradient(-45deg,transparent 0 23px,rgba(227,223,205,.14) 23px 24px)}

/* ---------- Bracket tlačítko ---------- */
.btn-bracket{position:relative;display:inline-flex;align-items:center;gap:.6em;
  padding:1.1em 2.4em;letter-spacing:.22em;text-transform:uppercase;font-size:.72rem;font-weight:500;color:var(--cream);
  transition:color .3s,transform .3s}
.btn-bracket::before,.btn-bracket::after{content:"";position:absolute;top:0;bottom:0;width:10px;
  border:1px solid var(--line-strong);transition:border-color .3s}
.btn-bracket::before{left:0;border-right:0}
.btn-bracket::after{right:0;border-left:0}
.btn-bracket:hover{color:#fff}
.btn-bracket:hover::before,.btn-bracket:hover::after{border-color:var(--cream)}

.btn-solid{display:inline-flex;align-items:center;padding:.7em 1.6em;background:var(--cream);color:var(--bg);
  letter-spacing:.06em;font-weight:500;font-size:.9rem;transition:background .3s}
.btn-solid:hover{background:#fff}

/* =========================================================================
   NAVIGACE
   ========================================================================= */
.nav{position:absolute;top:0;left:0;right:0;z-index:50;display:flex;align-items:center}
.nav-burger{display:flex;align-items:center;justify-content:center;width:56px;height:56px;
  background:var(--olive);color:var(--bg);flex:none}
@media(min-width:768px){.nav-burger{width:80px;height:80px}}
.nav-burger svg{width:24px;height:24px}
.brand{margin-left:1.25rem;margin-right:auto;display:flex;align-items:center}
.brand img{height:30px;width:auto;display:block}
@media(min-width:768px){.brand{margin-left:2rem}.brand img{height:36px}}
.nav-right{display:flex;align-items:center;gap:1rem;padding-right:1rem}
@media(min-width:768px){.nav-right{padding-right:2rem;gap:1.5rem}}
.lang{display:flex;gap:.5rem;font-size:.8rem;letter-spacing:.1em;font-weight:500}
.lang button{color:var(--muted);transition:color .25s;padding:.2em}
.lang button.active{color:var(--cream)}
.lang .sep{color:var(--olive)}
.nav-inquiry{white-space:nowrap}

/* Drawer */
.drawer{position:fixed;inset:0 auto 0 0;width:min(420px,86vw);background:var(--bg-2);z-index:70;
  transform:translateX(-105%);transition:transform .45s cubic-bezier(.7,0,.2,1);
  border-right:1px solid var(--line);display:flex;flex-direction:column;padding-top:56px}
@media(min-width:768px){.drawer{padding-top:80px}}
.drawer.open{transform:translateX(0)}
.drawer a{display:block;padding:1.6rem 2rem;border-bottom:1px solid var(--line);
  text-transform:uppercase;letter-spacing:.12em;font-size:.95rem;font-weight:500;transition:background .25s,padding-left .25s}
.drawer a:hover{background:rgba(227,223,205,.05);padding-left:2.5rem}
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:65;opacity:0;visibility:hidden;transition:.35s}
.overlay.open{opacity:1;visibility:visible}
.drawer-close{position:absolute;top:0;right:0;width:56px;height:56px;display:flex;align-items:center;justify-content:center;color:var(--cream)}
@media(min-width:768px){.drawer-close{width:80px;height:80px}}

/* =========================================================================
   HERO
   ========================================================================= */
.hero{min-height:100vh;display:flex;align-items:center;padding:7rem 0 4rem;overflow:hidden}
.hero .container{width:100%;position:relative;z-index:2}
.hero-grid{display:grid;grid-template-columns:1fr;align-items:center;gap:2rem}
@media(min-width:1024px){.hero-grid{grid-template-columns:1fr 1fr}}
.hero-copy{max-width:34rem}
.hero-copy .lead{margin:1.5rem 0 2.5rem}
.hero-img{position:absolute;right:-6%;top:50%;transform:translateY(-50%);width:60vw;max-width:820px;z-index:1;pointer-events:none}
@media(max-width:1023px){.hero-img{position:relative;right:auto;top:auto;transform:none;width:100%;margin-top:2rem;opacity:.9}}
.hero-specs{margin-top:2.5rem;border:1px solid var(--line);padding:1.5rem 1.75rem;max-width:22rem;font-size:.82rem}
.hero-specs .row{display:flex;justify-content:space-between;gap:1rem;padding:.55rem 0}
.hero-specs .row+.row{border-top:1px solid var(--line)}
.hero-specs .k{color:var(--muted);font-weight:300}
.hero-specs .v{text-align:right;color:var(--cream)}

/* Boční číslování sekcí */
.dots{position:fixed;right:1.4rem;top:50%;transform:translateY(-50%);z-index:40;display:none;
  flex-direction:column;gap:1.1rem;font-size:.72rem;color:var(--olive);font-weight:300}
@media(min-width:1100px){.dots{display:flex}}
.dots a{position:relative;padding-right:2.2rem;transition:color .25s}
.dots a::after{content:"";position:absolute;right:0;top:50%;width:1.4rem;height:1px;background:var(--olive);transform:scaleX(.5);transform-origin:right;transition:.25s;opacity:.5}
.dots a.active,.dots a:hover{color:var(--cream)}
.dots a.active::after{background:var(--cream);transform:scaleX(1);opacity:1}

/* =========================================================================
   HIGHLIGHTS (3 sloupce)
   ========================================================================= */
.highlights{padding:5rem 0 2rem}
.hl-grid{display:grid;grid-template-columns:1fr;gap:3rem;text-align:center}
@media(min-width:768px){.hl-grid{grid-template-columns:repeat(3,1fr);gap:0}}
.hl{padding:1rem 2rem}
@media(min-width:768px){.hl+.hl{border-left:1px solid var(--line)}}
.hl h3{margin-bottom:1.25rem;min-height:2.2em;display:flex;align-items:center;justify-content:center}
.hl p{color:var(--muted);font-weight:300;font-size:.95rem}

/* Hexagon marker */
.hex{width:56px;height:64px;margin:3rem auto 0;display:flex;align-items:center;justify-content:center;
  color:var(--olive);font-size:.8rem;position:relative}
.hex::before{content:"";position:absolute;inset:0;
  background:var(--olive);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 64'%3E%3Cpath d='M28 1 55 16.5v31L28 63 1 47.5v-31z' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 64'%3E%3Cpath d='M28 1 55 16.5v31L28 63 1 47.5v-31z' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat}
.hex span{position:relative;z-index:1;color:var(--muted)}
.hex-connect{width:1px;height:3rem;background:var(--line);margin:0 auto}

/* =========================================================================
   FEATURES
   ========================================================================= */
.features{padding:4rem 0 5rem;text-align:center}
.features>.container>.h-section{margin-bottom:1rem}
.feat-layout{display:grid;grid-template-columns:1fr;gap:3rem;align-items:center;margin-top:3rem;text-align:left}
@media(min-width:1024px){.feat-layout{grid-template-columns:1fr auto 1fr;gap:2rem}}
.feat-col{display:flex;flex-direction:column;gap:4rem}
.feat-img{justify-self:center;max-width:340px}
.feat{position:relative}
.feat .ico{width:64px;height:72px;color:var(--olive);margin-bottom:1.25rem;
  display:flex;align-items:center;justify-content:center}
.feat .ico svg{width:32px;height:32px}
.feat h3{margin-bottom:.9rem}
.feat p{color:var(--muted);font-weight:300;font-size:.92rem}
.feat-col.right{text-align:left}
@media(min-width:1024px){.feat-col.right{text-align:right}.feat-col.right .ico{margin-left:auto}}
.features .dl{margin-top:3.5rem}

/* Hexagon ikona wrapper (feature) */
.hexico{position:relative}
.hexico::before{content:"";position:absolute;inset:0;background:var(--line-strong);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 72'%3E%3Cpath d='M32 1 63 18.5v35L32 71 1 53.5v-35z' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 72'%3E%3Cpath d='M32 1 63 18.5v35L32 71 1 53.5v-35z' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat}

/* =========================================================================
   MISSION
   ========================================================================= */
.mission{padding:6rem 0;text-align:center}
.mission .h-section{margin:1.5rem 0}
.mission p{max-width:46rem;margin-inline:auto;color:var(--muted);font-weight:300}

/* =========================================================================
   ABOUT — accordion
   ========================================================================= */
.about{position:relative}
.acc-item{border-top:1px solid var(--line);position:relative;overflow:hidden}
.acc-item:last-child{border-bottom:1px solid var(--line)}
.acc-head{display:flex;align-items:center;gap:1.5rem;width:100%;padding:2rem var(--pad);text-align:left;
  transition:background .3s}
.acc-head:hover{background:rgba(227,223,205,.04)}
.acc-num{color:var(--olive);font-size:.75rem;font-weight:300;flex:none}
.acc-title{text-transform:uppercase;letter-spacing:.06em;font-size:clamp(1.1rem,2.2vw,1.5rem);font-weight:500;flex:1}
.acc-chevron{flex:none;transition:transform .35s;color:var(--cream)}
.acc-item.open .acc-chevron{transform:rotate(180deg)}
.acc-body{max-height:0;overflow:hidden;transition:max-height .5s ease}
.acc-inner{padding:0 var(--pad) 3rem}
.acc-item.bg .acc-inner{position:relative;z-index:2}
.acc-item.bg{background-size:cover;background-position:center}
.acc-item.bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,20,11,.92) 40%,rgba(15,20,11,.55));z-index:1}
.acc-item.bg .acc-head,.acc-item.bg .acc-body{position:relative;z-index:2}
.acc-text{max-width:34rem;color:var(--muted);font-weight:300}
.acc-item.bg .acc-text{margin-left:auto;text-align:left}
@media(min-width:768px){.acc-item.bg .acc-inner{display:flex;justify-content:flex-end}}

/* Galerie uvnitř accordionu */
.gallery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;max-width:60rem}
@media(min-width:768px){.gallery-grid{grid-template-columns:repeat(4,1fr)}}
.gallery-grid figure{position:relative}
.gallery-grid img{aspect-ratio:3/4;object-fit:cover;width:100%;border:1px solid var(--line)}
.gallery-grid figcaption{font-size:.72rem;color:var(--muted);margin-top:.6rem;font-weight:300}

/* =========================================================================
   DEVICE DETAILS — carousel
   ========================================================================= */
.details{padding:6rem 0}
.details-head{max-width:32rem;margin-left:auto;text-align:left;margin-bottom:3rem}
@media(min-width:1024px){.details-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:3rem;align-items:start}}
.carousel{position:relative}
.carousel .stage{position:relative;border:1px solid var(--line);aspect-ratio:1/1;overflow:hidden;background:#0b0f08}
.carousel .stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .5s}
.carousel .stage img.active{opacity:1}
.carousel .nav-btns{position:absolute;bottom:1rem;right:1rem;display:flex;gap:.5rem}
.carousel .nav-btns button{width:44px;height:44px;border:1px solid var(--line-strong);display:flex;align-items:center;justify-content:center;
  background:rgba(15,20,11,.6);transition:.25s}
.carousel .nav-btns button:hover{border-color:var(--cream);background:rgba(15,20,11,.9)}
.carousel-caption{margin-top:1.75rem}
.carousel-caption h3{text-transform:uppercase;letter-spacing:.04em;margin-bottom:.75rem}
.carousel-caption p{color:var(--muted);font-weight:300}
.thumbs{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-top:2rem}
@media(min-width:1024px){.thumbs{margin-top:0}}
.thumbs button{border:1px solid var(--line);aspect-ratio:1/1;overflow:hidden;transition:border-color .25s;background:#0b0f08}
.thumbs button.active{border-color:var(--cream)}
.thumbs img{width:100%;height:100%;object-fit:contain}
.details .dl{margin-top:2.5rem}

/* =========================================================================
   CTA + FOOTER
   ========================================================================= */
.cta{padding:6rem 0;overflow:hidden}
.cta-inner{display:flex;flex-wrap:wrap;align-items:center;gap:2rem;position:relative;z-index:2}
.cta .h-section{margin:0}
.cta .glow{position:absolute;left:20%;top:50%;width:420px;height:420px;transform:translateY(-50%);
  background:radial-gradient(circle,rgba(227,223,205,.10),transparent 65%);z-index:0;pointer-events:none}

.footer{padding:4rem 0 3rem;border-top:1px solid var(--line)}
.footer-grid{display:grid;grid-template-columns:1fr;gap:3rem}
@media(min-width:768px){.footer-grid{grid-template-columns:1fr 1fr}}
.footer .eyebrow{margin-bottom:1.5rem}
.footer .f-email{font-size:clamp(1.3rem,3vw,1.9rem);text-transform:uppercase;letter-spacing:.02em;font-weight:500;display:inline-block;margin-bottom:.6rem;transition:color .25s}
.footer .f-email:hover{color:#fff}
.footer .f-tel{font-size:clamp(1.3rem,3vw,1.9rem);font-weight:500;display:block;margin-bottom:1.5rem}
.footer .f-addr{color:var(--muted);font-weight:300;font-size:.9rem}
.footer-menu a{display:block;color:var(--muted);font-weight:300;padding:.4rem 0;transition:color .25s}
.footer-menu a:hover{color:var(--cream)}
.copyright{margin-top:3rem;text-align:right;color:var(--olive);font-size:.78rem;font-weight:300}

/* ---------- Jazyk viditelnost (fallback, JS řídí textContent) ---------- */
[hidden]{display:none!important}

/* ---------- Reveal animace ---------- */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .8s,transform .8s}
.reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}html{scroll-behavior:auto}}
