/* ================================================
   CSS PROMĚNNÉ — barvy, fonty, přechody
   Chceš změnit barvy? Stačí upravit tady!
================================================ */
:root {
  --navy-dark: #060F1E;
  /* nejtmavší navy — hero pozadí, footer */
  --navy: #0D2147;
  /* základní navy */
  --navy-mid: #1A3460;
  /* světlejší navy */
  --accent: #2E74B5;
  /* ocelová modrá — akcenty (klidnější než tyrkys) */
  --accent-dim: rgba(46, 116, 181, 0.10);
  --white: #FFFFFF;
  --off-white: #F6F8FB;
  --text: #1A2E4A;
  --muted: #7A8FA8;
  --border: #DDE5F0;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.32s var(--ease);
}


/* ================================================
   RESET A ZÁKLAD
================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}


/* ================================================
   NAVIGACE
================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 28px 56px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transition: padding var(--transition), background var(--transition), box-shadow var(--transition);
}

/* Třída přidaná JavaScriptem po scrollu */
.nav.scrolled {
  background: rgba(7, 21, 38, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 56px;
  box-shadow: 0 1px 0 rgba(46, 116, 181, 0.15);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

/* Podtržení na hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}


/* ================================================
   HERO SEKCE
================================================ */
.hero {
  min-height: 100vh;
  background-color: var(--navy-dark);
  display: flex;
  align-items: center;
  padding: 140px 56px 100px;
  position: relative;
  overflow: hidden;
}

/* SVG půdorys — absolutně pozicovaný za obsahem, viditelný jen vpravo */
.hero-blueprint {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100% - 80px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 35%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.7) 100%);
  mask-image: linear-gradient(to right, transparent 35%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.7) 100%);
}

/* Gradient fade dole — plynule do off-white */
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--off-white));
  pointer-events: none;
  z-index: 0;
}

/* Teal svislá linka vlevo */
.hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent 10%, var(--accent) 50%, transparent 90%);
}

/* Záře vpravo */
.hero::after {
  content: '';
  position: absolute;
  right: -150px;
  top: 50%;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 116, 181, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  max-width: 820px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.9s ease both;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(3.2rem, 6.5vw, 6.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
}

.hero-desc {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin-bottom: 52px;
  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}


/* Scroll indikátor dole */
.hero-scroll {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(46, 116, 181, 0.5), transparent);
  animation: scrollPulse 2.2s ease infinite;
}


/* ================================================
   TLAČÍTKA (používají se napříč webem)
================================================ */

/* Hlavní tlačítko — čisté, bez clip-path */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: #1A5A96;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 116, 181, 0.25);
}

/* Outline tlačítko */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 34px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color var(--transition), color var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}


/* ================================================
   OBECNÉ STYLY PRO SEKCE
================================================ */
.section {
  padding: 108px 56px;
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

/* Malý tag nad nadpisem (jako v hero) */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 18px;
}

.section-title em {
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--accent);
}

.section-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.85;
}


/* ================================================
   SEKCE: SLUŽBY
================================================ */
.services {
  background: var(--off-white);
  padding-top: 72px;
}

.services-header {
  margin-bottom: 64px;
}

/* Mřížka karet — 3 sloupce: 3+2 vypadá lépe než 4+1 */
.services-list {
  margin-top: 56px;
  border-top: 1px solid var(--border);
}

.service-row {
  display: grid;
  grid-template-columns: 56px 1fr 2fr;
  gap: 0 40px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.service-row:hover {
  background: var(--white);
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 4px;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.service-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  padding-top: 2px;
}


/* ================================================
   SEKCE: O MNĚ — bio + timeline
================================================ */
.about {
  background: var(--white);
}

.about-header {
  margin-bottom: 52px;
}

.about-role-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 12px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 48px;
  align-items: start;
}

.about-bio-col {
  grid-column: 1 / 3;
}

.about-timeline-col {
  grid-column: 3;
  padding-top: 0;
  padding-left: 32px;
  border-left: 1px solid var(--border);
}

.about-bio {
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.95;
  margin-bottom: 18px;
}

.about-types {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.about-types-label {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.about-types-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-types-grid span {
  font-size: 0.81rem;
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 5px 11px;
}

.timeline-label {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 72px;
  top: 6px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.tl-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding-bottom: 26px;
  position: relative;
}

.tl-item::after {
  content: '';
  position: absolute;
  left: 68px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--border);
}

.tl-year {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-top: 3px;
  padding-right: 16px;
  text-align: right;
  overflow: hidden;
}

.tl-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.tl-desc {
  font-size: 0.81rem;
  color: var(--muted);
  line-height: 1.5;
}


.about-certs {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cert-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.cert-row a {
  color: var(--accent);
  text-decoration: none;
}

.cert-row a:hover { text-decoration: underline; }

.cert-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.cert-row strong { color: var(--text); font-weight: 500; }


    /* ================================================
   SEKCE: BANKY
================================================ */
.banks {
  background: var(--off-white);
}

.banks-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
}

.bank-item {
  padding: 12px 24px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color var(--transition), color var(--transition);
}

.bank-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}


/* ================================================
   SEKCE: CENÍK
================================================ */
.pricing {
  background: var(--navy-dark);
  /* Stejná technická mřížka jako hero */
  background-image:
    linear-gradient(rgba(46, 116, 181, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 116, 181, 0.018) 1px, transparent 1px);
  background-size: 52px 52px;
}

.pricing .section-title {
  color: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.pricing-card {
  padding: 42px 34px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  position: relative;
}

.pricing-card.featured::before {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--accent);
  color: var(--navy-dark);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 13px;
}

.pricing-card:hover {
  border-color: var(--accent);
  background: rgba(46, 116, 181, 0.04);
  transform: translateY(-5px);
}

.pricing-type {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 22px;
}

.pricing-price {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 5px;
}

.pricing-price small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: 5px;
}

.pricing-note {
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.pricing-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin-bottom: 26px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pricing-features li {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '→';
  color: var(--accent);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-footer {
  margin-top: 60px;
  text-align: center;
}

.pricing-footer p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 22px;
}


/* ================================================
   SEKCE: KONTAKT
================================================ */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 88px;
  align-items: start;
  margin-top: 60px;
}

.contact-info-heading {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 48px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-item-label {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.contact-item-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.contact-item-value a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.contact-item-value a:hover {
  color: var(--accent);
}

.contact-hours {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.85;
}

.contact-hours strong {
  color: var(--text);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

/* FORMULÁŘ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  padding: 14px 17px;
  border: 1px solid var(--border);
  background: var(--off-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  border-radius: 0;
  /* bez zaoblení = technický look */
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: var(--white);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
  font-weight: 300;
}

.form-textarea {
  resize: vertical;
  min-height: 128px;
}

/* Select šipka */
.form-select-wrap {
  position: relative;
}

.form-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  font-size: 0.8rem;
}

.form-btn-wrap {
  display: flex;
}


/* ================================================
   FOOTER
================================================ */
.footer {
  background: var(--navy-dark);
  padding: 40px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(46, 116, 181, 0.12);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
}

.footer-logo span {
  color: var(--accent);
}

.footer-copy {
  text-align: center;
  width: 100%;
}


/* ================================================
   ANIMACE
================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

/* Prvky se třídou .reveal se zobrazí až při scrollu (přidá JS) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Kaskádové zpoždění pro skupiny karet */
.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal:nth-child(3) {
  transition-delay: 0.18s;
}

.reveal:nth-child(4) {
  transition-delay: 0.26s;
}

.reveal:nth-child(5) {
  transition-delay: 0.12s;
}

.reveal:nth-child(6) {
  transition-delay: 0.2s;
}


/* ================================================
   RESPONZIVITA — mobil / tablet
================================================ */
@media (max-width: 1024px) {
  .service-row {
    grid-template-columns: 40px 1fr;
    gap: 0 20px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-bio-col {
    grid-column: 1;
  }

  .about-timeline-col {
    grid-column: 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-stats {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 20px;
  }

  .nav {
    padding: 16px 20px;
  }

  .nav.scrolled {
    padding: 12px 20px;
  }

  .hero {
    padding: 100px 20px 72px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 10vw, 4rem);
  }

  .nav-links {
    display: none;
  }

  .hero-stats {
    display: none;
  }

  /* Blueprint na mobilu ztlumit a vypnout masku */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-bio-col {
    grid-column: 1;
  }

  .about-timeline-col {
    grid-column: 1;
  }

  .hero-blueprint {
    opacity: 0.12;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .service-row {
    grid-template-columns: 36px 1fr;
    gap: 0 14px;
  }

  .service-text {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 28px 20px;
  }

  .timeline::before {
    left: 72px;
  }

  .tl-item {
    grid-template-columns: 72px 1fr;
    gap: 14px;
  }

  .tl-item::after {
    left: 68px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-outline {
    justify-content: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .pricing-card {
    padding: 30px 22px;
  }

  .about-types-grid span {
    font-size: 0.76rem;
  }
}


/* ================================================
   TLAČÍTKO ZPĚT NAHORU — vpravo dole, jen po odscrollování
   ================================================ */
.nahoru {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(6, 15, 30, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background var(--transition);
}

.nahoru.viditelne {
  opacity: 0.85;
  visibility: visible;
  transform: translateY(0);
}

.nahoru:hover,
.nahoru:focus-visible {
  opacity: 1;
  background: var(--accent);
}

@media (max-width: 768px) {
  .nahoru {
    right: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
  }
}
