:root{
  --bg:#0b0f0d;
  --panel:#111915;
  --panel2:#0e1411;
  --text:#e7f0ea;
  --muted:#a7b8ae;
  --accent:#45d06f;
  --danger:#ff4d4d;
  --warn:#f7c948;
  --stroke:#1f2a24;
  --shadow: 0 12px 40px rgba(0,0,0,.35);
  --radius: 16px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(69,208,111,.14), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(255,77,77,.10), transparent 60%),
    linear-gradient(180deg, #070a08, var(--bg));
  color:var(--text);
}

a{color:inherit; text-decoration:none}
.container{max-width:1590px; margin:0 auto; padding:24px}

/* ================= TOPBAR ================= */
.topbar{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 20px; border:1px solid var(--stroke); border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(17,25,21,.9), rgba(14,20,17,.75));
  box-shadow:var(--shadow);
  position:sticky; top:16px; z-index:50;
  backdrop-filter: blur(10px);
}
.brand{
  display:flex; gap:12px; align-items:center;
}
.logo{
  width:38px; height:38px; border-radius:12px;
  background: radial-gradient(circle at 35% 35%, rgba(69,208,111,.35), rgba(69,208,111,.10)),
              linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border:1px solid var(--stroke);
}
.brand h1{font-size:16px; margin:0; letter-spacing:.4px}
.brand p{margin:0; color:var(--muted); font-size:12px}

.nav{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.nav a{
  padding:10px 12px; border:1px solid var(--stroke); border-radius:12px;
  background:rgba(255,255,255,.03);
  color:var(--muted);
}
.nav a.active{color:var(--text); border-color:rgba(69,208,111,.45); background:rgba(69,208,111,.08)}
.nav a:hover{color:var(--text)}

/* ================= LAYOUT ================= */
.grid{
  display:grid;
  grid-template-columns: 1.4fr .9fr;
  gap:18px;
  margin-top:18px;
}
@media (max-width: 980px){
  .grid{grid-template-columns:1fr}
}

.card{
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(17,25,21,.9), rgba(14,20,17,.75));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card .head{
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.06);
  display:flex; align-items:center; justify-content:space-between;
}
.card .head h2{margin:0; font-size:14px; letter-spacing:.3px}
.card .body{padding:16px}

.kicker{color:var(--muted); font-size:12px}

/* ================= SERVER STATUS UI ================= */
.servers{display:grid; gap:14px}
.server{
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(0,0,0,.18);
  overflow:hidden;
}
.server .top{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.server .title{
  display:flex; gap:10px; align-items:center; min-width:0;
}
.dot{
  width:10px; height:10px; border-radius:99px;
  background:var(--danger);
  box-shadow:0 0 0 6px rgba(255,77,77,.10);
  flex:0 0 auto;
}
.dot.online{
  background:var(--accent);
  box-shadow:0 0 0 6px rgba(69,208,111,.12);
}
.server .name{
  font-weight:650;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

.rows{padding:12px 14px; display:grid; gap:8px}
.row{
  display:flex; justify-content:space-between; gap:12px;
  color:var(--muted); font-size:13px;
}
.row b{color:var(--text); font-weight:650}

/* BADGE (online/offline) */
.badge{
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
}
.badge.online{
  color: #45d06f;
  background: rgba(69, 208, 111, 0.12);
  border-color: rgba(69, 208, 111, 0.45);
  box-shadow: 0 0 0 4px rgba(69, 208, 111, 0.12);
}
.badge.offline{
  color: #ff4d4d;
  background: rgba(255, 77, 77, 0.12);
  border-color: rgba(255, 77, 77, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.12);
}

/* LOCKED ROW */
.locked-row {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 77, 77, 0.12);
  border: 1px solid rgba(255, 77, 77, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.12);
}
.locked-row span { color: #ff9a9a; font-weight: 600; }
.locked-row b {
  color: #ff4d4d;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ================= CONTENT / FORMS ================= */
.content h2,h3{margin:0 0 10px}
.content p, .content li{color:var(--muted); line-height:1.6}
.content a{text-decoration:underline}

.smallnote{margin-top:8px; color:var(--muted); font-size:12px}
.footer{margin:24px 0 10px; color:var(--muted); font-size:12px; text-align:center}

input,textarea{
  width:100%; background:rgba(255,255,255,.03); color:var(--text);
  border:1px solid var(--stroke); border-radius:12px;
  padding:10px 12px;
}
textarea{
  min-height:220px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono";
}
button{
  padding:10px 12px; border-radius:12px; border:1px solid rgba(69,208,111,.45);
  background:rgba(69,208,111,.10); color:var(--text); cursor:pointer;
}
button:hover{background:rgba(69,208,111,.14)}

/* ===================================================================== */
/* ===================  ADMIN TÍM – KARTY + LIGHTBOX  =================== */
/* ===================================================================== */

.team-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:16px;
}
@media (max-width:980px){
  .team-grid{ grid-template-columns:1fr; }
}

.team-card{
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  background: rgba(0,0,0,.16);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.team-card-inner{
  display:grid;
  grid-template-columns: 300px 1fr;
  gap:16px;
  padding:16px;
}
@media (max-width:980px){
  .team-card-inner{ grid-template-columns:1fr; }
}

/* FIX: obrázok sa zmenší, karta sa nerozťahuje, nič sa neoreže */
.team-media{
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:rgba(255,255,255,.03);
  padding:10px;

  height:360px;                 /* môžeš dať 320/360/400 */
  display:flex;
  align-items:center;
  justify-content:center;
}

.team-media img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;           /* nikdy neoreže */
  border-radius:10px;
  cursor:zoom-in;
}

.team-meta h3{ margin:0 0 6px 0; font-size:20px; }
.team-role{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(69,208,111,.35);
  background: rgba(69,208,111,.08);
  color: var(--text);
  font-size:12px;
  margin-bottom:12px;
}

.team-block{
  margin-top:10px;
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.team-block b{ display:block; margin-bottom:6px; }
.team-block p, .team-block ul{ margin:0; color:var(--muted); line-height:1.6; }
.team-block ul{ padding-left:18px; }

/* LIGHTBOX */
.lightbox{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.72);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:20px;
}
.lightbox.open{ display:flex; }

.lightbox-inner{
  max-width: min(1100px, 96vw);
  max-height: 92vh;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(10,12,11,.92);
  box-shadow: 0 20px 80px rgba(0,0,0,.55);
  overflow:hidden;
}
.lightbox-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.lightbox-title{
  color: var(--muted);
  font-size: 12px;
}
.lightbox-close{
  cursor:pointer;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
}
.lightbox-img-wrap{ padding:14px; }
.lightbox-img-wrap img{
  width:100%;
  height:auto;
  max-height: 75vh;
  object-fit: contain;
  display:block;
}

/* ================= HERO (image-first + optional overlay text from admin) ================= */
.hero-banner{
  margin-top: 18px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 260px;
  position: relative;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 980px){
  .hero-banner{ min-height: 210px; }
}

/* overlay kontajner (text je voliteľný) */
.hero-overlay{
  position: absolute;
  inset: 0;
  display:flex;
  align-items:flex-end;
}

/* box s textom, aby bol čitateľný */
.hero-content{
  padding: 18px;
  width: 100%;
  max-width: 900px;
}

.hero-content h2{
  margin: 0 0 8px 0;
  font-size: 26px;
  letter-spacing: .3px;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.hero-content p{
  margin: 0 0 12px 0;
  color: rgba(231,240,234,.88);
  line-height: 1.55;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}

/* ak si dáš do admin textu aj tlačidlá */
.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
}
.hero-actions a{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color: var(--text);
}
.hero-actions a:hover{
  background: rgba(0,0,0,.35);
  border-color: rgba(69,208,111,.35);
}

/* ================= DONATE / MEMBERSHIP CARDS ================= */
.pricing-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:16px;
  margin-top:14px;
}
@media (max-width: 980px){
  .pricing-grid{ grid-template-columns:1fr; }
}

.pricing-card{
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  background: rgba(0,0,0,.16);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}

.pricing-card .ph{
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.pricing-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(69,208,111,.35);
  background: rgba(69,208,111,.08);
  color: var(--text);
  font-size:12px;
  font-weight:650;
}

.pricing-title{
  margin:0;
  font-size:14px;
  letter-spacing:.3px;
}

.pricing-body{ padding:16px; }

.pricing-price{
  font-size:28px;
  font-weight:800;
  letter-spacing:.2px;
  margin:0 0 4px 0;
}
.pricing-sub{
  color: var(--muted);
  font-size:12px;
  margin:0 0 12px 0;
}

.pricing-note{
  margin:10px 0 0 0;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size:13px;
  line-height:1.6;
}
.pricing-note b{ color: var(--text); }

.pricing-list{
  margin:0;
  padding-left:18px;
  color: var(--muted);
  line-height:1.65;
  font-size:13px;
}
.pricing-list li{ margin:6px 0; }

.pricing-cta{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.pricing-cta a{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color: var(--text);
}
.pricing-cta a:hover{
  background: rgba(0,0,0,.35);
  border-color: rgba(69,208,111,.35);
}

/* ================= BALÍČKY – OBRÁZKY ================= */
.package-image{
  margin:12px 0;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.25);
}

.package-image img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}

/* Balíčky – lepšia čitateľnosť cez <li> */
.pricing-note ul{
  margin:8px 0 0 0;
  padding-left:18px;
}

.pricing-note li{
  margin:6px 0;
  line-height:1.6;
}

/* ===== HERO – LOGÁ SERVEROV ===== */
.hero-logos{
  position:absolute;
  left:0;
  top:50%;
  transform: translateY(-50%);
  display:flex;
  align-items:center;
  gap:24px;
  pointer-events:none; /* aby sa neprekryvali kliky v hero */
}

.hero-logos img{
  height:140px;           /* veľkosť loga – môžeš upraviť */
  width:auto;
  opacity:.95;
}

/* ===== HERO logos: mobile fix ===== */
@media (max-width: 860px){
  /* hero menší a stabilný */
  .hero-banner{
    min-height: 190px;
    height: 190px;
    border-radius: 22px;
    background-position: center 40%;
    background-size: cover;
  }

  /* aby sa obsah v hero nelámal divne */
  .hero-overlay{
    position: relative;
  }

  /* logá na mobile NEBUDÚ absolute */
  .hero-logos{
    position: static;
    left:auto;
    top:auto;
    transform:none;

    pointer-events:auto; /* kľudne nechaj aj none, ale statické už nič neblokuje */
    justify-content:center;
    gap:12px;

    margin: 0 auto 8px auto !important; /* prepíše margin-left z adminu */
    width:100%;
    max-width: 100%;
  }

  .hero-logos img{
    height: 64px;     /* ideálne pre mobil */
    width:auto;
    opacity: .95;
  }

  /* ak máš v hero ešte text, sprav ho kompaktnejší */
  .hero-content{
    padding: 12px 14px;
  }
}

/* Donate layout: 2 stĺpce */
.donate-grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 18px;
  align-items:start;
}
@media (max-width: 980px){
  .donate-grid{ grid-template-columns: 1fr; }
}
.donate-side{
  position: sticky;
  top: 18px;
}
.donate-box{
  border:1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(0,0,0,.18);
  padding: 14px 14px;
}
.donate-box h4{
  margin:0 0 10px 0;
}
.donate-box ul{
  margin:0;
  padding-left:18px;
}

/* ===== Donate – jednotné info boxy ===== */
.donate-card{
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background: rgba(0,0,0,.18);
  padding:16px 18px;
  margin-bottom:14px;
}

.donate-card h2,
.donate-card h3,
.donate-box h4{
  margin-top:0;
}

.donate-card ul{
  margin:8px 0 0 0;
  padding-left:18px;
}

.donate-card li{
  margin:6px 0;
}

/* Jemnejší text */
.donate-card p{
  color: rgba(255,255,255,.88);
}

/* QR zjemnenie */
.donate-box img{
  background:#fff;
  padding:10px;
  border-radius:14px;
}

/* ===== INFO stránka – layout ako Donate ===== */
.info-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  align-items:start;
}
@media (max-width: 980px){
  .info-grid{ grid-template-columns: 1fr; }
}

.info-side{
  position: sticky;
  top: 18px;
}

.info-card{
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background: rgba(0,0,0,.18);
  padding:16px 18px;
  margin-bottom:14px;
}

.info-card h2, .info-card h3, .info-box h4{
  margin-top:0;
}

.info-card ul{
  margin:10px 0 0 0;
  padding-left:18px;
}

.info-card li{
  margin:6px 0;
  line-height:1.6;
}

/* pravý panel */
.info-box{
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background: rgba(0,0,0,.18);
  padding:16px 18px;
}

.info-box h4{
  margin:0 0 10px 0;
}

.info-links{
  list-style:none;
  padding:0;
  margin:0;
}

.info-links li{
  margin:10px 0;
  line-height:1.6;
}

.info-links a{
  font-weight:700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== Kontakty – layout + karty ===== */
.contact-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items:start;
}
@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; }
}

.contact-card{
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background: rgba(0,0,0,.18);
  padding:16px 18px;
  margin-bottom:14px;
  box-shadow: var(--shadow);
}

.contact-card-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  padding-bottom:10px;
  margin-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.contact-card h3{ margin:0; }

.contact-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.btn-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  text-decoration:none;
}
.btn-link:hover{ background: rgba(255,255,255,.06); }

/* Alert */
.contact-alert{
  margin-bottom:14px;
  border-radius:14px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.contact-alert.ok{
  border-color: rgba(69,208,111,.45);
  background: rgba(69,208,111,.10);
}
.contact-alert.err{
  border-color: rgba(255,77,77,.45);
  background: rgba(255,77,77,.10);
}

/* Form */
.contact-form .form-row{ margin-bottom:12px; }
.contact-form label{ display:block; margin:0 0 6px; color: rgba(255,255,255,.85); }
.contact-form .req{ color:#ff9a9a; }

.captcha-row .captcha-q{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
}
.badge{
  display:inline-flex;
  align-items:center;
  height:22px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  font-size:12px;
  color: rgba(255,255,255,.85);
}

/* Honeypot – skryté */
.hp-field{
  position:absolute !important;
  left:-9999px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

/* ===== Social links ===== */
.socials{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.social-item{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
  text-decoration:none;
  opacity:.9;
}

.social-item:hover{
  opacity:1;
}

.social-item img{
  width:22px;
  height:22px;
  object-fit:contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.6));
}

.social-item span{
  font-weight:600;
}

/* ===== Grid variant ===== */
.socials-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap:16px;
}

.social-card{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  text-decoration:none;
  color:#fff;
  transition:all .2s ease;
}

.social-card:hover{
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.05);
}

.social-card img{
  width:22px;
  height:22px;
}

.social-card img{
  filter: brightness(0) invert(1);
}

.socials-vertical{
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* ================= HOME SHOWCASE (full-width sekcia pod status + discord) ================= */
.home-showcase .body{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.feature-row{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:18px;
  align-items:center;
  padding:14px;
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
}

.feature-row.reverse{
  grid-template-columns: .95fr 1.05fr;
}
.feature-row.reverse .feature-media{ order: 2; }
.feature-row.reverse .feature-text{ order: 1; }

.feature-media{
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.25);
  min-height:220px;
}
.feature-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.feature-text h3{
  margin:0 0 8px 0;
  font-size:22px;
  letter-spacing:.2px;
}
.feature-text .muted{
  margin:0;
  color:rgba(231,240,234,.86);
  line-height:1.55;
}

.home-cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-start;
  padding-top:6px;
}

@media (max-width: 980px){
  .feature-row,
  .feature-row.reverse{
    grid-template-columns: 1fr;
  }
  .feature-row.reverse .feature-media{ order: 0; }
  .feature-row.reverse .feature-text{ order: 0; }
  .feature-media{ min-height:180px; }
}

/* ================= HOME SOCIALS ================= */
.home-socials{
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--stroke);
}

.socials-grid.center{
  justify-content: center;
}

.socials-grid.center .social-card{
  min-width: 140px;
  justify-content: center;
}

/* ===== Mobile nav (hamburger + offcanvas) ===== */
.nav-toggle{
  display:none; /* zapne sa v media query */
  width:46px;
  height:46px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  cursor:pointer;

  /* hamburger = 3 paličky pod sebou */
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;

  /* aby to nešklbalo na iOS */
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span{
  display:block;
  width:20px;
  height:2px;
  background:rgba(255,255,255,.92);
  border-radius:2px;
  transition: transform .22s ease, opacity .18s ease;
}

/* otvorené menu: 3 paličky -> X (funguje s aria-expanded) */
.nav-toggle[aria-expanded="true"] span:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2){
  opacity:0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px){
  /* topbar nech nie je "sticky" / nebehá po stránke */
  .topbar{
    position: relative !important;
    top:auto !important;
    z-index: 9999; /* aby bol nad overlayom */
  }

  /* ❗ skrý iba TOPBAR menu, nie všetky .nav na stránke */
  .topbar .nav{
    display:none;
  }

  /* hamburger zobraz */
  .nav-toggle{
    display:flex;
  }

  /* offcanvas menu (len topbar) */
  .topbar .nav.is-open{
    display:flex;
    flex-direction:column;
    gap:10px;

    position: fixed;
    left: 18px;
    right: 18px;
    top: 78px;

    z-index: 10000;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(10,14,12,.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 50px rgba(0,0,0,.55);

    animation: navDrop .22s ease-out;
  }

  .topbar .nav.is-open a{
    width:100%;
    justify-content:center;
    padding: 14px 14px;
    border-radius: 16px;
  }

  /* jemný overlay keď je menu otvorené (JS pridáva body.nav-open) */
  body.nav-open::before{
    content:"";
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index: 9990;
  }
}

@keyframes navDrop{
  from{
    opacity: 0;
    transform: translateY(-6px) scale(.98);
  }
  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nav-toggle:hover{
  background: rgba(255,255,255,.07);
}

/* ===== Hero mobile tuning ===== */
@media (max-width: 860px){
  .hero-banner{
    margin-top: 12px;
    min-height: 220px; /* miesto obrieho hero */
    border-radius: 22px;
    background-position: center;
    background-size: cover;
  }

  .hero-content{
    padding: 16px;
  }

  .hero-content h1,
  .hero-content h2{
    font-size: 28px;
    line-height: 1.1;
  }
}
