:root{
  --bg:#0b1220;
  --surface:#0f1a2d;
  --text:#e8eefc;
  --muted:#a9b4d0;
  --line:rgba(255,255,255,.10);
  --shadow: 0 18px 45px rgba(0,0,0,.35);
  --radius: 18px;

  --primary:#6ee7b7;
  --primary2:#22c55e;
  --accent:#93c5fd;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(147,197,253,.12), transparent 55%),
              radial-gradient(900px 500px at 110% 10%, rgba(110,231,183,.10), transparent 55%),
              var(--bg);
  color: var(--text);
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.skip{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:16px; top:16px; width:auto; height:auto;
  padding:10px 12px; border-radius:12px;
  background: rgba(255,255,255,.12);
  outline:2px solid rgba(255,255,255,.25);
}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.65);
  border-bottom:1px solid var(--line);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px;
  max-width: 1200px;
  margin:0 auto;
}
.brand{ display:flex; gap:12px; align-items:center; }
.brand__mark{
  width:42px; height:42px; border-radius:14px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.10);
  border:1px solid var(--line);
  font-weight:800;
  letter-spacing:.3px;
}
.brand__name{ font-weight:800; letter-spacing:.2px; }
.brand__tag{ color:var(--muted); font-size:12px; margin-top:2px; }
.topbar__cta{ display:flex; gap:10px; }

/* Layout */
.layout{
  max-width:1200px;
  margin:0 auto;
  padding:18px;
  display:grid;
  grid-template-columns: 280px 1fr;
  gap:18px;
}

/* Sidebar */
.sidenav{
  position:sticky;
  top:78px;
  align-self:start;
  height: calc(100vh - 98px);
  display:flex;
  flex-direction:column;
  gap:14px;
}
.sidenav__nav{
  padding:14px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.navlink{
  display:block;
  padding:10px 12px;
  border-radius: 12px;
  color: var(--muted);
}
.navlink:hover{
  background: rgba(255,255,255,.08);
  color: var(--text);
  text-decoration:none;
}
.navlink.is-active{
  background: linear-gradient(135deg, rgba(110,231,183,.18), rgba(147,197,253,.12));
  border:1px solid rgba(255,255,255,.12);
  color: var(--text);
}

.sidenav__card{
  padding:14px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.sidenav__cardTitle{ font-weight:800; margin-bottom:8px; }
.sidenav__cardText{ color:var(--muted); font-size:14px; display:grid; gap:6px; }
.sidenav__mini{ margin-top:auto; padding:0 6px; }

/* Main */
.content{ min-width:0; }
.section{
  padding: 22px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
  margin-bottom:18px;
}
.section__head{ margin-bottom:14px; }
.section__head h2{ margin:0 0 8px 0; font-size:22px; }
.section__head p{ margin:0; }
.muted{ color:var(--muted); }
.small{ font-size:12px; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight:700;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  text-decoration:none;
}
.btn--primary{
  border-color: rgba(110,231,183,.35);
  background: linear-gradient(135deg, rgba(110,231,183,.25), rgba(34,197,94,.18));
}
.btn--ghost{ background: rgba(255,255,255,.05); }
.btn--full{ width:100%; }

/* Hero */
.hero{ overflow:hidden; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
.pill{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size:12px;
  margin:0 0 10px 0;
}
.hero h1{ margin:0 0 10px 0; font-size:34px; line-height:1.08; }
.lead{ font-size:16px; color: var(--muted); line-height:1.6; margin:0 0 14px 0; }
.hero__actions{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px; }

.trust{ display:flex; gap:12px; flex-wrap:wrap; }
.trust__item{
  padding:10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
}
.trust__num{ font-weight:900; }
.trust__label{ color:var(--muted); font-size:12px; margin-top:2px; }

.hero__media{
  border-radius: 22px;
  border:1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(11,18,32,.25), rgba(11,18,32,.70)),
    url("assets/img/hero.jpg");
  background-size: cover;
  background-position: center;
  min-height: 330px;
  position:relative;
  overflow:hidden;
}
.hero__mediaOverlay{
  position:absolute; inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:10px;
  padding:14px;
}
.hero__badge{
  padding:10px 12px;
  border-radius: 16px;
  background: rgba(15,26,45,.78);
  border:1px solid rgba(255,255,255,.12);
}
.hero__badgeTitle{ font-weight:800; margin-bottom:2px; }

/* Cards */
.cards{ display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; }
.card{
  padding:14px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
}
.card h3{ margin:0 0 6px 0; font-size:16px; }

/* Two columns panels */
.twoCol{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
.panel{
  padding:16px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
}
.panel--dark{ background: linear-gradient(180deg, rgba(15,26,45,.85), rgba(14,23,41,.85)); }
.list{ margin:10px 0 0 16px; color: var(--muted); line-height:1.7; }
.steps{ margin:10px 0 0 18px; color: var(--muted); line-height:1.7; }
.divider{ height:1px; background: var(--line); margin:14px 0; }

/* Gallery */
.gallery{ display:grid; grid-template-columns: repeat(2, 1fr); gap:12px; }
.shot{
  margin:0;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.shot button{
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  width:100%;
  text-align:left;
}
.shot img{
  width:100%;
  height: 240px;
  object-fit: cover;
  display:block;
  filter: saturate(1.05) contrast(1.02);
}
.shot figcaption{ padding:12px; }
.shot__title{ font-weight:800; margin-bottom:3px; }
.note{
  margin-top:12px;
  padding:12px 14px;
  border-radius: 16px;
  border:1px dashed rgba(255,255,255,.18);
  color: var(--muted);
}

/* Calculator */
.calculator{
  padding:16px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.calcGrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
  margin-bottom:12px;
}
.field{ display:grid; gap:6px; }
.field span{ color: var(--muted); font-size:12px; }
input, select, textarea{
  width:100%;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(11,18,32,.40);
  color: var(--text);
  outline:none;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(147,197,253,.35);
  box-shadow: 0 0 0 4px rgba(147,197,253,.10);
}
.calcResult{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(15,26,45,.55);
}
.price{ font-size:28px; font-weight:900; letter-spacing:.2px; }
.calcActions{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }

/* Contact */
.contact{ display:grid; gap:8px; color: var(--muted); }

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.72);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:100;
  padding:18px;
}
.lightbox.is-open{ display:flex; }
.lightbox__panel{
  max-width: 1100px;
  width:100%;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(11,18,32,.92);
  box-shadow: var(--shadow);
}
.lightbox__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.lightbox__title{ font-weight:800; }
.lightbox__close{
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: var(--text);
  border-radius: 12px;
  padding:8px 10px;
  cursor:pointer;
  font-weight:700;
}
.lightbox__img{
  width:100%;
  height: min(70vh, 720px);
  object-fit: contain;
  background: #050812;
  display:block;
}
.lightbox__meta{ padding:12px 14px; color: var(--muted); }

/* Footer */
.footer{ text-align:center; padding: 10px 0 0 0; border:0; background: transparent; box-shadow:none; }

/* Mobile sticky CTA */
.mobileCta{
  display:none;
  position:fixed;
  left:12px;
  right:12px;
  bottom:12px;
  z-index:120;
  gap:10px;
}

/* Responsive */
@media (max-width: 980px){
  .layout{ grid-template-columns: 1fr; }
  .sidenav{ position:relative; top:auto; height:auto; }
  .hero__grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .twoCol{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: 1fr; }
  .calcGrid{ grid-template-columns: 1fr 1fr; }
  .mobileCta{ display:flex; }
}

@media (max-width: 560px){
  .calcGrid{ grid-template-columns: 1fr; }
  .topbar__cta{ display:none; }
}


/* Kalkulačka – doplnkové prvky */
.calcBreakdown{
  margin-top:8px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,.72);
}
.calcBreakdown ul{ margin:8px 0 0; padding-left:18px; }
.calcBreakdown li{ margin:2px 0; }


/* Lead forms (calculator + contact) */
.calcLead { margin-top: 18px; padding: 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.03); }
.calcLead__title { margin: 0 0 8px; }
.leadGrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.leadActions { display: flex; gap: 12px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.check { display:flex; gap:10px; align-items:flex-start; margin-top: 10px; }
.check input { margin-top: 4px; }
@media (max-width: 900px){
  .leadGrid { grid-template-columns: 1fr; }
}
