:root{
  --bg:#05090f;
  --text:#f4f7fb;
  --muted:#b7c1ce;
  --lime:#a8e90d;
  --blue:#12a8ff;
  --purple:#b147ff;
  --green:#9bea16;
  --orange:#ff9d12;
  --cyan:#16dfff;
  --gold:#ffd22a;
  --shadow:0 24px 90px rgba(0,0,0,.48);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.container{width:min(1180px,calc(100% - 48px));margin-inline:auto}

.site-bg{
  position:fixed;inset:0;z-index:-2;
  background:
    radial-gradient(circle at 75% 8%, rgba(18,168,255,.18), transparent 35%),
    radial-gradient(circle at 88% 20%, rgba(168,233,13,.10), transparent 27%),
    radial-gradient(circle at 42% 55%, rgba(177,71,255,.06), transparent 28%),
    linear-gradient(180deg,#03070c 0%,#07111a 50%,#03070b 100%);
}
.site-bg::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size:80px 80px;
  mask-image:none;
}

.site-header{
  position:sticky;top:0;z-index:50;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(4,8,13,.72);
  backdrop-filter:blur(18px);
}
.header-inner{
  height:88px;
  display:flex;align-items:center;justify-content:space-between;gap:22px;
}
.brand{display:flex;align-items:center;min-width:190px}
.brand-logo{
  width:auto;
  height:58px;
  max-width:240px;
  object-fit:contain;
  display:block;
}
.main-nav{display:flex;align-items:center;gap:44px;font-weight:600;color:#e5eaf2}
.main-nav a{position:relative;padding:30px 0;transition:.25s ease;color:#eef3fa}
.main-nav a::after{
  content:"";position:absolute;left:0;right:0;bottom:22px;height:3px;border-radius:999px;
  background:var(--lime);transform:scaleX(0);transform-origin:center;transition:.25s ease;
  box-shadow:0 0 14px rgba(168,233,13,.75);
}
.main-nav a:hover,.main-nav a.active{color:#fff}
.main-nav a.active::after,.main-nav a:hover::after{transform:scaleX(1)}
.header-call{
  display:inline-flex;align-items:center;gap:12px;white-space:nowrap;
  border:1px solid rgba(168,233,13,.85);
  color:#fff;border-radius:14px;
  padding:14px 20px;background:rgba(168,233,13,.06);
  box-shadow:0 0 0 1px rgba(168,233,13,.16) inset,0 0 22px rgba(168,233,13,.12);
}
.header-call svg{font-size:20px;color:#fff}
.header-call strong{font-weight:800;color:var(--lime);letter-spacing:.02em}
.nav-toggle{display:none;background:none;border:0;padding:10px;cursor:pointer}
.nav-toggle span{display:block;width:26px;height:2px;background:#fff;border-radius:4px;margin:6px 0}

.hero{
  padding:34px 0 18px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.hero-grid{
  display:grid;
  grid-template-columns:minmax(400px,.9fr) minmax(560px,1.1fr);
  align-items:start;
  gap:22px;
}
.hero-copy{
  position:relative;
  z-index:2;
  padding:16px 0 8px;
}
.hero h1{
  font-size:clamp(58px,5.2vw,76px);
  line-height:calc(.96em + 10px);
  margin:0 0 22px;
  letter-spacing:-.07em;
  font-weight:900;
}
.hero h1 span{
  color:var(--lime);
  text-shadow:0 0 26px rgba(168,233,13,.28);
}
.lead{
  font-size:18px;
  max-width:540px;
  color:#e6ebf1;
  margin:0 0 28px;
}
.hero-actions{
  display:flex;gap:16px;align-items:center;margin-bottom:28px;flex-wrap:wrap
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:56px;padding:0 24px;border-radius:12px;
  font-weight:700;border:1px solid transparent;transition:.2s ease;
  cursor:pointer;font:inherit;
}
.btn svg{font-size:20px}
.btn-primary{
  color:#08110a;background:linear-gradient(180deg,#c4ff1d 0%,#91d40c 100%);
  box-shadow:0 12px 35px rgba(168,233,13,.24), inset 0 0 0 1px rgba(255,255,255,.35);
}
.btn-primary:hover{transform:translateY(-2px);filter:saturate(1.08)}
.btn-secondary{
  color:#fff;background:rgba(255,255,255,.03);
  border-color:rgba(255,255,255,.34);
}
.btn-secondary:hover{border-color:rgba(168,233,13,.65);box-shadow:0 0 18px rgba(168,233,13,.15)}

.trust-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  max-width:720px;
}
.trust-row article{display:flex;gap:13px;align-items:flex-start;color:#f2f6fa}
.trust-row .line-icon{
  font-size:38px;color:var(--lime);filter:drop-shadow(0 0 12px rgba(168,233,13,.45));flex:0 0 auto
}
.trust-row strong{display:block;font-size:15px;margin-bottom:4px}
.trust-row span{display:block;font-size:13px;color:var(--muted);line-height:1.45}

.hero-visual{
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  min-height:540px;
  margin-right:-16px;
  padding-top:40px;
  isolation:isolate;
}

.hero-visual::before{
  content:"";
  position:absolute;
  inset:30px -20px -24px -90px;
  background:
    radial-gradient(circle at 56% 42%, rgba(18,168,255,.20), transparent 42%),
    radial-gradient(circle at 78% 68%, rgba(168,233,13,.11), transparent 28%),
    linear-gradient(90deg, rgba(5,9,15,.04), rgba(5,9,15,.62) 56%, rgba(5,9,15,.08));
  z-index:-2;
  filter:blur(22px);
}

.hero-visual::after{
  content:"";
  position:absolute;
  inset:40px -18px -20px -18px;
  pointer-events:none;
  z-index:3;
  background:
    radial-gradient(ellipse at center,
      rgba(5,9,15,0) 54%,
      rgba(5,9,15,.06) 68%,
      rgba(5,9,15,.22) 80%,
      rgba(5,9,15,.52) 90%,
      rgba(5,9,15,.88) 100%);
  filter:blur(22px);
}

.hero-visual picture{
  position:relative;
  display:flex;
  width:100%;
  max-width:860px;
  justify-content:center;
  align-items:flex-start;
}

.hero-visual picture::after{
  content:"";
  position:absolute;
  inset:-26px;
  background:
    radial-gradient(ellipse at center,
      rgba(5,9,15,0) 52%,
      rgba(5,9,15,.10) 68%,
      rgba(5,9,15,.32) 84%,
      rgba(5,9,15,.82) 100%);
  filter:blur(38px);
  pointer-events:none;
  z-index:2;
}

.hero-visual img{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  max-width:860px;
  max-height:540px;
  height:auto;
  object-fit:contain;
  object-position:center top;
  filter:
    drop-shadow(0 34px 56px rgba(0,0,0,.56))
    drop-shadow(0 0 22px rgba(18,168,255,.15));
  border-radius:18px;
  mask-image:none;
}

.section{padding:44px 0}
.section-title{text-align:center;margin-bottom:30px}
.section-title span{
  color:var(--lime);text-transform:uppercase;letter-spacing:.12em;font-weight:800;font-size:13px
}
.section-title h2{font-size:38px;line-height:1.15;margin:4px 0 0;font-weight:600;letter-spacing:-.03em}

.service-grid{
  display:grid;grid-template-columns:repeat(6,1fr);gap:16px
}
.service-card{
  position:relative;
  min-height:242px;padding:28px 18px 24px;
  border-radius:16px;
  background:linear-gradient(180deg,rgba(16,31,45,.84),rgba(6,13,21,.72));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:var(--shadow),inset 0 0 34px rgba(255,255,255,.02);
  text-align:center;
  overflow:hidden;
}
.service-card::before{
  content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 0,var(--card-glow),transparent 42%);opacity:.28
}
.service-card svg{position:relative;font-size:58px;color:var(--card-color);filter:drop-shadow(0 0 16px var(--card-glow))}
.service-card h3{position:relative;margin:24px 0 10px;font-size:21px;line-height:1.2}
.service-card p{position:relative;margin:0;color:#cbd5e1;font-size:14px;line-height:1.55}
.service-card .accent{position:absolute;bottom:22px;left:50%;translate:-50% 0;width:42px;height:3px;border-radius:999px;background:var(--card-color);box-shadow:0 0 16px var(--card-glow)}
.blue{--card-color:var(--blue);--card-glow:rgba(18,168,255,.75)}
.purple{--card-color:var(--purple);--card-glow:rgba(177,71,255,.75)}
.green{--card-color:var(--green);--card-glow:rgba(168,233,13,.72)}
.orange{--card-color:var(--orange);--card-glow:rgba(255,157,18,.70)}
.cyan{--card-color:var(--cyan);--card-glow:rgba(22,223,255,.72)}
.gold{--card-color:var(--gold);--card-glow:rgba(255,210,42,.72)}

.bottom-section{padding-top:20px}
.bottom-grid{display:grid;grid-template-columns:.78fr 1.22fr;gap:18px}
.panel{
  background:linear-gradient(180deg,rgba(13,28,42,.82),rgba(6,14,22,.82));
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.04);
}
.panel h2{margin:0 0 22px;font-size:26px;font-weight:500;letter-spacing:-.03em}
.price-panel{padding:28px 30px}
.price-list{list-style:none;margin:0;padding:0;display:grid;gap:0}
.price-list li{
  display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:14px;
  min-height:48px;border-bottom:1px solid rgba(255,255,255,.07);
  color:#e2e8f0;font-size:15px;
}
.price-list li:last-child{border-bottom:0}
.price-list svg{font-size:27px;color:var(--lime);filter:drop-shadow(0 0 10px rgba(168,233,13,.35))}
.price-list strong{font-size:16px;color:var(--lime);font-weight:600;text-align:right}
.panel-link{
  display:flex;align-items:center;justify-content:center;gap:12px;
  margin-top:20px;height:52px;border-radius:9px;
  border:1px solid rgba(255,255,255,.17);
  color:#eef3fa;background:rgba(255,255,255,.025);
  transition:.2s ease;
}
.panel-link:hover{border-color:rgba(168,233,13,.55);box-shadow:0 0 18px rgba(168,233,13,.12)}

.contact-panel{
  padding:28px;
  display:grid;grid-template-columns:.82fr 1.18fr;gap:30px;
}
.contact-info ul{list-style:none;margin:0;padding:0;display:grid;gap:19px}
.contact-info li{display:grid;grid-template-columns:34px 1fr;gap:16px;align-items:start;color:#e2e8f0}
.contact-info svg{font-size:28px;color:var(--lime);filter:drop-shadow(0 0 10px rgba(168,233,13,.35));margin-top:2px}
.contact-info a{color:#e2e8f0}
.contact-info small{color:#a9b5c3}
.contact-form{display:grid;gap:12px;align-self:start}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.contact-form label{display:grid;gap:6px}
.contact-form label span{
  position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap
}
.contact-form input,.contact-form textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.26);
  border-radius:10px;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015));
  color:#f4f7fb;
  font:500 15px/1.4 Inter,system-ui,sans-serif;
  padding:15px 16px;
  outline:none;
  transition:.2s ease;
  box-shadow:inset 0 1px rgba(255,255,255,.06);
}
.contact-form input{height:52px}
.contact-form textarea{resize:vertical;min-height:128px}
.contact-form input::placeholder,.contact-form textarea::placeholder{color:#9aa7b6}
.contact-form input:focus,.contact-form textarea:focus{
  border-color:rgba(168,233,13,.6);
  box-shadow:0 0 0 4px rgba(168,233,13,.08), inset 0 1px rgba(255,255,255,.08);
}
.btn-submit{width:100%;height:58px;border:0;margin-top:2px;font-size:17px}

.site-footer{
  margin-top:20px;border-top:1px solid rgba(255,255,255,.14);
  padding:20px 0 28px;
  background:linear-gradient(180deg,rgba(5,9,15,.05),rgba(0,0,0,.28));
}
.footer-inner{
  display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap;
  color:#aeb8c5;font-size:14px;
}
.footer-inner p{margin:0}
.footer-inner a{color:#d9e1eb}
.separator{width:1px;height:16px;background:rgba(255,255,255,.26)}
.socials{display:flex;gap:18px;align-items:center}
.socials a{
  display:grid;place-items:center;width:22px;height:22px;border-radius:999px;
  color:#d9e1eb;font-weight:800;transition:.2s ease;
}
.socials a:hover{color:var(--lime);text-shadow:0 0 16px rgba(168,233,13,.55)}

@media (max-width:1180px){
  .hero-grid{grid-template-columns:minmax(360px,.9fr) minmax(500px,1.05fr)}
  .hero-visual{margin-right:-8px}
  .hero-visual picture,.hero-visual img{max-width:780px}
  .hero-visual img{max-height:500px}
}
@media (max-width:1100px){
  .hero-grid{grid-template-columns:1fr;gap:18px}
  .hero-copy{padding-bottom:4px}
  .hero-visual{
    min-height:auto;
    margin:8px auto 0;
    justify-content:center;
    align-items:flex-start;
  }
  .hero-visual::before{inset:-10px -12px -6px -12px}
  .hero-visual picture{max-width:840px;justify-content:center}
  .hero-visual picture::after{inset:-10px}
  .hero-visual img{
    max-width:840px;
    max-height:none;
    mask-image:none;
    border-radius:18px;
  }
  .service-grid{grid-template-columns:repeat(3,1fr)}
  .bottom-grid{grid-template-columns:1fr}
}
@media (max-width:820px){
  .container{width:min(100% - 32px,1180px)}
  .header-inner{height:auto;min-height:80px;flex-wrap:wrap}
  .brand-logo{width:160px}
  .nav-toggle{display:block;margin-left:auto}
  .main-nav{
    display:none;width:100%;order:5;grid-template-columns:1fr;gap:0;padding:8px 0 18px;
  }
  .main-nav.open{display:grid}
  .main-nav a{padding:12px 0}
  .main-nav a::after{bottom:4px;right:auto;width:40px}
  .header-call{display:none}
  .hero{padding-top:26px}
  .hero h1{font-size:52px}
  .lead{font-size:17px}
  .trust-row{grid-template-columns:1fr;max-width:520px}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .contact-panel{grid-template-columns:1fr}
}
@media (max-width:560px){
  .hero h1{font-size:40px}
  .hero-grid{gap:14px}
  .lead{font-size:16px}
  .hero-actions{align-items:stretch}
  .btn{width:100%}
  .hero-visual img{max-width:100%}
  .section-title h2{font-size:32px}
  .service-grid{grid-template-columns:1fr}
  .bottom-grid{gap:16px}
  .price-panel,.contact-panel{padding:22px}
  .price-list li{grid-template-columns:32px 1fr;gap:12px}
  .price-list strong{grid-column:2;text-align:left;margin-top:-8px}
  .form-row{grid-template-columns:1fr}
  .footer-inner{gap:12px}
  .separator{display:none}
}


/* =========================================================
   V2 layout – user supplied logo + hero image
   ========================================================= */
.brand-logo{
  width:160px;
  max-width:100%;
  height:auto;
  object-fit:contain;
}

@media (max-width:820px){
  .brand-logo{height:46px;width:auto;max-width:190px}
}


/* Current tweak: uploaded logo + hero moved down by 80px */
@media (max-width:1180px){
  .hero-visual{padding-top:30px}
}

@media (max-width:1100px){
  .hero-visual{
    padding-top:24px;
    min-height:auto;
  }
  .hero-visual::before{inset:4px -12px -8px -12px}
  .hero-visual picture::after{inset:-10px}
  .hero-visual img{
    mask-image:none;
    border-radius:18px;
  }
}

@media (max-width:820px){
  .brand-logo{height:46px;width:auto;max-width:190px}
}


/* =========================================================
   Final hero asset: true transparent 50 px edge fade
   ========================================================= */

.hero-visual{
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  min-height:540px;
  margin-right:-16px;
  padding-top:40px;
  isolation:isolate;
}

.hero-visual::before{
  content:"";
  position:absolute;
  inset:0 -20px -20px -90px;
  background:
    radial-gradient(circle at 56% 42%, rgba(18,168,255,.18), transparent 42%),
    radial-gradient(circle at 78% 68%, rgba(168,233,13,.10), transparent 28%),
    linear-gradient(90deg, rgba(5,9,15,.04), rgba(5,9,15,.58) 56%, rgba(5,9,15,.08));
  z-index:-2;
  filter:blur(18px);
}

.hero-visual picture{
  position:relative;
  display:flex;
  width:100%;
  max-width:860px;
  justify-content:center;
  align-items:flex-start;
}

.hero-visual picture::after{
  content:"";
  position:absolute;
  inset:-18px;
  background:
    radial-gradient(ellipse at center,
      rgba(5,9,15,0) 58%,
      rgba(5,9,15,.06) 72%,
      rgba(5,9,15,.18) 86%,
      rgba(5,9,15,.54) 100%);
  filter:blur(24px);
  pointer-events:none;
  z-index:2;
}

.hero-visual img{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  max-width:860px;
  max-height:540px;
  height:auto;
  object-fit:contain;
  object-position:center top;
  filter:
    drop-shadow(0 30px 50px rgba(0,0,0,.54))
    drop-shadow(0 0 20px rgba(18,168,255,.14));
  border-radius:0;
  mask-image:none;
}

@media (max-width:1180px){
  .hero-visual{padding-top:30px}
}

@media (max-width:1100px){
  .hero-visual{
    padding-top:18px;
    min-height:auto;
    margin:8px auto 0;
  }
  .hero-visual picture{max-width:840px}
  .hero-visual img{
    max-width:840px;
    max-height:none;
  }
}

@media (max-width:560px){
  .hero-visual img{max-width:100%}
}


/* =========================================================
   Verze s uživatelem dodaným logem a hero obrázkem
   ========================================================= */
.brand-logo{
  width:auto;
  height:64px;
  max-width:300px;
  object-fit:contain;
  display:block;
}

.hero-visual{
  padding-top:24px;
}

.hero-visual picture{
  max-width:980px;
}

.hero-visual img{
  max-width:980px;
  max-height:700px;
  height:auto;
  object-fit:contain;
  object-position:center top;
  border-radius:22px;
  filter:
    drop-shadow(0 28px 50px rgba(0,0,0,.50))
    drop-shadow(0 0 18px rgba(18,168,255,.12));
}

@media (max-width:1180px){
  .hero-visual picture,
  .hero-visual img{max-width:860px}
}

@media (max-width:820px){
  .brand-logo{
    height:50px;
    max-width:220px;
  }
}


/* Fallback pro kotvu Služby – cílová sekce se zobrazí s odsazením 50 px. */
#sluzby{
  scroll-margin-top:50px;
}


/* =========================================================
   Samostatná stránka Ceník
   ========================================================= */

.page-main{
  min-height:60vh;
}

.price-hero{
  position:relative;
  padding:82px 0 34px;
  border-bottom:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}

.price-hero::before{
  content:"";
  position:absolute;
  inset:-30% -20% -20% 35%;
  background:
    radial-gradient(circle at 50% 35%, rgba(18,168,255,.20), transparent 34%),
    radial-gradient(circle at 70% 55%, rgba(168,233,13,.10), transparent 26%);
  filter:blur(14px);
  pointer-events:none;
}

.page-kicker{
  position:relative;
  color:var(--lime);
  font-size:13px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.price-hero h1{
  position:relative;
  max-width:860px;
  margin:0;
  font-size:clamp(42px,5vw,70px);
  line-height:1.02;
  letter-spacing:-.055em;
  font-weight:900;
}

.price-hero p{
  position:relative;
  max-width:760px;
  margin:22px 0 0;
  color:#dce5ef;
  font-size:18px;
}

.price-hero-actions{
  position:relative;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:28px;
}

.price-page-section{
  padding-top:34px;
}

.price-page-grid{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:18px;
  align-items:start;
}

.price-table-panel{
  padding:30px;
  overflow:hidden;
  position:relative;
}

.price-table-panel::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 0, rgba(18,168,255,.12), transparent 42%);
  pointer-events:none;
}

.featured-price-panel::before{
  background:radial-gradient(circle at 50% 0, rgba(168,233,13,.11), transparent 44%);
}

.price-panel-head{
  position:relative;
  margin-bottom:18px;
}

.price-panel-head span{
  color:var(--lime);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
  font-weight:800;
}

.price-panel-head h2{
  margin:4px 0 0;
  font-size:30px;
  line-height:1.15;
  letter-spacing:-.035em;
}

.price-table-list{
  position:relative;
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:0;
}

.price-table-list li{
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:start;
  min-height:48px;
  padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.price-table-list li:last-child{
  border-bottom:0;
}

.price-table-list span{
  color:#e2e8f0;
  line-height:1.45;
}

.price-table-list strong{
  color:var(--lime);
  font-weight:800;
  white-space:nowrap;
  text-align:right;
  text-shadow:0 0 14px rgba(168,233,13,.18);
}

.price-note-section{
  padding-top:10px;
}

.price-note-box{
  display:grid;
  grid-template-columns:72px 1fr auto;
  gap:24px;
  align-items:center;
  padding:28px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(13,28,42,.82),rgba(6,14,22,.82));
  box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.04);
}

.note-icon{
  display:grid;
  place-items:center;
  width:64px;
  height:64px;
  border-radius:16px;
  color:var(--blue);
  border:1px solid rgba(18,168,255,.34);
  background:rgba(18,168,255,.06);
  box-shadow:0 0 24px rgba(18,168,255,.12);
}

.note-icon svg{
  font-size:34px;
}

.price-note-box h2{
  margin:0 0 6px;
  font-size:23px;
  letter-spacing:-.02em;
}

.price-note-box p{
  margin:0;
  color:#bfccd9;
}

@media (max-width:980px){
  .price-page-grid{
    grid-template-columns:1fr;
  }

  .price-note-box{
    grid-template-columns:1fr;
  }

  .note-icon{
    width:56px;
    height:56px;
  }
}

@media (max-width:560px){
  .price-hero{
    padding:48px 0 26px;
  }

  .price-hero h1{
    font-size:38px;
  }

  .price-table-panel{
    padding:22px;
  }

  .price-table-list li{
    grid-template-columns:1fr;
    gap:5px;
  }

  .price-table-list strong{
    text-align:left;
  }

  .price-note-box{
    padding:22px;
  }
}


/* Provázanost navigace / kotvy */
#home,
#sluzby,
#kontakt,
#cenik{
  scroll-margin-top:90px;
}

#sluzby{
  scroll-margin-top:50px;
}


/* Korekce odkazu Domů – cíl je úplný začátek stránky. */
#home{
  scroll-margin-top:0;
}


/* =========================================================
   Bezpečný kontaktní formulář – modul
   ========================================================= */

.hp-field{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

.math-field{
  display:grid;
  gap:8px;
}

.math-field span{
  position:static !important;
  width:auto !important;
  height:auto !important;
  overflow:visible !important;
  clip:auto !important;
  white-space:normal !important;
  color:#cbd5e1;
  font-size:14px;
  font-weight:600;
}

.form-status{
  grid-column:1 / -1;
  padding:14px 16px;
  border-radius:10px;
  margin-bottom:12px;
  font-weight:700;
  line-height:1.45;
}

.form-status-success{
  color:#daf7b2;
  background:rgba(168,233,13,.10);
  border:1px solid rgba(168,233,13,.38);
  box-shadow:0 0 18px rgba(168,233,13,.10);
}

.form-status-error{
  color:#ffd9d9;
  background:rgba(255,80,80,.10);
  border:1px solid rgba(255,80,80,.35);
  box-shadow:0 0 18px rgba(255,80,80,.08);
}


/* Finální korekce rozestupu řádků hlavního nadpisu */
.hero h1{
  line-height:calc(.96em + 10px);
}


/* Finální korekce rozestupu slov hlavního nadpisu */
.hero h1{
  word-spacing:12px;
}


/* =========================================================
   Oprava responzivního menu + tabletový header
   ========================================================= */

/* Tablet: schovat první položku menu Domů/Úvod, logo funguje jako návrat na hlavní stránku. */
@media (min-width:821px) and (max-width:1180px){
  .main-nav a:first-child{
    display:none;
  }

  .main-nav{
    gap:26px;
  }

  .header-inner{
    gap:16px;
  }

  .header-call{
    padding:12px 14px;
  }

  .brand-logo{
    max-width:220px;
  }
}

/* Mobil: menu se musí rozbalit přes celou šířku pod hlavičkou. */
@media (max-width:820px){
  .site-header{
    overflow:visible;
  }

  .header-inner{
    position:relative;
  }

  .nav-toggle{
    display:flex !important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    margin-left:auto;
    border:1px solid rgba(255,255,255,.18);
    border-radius:12px;
    background:rgba(255,255,255,.035);
    z-index:70;
  }

  .nav-toggle span{
    width:24px;
    height:2px;
    margin:3px 0;
    background:#fff;
    border-radius:999px;
    transition:transform .2s ease, opacity .2s ease;
  }

  .nav-toggle.open span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2){
    opacity:0;
  }

  .nav-toggle.open span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
  }

  .main-nav{
    display:none !important;
    order:5;
    width:100%;
    flex-basis:100%;
    margin-top:8px;
    padding:10px 0 14px;
    border-top:1px solid rgba(255,255,255,.10);
    background:rgba(4,8,13,.92);
    backdrop-filter:blur(18px);
  }

  .main-nav.open{
    display:grid !important;
    grid-template-columns:1fr;
    gap:0;
  }

  .main-nav a{
    display:block;
    padding:13px 4px;
  }

  .main-nav a:first-child{
    display:block;
  }

  .main-nav a::after{
    bottom:4px;
    right:auto;
    width:42px;
  }
}

/* =========================================================
   FIX 2026-05-26: tablet menu + mobile hamburger
   Pouze korekce hlavičky a rozbalovacího menu.
   ========================================================= */

/* Stabilnější rozložení hlavičky pro desktop/tablet */
.site-header{
  overflow:visible;
}
.header-inner{
  position:relative;
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
}
.brand{
  min-width:0 !important;
  flex:0 0 auto;
  position:relative;
  z-index:2;
}
.main-nav{
  justify-content:center;
  min-width:0;
}

/* Tablet: logo slouží jako návrat na úvod, proto se první položka v menu skryje.
   Tím se odstraní překryv "Domů/Úvod" přes logo. */
@media (min-width:821px) and (max-width:1360px){
  .brand-logo{
    height:54px;
    max-width:220px;
  }
  .main-nav{
    gap:28px;
    font-size:15px;
  }
  .main-nav > a:first-child{
    display:none !important;
  }
  .header-call{
    padding:12px 15px;
    font-size:15px;
  }
}

@media (min-width:821px) and (max-width:1080px){
  .header-inner{
    gap:16px;
  }
  .brand-logo{
    height:50px;
    max-width:205px;
  }
  .main-nav{
    gap:22px;
    font-size:14px;
  }
  .header-call{
    padding:10px 12px;
    font-size:14px;
  }
  .header-call svg{
    font-size:18px;
  }
}

/* Mobil: menu není display:none, ale skryté přes opacity/max-height.
   To odstraní problém, kdy se hamburger kliknul, ale menu se nezobrazilo. */
@media (max-width:820px){
  .site-header{
    overflow:visible !important;
    background:rgba(4,8,13,.92);
  }
  .header-inner{
    height:78px !important;
    min-height:78px !important;
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    flex-wrap:nowrap !important;
    gap:12px;
    position:relative;
  }
  .brand-logo{
    height:52px;
    width:auto !important;
    max-width:210px;
  }
  .header-call{
    display:none !important;
  }
  .nav-toggle{
    display:flex !important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    margin-left:auto;
    padding:0;
    border:1px solid rgba(255,255,255,.18);
    border-radius:12px;
    background:rgba(255,255,255,.04);
    z-index:1001;
  }
  .nav-toggle span{
    display:block;
    width:24px;
    height:2px;
    margin:3px 0;
    background:#fff;
    border-radius:999px;
    transition:transform .22s ease, opacity .22s ease;
  }
  .nav-toggle.open span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2){
    opacity:0;
  }
  .nav-toggle.open span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
  }
  .main-nav{
    display:grid !important;
    position:absolute;
    left:0;
    right:0;
    top:calc(100% + 10px);
    width:auto !important;
    flex-basis:auto !important;
    order:initial !important;
    grid-template-columns:1fr;
    gap:4px;
    margin:0;
    padding:12px;
    border:1px solid rgba(168,233,13,.22);
    border-radius:18px;
    background:linear-gradient(180deg,rgba(9,20,31,.98),rgba(4,10,17,.98));
    box-shadow:0 24px 70px rgba(0,0,0,.50), 0 0 28px rgba(168,233,13,.10);
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    max-height:0;
    overflow:hidden;
    pointer-events:none;
    z-index:1000;
    transition:opacity .2s ease, transform .2s ease, max-height .24s ease, visibility .2s ease;
  }
  .main-nav.open{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    max-height:360px;
    pointer-events:auto;
  }
  .main-nav > a,
  .main-nav > a:first-child{
    display:block !important;
    padding:14px 16px;
    border-radius:12px;
  }
  .main-nav > a:hover,
  .main-nav > a.active{
    background:rgba(168,233,13,.08);
  }
  .main-nav a::after{
    display:none !important;
  }
}

@media (max-width:420px){
  .brand-logo{
    height:46px;
    max-width:180px;
  }
}


/* --- Ceník a tematické ikony --- */
.icon-green{color:var(--lime)!important;filter:drop-shadow(0 0 10px rgba(168,233,13,.35))!important}
.icon-blue{color:var(--blue)!important;filter:drop-shadow(0 0 10px rgba(18,168,255,.35))!important}
.icon-purple{color:var(--purple)!important;filter:drop-shadow(0 0 10px rgba(177,71,255,.35))!important}
.icon-orange{color:var(--orange)!important;filter:drop-shadow(0 0 10px rgba(255,157,18,.35))!important}
.icon-cyan{color:var(--cyan)!important;filter:drop-shadow(0 0 10px rgba(22,223,255,.35))!important}
.icon-gold{color:var(--gold)!important;filter:drop-shadow(0 0 10px rgba(255,210,42,.35))!important}

.index-price-panel{display:flex;flex-direction:column;height:100%}
.index-price-panel .price-list{display:flex;flex-direction:column;flex:1}
.index-price-panel .price-list li{flex:1;min-height:62px;padding:10px 0}
.index-price-panel .panel-link{margin-top:auto}

/* jemnější rozložení ikon v ceníku */
.pricing-summary-item svg.icon-green,
.pricing-summary-item svg.icon-blue,
.pricing-summary-item svg.icon-purple,
.pricing-summary-item svg.icon-orange,
.pricing-summary-item svg.icon-cyan,
.pricing-summary-item svg.icon-gold,
.price-list svg.icon-green,
.price-list svg.icon-blue,
.price-list svg.icon-purple,
.price-list svg.icon-orange,
.price-list svg.icon-cyan,
.price-list svg.icon-gold{opacity:.96}

/* --- Ceník: tematické barvy ikon --- */
.price-list svg.icon-green,
.pricing-summary-item svg.icon-green{color:var(--lime)!important;filter:drop-shadow(0 0 10px rgba(168,233,13,.35))!important}
.price-list svg.icon-blue,
.pricing-summary-item svg.icon-blue{color:var(--blue)!important;filter:drop-shadow(0 0 10px rgba(18,168,255,.35))!important}
.price-list svg.icon-purple,
.pricing-summary-item svg.icon-purple{color:var(--purple)!important;filter:drop-shadow(0 0 10px rgba(177,71,255,.35))!important}
.price-list svg.icon-orange,
.pricing-summary-item svg.icon-orange{color:var(--orange)!important;filter:drop-shadow(0 0 10px rgba(255,157,18,.35))!important}
.price-list svg.icon-cyan,
.pricing-summary-item svg.icon-cyan{color:var(--cyan)!important;filter:drop-shadow(0 0 10px rgba(22,223,255,.35))!important}
.price-list svg.icon-gold,
.pricing-summary-item svg.icon-gold{color:var(--gold)!important;filter:drop-shadow(0 0 10px rgba(255,210,42,.35))!important}
.index-price-panel{display:flex;flex-direction:column;height:100%}
.index-price-panel .price-list{display:flex;flex-direction:column;flex:1}
.index-price-panel .price-list li{flex:1;min-height:62px;padding:10px 0}
.index-price-panel .panel-link{margin-top:auto}

/* Klikací adresa na Mapy.com */
.map-link {
  color: #e2e8f0;
  transition: .2s ease;
}
.map-link small {
  display: block;
  margin-top: 6px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
}
.map-link:hover {
  color: #fff;
}
.map-link:hover small {
  text-shadow: 0 0 12px rgba(168,233,13,.35);
}

/* --- Novinky / příspěvky --- */
.news-preview{padding-top:28px}
.news-hero{padding:44px 0 18px;border-bottom:1px solid rgba(255,255,255,.08)}
.news-hero-card{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr auto;
  gap:28px;
  align-items:center;
  padding:34px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  background:
    radial-gradient(circle at 88% 6%,rgba(168,233,13,.13),transparent 34%),
    radial-gradient(circle at 4% 0%,rgba(22,223,255,.10),transparent 30%),
    linear-gradient(180deg,rgba(13,28,42,.82),rgba(6,14,22,.78));
  box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.04);
}
.news-hero-card::before{
  content:"";
  position:absolute;
  left:34px;
  right:34px;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,rgba(168,233,13,.95),rgba(22,223,255,.50),transparent);
  box-shadow:0 0 18px rgba(168,233,13,.20);
}
.news-eyebrow{
  color:var(--lime);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:800;
  font-size:13px;
}
.news-hero h1{
  margin:6px 0 16px;
  font-size:clamp(42px,5vw,72px);
  line-height:1.05;
  letter-spacing:-.055em;
  font-weight:900;
}
.news-hero h1 span{color:var(--lime);text-shadow:0 0 26px rgba(168,233,13,.28)}
.news-hero p{max-width:760px;margin:0;color:#dbe5ef;font-size:18px}
.news-hero-icon{
  width:120px;
  height:120px;
  display:grid;
  place-items:center;
  border-radius:24px;
  border:1px solid rgba(168,233,13,.24);
  background:linear-gradient(180deg,rgba(168,233,13,.08),rgba(255,255,255,.018));
  color:var(--lime);
  filter:drop-shadow(0 0 20px rgba(168,233,13,.20));
}
.news-hero-icon svg{font-size:58px}

.news-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.news-card{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(13,28,42,.82),rgba(6,14,22,.82));
  box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.04);
}
.news-thumb{
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  background:rgba(255,255,255,.035);
}
.news-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:.35s ease;
}
.news-card:hover .news-thumb img{transform:scale(1.045)}
.news-card-body{padding:20px}
.news-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:12px;
  color:var(--lime);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.news-meta span+span::before{
  content:"";
  display:inline-block;
  width:5px;
  height:5px;
  border-radius:999px;
  background:var(--lime);
  box-shadow:0 0 10px rgba(168,233,13,.75);
  margin-right:8px;
}
.news-card h3{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.18;
  letter-spacing:-.03em;
}
.news-card p{
  margin:0;
  color:#cbd5e1;
  font-size:14px;
}
.news-actions{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  margin-top:18px;
}
.news-card .panel-link{
  margin-top:0;
  height:44px;
  padding:0 14px;
  flex:1;
}
.news-fb{
  color:#cbd5e1;
  font-size:13px;
  border-bottom:1px solid rgba(168,233,13,.45);
}
.news-more{
  max-width:360px;
  margin:22px auto 0;
}
.news-empty{
  display:grid;
  grid-template-columns:58px 1fr;
  gap:18px;
  align-items:start;
  padding:28px 30px;
  max-width:780px;
}
.news-empty h3{margin:0 0 8px;font-size:24px}
.news-empty p{margin:0 0 18px;color:#cbd5e1}
.news-empty-icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  color:var(--lime);
  border-radius:16px;
  border:1px solid rgba(168,233,13,.25);
  background:rgba(168,233,13,.05);
  filter:drop-shadow(0 0 12px rgba(168,233,13,.22));
}
.news-empty-icon svg{font-size:32px}

.news-back{max-width:240px;margin:0 0 18px}
.news-detail{
  overflow:hidden;
  display:grid;
  grid-template-columns:.95fr 1.05fr;
}
.news-detail-image{
  min-height:420px;
  background:rgba(255,255,255,.035);
}
.news-detail-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.news-detail-content{padding:34px}
.news-detail h1{
  margin:0 0 18px;
  font-size:clamp(34px,4vw,56px);
  line-height:1.05;
  letter-spacing:-.055em;
}
.news-text{
  color:#d9e2ec;
  font-size:17px;
  line-height:1.7;
  margin-bottom:24px;
}

.admin-news{min-height:100vh}
.admin-panel{
  padding:28px 30px;
  margin-bottom:18px;
}
.admin-hint{color:#b7c1ce}
.admin-hint code{
  color:#fff;
  background:rgba(255,255,255,.08);
  padding:2px 6px;
  border-radius:6px;
}
.admin-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.admin-check{
  display:flex!important;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:10px!important;
  color:#dbe5ef;
}
.admin-check span{
  position:static!important;
  width:auto!important;
  height:auto!important;
  clip:auto!important;
}
.admin-check input{width:auto!important;height:auto!important}
.admin-posts{display:grid;gap:10px}
.admin-post{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.admin-post strong{display:block}
.admin-post span{display:block;color:#9aa7b6;font-size:13px}

@media (max-width:900px){
  .news-grid{grid-template-columns:1fr}
  .news-detail{grid-template-columns:1fr}
  .news-detail-image{min-height:260px}
  .news-hero-card{grid-template-columns:1fr}
  .news-hero-icon{width:86px;height:86px}
}
@media (max-width:560px){
  .news-detail-content{padding:24px}
  .news-empty{grid-template-columns:1fr}
  .admin-head,.admin-post{display:block}
  .admin-head .btn,.admin-post .btn{margin-top:12px;width:100%}
}

/* --- Modernější servisní styl Novinek --- */
.news-topic-strip{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin:-10px 0 26px;
}
.news-topic-strip span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:0 13px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  color:#dbe5ef;
  font-size:13px;
  font-weight:800;
}
.news-topic-strip svg{
  width:18px;
  height:18px;
  color:var(--lime);
  filter:drop-shadow(0 0 8px rgba(168,233,13,.32));
}
.news-topic-strip-hero{
  justify-content:flex-start;
  margin:24px 0 0;
}
.news-hero-service{
  grid-template-columns:minmax(0,1fr) 132px;
}
.news-hero-service .news-hero-icon{
  border-color:rgba(255,210,42,.22);
  color:var(--gold);
  background:
    radial-gradient(circle at 50% 0,rgba(255,210,42,.18),transparent 52%),
    linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015));
  filter:drop-shadow(0 0 20px rgba(255,210,42,.18));
}
.news-grid-service,
.news-grid-preview{
  align-items:stretch;
}
.news-card-service{
  position:relative;
  isolation:isolate;
}
.news-card-service::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.36;
  background:radial-gradient(circle at 18% 0,var(--news-glow,rgba(168,233,13,.20)),transparent 42%);
  z-index:-1;
}
.news-card-service::after{
  content:"";
  position:absolute;
  left:20px;
  right:20px;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,var(--news-color,var(--lime)),transparent);
  opacity:.72;
  box-shadow:0 0 16px var(--news-glow,rgba(168,233,13,.22));
}
.news-card-soldering{--news-color:var(--gold);--news-glow:rgba(255,210,42,.28)}
.news-card-replacement{--news-color:var(--purple);--news-glow:rgba(177,71,255,.28)}
.news-card-print3d{--news-color:var(--cyan);--news-glow:rgba(22,223,255,.26)}
.news-card-diagnostics{--news-color:var(--lime);--news-glow:rgba(168,233,13,.26)}
.news-card-software{--news-color:var(--orange);--news-glow:rgba(255,157,18,.28)}
.news-card-data{--news-color:var(--cyan);--news-glow:rgba(22,223,255,.26)}
.news-card-mobile{--news-color:var(--purple);--news-glow:rgba(177,71,255,.26)}
.news-card-notebook{--news-color:var(--blue);--news-glow:rgba(18,168,255,.26)}
.news-card-electronics{--news-color:var(--gold);--news-glow:rgba(255,210,42,.24)}
.news-thumb{
  position:relative;
}
.news-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 50%,rgba(3,7,12,.72));
  pointer-events:none;
}
.news-topline{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
}
.news-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:32px;
  padding:0 10px;
  border-radius:999px;
  color:var(--news-color,var(--lime));
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  border:1px solid color-mix(in srgb, var(--news-color,var(--lime)) 38%, transparent);
  font-size:12px;
  font-weight:900;
  letter-spacing:.055em;
  text-transform:uppercase;
  box-shadow:0 0 14px var(--news-glow,rgba(168,233,13,.18));
}
.news-badge svg{
  width:17px;
  height:17px;
  flex:0 0 auto;
}
.news-date{
  color:#8fa0b2;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}
.news-card-service .news-card-body{
  display:flex;
  flex-direction:column;
  min-height:245px;
}
.news-card-service h3{
  font-size:23px;
}
.news-card-service p{
  color:#cbd5e1;
  line-height:1.55;
}
.news-card-service .news-actions{
  margin-top:auto;
  padding-top:18px;
}
.news-card-service .panel-link{
  justify-content:space-between;
}
.news-fb{
  white-space:nowrap;
}
.news-detail-modern{
  position:relative;
  isolation:isolate;
}
.news-detail-modern::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.32;
  background:radial-gradient(circle at 6% 0,var(--news-glow,rgba(168,233,13,.22)),transparent 42%);
  z-index:-1;
}
.news-detail-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}
.news-empty-modern{
  border-color:rgba(255,210,42,.18);
  background:
    radial-gradient(circle at 0 0,rgba(255,210,42,.10),transparent 38%),
    linear-gradient(180deg,rgba(13,28,42,.82),rgba(6,14,22,.82));
}
.news-empty-modern .news-empty-icon{
  color:var(--gold);
  border-color:rgba(255,210,42,.25);
  background:rgba(255,210,42,.055);
  filter:drop-shadow(0 0 14px rgba(255,210,42,.22));
}
.admin-panel datalist{
  display:none;
}
@supports not (color: color-mix(in srgb, red, blue)){
  .news-badge{
    border-color:rgba(255,255,255,.16);
  }
}
@media (max-width:900px){
  .news-hero-service{grid-template-columns:1fr}
  .news-topic-strip-hero{justify-content:flex-start}
}
@media (max-width:560px){
  .news-topic-strip{justify-content:flex-start}
  .news-topline{align-items:flex-start;flex-direction:column}
  .news-card-service .news-card-body{min-height:auto}
  .news-detail-actions .btn{width:100%}
}

/* --- Novinky layout fix V10 --- */
.news-preview-integrated{
  padding-top:36px;
}
.news-preview-integrated .section-title{
  margin-bottom:22px;
}
.news-lab-panel{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:.95fr 1.35fr;
  gap:24px;
  align-items:stretch;
  padding:30px;
  border-radius:18px;
}
.news-lab-panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 0,rgba(168,233,13,.11),transparent 34%),
    radial-gradient(circle at 100% 0,rgba(22,223,255,.08),transparent 35%);
  opacity:.9;
}
.news-lab-copy,
.news-lab-topics{
  position:relative;
  z-index:1;
}
.news-eyebrow-inline{
  display:inline-flex;
  margin-bottom:8px;
  color:var(--lime);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
  font-weight:900;
}
.news-lab-copy h3{
  margin:0 0 12px;
  font-size:clamp(28px,3vw,40px);
  line-height:1.1;
  letter-spacing:-.04em;
}
.news-lab-copy p{
  margin:0;
  color:#cbd5e1;
  font-size:16px;
}
.news-lab-copy .panel-link{
  max-width:320px;
}
.news-lab-topics{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:0!important;
}
.news-lab-topics-page{
  margin-top:18px!important;
}
.news-topic-card{
  min-height:168px;
  padding:18px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 50% 0,var(--topic-glow,rgba(168,233,13,.15)),transparent 52%),
    linear-gradient(180deg,rgba(16,31,45,.84),rgba(6,13,21,.72));
  box-shadow:var(--shadow),inset 0 0 24px rgba(255,255,255,.018);
  text-align:center;
}
.news-topic-card svg{
  display:block!important;
  width:44px!important;
  height:44px!important;
  margin:0 auto 14px!important;
  color:var(--topic-color,var(--lime))!important;
  filter:drop-shadow(0 0 14px var(--topic-glow,rgba(168,233,13,.34)))!important;
}
.news-topic-card strong{
  display:block;
  color:#fff;
  font-size:18px;
  line-height:1.15;
  margin-bottom:8px;
}
.news-topic-card span{
  display:block;
  color:#b7c1ce;
  font-size:13px;
  line-height:1.35;
}
.topic-soldering{--topic-color:var(--gold);--topic-glow:rgba(255,210,42,.32)}
.topic-replacement{--topic-color:var(--purple);--topic-glow:rgba(177,71,255,.30)}
.topic-print3d{--topic-color:var(--cyan);--topic-glow:rgba(22,223,255,.30)}
.topic-diagnostics{--topic-color:var(--lime);--topic-glow:rgba(168,233,13,.30)}
.news-topic-strip{
  display:none!important;
}
.news-grid-preview{
  margin-top:0;
}
@media (max-width:1050px){
  .news-lab-panel{grid-template-columns:1fr}
  .news-lab-topics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  .news-lab-panel{padding:22px}
  .news-lab-topics{grid-template-columns:1fr}
  .news-topic-card{min-height:auto;text-align:left;display:grid;grid-template-columns:54px 1fr;column-gap:12px;align-items:center}
  .news-topic-card svg{margin:0!important;grid-row:1 / span 2}
  .news-topic-card strong{margin:0 0 4px}
}

/* --- Novinky layout fix V11 --- */
.news-preview-integrated{
  padding-top:36px;
}
.news-preview-integrated .section-title{
  margin-bottom:22px;
}
.news-lab-panel{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:.95fr 1.35fr;
  gap:24px;
  align-items:stretch;
  padding:30px;
  border-radius:18px;
}
.news-lab-panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 0,rgba(168,233,13,.11),transparent 34%),
    radial-gradient(circle at 100% 0,rgba(22,223,255,.08),transparent 35%);
  opacity:.9;
}
.news-lab-copy,
.news-lab-topics{
  position:relative;
  z-index:1;
}
.news-eyebrow-inline{
  display:inline-flex;
  margin-bottom:8px;
  color:var(--lime);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
  font-weight:900;
}
.news-lab-copy h3{
  margin:0 0 12px;
  font-size:clamp(28px,3vw,40px);
  line-height:1.1;
  letter-spacing:-.04em;
}
.news-lab-copy p{
  margin:0;
  color:#cbd5e1;
  font-size:16px;
}
.news-lab-copy .panel-link{
  max-width:320px;
}
.news-lab-topics{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:0!important;
}
.news-lab-topics-page{
  margin-top:18px!important;
}
.news-topic-card{
  min-height:168px;
  padding:18px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 50% 0,var(--topic-glow,rgba(168,233,13,.15)),transparent 52%),
    linear-gradient(180deg,rgba(16,31,45,.84),rgba(6,13,21,.72));
  box-shadow:var(--shadow),inset 0 0 24px rgba(255,255,255,.018);
  text-align:center;
}
.news-topic-card svg{
  display:block!important;
  width:44px!important;
  height:44px!important;
  margin:0 auto 14px!important;
  color:var(--topic-color,var(--lime))!important;
  filter:drop-shadow(0 0 14px var(--topic-glow,rgba(168,233,13,.34)))!important;
}
.news-topic-card strong{
  display:block;
  color:#fff;
  font-size:18px;
  line-height:1.15;
  margin-bottom:8px;
}
.news-topic-card span{
  display:block;
  color:#b7c1ce;
  font-size:13px;
  line-height:1.35;
}
.topic-soldering{--topic-color:var(--gold);--topic-glow:rgba(255,210,42,.32)}
.topic-replacement{--topic-color:var(--purple);--topic-glow:rgba(177,71,255,.30)}
.topic-print3d{--topic-color:var(--cyan);--topic-glow:rgba(22,223,255,.30)}
.topic-diagnostics{--topic-color:var(--lime);--topic-glow:rgba(168,233,13,.30)}
.news-topic-strip{
  display:none!important;
}
.news-grid-preview{
  margin-top:0;
}
@media (max-width:1050px){
  .news-lab-panel{grid-template-columns:1fr}
  .news-lab-topics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  .news-lab-panel{padding:22px}
  .news-lab-topics{grid-template-columns:1fr}
  .news-topic-card{min-height:auto;text-align:left;display:grid;grid-template-columns:54px 1fr;column-gap:12px;align-items:center}
  .news-topic-card svg{margin:0!important;grid-row:1 / span 2}
  .news-topic-card strong{margin:0 0 4px}
}


/* --- Novinky tuning V12 --- */
.news-hero-service{
  grid-template-columns:minmax(0,1fr) 300px;
  align-items:center;
}
.news-hero-service p{display:none;}
.news-hero-visual{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:180px;
  padding:8px 0;
}
.news-hero-visual svg{
  width:100%;
  max-width:300px;
  height:auto;
  overflow:visible;
}
.news-hero-visual-svg-disabled .wire{
  fill:none;
  stroke:rgba(168,233,13,.45);
  stroke-width:6;
  stroke-linecap:round;
  filter:drop-shadow(0 0 14px rgba(168,233,13,.20));
}
.news-hero-visual-svg-disabled .spark path{
  fill:none;
  stroke:#ffd44a;
  stroke-width:4;
  stroke-linecap:round;
  filter:drop-shadow(0 0 10px rgba(255,212,74,.45));
}
.news-topic-card{
  gap:0;
}
.news-topic-card strong{
  letter-spacing:-.02em;
}
.topic-replacement svg path,
.topic-replacement svg polyline{
  stroke-linecap:round;
  stroke-linejoin:round;
}
@media (max-width:900px){
  .news-hero-service{grid-template-columns:1fr;}
  .news-hero-visual{justify-content:flex-start; min-height:120px;}
  .news-hero-visual svg{max-width:230px;}
}


/* --- Novinky hero image integration V13 --- */
.news-hero-service{
  grid-template-columns:minmax(0,1fr) minmax(320px, 46%);
  gap:28px;
  align-items:center;
}
.news-hero-service p{display:none!important;}
.news-hero-image{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-height:250px;
}
.news-hero-image img{
  width:100%;
  max-width:760px;
  height:auto;
  display:block;
  object-fit:contain;
  filter:drop-shadow(0 18px 40px rgba(0,0,0,.35));
}
.news-topic-card svg{
  stroke-width:2.1;
  stroke-linecap:round;
  stroke-linejoin:round;
  fill:none;
}
.news-topic-card.topic-soldering svg rect{fill:none;}
.news-topic-card.topic-soldering svg path:last-child,
.news-topic-card.topic-soldering svg rect:last-of-type{fill:none;}
@media (max-width:980px){
  .news-hero-service{grid-template-columns:1fr;}
  .news-hero-image{justify-content:center; min-height:180px;}
  .news-hero-image img{max-width:560px;}
}


/* --- Novinky hero integration V17 --- */
.news-hero-card.news-hero-service{
  overflow:hidden;
}
.news-hero-service{
  grid-template-columns:minmax(0,1fr) minmax(420px, 50%);
  gap:14px;
  align-items:center;
}
.news-hero-service > div:first-child{
  position:relative;
  z-index:2;
  padding-right:8px;
}
.news-hero-image{
  justify-content:flex-end;
  min-height:240px;
}
.news-hero-image img{
  width:100%;
  max-width:920px;
  height:auto;
  object-fit:contain;
  object-position:center right;
  filter:none;
}
@media (max-width:1100px){
  .news-hero-service{grid-template-columns:minmax(0,1fr) minmax(340px,46%);}
  .news-hero-image img{max-width:760px;}
}
@media (max-width:980px){
  .news-hero-service{grid-template-columns:1fr;gap:18px;}
  .news-hero-image{justify-content:center;min-height:160px;}
  .news-hero-image img{max-width:620px;object-position:center;}
}

/* --- Administrace novinek: editace V18 --- */
.admin-status{
  padding:16px 20px;
  margin-bottom:18px;
  color:#dbe5ef;
  border-color:rgba(168,233,13,.22);
}
.admin-head-actions,
.admin-post-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.admin-post-actions form{
  margin:0;
}
.admin-post-actions .btn,
.admin-head-actions .btn{
  min-height:42px;
  padding:0 14px;
}
.admin-current-image{
  display:grid;
  grid-template-columns:160px 1fr;
  gap:16px;
  align-items:center;
  padding:14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background:rgba(255,255,255,.03);
}
.admin-current-image img{
  width:160px;
  aspect-ratio:16/10;
  object-fit:cover;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
}
@media (max-width:700px){
  .admin-head-actions,
  .admin-post-actions{
    align-items:stretch;
    flex-direction:column;
  }
  .admin-post-actions .btn,
  .admin-post-actions form,
  .admin-post-actions button,
  .admin-head-actions .btn,
  .admin-head-actions form,
  .admin-head-actions button{
    width:100%;
  }
  .admin-current-image{
    grid-template-columns:1fr;
  }
  .admin-current-image img{
    width:100%;
  }
}
