/* RNET Slovakia — štýly webu.
   Farby vychádzajú z loga: tehlová červená #A13628 a tmavomodrá #1F3346.
   Písmo je systémové (žiadne Google Fonts) — web nič nesťahuje z cudzích
   serverov, takže netreba ani cookie lištu. */

:root {
  --red: #A13628;
  --red-bright: #D24A36;   /* tlačidlá a akcenty na tmavom pozadí */
  --red-soft: #FBEDEA;
  --navy: #1F3346;
  --ink: #0D1621;          /* tmavé plochy: hlavička, hero, päta */
  --ink-2: #142130;
  --ink-line: rgba(255, 255, 255, .09);
  --text: #1A2633;
  --muted: #5B6B7B;
  --line: #E3E8EE;
  --bg: #F6F8FA;
  --white: #FFFFFF;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(13, 22, 33, .06), 0 8px 28px rgba(13, 22, 33, .07);
  --shadow-lg: 0 2px 4px rgba(13, 22, 33, .06), 0 24px 60px rgba(13, 22, 33, .14);

  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; border-radius: 6px; }

/* ---------- tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.45em; border-radius: 999px;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red-bright); color: #fff; box-shadow: 0 8px 24px rgba(210, 74, 54, .35); }
.btn-primary:hover { background: #C03F2C; }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 22, 33, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--ink-line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { height: 40px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: rgba(255, 255, 255, .78); font-weight: 550; font-size: .97rem;
  padding: .5em .9em; border-radius: 999px;
}
.nav a:hover { color: #fff; text-decoration: none; background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.nav .btn { margin-left: 10px; padding: .7em 1.2em; color: #fff; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; color: #fff;
  width: 44px; height: 44px; border-radius: 10px; cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; margin: auto; }

@media (max-width: 880px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 20px 20px; background: var(--ink);
    border-bottom: 1px solid var(--ink-line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8em 1em; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(210, 74, 54, .22), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(52, 96, 140, .35), transparent 60%),
    var(--ink);
  padding: 96px 0 120px;
}
.hero::before {           /* jemná mriežka v pozadí */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--red-bright); }
.hero .lead { font-size: 1.2rem; color: rgba(255, 255, 255, .74); max-width: 34em; }
.hero .lead strong { color: #fff; font-weight: 650; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .85rem; font-weight: 650; letter-spacing: .02em;
  color: rgba(255, 255, 255, .85);
  padding: .45em .95em .45em .7em; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--ink-line);
  margin-bottom: 26px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .18); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 44px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; padding: 0; margin: 0; list-style: none; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.hero-stats span { font-size: .9rem; color: rgba(255, 255, 255, .6); }

/* vizuál vpravo: rýchlomer + vlákna */
.hero-visual { position: relative; aspect-ratio: 1; max-width: 480px; justify-self: end; width: 100%; }
.hero-visual svg { width: 100%; height: 100%; overflow: visible; }
.flow { stroke-dasharray: 6 14; animation: flow 1.6s linear infinite; }
.flow.slow { animation-duration: 2.6s; }
@keyframes flow { to { stroke-dashoffset: -40; } }
/* oblúk rýchlomera: 270° z kruhu r=150 má dĺžku 707, plní sa na 85 % */
.gauge-arc { stroke-dasharray: 707; stroke-dashoffset: 707; animation: gauge 1.8s cubic-bezier(.2, .8, .2, 1) .3s forwards; }
@keyframes gauge { to { stroke-dashoffset: 106; } }
.pulse { transform-origin: center; transform-box: fill-box; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { opacity: .55; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }

@media (max-width: 880px) {
  .hero { padding: 64px 0 88px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 340px; order: -1; margin-bottom: -10px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow, .pulse { animation: none; }
  .gauge-arc { animation: none; stroke-dashoffset: 106; }
  html { scroll-behavior: auto; }
}

/* ---------- sekcie ---------- */
section { padding: 96px 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-block; font-size: .82rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* výhody — prekrýva spodok hero */
.perks { margin-top: -64px; padding: 0; position: relative; z-index: 2; }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.perk .ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin-bottom: 16px;
}
.perk .ico svg { width: 24px; height: 24px; }
.perk h3 { margin-bottom: .25em; }
.perk p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 980px) { .perks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .perks-grid { grid-template-columns: 1fr; } }

/* ---------- balíky ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px 28px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan.featured { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.plan.featured h3, .plan.featured .price strong { color: #fff; }
.plan .badge {
  position: absolute; top: -13px; left: 28px;
  background: var(--red-bright); color: #fff; font-size: .78rem; font-weight: 700;
  letter-spacing: .04em; padding: .35em .85em; border-radius: 999px;
}
.plan h3 { font-size: 1.35rem; margin-bottom: 4px; }
.plan .tag { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.plan.featured .tag { color: rgba(255, 255, 255, .62); }
.speed { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.speed strong { font-size: 3.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.plan.featured .speed strong { color: #fff; }
.speed span { font-weight: 650; color: var(--muted); }
.plan.featured .speed span { color: rgba(255, 255, 255, .62); }
.speedbar { height: 6px; border-radius: 6px; background: var(--line); margin: 14px 0 22px; overflow: hidden; }
.plan.featured .speedbar { background: rgba(255, 255, 255, .12); }
.speedbar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--red-bright)); }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.plan li svg { flex: none; width: 20px; height: 20px; color: var(--red-bright); margin-top: 2px; }
.price { margin-top: auto; display: flex; align-items: baseline; gap: 6px; padding-top: 20px; border-top: 1px solid var(--line); margin-bottom: 18px; }
.plan.featured .price { border-color: rgba(255, 255, 255, .12); }
.price strong { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.price span { color: var(--muted); }
.plan.featured .price span { color: rgba(255, 255, 255, .62); }
.plan .btn { justify-content: center; width: 100%; }
.plan:not(.featured) .btn { background: var(--ink); color: #fff; box-shadow: none; }
.plan:not(.featured) .btn:hover { background: var(--navy); }
.plans-note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 28px; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- kroky ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: krok; }
.step { padding: 30px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: krok; content: counter(krok, decimal-leading-zero);
  display: block; font-size: .9rem; font-weight: 800; color: var(--red); letter-spacing: .08em; margin-bottom: 14px;
}
.step p { color: var(--muted); margin: 0; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* ---------- pokrytie ---------- */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.places { display: grid; gap: 12px; margin: 26px 0 30px; padding: 0; list-style: none; }
.places li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  font-weight: 650;
}
.places li small { display: block; font-weight: 450; color: var(--muted); }
.places .pin { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); flex: none; }
.places .pin svg { width: 20px; height: 20px; }
/* Mapa pokrytia — statický obrázok z OpenStreetMap (vyrába ho mapa.py),
   takže stránka pri návšteve nič nenačítava z cudzích serverov. */
.map-card {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: #E2E5E9;
}
.map-card img { width: 100%; height: auto; }
@media (max-width: 880px) { .coverage { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 650; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- CTA pás ---------- */
.cta { padding: 0 0 96px; }
.cta-box {
  border-radius: 28px; padding: 56px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 90% 0%, rgba(210, 74, 54, .45), transparent 60%), var(--ink);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta-box h2 { color: #fff; margin-bottom: .25em; }
.cta-box p { color: rgba(255, 255, 255, .7); margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) { .cta-box { padding: 36px 26px; } }

/* ---------- podstránky ---------- */
.page-hero {
  background: radial-gradient(700px 300px at 80% 0%, rgba(210, 74, 54, .2), transparent 60%), var(--ink);
  color: #fff; padding: 72px 0 64px;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: .25em; }
.page-hero p { color: rgba(255, 255, 255, .7); font-size: 1.15rem; margin: 0; max-width: 40em; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.callout {
  border-left: 4px solid var(--red-bright); background: var(--red-soft);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0;
}
.docs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
.docs a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; }
.docs a:hover { border-color: var(--ink); text-decoration: none; }
.docs svg { width: 20px; height: 20px; color: var(--red); }

/* ---------- kontakt ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.ccard { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.ccard .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); flex: none; }
.ccard .ico svg { width: 22px; height: 22px; }
.ccard h3 { margin: 0 0 4px; font-size: 1.05rem; }
.ccard p { margin: 0; color: var(--muted); font-size: .97rem; }
.ccard a.big { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form h2 { font-size: 1.6rem; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-bright); box-shadow: 0 0 0 4px rgba(210, 74, 54, .14); }
.field textarea { min-height: 140px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.hp { position: absolute; left: -9999px; }
.consent { font-size: .9rem; color: var(--muted); margin: 4px 0 20px; }
.form-msg { margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-weight: 600; display: none; }
.form-msg.ok { display: block; background: #E8F7EE; color: #17663A; }
.form-msg.err { display: block; background: var(--red-soft); color: var(--red); }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } .form { padding: 24px 20px; } }

/* ---------- päta ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .66); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 38px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin: 6px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--ink-line); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .88rem; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* jemné objavovanie pri scrollovaní — len keď beží JS (trieda .js na <html>),
   inak by bez skriptu ostal obsah neviditeľný */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- balíky na úvode: rýchlosti bez cien (ceny sú v cenníku) ---------- */
.tiers-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.tiers-lead { color: var(--muted); font-size: 1.1rem; }
.tiers-incl { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.tiers-incl li { display: flex; align-items: center; gap: 12px; font-weight: 550; }
.tiers-incl svg { width: 20px; height: 20px; color: var(--red-bright); flex: none; }
.tiers {
  background: var(--ink); border-radius: 26px; padding: 14px; box-shadow: var(--shadow-lg);
  display: grid; gap: 6px;
}
.tier { padding: 22px 22px 20px; border-radius: 18px; }
.tier.is-featured { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.tier-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: #fff; }
.tier-name { font-size: 1.15rem; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.tier-badge { font-size: .72rem; font-weight: 700; letter-spacing: .04em; background: var(--red-bright); color: #fff; padding: .3em .7em; border-radius: 999px; }
.tier-speed { color: rgba(255, 255, 255, .6); font-weight: 600; }
.tier-speed strong { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; color: #fff; margin-right: 2px; }
.tier-bar { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); margin: 12px 0 12px; overflow: hidden; }
.tier-bar i {
  display: block; height: 100%; width: var(--w); border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #F06A52);
  transform-origin: left; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1) .2s;
}
.js .tiers:not(.in) .tier-bar i { transform: scaleX(0); }
.tier-meta { margin: 0; color: rgba(255, 255, 255, .62); font-size: .95rem; }
@media (max-width: 880px) { .tiers-wrap { grid-template-columns: 1fr; gap: 36px; } }
@media (prefers-reduced-motion: reduce) { .tier-bar i { transition: none; } }

/* ---------- asistent (assets/js/asistent.js) ---------- */
.asistent { position: fixed; right: 20px; bottom: 20px; z-index: 60; font-size: .95rem; }
.asistent-bublina {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 14px 20px 14px 16px; border: 0; border-radius: 999px;
  background: var(--red-bright); color: #fff; font: inherit; font-weight: 650;
  box-shadow: 0 10px 30px rgba(210, 74, 54, .45); transition: transform .15s ease;
}
.asistent-bublina:hover { transform: translateY(-2px); }
.asistent-bublina svg { width: 22px; height: 22px; }
.asistent.otvorene .asistent-bublina { display: none; }
.asistent-okno {
  width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 40px));
  display: flex; flex-direction: column; background: #fff; border-radius: 20px;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden;
}
.asistent-okno[hidden] { display: none; }
.asistent-hlava { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--ink); color: #fff; }
.asistent-hlava strong { display: block; }
.asistent-hlava small { color: rgba(255, 255, 255, .6); }
.asistent-zavriet { background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; padding: 0 4px; }
.asistent-spravy { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.asistent-sprava { max-width: 88%; padding: 10px 14px; border-radius: 16px; line-height: 1.5; }
.asistent-sprava.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.asistent-sprava.ja { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.asistent-sprava ul { margin: 6px 0; padding-left: 18px; }
.asistent-sprava.pise { display: flex; gap: 4px; }
.asistent-sprava.pise i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: pise 1s infinite; }
.asistent-sprava.pise i:nth-child(2) { animation-delay: .15s; }
.asistent-sprava.pise i:nth-child(3) { animation-delay: .3s; }
@keyframes pise { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.asistent-tlacidla { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--line); background: #fff; }
.asistent-tlacidla button {
  font: inherit; font-size: .85rem; padding: 6px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink); white-space: nowrap; flex: none;
}
.asistent-tlacidla button:hover { border-color: var(--red-bright); color: var(--red); }
.asistent-vstup { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.asistent-vstup input { flex: 1; font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; min-width: 0; }
.asistent-vstup input:focus { outline: none; border-color: var(--red-bright); }
.asistent-vstup button { border: 0; border-radius: 12px; background: var(--red-bright); color: #fff; width: 44px; cursor: pointer; display: grid; place-items: center; }
.asistent-vstup button svg { width: 20px; height: 20px; }
.asistent-kontakt { display: grid; gap: 8px; width: 88%; }
.asistent-kontakt label { display: grid; gap: 3px; font-size: .85rem; font-weight: 600; }
.asistent-kontakt input { font: inherit; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 10px; }
.asistent-kontakt input:focus { outline: none; border-color: var(--red-bright); }
.asistent-kontakt button { font: inherit; font-weight: 650; padding: 9px; border: 0; border-radius: 10px; background: var(--red-bright); color: #fff; cursor: pointer; }
.asistent-kontakt small { color: var(--muted); font-size: .78rem; }
.asistent-chyba { margin: 0; color: var(--red); font-size: .85rem; }
.asistent-chyba:empty { display: none; }
@media (max-width: 520px) {
  .asistent { right: 12px; bottom: 12px; }
  .asistent-bublina span { display: none; }
  .asistent-bublina { padding: 15px; }
}
.asistent-tlacidla .asistent-chat-tl { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; border-color: var(--ink); }
.asistent-tlacidla .asistent-chat-tl[hidden], .asistent-tlacidla button[hidden] { display: none; }
.asistent-chat-tl .bodka { width: 8px; height: 8px; border-radius: 50%; background: #9aa5b1; }
.asistent-chat-tl.online .bodka { background: #2fbf71; box-shadow: 0 0 0 3px rgba(47, 191, 113, .2); }
.asistent-sprava.rnet { border-color: var(--red-bright); }
.asistent-sprava.rnet::before { content: "RNET"; display: block; font-size: .7rem; font-weight: 800; letter-spacing: .06em; color: var(--red); margin-bottom: 2px; }
.asistent-akcia { font: inherit; font-weight: 650; color: #fff; background: var(--red-bright); border: 0; cursor: pointer; }
.asistent.je-online .asistent-bublina::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #2fbf71; border: 2px solid #fff; margin-left: -4px; }
.asistent.nova-sprava .asistent-bublina { animation: zvon 1s ease-in-out infinite; }
@keyframes zvon { 0%, 100% { transform: none; } 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }
