/*Horní menu*/
body {margin: 0;
    font-family: Arial, sans-serif;
    }
h1{
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    }

* {
  box-sizing: border-box;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.top-bar {
  background-color: #2b2d3d;
  color: #fff;
  font-size: 14px;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  gap: 20px;
}

.top-bar-left {
  white-space: nowrap;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-bar-right a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: opacity 0.2s ease;
}

.top-bar-right a:hover {
  opacity: 0.75;
}

@media (max-width: 900px) {
  .top-bar-content {
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
  }

  .top-bar-left,
  .top-bar-right {
    justify-content: center;
    text-align: center;
  }
}


.main-header {
  background-color: #ffffff;
  border-bottom: 1px solid #dddddd;
  position: sticky;
  top: 0;
  z-index: 3000;
}

.top-bar {
  background-color: #25273a;
  color: #ffffff;
  font-size: 14px;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  gap: 20px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar-right a {
  color: #ffffff;
  text-decoration: none;
}

.social-icon,
.social-icon-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-icon img,
.social-icon-mail img {
  width: 16px;
  height: 16px;
  display: block;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 40px;
  position: relative;
}

.logo img {
  width: 110px;
  height: auto;
  display: block;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 42px;
  margin: 0;
  padding: 0;
}

.nav-list li {
  position: relative;
}

.nav-list a,
.submenu-toggle,
.lang-link {
  text-decoration: none;
  color: #4b4b4b;
  font-size: 16px;
  transition: color 0.2s ease;
}

.nav-list a:hover,
.nav-list a.active,
.nav-list a.active:hover,
.dropdown a.active,
.dropdown a.active:hover,
.submenu-toggle.active {
  color: #ff3131;
}

.submenu-toggle {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4b4b4b;
}

.submenu-toggle:hover {
  color: #ff3131;
}

.submenu-arrow {
  font-size: 20px;
  line-height: 1;
  display: none;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang-link img {
  width: 20px;
  height: auto;
  display: block;
}

.dropdown,
.dropdown-language {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 340px;
  background-color: #969696;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 1s ease, transform 1s ease, visibility 1s ease;
}

.dropdown-language {
  min-width: 170px;
}

.dropdown li a,
.dropdown-language li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  color: #ffffff;
  text-decoration: none;
  background-color: #969696;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown li a:hover,
.dropdown-language li a:hover {
  background-color: #ffffff;
  color: #ff3131;
}

.has-dropdown:hover .dropdown,
.has-dropdown:hover .dropdown-language {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-toggle,
.menu-close {
  display: none;
}

@media (max-width: 1100px) {
  .submenu-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    min-width: 20px;
    height: 20px;
    font-size: 18px;
    line-height: 1;
    color: #ff3131;
    margin-left: 8px;
  }

  .menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-left: auto;
  }

  .menu-toggle span {
    display: block;
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background-color: #ff3131;
  }

  .menu-close {
    display: none;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #f3f3f3;
    border-top: 1px solid #dddddd;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    padding: 18px 0 22px;
  }

  .main-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    padding: 0;
  }

  .nav-list > li {
    width: 100%;
    max-width: 420px;
  }

  .nav-list > li > a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    font-size: 18px;
    text-align: center;
  }

  .submenu-toggle,
  .lang-link {
    width: 100%;
    min-height: 52px;
    box-sizing: border-box;
    padding: 14px 18px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border: none;
    background: none;
    font-size: 18px;
    color: #4b4b4b;
  }

  .submenu-toggle > a {
    grid-column: 2;
    justify-self: center;
    color: inherit;
    text-decoration: none;
    font-size: inherit;
    line-height: 1.2;
  }

  .submenu-toggle .submenu-arrow {
    grid-column: 3;
    justify-self: end;
    align-self: center;
  }

  .lang-item .submenu-toggle {
    grid-template-columns: 1fr auto auto 1fr;
    column-gap: 8px;
  }

  .lang-item .submenu-toggle img {
    grid-column: 2;
    justify-self: end;
    width: 20px;
    height: auto;
  }

  .lang-item .submenu-toggle > span:not(.submenu-arrow) {
    grid-column: 3;
    justify-self: start;
  }

  .lang-item .submenu-toggle .submenu-arrow {
    grid-column: 4;
    justify-self: end;
  }

  .dropdown,
  .dropdown-language {
    position: static;
    min-width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background-color: transparent;
    padding: 0 0 8px;
    margin-top: 2px;
  }

  .has-dropdown.open > .dropdown,
  .has-dropdown.open > .dropdown-language {
    display: block;
  }

  .dropdown li a,
  .dropdown-language li a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 11px 18px;
    font-size: 16px;
    color: #4b4b4b;
    background-color: transparent;
    text-align: center;
    white-space: normal;
    line-height: 1.4;
  }

  .dropdown-language li a {
    gap: 8px;
  }

  .dropdown li a:hover,
  .dropdown-language li a:hover {
    background-color: transparent;
    color: #ff3131;
  }

  .has-dropdown:hover .dropdown,
  .has-dropdown:hover .dropdown-language {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .header-content {
    min-height: 62px;
    gap: 18px;
  }

  .logo img {
    width: 48px;
  }

  .menu-toggle {
    width: 34px;
    height: 14px;
    gap: 5px;
  }

  .menu-toggle span {
    width: 22px;
    height: 3px;
  }
  .top-bar-content {
    justify-content: space-between;
  }

  .top-bar-left {
    display: none;
  }

  .top-bar-right {
    width: 100%;
    justify-content: flex-end;
    gap: 14px;
  }

  .top-bar-right a span {
    display: none;
  }
}

.tech-specs {
  margin-top: 40px;
}

.tech-specs h2 {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #1f2a44;
}

.tech-specs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #d9d9d9;
}

.tech-specs-list li {
  padding: 16px 18px;
  border-bottom: 1px solid #d9d9d9;
  font-size: 1rem;
  line-height: 1.45;
  color: #1f2a44;
  background-color: transparent;
}

/*Hlavní text*/

.service-page {
  background-color: #ffffff;
  padding: 48px 0 80px;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 86px;
  align-items: start;
}

.service-content h1 {
  margin: 0 0 42px;
  color: #ff3131;
  font-size: 3rem;
  line-height: 1.08;
  font-weight: 600;
}

.service-content {
  min-width: 0;
}

.service-image {
  margin-top: 24px;
  max-width: 100%;
  overflow: hidden;
}

.service-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.service-image2 img {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
}

.service-intro {
  max-width: 860px;
  margin-bottom: 28px;
}

.service-intro p,
.service-lead,
.service-block p,
.service-block li,
.service-outro {
  color: #1f2a44;
  font-size: 0.98rem;
  line-height: 1.95;
}

.service-intro p,
.service-lead,
.service-block p,
.service-outro {
  margin: 0;
}

.service-lead {
  margin-bottom: 26px;
}

.service-block {
  margin-bottom: 42px;
}

.service-block h2 {
  margin: 90px 0 18px;
  color: #ff3131;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.5;
}

.service-block ul {
  margin: 0;
  padding-left: 30px;
}

.service-block li {
  margin-bottom: 16px;
}

.service-partner-logo {
  margin: 24px 0 30px;
}

.service-partner-logo img {
  width: 280px;
  max-width: 100%;
  height: auto;
  display: block;
}

.service-outro {
  margin-top: 24px;
  font-weight: 600;
}

.service-sidebar {
  align-self: start;
  margin-top: 10px;
}

.service-sidebar-sticky {
  position: sticky;
  top: 28px;
}

.service-sidebar h3 {
  margin: 0 0 18px;
  color: #2f3440;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
}

.service-side-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-side-menu > ul > li {
  border-top: 1px solid #d8d8d8;
}

.service-side-menu > ul > li:last-child {
  border-bottom: 1px solid #d8d8d8;
}

.service-side-menu a {
  display: block;
  padding: 16px 20px;
  text-decoration: none;
  color: #555b67;
  font-size: 0.98rem;
  line-height: 1.4;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.service-side-menu a:hover {
  color: #ff3131;
}

.service-side-menu a.active {
  background-color: #ff3131;
  color: #ffffff;
  font-weight: 600;
}

.service-submenu li {
  border-top: 1px solid #d8d8d8;
}

.service-submenu a {
  padding-left: 44px;
  color: #666c77;
}

.service-sidebar-image {
  margin-top: 28px;
}

.service-sidebar-image img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
}

@media (max-width: 1200px) {
  .service-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 54px;
  }

  .service-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 980px) {
  .service-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-sidebar {
    display: none;
  }

  .service-content h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 640px) {
  .service-page {
    padding: 32px 0 56px;
  }

  .service-content h1 {
    font-size: 2.3rem;
    margin-bottom: 28px;
  }

  .service-intro p,
  .service-lead,
  .service-block p,
  .service-block li,
  .service-outro {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .service-block {
    margin-bottom: 30px;
  }

  .service-block li {
    margin-bottom: 12px;
  }
}

/*Footer a kontakt s mapou*/
.contact-footer {
  background-color: #ffffff;
  padding: 0 0 70px;
}

.contact-footer-content {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  color: #1f1f1f;
  font-size: 16px;
  line-height: 1.6;
}

.contact-info p {
  margin: 0 0 6px;
}

.contact-info a {
  color: #1f1f1f;
  text-decoration: none;
}

.contact-info a:hover {
  color: #8f8f8f;
}

.contact-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.footer-links {
  margin-top: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-links a {
  color: #ff3131;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #9b9b9b;
}

.idnes-links a {
  color: #ff3131;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s ease;
}

.idnes-links a:hover {
  color: #9b9b9b;
}

/*Responsivita footeru a mapy*/
@media (max-width: 900px) {
  .contact-footer-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .contact-map iframe {
    height: 320px;
  }
}

@media (max-width: 600px) {
  .contact-footer {
    padding: 55px 0 50px;
  }

  .contact-info {
    font-size: 16px;
  }

  .contact-map iframe {
    height: 260px;
  }

  .footer-links {
    margin-top: 45px;
    gap: 14px;
  }

  .footer-links a {
    font-size: 16px;
  }
}






.service-block-intro-strong p {
  font-size: 1.15rem;
  line-height: 1.9;
  font-weight: 700;
  color: #1f2a44;
}

.workspace-images {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  margin: 36px 0 56px;
}

.workspace-images img {
  width: calc(50% - 30px);
  max-width: 420px;
  height: auto;
  display: block;
}

.service-block-workspace h2 {
  font-size: 1.9rem;
  line-height: 1.25;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 26px;
  max-width: 700px;
}

.service-block-workspace p {
  font-size: 1.05rem;
  line-height: 1.95;
  color: #1f2a44;
  max-width: 920px;
}

@media (max-width: 900px) {
  .workspace-images {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    margin: 28px 0 40px;
  }

  .workspace-images img {
    width: 100%;
    max-width: 520px;
  }

  .service-block-intro-strong p {
    font-size: 1.05rem;
    line-height: 1.8;
  }

  .service-block-workspace h2 {
    font-size: 1.6rem;
  }
}


