/* ============================================================
   MOTOR CLINIC NITRA — styles.css
   Vlastné štýly a animácie (dopĺňajú Tailwind CDN)
   ============================================================ */

:root {
  --ink: #0A0A0B;
  --card: #111114;
  --paper: #F5F5F4;
  --red: #D32F2F;
  --red-dark: #B71C1C;
  --red-deep: #8B0000;
  --text: #FAFAFA;
  --muted: #9CA3AF;
  --line: rgba(255, 255, 255, 0.08);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Základ ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--ink);
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 17.5px; } }

.font-display { font-family: "Space Grotesk", "Inter", sans-serif; }

::selection { background: rgba(211, 47, 47, 0.55); color: #fff; }

/* Layout wrapper */
.wrap {
  width: 100%;
  max-width: 74rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .wrap { padding-inline: 2rem; } }

/* Skip link (prístupnosť) */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 100;
  background: var(--red); color: #fff; padding: 0.6rem 1rem;
  border-radius: 0.5rem; font-weight: 600; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Typografia ---------- */
.h1 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2.75rem, 2rem + 4.2vw, 4.75rem); /* 44 px mobil → 76 px desktop */
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 1.55rem + 2.2vw, 3rem);    /* 32 px mobil → 48 px desktop */
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 1.6rem; height: 1px;
  background: var(--red);
  opacity: 0.7;
}
.grad-red {
  background: linear-gradient(100deg, #EF5350 0%, #D32F2F 55%, #B71C1C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease);
  will-change: transform;
}
.btn:hover  { transform: scale(1.02); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  position: relative;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 22px -8px rgba(211, 47, 47, 0.55);
}
.btn-primary:hover {
  box-shadow: 0 10px 30px -8px rgba(211, 47, 47, 0.7);
}
/* Rýchly bleskový záblesk po okraji pri hoveri */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid transparent;
  pointer-events: none;
}
.btn-primary:hover::after { animation: sparkEdge 0.5s var(--ease); }
@keyframes sparkEdge {
  0% {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(211, 47, 47, 0.95),
                inset 0 0 10px rgba(255, 255, 255, 0.35);
  }
  100% {
    border-color: transparent;
    box-shadow: 0 0 26px rgba(211, 47, 47, 0);
  }
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.6);
}

/* Outline variant pre svetlé sekcie */
.btn-outline-dark {
  border: 1px solid rgba(17, 17, 20, 0.25);
  color: #111114;
  background: transparent;
}
.btn-outline-dark:hover {
  border-color: rgba(17, 17, 20, 0.6);
  background: rgba(17, 17, 20, 0.04);
}

/* ---------- Navigácia ---------- */
.site-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding-block: 1.1rem;
  background: linear-gradient(to bottom, rgba(10, 10, 11, 0.72), rgba(10, 10, 11, 0));
  transition: padding 0.3s var(--ease), background-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.site-nav.scrolled {
  padding-block: 0.55rem;
  background: rgba(10, 10, 11, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9);
}
.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(250, 250, 250, 0.75);
  transition: color 0.2s var(--ease);
  padding-block: 0.4rem;
}
.nav-link:hover { color: #fff; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }

/* Hamburger */
.burger { position: relative; width: 2.6rem; height: 2.6rem; }
.burger span {
  position: absolute;
  left: 0.55rem; right: 0.55rem;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.burger span:nth-child(1) { top: calc(50% - 5px); }
.burger span:nth-child(2) { top: calc(50% + 4px); }
.burger.open span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.burger.open span:nth-child(2) { top: 50%; transform: rotate(-45deg); }

/* Mobilné fullscreen menu (otvára ho POUŽÍVATEĽ — nie je to popup) */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(10, 10, 11, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s var(--ease);
}
.mobile-menu li {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  transition-delay: 0ms;
}
.mobile-menu.open li {
  opacity: 1;
  transform: none;
  transition-delay: calc(80ms + var(--i, 0) * 60ms);
}

/* ---------- Hero ---------- */
.hero-media img {
  position: absolute;
  inset-inline: 0;
  top: -15%;
  height: 115%;
  width: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 10, 11, 0.55) 0%, rgba(10, 10, 11, 0.6) 55%, var(--ink) 100%),
    radial-gradient(90% 60% at 50% 30%, rgba(10, 10, 11, 0) 0%, rgba(10, 10, 11, 0.5) 100%);
}

/* Hero reveal sekvencia (aktívna len s JS) */
.js .hro {
  opacity: 0;
  transform: translateY(24px);
}
.js .hero-ready .hro {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
}
.js .hero-ready .hw {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: calc(140ms + var(--i, 0) * 60ms); /* stagger po slovách 60 ms */
}

/* Scroll indicator */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  color: rgba(250, 250, 250, 0.55);
}
.scroll-cue svg { animation: cueBounce 1.9s var(--ease) infinite; }
@keyframes cueBounce {
  0%, 100% { transform: translateY(0);   opacity: 0.55; }
  50%      { transform: translateY(7px); opacity: 1; }
}

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Marquee (pás dôvery) ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 2.4rem;
  padding-inline: 1.2rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.45);
  white-space: nowrap;
}
.marquee-item .dot { color: var(--red); font-size: 0.7rem; }

/* ---------- Karty služieb ---------- */
.svc-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
  will-change: transform;
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(211, 47, 47, 0.45);
  box-shadow: 0 18px 44px -18px rgba(211, 47, 47, 0.28);
}
.svc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: 0.8rem;
  background: rgba(211, 47, 47, 0.1);
  border: 1px solid rgba(211, 47, 47, 0.22);
  color: var(--red);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.svc-card:hover .svc-icon {
  transform: translateX(4px);
  background: rgba(211, 47, 47, 0.16);
}

/* ---------- Bleskové oddeľovače sekcií ----------
   Tenká linka + štylizovaný blesk, ktorý sa „nabije" pri scrolle
   do viewportu (stroke-dashoffset) a raz zabliká (opacity).        */
.ekg-sep { line-height: 0; }
.ekg-sep svg { width: 100%; height: 64px; display: block; overflow: visible; }
.ekg-sep path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.sep-line {
  stroke: rgba(211, 47, 47, 0.45);
  stroke-width: 1.5;
}
.sep-bolt {
  stroke: var(--red);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 8px rgba(211, 47, 47, 0.7));
}
.sep-bolt-flash {
  stroke: #fff;
  stroke-width: 1;
  opacity: 0;
}
.ekg-sep.draw .sep-line {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.6s ease-out;
}
.ekg-sep.draw .sep-bolt {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.4s ease-out 0.3s;
}
.ekg-sep.draw .sep-bolt-flash {
  stroke-dashoffset: 0;
  animation: boltFlash 0.55s ease-out 0.72s;
}
@keyframes boltFlash {
  0%   { opacity: 0; }
  15%  { opacity: 0.95; }
  40%  { opacity: 0.2; }
  60%  { opacity: 0.75; }
  100% { opacity: 0; }
}
.no-js .ekg-sep path { stroke-dashoffset: 0; }

/* ---------- Blesky v hero pozadí ----------
   Tenké červeno-biele čiary, ktoré občas „šľahnú" — jeden záblesk
   trvá ~0,6 s, periódy sú dlhé (9–13 s), aby to bol akcent.        */
.hero-bolts {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hb {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}
.hb-1 {
  stroke: var(--red);
  filter: drop-shadow(0 0 8px rgba(211, 47, 47, 0.8));
  animation: boltStrike 9s linear infinite 2.2s;
}
.hb-2 {
  stroke: #FF6B6B;
  filter: drop-shadow(0 0 8px rgba(211, 47, 47, 0.7));
  animation: boltStrike 12s linear infinite 6.4s;
}
.hb-3 {
  stroke: #FAFAFA;
  stroke-width: 1;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7));
  animation: boltStrike 14s linear infinite 9.8s;
}
@keyframes boltStrike {
  0%    { stroke-dashoffset: 1; opacity: 0; }
  1.5%  { stroke-dashoffset: 0; opacity: 0.55; }
  2.5%  { opacity: 0.1; }
  3.5%  { opacity: 0.4; }
  5%    { opacity: 0; stroke-dashoffset: 0; }
  100%  { opacity: 0; stroke-dashoffset: 1; }
}

/* Veľký dekoratívny blesk v sekcii Americké autá */
.mega-bolt {
  position: absolute;
  left: 47%;
  top: 6%;
  width: 120px;
  height: auto;
  pointer-events: none;
}
.mega-bolt path {
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: drop-shadow(0 0 12px rgba(211, 47, 47, 0.8));
  animation: boltStrike 10s linear infinite 3.6s;
}

/* Bleskový akcent na ikonách elektro-služieb */
.bolt-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 16px;
  height: 16px;
  color: #FF6B6B;
  filter: drop-shadow(0 0 4px rgba(211, 47, 47, 0.9));
}
.bolt-badge svg { width: 100%; height: 100%; }
.svc-card:hover .bolt-badge { animation: badgeFlash 0.5s ease-out; }
@keyframes badgeFlash {
  0%   { transform: scale(1); opacity: 1; }
  30%  { transform: scale(1.4); opacity: 0.35; }
  60%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

/* ---------- Neon claim (americká sekcia) ---------- */
.neon-claim {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #FF6B6B;
  border: 1px solid rgba(211, 47, 47, 0.5);
  border-radius: 0.6rem;
  padding: 0.55rem 0.9rem;
  text-shadow: 0 0 10px rgba(211, 47, 47, 0.8), 0 0 24px rgba(211, 47, 47, 0.4);
  box-shadow: inset 0 0 18px rgba(211, 47, 47, 0.12), 0 0 22px rgba(211, 47, 47, 0.18);
}

/* Obrysové "V8" na pozadí americkej sekcie */
.v8-ghost {
  position: absolute;
  top: 2rem;
  right: -1rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(9rem, 22vw, 20rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(211, 47, 47, 0.16);
  pointer-events: none;
  user-select: none;
}

/* ---------- Chat (AI asistent — placeholder) ---------- */
.chat-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 70;
  width: 3.6rem; height: 3.6rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  box-shadow: 0 10px 30px -8px rgba(211, 47, 47, 0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.chat-fab:hover  { transform: scale(1.05); }
.chat-fab:active { transform: scale(0.96); }
.chat-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid rgba(211, 47, 47, 0.7);
  animation: fabPulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes fabPulse {
  0%   { transform: scale(1);    opacity: 0.8; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
.chat-tip {
  position: absolute;
  right: calc(100% + 0.8rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 0.6rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}
@media (hover: hover) {
  .chat-fab:hover .chat-tip,
  .chat-fab:focus-visible .chat-tip { opacity: 1; }
}

/* Vysúvací panel — NIKDY sa neotvára sám a neprekrýva celú obrazovku */
.chat-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 5.6rem;
  z-index: 70;
  width: min(22.5rem, calc(100vw - 2.5rem));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.chat-panel.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.chat-dot {
  width: 0.55rem; height: 0.55rem;
  border-radius: 9999px;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.5);
  animation: chatDot 2s ease-out infinite;
}
@keyframes chatDot {
  0%   { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(211, 47, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

/* ---------- Chat — správy, bubliny, indikátor písania ---------- */
.chat-messages {
  max-height: min(38vh, 340px);
  min-height: 130px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.msg {
  max-width: 86%;
  padding: 0.55rem 0.85rem;
  border-radius: 0.9rem;
  font-size: 0.875rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}
.msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff;
  border-bottom-right-radius: 0.25rem;
}
.msg-bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: rgba(250, 250, 250, 0.88);
  border-bottom-left-radius: 0.25rem;
}
.msg-typing { display: inline-flex; gap: 4px; padding-block: 0.8rem; }
.msg-typing span {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(250, 250, 250, 0.6);
  animation: typingDot 1.1s ease-in-out infinite;
}
.msg-typing span:nth-child(2) { animation-delay: 0.15s; }
.msg-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot {
  0%, 100% { transform: translateY(0);    opacity: 0.4; }
  40%      { transform: translateY(-4px); opacity: 1; }
}

/* Predpripravené otázky */
.chat-chip {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(250, 250, 250, 0.8);
  border: 1px solid rgba(211, 47, 47, 0.45);
  border-radius: 9999px;
  padding: 0.32rem 0.7rem;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease);
}
.chat-chip:hover {
  background: rgba(211, 47, 47, 0.15);
  border-color: var(--red);
  color: #fff;
}
.chat-chip:disabled { opacity: 0.5; }

/* Tlačidlo odoslania */
.chat-send {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.chat-send:hover  { transform: scale(1.06); }
.chat-send:active { transform: scale(0.94); }
.chat-send:disabled { opacity: 0.5; transform: none; cursor: not-allowed; }
#chat-input:disabled { opacity: 0.6; cursor: wait; }

/* ---------- Mapa ---------- */
.map-frame {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  border-radius: 1rem;
  filter: grayscale(0.85) contrast(1.05) brightness(0.92);
  transition: filter 0.3s var(--ease);
}
.map-frame:hover { filter: grayscale(0.2) contrast(1) brightness(1); }

/* ---------- Drobnosti ---------- */
.badge-cert {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.8);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
}
.badge-cert::before {
  content: "";
  width: 0.45rem; height: 0.45rem;
  border-radius: 9999px;
  background: var(--red);
}

.star { color: var(--red); }

/* ============================================================
   PREFERS-REDUCED-MOTION — všetko vypnúť
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    transition-delay: 0s !important;
  }
  .js .reveal, .js .hro, .js .hw { opacity: 1 !important; transform: none !important; }
  .ekg-sep path { stroke-dashoffset: 0 !important; }
  .sep-bolt-flash { animation: none !important; opacity: 0 !important; }
  .hb, .mega-bolt path { animation: none !important; opacity: 0 !important; }
  .btn-primary:hover::after { animation: none !important; }
  .svc-card:hover .bolt-badge { animation: none !important; }
  .marquee-track { animation: none !important; }
  .scroll-cue svg, .chat-fab::after, .chat-dot, .msg-typing span { animation: none !important; }
}
