/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root{
  /* barvy */
  --ink:        #1B345C;   /* světlejší tmavě modrá - hero, nav */
  --ink-soft:   #254576;
  --paper:      #FFFFFF;
  --paper-dim:  #F0F4FA;
  --line:       #E2E8F0;
  --line-dark:  #36486B;

  --text-dark:  #14181F;
  --text-soft:  #5B6472;
  --text-on-ink:#E8EAF0;
  --text-on-ink-soft:#8C97AC;

  --blue:       #3B6EA8;   /* technická modrá - geodata */
  --teal:       #2BA89B;   /* mapy / vegetace */
  --thermo:     #FF6A3D;   /* termo akcent */
  --thermo-hot: #FFB23D;
  --warn:       #D98A2B;
  --bad:        #E1503F;
  --ok:         #2E9E6B;

  /* typografie */
  --f-display: 'Plus Jakarta Sans', sans-serif;
  --f-body:    'Inter', sans-serif;
  --f-mono:    'Plus Jakarta Sans', sans-serif;

  /* layout */
  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
}

[data-theme="dark"] {
  --paper: #1B345C;
  --paper-dim: #254576;
  --text-dark: #F0F4F8;
  --text-soft: #A3B1C6;
  --line: #36486B;
}

/* =========================================================
   RESET
   ========================================================= */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--f-body);
  color:var(--text-dark);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family:var(--f-display); margin:0; color:var(--text-dark); line-height:1.15; }
p{ margin:0; }

body.modal-open{ overflow:hidden; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

:focus-visible{
  outline:2px solid var(--thermo);
  outline-offset:3px;
  border-radius:4px;
}

.mono{ font-family:var(--f-mono); }

.eyebrow{
  font-family:var(--f-mono);
  font-size:0.78rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--thermo);
  margin:0 0 0.9rem;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:0.5rem;
  padding:0.85rem 1.6rem;
  border-radius:999px;
  font-weight:600;
  font-size:0.95rem;
  border:1px solid transparent;
  transition:transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary{
  background:var(--thermo);
  color:#1A0E08;
}
.btn--primary:hover{ background:var(--thermo-hot); transform:translateY(-1px); }

.btn--ghost{
  border-color: rgba(27,52,92,0.3);
  color: var(--text-dark);
}
.btn--ghost:hover{ background: rgba(27,52,92,0.06); transform: translateY(-1px); }

.btn--block{ width:100%; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav{
  position:fixed;
  top:0; left:0; right:0;
  z-index:100;
  background:rgba(255, 255, 255, 0.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(0,0,0,0.08);
}
.nav__inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0.9rem 1.5rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.nav__brand{
  display:flex;
  align-items:center;
  gap:0.6rem;
  font-family:var(--f-display);
  color:var(--text-dark);
  font-weight:600;
  font-size:1rem;
  letter-spacing:0.02em;
}
.nav__brand-mark{
  width:11px; height:11px;
  border-radius:2px;
  background:linear-gradient(135deg, var(--thermo), var(--blue));
  display:inline-block;
}
.nav__links{
  display:flex;
  align-items:center;
  gap:1.9rem;
}
.nav__links a{
  font-size:0.92rem;
  color:var(--text-soft);
  transition:color .2s ease;
  white-space:nowrap;
}
.nav__links a:hover{ color:var(--text-dark); }
.nav__cta{
  padding:0.5rem 1.1rem;
  border-radius:999px;
  border:1px solid rgba(255,106,61,0.5);
  color:var(--thermo) !important;
}
.nav__cta:hover{ background:rgba(255,106,61,0.1); }
.nav__cta--gis{ margin-left:-1rem; border-color:rgba(27,52,92,0.3); color:var(--ink) !important; }
.nav__cta--gis:hover{ background:rgba(27,52,92,0.06); }

.nav__burger{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:34px; height:34px;
  background:none; border:none;
}
.nav__burger span{
  display:block; height:2px; width:100%;
  background:var(--text-dark);
  border-radius:1px;
  transition:transform .2s ease, opacity .2s ease;
}

@media (max-width:1180px){
  .nav__links{
    position:fixed;
    top:60px; right:0;
    height:calc(100vh - 60px);
    width:min(78vw, 320px);
    background:rgba(255, 255, 255, 0.98);
    flex-direction:column;
    align-items:flex-start;
    padding:2rem 1.6rem;
    gap:1.5rem;
    transform:translateX(100%);
    transition:transform .25s ease;
    border-left:1px solid rgba(0,0,0,0.08);
  }
  .nav__links.is-open{ transform:translateX(0); }
  .nav__burger{ display:flex; }
  .nav__burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
  .nav__burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  isolation:isolate;
  min-height:100vh;
  background: linear-gradient(135deg, #EEF3FA 0%, #F8FBFF 50%, #EEF3FA 100%);
  color: var(--text-dark);
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:7rem 1.5rem 4rem;
  overflow:hidden;
}
.hero__canvas{
  position:absolute;
  inset:0;
  width:100%; height:100%;
  opacity:0.3;
  mix-blend-mode:multiply;
  pointer-events:none;
  transition:opacity .4s ease;
}
.hero__scan{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 0%, rgba(59,110,168,0.04) 50%, transparent 100%);
  background-size:100% 220px;
  animation:scan 7s linear infinite;
  pointer-events:none;
}
@keyframes scan{
  0%{ background-position:0 -220px; }
  100%{ background-position:0 calc(100vh + 220px); }
}

.hero__content{
  position:relative;
  z-index:2;
  max-width:760px;
  margin:0 auto;
  width:100%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 40px rgba(27, 52, 92, 0.05), inset 0 2px 20px rgba(255, 255, 255, 0.8);
}
@media (max-width:640px) {
  .hero__content { padding: 2rem 1.5rem; }
}
.hero__title{
  font-size:clamp(2.2rem, 5.2vw, 3.6rem);
  font-weight:800;
  letter-spacing:-0.02em;
  color: var(--text-dark);
  margin-bottom:1.4rem;
}
.hero__title-accent{
  color:var(--thermo);
  position:relative;
}
.hero__lede{
  font-size:1.08rem;
  line-height:1.65;
  color: var(--text-soft);
  max-width:560px;
  margin-bottom:2.2rem;
}
.hero__actions{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  margin-bottom:3.2rem;
}

.hero__stats{
  display:flex;
  gap:2.6rem;
  flex-wrap:wrap;
  margin:0;
  padding-top:1.8rem;
  border-top:1px solid rgba(27,52,92,0.1);
}
.hero__stat dt{
  font-size:0.75rem;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color: var(--text-soft);
  margin-bottom:0.35rem;
}
.hero__stat dd{
  margin:0;
  font-size:1.3rem;
  font-weight:600;
  color: var(--text-dark);
}
.hero__stat dd .mono{ color:var(--thermo); }

.hero__scroll{
  position:absolute;
  bottom:1.8rem; left:50%;
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0.5rem;
  color: var(--text-soft);
  font-family:var(--f-mono);
  font-size:0.7rem;
  letter-spacing:0.15em;
  text-transform:uppercase;
}
.hero__scroll-line{
  width:1px; height:34px;
  background:linear-gradient(180deg, var(--thermo), transparent);
}

/* =========================================================
   SECTION HEAD (shared)
   ========================================================= */
.section-head{
  max-width:680px;
  margin:0 auto 3.2rem;
  padding:0 1.5rem;
  text-align:center;
}
.section-head h2{
  font-size:clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom:1rem;
}
.section-head__lede{
  color:var(--text-soft);
  font-size:1.02rem;
  line-height:1.6;
}

/* =========================================================
   SERVICES / CARDS
   ========================================================= */
.services{
  padding:6rem 0 5rem;
}
.card-grid{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 1.5rem;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.4rem;
}
@media (max-width:1040px){
  .card-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:640px){
  .card-grid{ grid-template-columns:1fr; }
}

.card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  --stagger: 0px;
  transform: translateY(var(--stagger));
  box-shadow: inset 0 2px 24px rgba(59,110,168,0.08), 0 4px 16px rgba(27,52,92,0.03);
  position: relative;
}
.card:hover{ z-index: 5; border-color: var(--thermo); box-shadow: 0 12px 32px -8px rgba(27,52,92,0.18), inset 0 2px 24px rgba(59,110,168,0.1); transform: translateY(calc(var(--stagger) - 4px)) scale(1.02) !important; }

/* Cards 4-6 blur preview effect and 7-9 hidden (all screens) */
.card-grid--preview .card:nth-child(n+4) {
  filter: blur(5px);
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
  max-height: 220px;
  overflow: hidden;
}
.card-grid--preview .card:nth-child(n+7) {
  display: none !important;
}

@media (max-width: 1040px) {
  /* Tablet: 2 columns. Show cards 1,2,3,4. Hide 5+ */
  .card-grid--preview .card:nth-child(n+5) { display: none !important; }
}
@media (max-width: 640px) {
  /* Mobile: 1 column. Show cards 1,2,3 (solid), 4 (blurred). Hide 5+ */
  .card-grid--preview .card:nth-child(n+5) { display: none !important; }
}

/* Services reveal overlay (all screens) */
.services__reveal {
  position: relative;
  text-align: center;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin-top: -160px;
  padding-top: 60px;
  padding-bottom: 2rem;
  background: linear-gradient(to top, var(--paper) 45%, rgba(255,255,255,0.85) 75%, transparent 100%);
  pointer-events: none;
  transition: all 0.3s ease;
}
.services__reveal .btn {
  pointer-events: auto;
  box-shadow: 0 6px 20px rgba(255, 106, 61, 0.35);
}
.services__reveal--expanded {
  margin-top: 2.5rem;
  padding-top: 0;
  padding-bottom: 0;
  background: none !important;
}
.services__reveal .btn,
.services__reveal--expanded .btn {
  background: var(--thermo) !important;
  color: #14181F !important;
  font-weight: 700 !important;
  border: 1px solid var(--thermo) !important;
  box-shadow: 0 6px 20px rgba(255, 106, 61, 0.4) !important;
}
.services__reveal .btn:hover,
.services__reveal--expanded .btn:hover {
  background: var(--thermo-hot) !important;
  border-color: var(--thermo-hot) !important;
  color: #14181F !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 106, 61, 0.55) !important;
}

.card__face{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  width:100%;
  height:100%;
  padding:1.8rem;
  gap:0.6rem;
}
.card__tag{
  font-size:0.7rem;
  letter-spacing:0.1em;
  color:var(--blue);
  background:rgba(59,110,168,0.08);
  padding:0.3rem 0.6rem;
  border-radius:999px;
  margin-bottom:0.2rem;
}
.card__title{
  font-size:1.18rem;
  margin-bottom:0.1rem;
}
.card__line{
  color:var(--text-soft);
  font-size:0.9rem;
  line-height:1.5;
  margin:0;
}
.card__line-label{
  display:block;
  font-size:0.65rem;
  letter-spacing:0.08em;
  color:var(--text-soft);
  opacity:0.7;
  margin-bottom:0.15rem;
}
.card__price{
  display:flex;
  align-items:baseline;
  gap:0.5rem;
  margin-top:auto;
  padding-top:0.8rem;
  border-top:1px solid var(--line);
  width:100%;
}
.card__price .mono{
  font-size:0.68rem;
  letter-spacing:0.05em;
  color:var(--text-soft);
}
.card__price strong{
  font-size:1rem;
  color:var(--thermo);
  font-family:var(--f-mono);
  font-weight:500;
}

.card__cta{
  display:inline-flex;
  align-items:center;
  gap:0.5rem;
  margin-top:0.7rem;
  padding:0.65rem 1.1rem;
  border-radius:999px;
  border:1px solid var(--text-dark);
  background:var(--text-dark);
  color:var(--paper);
  font-size:0.86rem;
  font-weight:600;
  transition:background .2s ease, transform .15s ease, border-color .2s ease;
}
.card__cta:hover{ 
  background:var(--thermo); 
  border-color:var(--thermo); 
  color:#fff !important; 
  transform:translateY(-1px); 
}
.icon-expand{ flex-shrink:0; }

/* =========================================================
   FULLSCREEN MODAL (detail služby)
   ========================================================= */
.modal{
  position:fixed;
  inset:0;
  z-index:300;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:3rem 1.2rem;
}
.modal[hidden]{ display:none; }

.modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(6,10,18,0.72);
  backdrop-filter:blur(3px);
}

.modal__panel{
  position:relative;
  width:min(96vw, 1180px);
  max-height:92vh;
  overflow-y:auto;
  background:var(--paper);
  border-radius:20px;
  padding:2.6rem;
  box-shadow:0 40px 90px -25px rgba(0,0,0,0.5);
  animation:modal-in .22s ease;
}
@keyframes modal-in{
  from{ opacity:0; transform:translateY(10px) scale(0.985); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}
@media (max-width:680px){
  .modal{ padding:0; padding-top:env(safe-area-inset-top, 0px); }
  .modal__panel{ width:100%; max-height:100dvh; height:100dvh; border-radius:0; padding:1.6rem; padding-top:calc(1.6rem + env(safe-area-inset-top, 0px)); }
  .sketchfab-embed-wrapper iframe {
    pointer-events: auto;
    -webkit-overflow-scrolling: touch;
  }
  .map-window__frame {
    height: 250px;
    min-height: 250px;
  }
}

.modal__close{
  position:sticky;
  top:0; right:0;
  margin-left:auto;
  margin-bottom:-38px;
  width:38px; height:38px;
  border-radius:50%;
  border:1px solid var(--line);
  background:#fff;
  font-size:1rem;
  color:var(--text-soft);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .2s ease, color .2s ease;
  z-index:10;
  flex-shrink:0;
}
.modal__close:hover{ background:var(--text-dark); color:#fff; }

.modal__title{
  font-size:clamp(1.5rem, 3vw, 2rem);
  margin:0.5rem 0 0.8rem;
  padding-right:3rem;
}
.modal__intro{
  color:var(--text-soft);
  font-size:1.02rem;
  line-height:1.6;
  max-width:760px;
  margin-bottom:1.8rem;
}

.modal__details{ margin-top:2rem; }

.modal__footer{
  margin-top:2.2rem;
  padding-top:1.6rem;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:1.2rem;
}
.modal__price{
  display:flex;
  align-items:baseline;
  gap:0.6rem;
  flex-wrap:wrap;
}
.modal__price .mono{ font-size:0.7rem; color:var(--text-soft); letter-spacing:0.05em; }
.modal__price strong{ font-size:1.25rem; color:var(--thermo); font-family:var(--f-mono); font-weight:500; }
.modal__price-note{ font-size:0.82rem; color:var(--text-soft); }

/* shared detail text blocks (used inside modals) */
.panel__grid{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:2.2rem;
}
@media (max-width:680px){
  .panel__grid{ grid-template-columns:1fr; }
}
.panel__col h4{
  font-size:1rem;
  margin-bottom:0.7rem;
}
.panel__col p{
  color:var(--text-soft);
  font-size:0.94rem;
  line-height:1.6;
  margin-bottom:1rem;
}
.panel__list{
  display:flex;
  flex-direction:column;
  gap:0.65rem;
}
.panel__list li{
  list-style:none;
  font-size:0.92rem;
  line-height:1.55;
  color:var(--text-soft);
  padding-left:1rem;
  border-left:2px solid var(--line);
}
.panel__list strong{ color:var(--text-dark); }

/* =========================================================
   MAP WINDOW (Leaflet / OpenStreetMap)
   ========================================================= */
.map-window{
  border-radius:var(--radius-sm);
  overflow:hidden;
  border:1px solid var(--line-dark);
  background:var(--ink);
}
.map-window__head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:0.5rem;
  padding:0.8rem 1.1rem;
  background:var(--ink);
  color:var(--text-on-ink);
}
.map-window__head .mono{
  font-size:0.7rem;
  letter-spacing:0.08em;
  color:var(--thermo);
}
.map-window__hint{
  font-size:0.78rem;
  color:var(--text-on-ink-soft);
}
.map-window__frame{
  height:min(58vh, 480px);
  min-height:340px;
}
.leaflet-map{
  width:100%;
  height:100%;
  background:#0B1220;
}
.map-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  color:var(--text-on-ink-soft);
  font-size:0.85rem;
  text-align:center;
  padding:1.5rem;
}

/* theme Leaflet's own controls to match the site */
.leaflet-control-layers{
  border-radius:10px !important;
  border:1px solid var(--line) !important;
  box-shadow:0 8px 20px -10px rgba(0,0,0,0.35) !important;
  font-family:var(--f-body) !important;
}
.leaflet-control-layers-overlays label{
  font-size:0.85rem;
  padding:0.15rem 0;
}
.leaflet-bar a{
  color:var(--text-dark) !important;
}
.leaflet-popup-content{
  font-family:var(--f-body) !important;
  font-size:0.86rem !important;
  line-height:1.5 !important;
}
.leaflet-popup-content strong{ font-family:var(--f-display); }

/* =========================================================
   ZÁKONNÉ POVINNOSTI
   ========================================================= */
.legal{
  position: relative;
  padding: 6rem 2rem;
  background: #EEF3FA;
  overflow: hidden;
}
.legal::before {
  content: '\00a7';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(220px, 35vw, 420px);
  font-family: var(--f-display);
  font-weight: 800;
  color: #1B345C;
  opacity: 0.045;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.legal .section-head h2 { color: var(--text-dark); }
.legal .section-head__lede { color: var(--text-soft); }
.legal .eyebrow { color: var(--thermo); }

.legal__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
@media (max-width:700px){
  .legal__grid{ grid-template-columns: 1fr; }
}
.legal__item{
  background: #fff;
  border: 1px solid rgba(27,52,92,0.1);
  border-left: 4px solid var(--thermo);
  border-radius: 0 14px 14px 0;
  padding: 1.8rem;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  box-shadow: inset 0 2px 20px rgba(59,110,168,0.06), 0 4px 16px rgba(27,52,92,0.03);
}
.legal__item:hover{
  box-shadow: 0 12px 30px -4px rgba(27,52,92,0.12), inset 0 2px 20px rgba(59,110,168,0.08);
  transform: translateY(-3px);
}
.legal__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--thermo);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.legal__item h3{
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.legal__item p{
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-soft);
}
.legal__item strong{ color: var(--text-dark); }

/* =========================================================
   O NÁS
   ========================================================= */
.about{
  padding:6rem 0;
  background:var(--paper);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.about__inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 1.5rem;
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:3.5rem;
  align-items:start;
}
@media (max-width:880px){
  .about__inner{ grid-template-columns:1fr; gap:2.4rem; }
}
.about__text h2{
  font-size:clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom:1.1rem;
}
.about__lede{
  color:var(--text-soft);
  font-size:1rem;
  line-height:1.65;
  margin-bottom:1rem;
  max-width:480px;
}
.about__pillars{
  display:flex;
  flex-direction:column;
  gap:1.6rem;
}
.about__pillar{
  padding-left:1.2rem;
  border-left:2px solid var(--line);
}
.about__pillar-icon{
  display:inline-block;
  color:var(--thermo);
  font-size:0.8rem;
  margin-bottom:0.4rem;
}
.about__pillar h3{
  font-size:1.02rem;
  margin-bottom:0.4rem;
}
.about__pillar p{
  color:var(--text-soft);
  font-size:0.9rem;
  line-height:1.55;
}

.about__media{
  margin-top:3.5rem;
  padding-top:2.5rem;
  border-top:1px solid var(--line);
}
.about__media h3{
  font-size:1.15rem;
  margin-bottom:1.2rem;
}
.about__media-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:1.5rem;
}
.about__media-item{
  display:flex;
  gap:1rem;
  align-items:flex-start;
  padding:1.2rem;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:10px;
  transition:box-shadow .2s;
}
.about__media-item:hover{
  box-shadow:0 4px 16px rgba(0,0,0,0.08);
}
.about__media-item img{
  width:80px;
  height:60px;
  object-fit:cover;
  border-radius:6px;
  flex-shrink:0;
}
.about__media-item div {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}
.about__media-item h4{
  font-size:0.95rem;
  margin-bottom:0.3rem;
}
.about__media-item p{
  font-size:0.85rem;
  color:var(--text-soft);
  line-height:1.5;
}
.about__media-item a{
  color:var(--thermo);
  font-size:0.85rem;
  text-decoration:none;
  font-weight:500;
}
.about__media-item a:hover{ text-decoration:underline; }

/* ---- Certifikáty & oprávnění ---- */
.about__certs h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}
.about__certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 860px) {
  .about__certs-grid { grid-template-columns: 1fr; }
}
.about__cert-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  font-family: var(--f-body);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  box-shadow: inset 0 2px 20px rgba(59,110,168,0.06), 0 4px 16px rgba(27,52,92,0.03);
}
.about__cert-card > * {
  position: relative;
  z-index: 1;
}
.cert-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0 !important;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.about__cert-card:hover .cert-bg-video {
  opacity: 0.12;
}
.about__cert-card:hover {
  border-color: var(--thermo);
  box-shadow: 0 12px 30px -6px rgba(27,52,92,0.14), inset 0 2px 20px rgba(59,110,168,0.08);
  transform: translateY(-3px);
}
.about__cert-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,106,61,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--thermo);
  transition: background .25s ease, color .25s ease;
}
.about__cert-card:hover .about__cert-icon {
  background: var(--thermo);
  color: #fff;
}
.about__cert-tag {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: rgba(59,110,168,0.08);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.about__cert-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}
.about__cert-card p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0;
  flex-grow: 1;
}
.about__cert-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--thermo);
  margin-top: auto;
}
.about__cert-card:hover .about__cert-link {
  text-decoration: underline;
}

/* Cert list inside modals */
.cert-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cert-list__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.93rem;
  font-weight: 500;
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease, background .2s ease;
  box-shadow: inset 0 1px 10px rgba(59,110,168,0.04);
}
.cert-list__item:hover {
  border-color: var(--thermo);
  box-shadow: 0 6px 20px -4px rgba(255,106,61,0.12), inset 0 1px 10px rgba(59,110,168,0.06);
  transform: translateY(-1px);
  background: rgba(255,106,61,0.03);
}
.cert-list__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,106,61,0.08);
  color: var(--thermo);
  font-size: 0.7rem;
  font-weight: 700;
}

/* Dark mode cert cards */
[data-theme='dark'] .about__cert-card { background: #1B345C; border-color: #36486B; box-shadow: inset 0 2px 20px rgba(255,255,255,0.03), 0 4px 16px rgba(0,0,0,0.2); }
[data-theme='dark'] .about__cert-card:hover { border-color: var(--thermo); box-shadow: 0 12px 30px -6px rgba(0,0,0,0.35), inset 0 2px 20px rgba(255,255,255,0.05); }
[data-theme='dark'] .about__cert-card h4 { color: #F0F4F8; }
[data-theme='dark'] .about__cert-card p { color: #A3B1C6; }
[data-theme='dark'] .about__cert-tag { background: rgba(59,110,168,0.2); color: #7AA3D4; }
[data-theme='dark'] .cert-list__item { background: #152948; border-color: #36486B; color: #F0F4F8; }
[data-theme='dark'] .cert-list__item:hover { border-color: var(--thermo); background: rgba(255,106,61,0.06); }

/* =========================================================
   FAQ
   ========================================================= */
.faq{
  padding: 6rem 0;
  background: #fff;
}
.faq__list{
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.faq__item{
  background: #fff;
  border: 1px solid rgba(27,52,92,0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  box-shadow: inset 0 2px 14px rgba(59,110,168,0.06), 0 4px 14px rgba(27,52,92,0.03);
}
.faq__item:hover {
  border-color: rgba(255,106,61,0.4);
  box-shadow: 0 8px 24px -4px rgba(27,52,92,0.09), inset 0 2px 14px rgba(59,110,168,0.08);
  transform: translateY(-2px);
}
.faq__item.is-open {
  border-color: var(--thermo);
  box-shadow: 0 8px 28px -4px rgba(255,106,61,0.15), inset 0 2px 14px rgba(59,110,168,0.08);
}
.faq__q{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease;
}
.faq__q:hover { background: #F6F9FF; }
.faq__item.is-open .faq__q { background: #F6F9FF; }
.faq__num {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--thermo);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  width: 26px;
  opacity: 0.8;
}
.faq__q-text {
  flex: 1;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}
.faq__chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-soft);
  transition: transform .3s ease, color .2s ease;
}
.faq__item.is-open .faq__chevron {
  transform: rotate(180deg);
  color: var(--thermo);
}
/* smooth slide via grid trick */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.4,0,.2,1);
}
.faq__a-inner {
  overflow: hidden;
}
.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}
.faq__a p{
  padding: 0.8rem 1.4rem 1.4rem calc(1.4rem + 26px + 1rem);
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.65;
  margin: 0;
  border-top: 1px solid rgba(27,52,92,0.06);
}

/* =========================================================
   PROCESS
   ========================================================= */
.process{
  background: #EEF3FA;
  color: var(--text-dark);
  padding: 6rem 0;
}
.process .section-head h2{ color: var(--text-dark); }
.process .section-head .eyebrow{ color: var(--thermo); }

.process__steps{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process__steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(1.5rem + 44px);
  right: calc(1.5rem + 44px);
  height: 1px;
  background: rgba(27,52,92,0.12);
  z-index: 0;
}
@media (max-width:860px){
  .process__steps{ grid-template-columns: repeat(2, 1fr); }
  .process__steps::before { display: none; }
}
@media (max-width:540px){
  .process__steps{ grid-template-columns: 1fr; }
}
.process__step{
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem 1.8rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(27,52,92,0.08);
  box-shadow: inset 0 2px 24px rgba(59,110,168,0.08), 0 4px 16px rgba(27,52,92,0.03);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.process__step:hover {
  border-color: var(--thermo);
  box-shadow: 0 12px 32px -6px rgba(27,52,92,0.16), inset 0 2px 24px rgba(59,110,168,0.1);
  transform: translateY(-4px);
}
.process__num {
  display: block;
  font-family: var(--f-mono);
  font-size: clamp(52px, 6vw, 76px);
  font-weight: 700;
  line-height: 1;
  color: var(--thermo);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.process__step h3{
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}
.process__step p{
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact{
  padding:6rem 0;
  background:var(--paper);
}
.contact__inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 1.5rem;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3rem;
}
@media (max-width:840px){
  .contact__inner{ grid-template-columns:1fr; }
}
.contact__text h2{
  font-size:clamp(1.6rem, 3.2vw, 2.1rem);
  margin-bottom:1rem;
}
.contact__lede{
  color:var(--text-soft);
  line-height:1.6;
  margin-bottom:1.8rem;
  max-width:440px;
}
.contact__details{
  display:flex;
  flex-direction:column;
  gap:0.6rem;
}
.contact__details li{
  list-style:none;
  font-size:0.95rem;
  color:var(--text-dark);
}
.contact__details .mono{
  color:var(--text-soft);
  margin-right:0.6rem;
  font-size:0.8rem;
}

.contact__form{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:2rem;
  display:flex;
  flex-direction:column;
  gap:1.1rem;
  box-shadow: inset 0 2px 24px rgba(59,110,168,0.06), 0 6px 24px rgba(27,52,92,0.04);
}
.form__row{
  display:flex;
  flex-direction:column;
  gap:0.4rem;
}
.form__row label{
  font-size:0.84rem;
  font-weight:600;
  color:var(--text-dark);
}
.form__row input,
.form__row select,
.form__row textarea{
  font-family:var(--f-body);
  font-size:0.95rem;
  padding:0.65rem 0.8rem;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--paper);
  color:var(--text-dark);
  resize:vertical;
}
.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus{
  outline:2px solid var(--thermo);
  outline-offset:1px;
  border-color:transparent;
}
.form__note{
  font-size:0.85rem;
  color:var(--ok);
  min-height:1.1em;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer{
  background:var(--ink);
  color:var(--text-on-ink-soft);
  padding:1.6rem 0;
}
.footer__inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 1.5rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:0.6rem;
  font-size:0.82rem;
}
.footer__brand{ color:var(--text-on-ink); letter-spacing:0.05em; }

/* =========================================================
   SCROLL REVEAL — jemné nasouvání prvků při scrollu
   ========================================================= */
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
  transition-delay:var(--reveal-delay, 0ms);
}
.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* =========================================================
   COOKIE CONSENT
   ========================================================= */
.cookie-banner{
  position:fixed;
  bottom:0; left:0; right:0;
  z-index:9999;
  background:var(--ink);
  color:#fff;
  padding:1.2rem 2rem;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:1.5rem;
  flex-wrap:wrap;
  font-size:0.88rem;
  box-shadow:0 -4px 24px rgba(0,0,0,0.25);
  transform:translateY(100%);
  transition:transform .3s ease;
}
.cookie-banner.is-visible{
  transform:translateY(0);
}
.cookie-banner p{
  max-width:600px;
  line-height:1.5;
  color:rgba(255,255,255,0.8);
}
.cookie-banner a{
  color:var(--thermo);
  text-decoration:underline;
}
.cookie-banner__btn{
  background:var(--thermo);
  color:#fff;
  border:none;
  padding:0.6rem 1.6rem;
  border-radius:6px;
  font-size:0.88rem;
  font-weight:600;
  cursor:pointer;
  transition:opacity .2s;
  white-space:nowrap;
}
.cookie-banner__btn:hover{ opacity:0.85; }

/* =========================================================
   CUSTOM LANG SELECT (Replaces Google Translate styling)
   ========================================================= */
.nav__lang-select {
  appearance: none;
  background: var(--paper);
  color: var(--text-dark);
  border: 1px solid var(--line);
  padding: 0.2rem 1.2rem 0.2rem 0.5rem;
  border-radius: 6px;
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color .2s;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 1" stroke="%235B6472" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.4rem center;
  background-size: 8px;
}
.nav__lang-select:hover {
  border-color: var(--text-soft);
}
[data-theme="dark"] .nav__lang-select {
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 1" stroke="%238C97AC" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

/* Scroll to top */
.scroll-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; background: var(--thermo); color: #fff; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(15px); transition: all 0.3s ease; z-index: 999; box-shadow: 0 4px 16px rgba(255,106,61,0.45); }
.scroll-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-to-top:hover { background: var(--text-dark); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(20,24,31,0.3); }

/* --- DARK MODE REFINEMENTS --- */
[data-theme='dark'] .hero { background: linear-gradient(135deg, #1B345C 0%, #112240 100%); }
[data-theme='dark'] .hero__content { background: rgba(17, 34, 64, 0.65); border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }

/* Zákonné povinnosti (Legal) */
[data-theme='dark'] .legal { background: #111e33; }
[data-theme='dark'] .legal::before { color: #ffffff; opacity: 0.03; }
[data-theme='dark'] .legal__item { background: #1B345C; border-color: #36486B; box-shadow: inset 0 2px 20px rgba(255,255,255,0.03), 0 4px 16px rgba(0,0,0,0.25); }
[data-theme='dark'] .legal__item:hover { box-shadow: 0 12px 30px -4px rgba(0,0,0,0.4), inset 0 2px 20px rgba(255,255,255,0.05); }
[data-theme='dark'] .legal__item h3 { color: #F0F4F8; }
[data-theme='dark'] .legal__item p { color: #A3B1C6; }

/* Jak to probíhá (Process) */
[data-theme='dark'] .process { background: #111e33; }
[data-theme='dark'] .process__steps::before { background: rgba(255, 255, 255, 0.1); }
[data-theme='dark'] .process__step { background: #1B345C; border-color: #36486B; box-shadow: inset 0 2px 24px rgba(255,255,255,0.03), 0 4px 16px rgba(0,0,0,0.25); }
[data-theme='dark'] .process__step:hover { border-color: var(--thermo); box-shadow: 0 12px 32px -6px rgba(0,0,0,0.4), inset 0 2px 24px rgba(255,255,255,0.06); }
[data-theme='dark'] .process__step h3 { color: #F0F4F8; }
[data-theme='dark'] .process__step p { color: #A3B1C6; }

/* Časté dotazy (FAQ) */
[data-theme='dark'] .faq { background: #1B345C; }
[data-theme='dark'] .faq__item { background: #152948; border-color: #36486B; box-shadow: inset 0 2px 14px rgba(255,255,255,0.02), 0 4px 14px rgba(0,0,0,0.2); }
[data-theme='dark'] .faq__item:hover { border-color: rgba(255,106,61,0.5); box-shadow: 0 8px 24px -4px rgba(0,0,0,0.35), inset 0 2px 14px rgba(255,255,255,0.04); }
[data-theme='dark'] .faq__item.is-open { border-color: var(--thermo); box-shadow: 0 8px 28px -4px rgba(255,106,61,0.2), inset 0 2px 14px rgba(255,255,255,0.04); }
[data-theme='dark'] .faq__q { background: none; }
[data-theme='dark'] .faq__q:hover { background: rgba(255,255,255,0.05); }
[data-theme='dark'] .faq__item.is-open .faq__q { background: rgba(255,255,255,0.05); }
[data-theme='dark'] .faq__q-text { color: #F0F4F8; }
[data-theme='dark'] .faq__chevron { color: #A3B1C6; }
[data-theme='dark'] .faq__a p { color: #A3B1C6; border-top-color: rgba(255,255,255,0.08); }

/* Služby & Karty */
[data-theme='dark'] .services__reveal { background: linear-gradient(to top, var(--paper) 45%, rgba(27, 52, 92, 0.85) 75%, transparent 100%); }
[data-theme='dark'] .services__reveal--expanded { background: none !important; }
[data-theme='dark'] .services__reveal .btn,
[data-theme='dark'] .services__reveal--expanded .btn { background: var(--thermo) !important; color: #14181F !important; font-weight: 700 !important; }
[data-theme='dark'] .services__reveal .btn:hover,
[data-theme='dark'] .services__reveal--expanded .btn:hover { background: var(--thermo-hot) !important; color: #14181F !important; }

[data-theme='dark'] .card, [data-theme='dark'] .catalog-card { box-shadow: inset 0 2px 24px rgba(255,255,255,0.03), 0 4px 16px rgba(0,0,0,0.2); }
[data-theme='dark'] .card:hover, [data-theme='dark'] .catalog-card:hover { box-shadow: 0 12px 32px -8px rgba(0,0,0,0.4), inset 0 2px 24px rgba(255,255,255,0.06); }
[data-theme='dark'] .contact__form { box-shadow: inset 0 2px 24px rgba(255,255,255,0.03), 0 6px 24px rgba(0,0,0,0.25); }
[data-theme='dark'] .btn--ghost { border-color: rgba(255,255,255,0.3); color: #fff; }
[data-theme='dark'] .btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* Modaly & Ostatní */
[data-theme='dark'] .modal__panel { background: #1B345C; border: 1px solid #36486B; }
[data-theme='dark'] .modal__close { background: #254576; color: #F0F4F8; border-color: #36486B; }
[data-theme='dark'] .modal__close:hover { background: var(--thermo); color: #fff; border-color: var(--thermo); }
[data-theme='dark'] .catalog-section { background: #111e33 !important; border-top-color: #36486B !important; }
[data-theme='dark'] .video-wrapper { background: #162645; border-color: #36486B; }


/* =========================================================
   REDESIGN 2026-10 — jemné vylepšení úvodní stránky
   (záloha původního stavu: ../_ZALOHA_redesign_2026-10-15)
   ========================================================= */
.nav__brand{ flex-shrink:0; }
.nav__brand img{ flex-shrink:0; }

/* hero — statistiky jako samostatné dlaždice */
.hero__stats{ gap:0.9rem; border-top:none; padding-top:0; }
.hero__stat{
  flex:1 1 140px;
  padding:0.9rem 1.1rem;
  background:rgba(255,255,255,0.7);
  border:1px solid rgba(27,52,92,0.08);
  border-radius:12px;
  box-shadow:0 4px 14px rgba(27,52,92,0.04);
}
.hero__title-accent{
  background:linear-gradient(100deg, var(--thermo) 0%, var(--thermo-hot) 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
}
[data-theme='dark'] .hero__stat{ background:rgba(255,255,255,0.05); border-color:rgba(255,255,255,0.1); box-shadow:none; }

/* karty služeb — oranžový proužek při najetí */
.card::before{
  content:''; position:absolute; left:0; top:0; right:0; height:3px;
  background:linear-gradient(90deg, var(--thermo), var(--thermo-hot));
  transform:scaleX(0); transform-origin:left; transition:transform .35s ease;
}
.card:hover::before{ transform:scaleX(1); }

/* ---------- sekce KATALOG 3D na úvodní stránce ---------- */
.showcase{
  position:relative; isolation:isolate; overflow:hidden;
  padding:6rem 1.5rem;
  background:linear-gradient(135deg, #14264A 0%, #1B345C 55%, #254576 100%);
  color:var(--text-on-ink);
}
.showcase::before{ /* tečkovaná „mračno bodů“ textura */
  content:''; position:absolute; inset:0; z-index:-1;
  background-image:radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1.4px);
  background-size:22px 22px;
  -webkit-mask-image:radial-gradient(ellipse at 75% 50%, #000 0%, transparent 70%);
          mask-image:radial-gradient(ellipse at 75% 50%, #000 0%, transparent 70%);
}
.showcase__inner{
  max-width:var(--maxw); margin:0 auto;
  display:grid; grid-template-columns:1fr 1.05fr; gap:3.5rem; align-items:center;
}
@media (max-width:900px){ .showcase__inner{ grid-template-columns:1fr; gap:2.5rem; } .showcase{ padding:4.5rem 1.5rem; } }
.showcase .eyebrow{ color:var(--thermo-hot); }
.showcase h2{ color:#fff; font-size:clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom:1.1rem; }
.showcase__lede{ color:var(--text-on-ink-soft); font-size:1.03rem; line-height:1.65; margin-bottom:1.6rem; max-width:520px; }
.showcase__points{ list-style:none; display:flex; flex-direction:column; gap:0.7rem; margin-bottom:2.2rem; }
.showcase__points li{ display:flex; gap:0.7rem; align-items:center; color:var(--text-on-ink); font-size:0.97rem; }
.showcase__points li::before{
  content:''; width:8px; height:8px; border-radius:2px; flex-shrink:0;
  background:var(--thermo); box-shadow:0 0 0 4px rgba(255,106,61,0.18);
}
.showcase .btn--primary{ padding:1rem 2rem; font-size:1.02rem; box-shadow:0 8px 26px rgba(255,106,61,0.35); }
.showcase__actions{ display:flex; flex-wrap:wrap; align-items:center; gap:0.9rem; }
.showcase__actions .btn--ghost{ padding:1rem 1.6rem; font-size:1.02rem; }

.viewer-mock{
  position:relative; border-radius:18px; overflow:hidden;
  background:#0E1B35; border:1px solid rgba(255,255,255,0.12);
  box-shadow:0 30px 70px -20px rgba(0,0,0,0.55);
  transform:perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition:transform .5s ease;
}
.viewer-mock:hover{ transform:perspective(1200px) rotateY(0) rotateX(0); }
@media (max-width:900px){ .viewer-mock{ transform:none; } }
.viewer-mock__bar{
  display:flex; align-items:center; gap:0.5rem; padding:0.7rem 1rem;
  background:rgba(255,255,255,0.05); border-bottom:1px solid rgba(255,255,255,0.08);
}
.viewer-mock__bar i{ width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,0.22); }
.viewer-mock__bar i:first-child{ background:var(--thermo); }
.viewer-mock__bar span{ margin-left:auto; font-size:0.72rem; letter-spacing:0.08em; color:var(--text-on-ink-soft); text-transform:uppercase; }
.viewer-mock svg{ display:block; width:100%; height:auto; }
.viewer-mock__chips{ position:absolute; left:1rem; bottom:1rem; display:flex; gap:0.5rem; flex-wrap:wrap; }
.viewer-mock__chips span{
  font-size:0.72rem; padding:0.3rem 0.65rem; border-radius:999px;
  background:rgba(14,27,53,0.78); color:#fff; border:1px solid rgba(255,255,255,0.15);
  backdrop-filter:blur(6px);
}

/* menu má víc položek než šířka obsahu – lišta smí být širší */
.nav__inner{ max-width:1360px; }

@media (max-width:1400px) and (min-width:1181px){
  .nav__inner{ gap:1.5rem; }
  .nav__links{ gap:1.3rem; }
}

/* ---------- nová patička (redesign 2026-10) ---------- */
.site-footer{
  position:relative; isolation:isolate; overflow:hidden;
  background:linear-gradient(160deg,#14264A 0%,#1B345C 100%);
  color:var(--text-on-ink-soft);
  padding:4rem 1.5rem 0;
}
.site-footer::before{
  content:''; position:absolute; inset:0; z-index:-1;
  background-image:radial-gradient(rgba(255,255,255,.1) 1px,transparent 1.4px);
  background-size:22px 22px;
  -webkit-mask-image:linear-gradient(180deg,#000,transparent 80%); mask-image:linear-gradient(180deg,#000,transparent 80%);
}
.site-footer::after{
  content:''; position:absolute; left:0; right:0; top:0; height:3px;
  background:linear-gradient(90deg,var(--blue),var(--teal),var(--thermo));
}
.site-footer__grid{
  max-width:var(--maxw); margin:0 auto;
  display:grid; grid-template-columns:1.5fr 1fr 1fr 1.3fr; gap:2.5rem;
}
@media (max-width:980px){ .site-footer__grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .site-footer__grid{ grid-template-columns:1fr; gap:2rem; } .site-footer{ padding-top:3rem; } }
.site-footer__brand{ font-family:var(--f-display); font-weight:800; font-size:1.6rem; letter-spacing:.12em; color:#fff; display:block; margin-bottom:.4rem; }
.site-footer__brand b{ color:var(--thermo); }
.site-footer__tag{ font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:var(--thermo-hot); margin-bottom:1rem; display:block; }
.site-footer p{ font-size:.93rem; line-height:1.65; max-width:340px; }
.site-footer h4{ color:#fff; font-size:.8rem; letter-spacing:.12em; text-transform:uppercase; margin-bottom:1.1rem; }
.site-footer ul{ list-style:none; display:flex; flex-direction:column; gap:.7rem; font-size:.93rem; }
.site-footer a{ color:var(--text-on-ink-soft); transition:color .2s ease, transform .2s ease; }
.site-footer ul a:hover{ color:#fff; }
.site-footer__contact li{ display:flex; gap:.7rem; align-items:flex-start; line-height:1.5; }
.site-footer__contact svg{ flex-shrink:0; margin-top:.2rem; color:var(--thermo); }
.site-footer__social{ display:flex; gap:.6rem; margin-top:1.4rem; }
.site-footer__social a{
  width:40px; height:40px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.18); color:#fff;
}
.site-footer__social a:hover{ background:var(--thermo); border-color:var(--thermo); transform:translateY(-2px); }
.site-footer__bottom{
  max-width:var(--maxw); margin:3rem auto 0; padding:1.4rem 0;
  border-top:1px solid rgba(255,255,255,.12);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:.6rem;
  font-size:.82rem; color:rgba(255,255,255,.5);
}

/* =========================================================
   REDESIGN 2026-10 (2) — světlý vzhled, aktivní záložka, noční režim
   ========================================================= */

/* --- oranžový čtvereček pod aktivní záložkou --- */
/* jen na desktopu – na telefonu musí zůstat position:fixed vysouvacího menu, jinak se hlavička roztáhne přes celou obrazovku */
@media (min-width:1181px){
  .nav__links{ position:relative; }
}
/* stránka bez hamburgeru (Katalog 3D) – jediné tlačítko zůstává v liště i na telefonu */
@media (max-width:1180px){
  .nav__links.nav__links--inline{
    position:static; transform:none; height:auto; width:auto;
    padding:0; background:none; border:0; flex-direction:row;
  }
  [data-theme='dark'] .nav__links.nav__links--inline{ background:none; }
}
.nav__indicator{
  position:absolute; left:0; bottom:-13px;
  width:8px; height:8px; border-radius:2px;
  background:var(--thermo);
  box-shadow:0 0 0 3px rgba(255,106,61,0.18);
  opacity:0; pointer-events:none;
  transition:transform .45s cubic-bezier(.6,.05,.2,1), opacity .25s ease;
}
.nav__indicator.is-on{ opacity:1; }
.nav__links a.is-active{ color:var(--text-dark); font-weight:600; }
.nav__links a.nav__cta.is-active{ background:rgba(255,106,61,0.1); }
@media (max-width:1180px){
  .nav__indicator{ display:none; }
  .nav__links a.is-active{ color:var(--thermo); }
}

/* --- noční režim: navigace (bílá na bílém) --- */
[data-theme='dark'] .nav{
  background:rgba(17,34,64,0.94);
  border-bottom-color:rgba(255,255,255,0.1);
}
[data-theme='dark'] .nav__links a{ color:#A3B1C6; }
[data-theme='dark'] .nav__links a:hover,
[data-theme='dark'] .nav__links a.is-active{ color:#fff; }
[data-theme='dark'] .nav__links a.nav__cta{ color:var(--thermo) !important; }
[data-theme='dark'] .nav__brand img{ filter:brightness(0) invert(1); }
[data-theme='dark'] .nav__burger span{ background:#fff; }
[data-theme='dark'] .nav__theme-btn{ color:#fff !important; }
[data-theme='dark'] .nav__lang-select{ background-color:transparent; color:#fff; border-color:rgba(255,255,255,0.25); }
[data-theme='dark'] .nav__lang-select option{ color:#14181F; }
@media (max-width:1180px){
  [data-theme='dark'] .nav__links{ background:rgba(17,34,64,0.98); border-left-color:rgba(255,255,255,0.1); }
}

/* --- Leaflet vyskakovací okna: vždy světlé s tmavým textem --- */
.leaflet-popup-content-wrapper, .leaflet-popup-tip{ background:#fff; color:#14181F; }
.leaflet-popup-content a{ color:var(--blue); }

/* --- sekce KATALOG 3D na úvodní stránce: světlá --- */
.showcase{
  background:var(--paper-dim);
  color:var(--text-soft);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.showcase::before{
  background-image:radial-gradient(rgba(59,110,168,0.2) 1px, transparent 1.4px);
}
.showcase .eyebrow{ color:var(--thermo); }
.showcase h2{ color:var(--text-dark); }
.showcase__lede{ color:var(--text-soft); }
.showcase__points li{ color:var(--text-dark); }
.viewer-mock{ box-shadow:0 30px 60px -28px rgba(27,52,92,0.4); border-color:rgba(27,52,92,0.15); }

/* --- patička: světlá --- */
.site-footer{
  background:var(--paper);
  color:var(--text-soft);
  border-top:1px solid var(--line);
}
.site-footer::before{
  background-image:radial-gradient(rgba(59,110,168,0.16) 1px, transparent 1.4px);
}
.site-footer__brand{ color:var(--text-dark); }
.site-footer h4{ color:var(--text-dark); }
.site-footer a{ color:var(--text-soft); }
.site-footer ul a:hover{ color:var(--thermo); }
.site-footer__social a{ border-color:var(--line); color:var(--text-dark); }
.site-footer__social a:hover{ color:#fff; }
.site-footer__bottom{ border-top-color:var(--line); color:var(--text-soft); }
.site-footer__tag{ color:var(--thermo); }

/* --- bez ceníku (2026-10-20): tlačítko detailu drží spodní okraj karty, v okně detailu je vpravo --- */
.card__face > .card__cta{ margin-top:auto; }
.modal__footer{ justify-content:flex-end; }

[data-theme='dark'] .nav__links a.nav__cta--gis{ color:#fff !important; border-color:rgba(255,255,255,0.3); }
@media (max-width:1180px){ .nav__cta--gis{ margin-left:0; } }

/* --- patička jako samostatná karta (2026-11-03): odsazená od obsahu i od okrajů okna --- */
.site-footer{
  margin:clamp(2.5rem,6vw,5rem) clamp(.75rem,2vw,1.5rem) clamp(.75rem,2vw,1.5rem);
  border:1px solid var(--line); border-radius:28px;
  background:linear-gradient(180deg,var(--paper) 0%,var(--paper-dim, #F3F6FB) 100%);
  box-shadow:0 28px 60px -40px rgba(27,52,92,.45);
}
.site-footer::after{ left:28px; right:28px; border-radius:0 0 3px 3px; }
.site-footer__bottom{ padding:1.2rem 0 1.4rem; }
@media (max-width:560px){ .site-footer{ border-radius:20px; } .site-footer::after{ left:20px; right:20px; } }
