:root {
  --primary-blue: #20247b;
  --accent: #fc5356;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #212529;
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

.logo-icon {
  color: #111419;
  font-size: 27px;
  margin-right: 8px;
  vertical-align: 2px;
}

.mobile-nav-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.chevron {
  padding-left: 5px;
  font-size: 15px;
}

#domov {
  background: #fff;
  min-height: 100vh;
  width: 100%;
}

.hero-content h1,
.hero-content p {
  color: #fff;
}

.typed-cursor {
  animation: blink 0.75s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

#funkcie {
  padding-top: 15px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding: 48px 0;
  min-height: 405px;
}

.feature-media,
.feature-copy {
  min-width: 0;
}

.features-img {
  display: block;
  width: 500px;
  max-width: 100%;
  aspect-ratio: 940 / 627;
  object-fit: cover;
}

.feature-copy h2 {
  font-size: 32px;
  line-height: 1.18;
}

.feature-copy p {
  font-size: 16px;
  line-height: 1.45;
}

.services-section {
  padding-top: 95px;
}

.feature-box-1 {
  min-height: 315px;
}

.feature-box-1 .icon span {
  display: inline-block;
  font-size: 25px;
  font-weight: 700;
  line-height: 70px;
}

.about-copy {
  line-height: 1.55;
}

.testimonial-carousel {
  position: relative;
  min-height: 465px;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  padding: 1rem 0;
}

.testimonial-slide.active {
  display: block;
  animation: fade-slide 0.45s ease;
}

@keyframes fade-slide {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.testimonial-img img {
  display: block;
  width: 300px;
  height: 318px;
  object-fit: cover;
}

.testimonial-ico {
  color: #2eca6a;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

.faq .section-title h2 {
  display: inline-block;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #343a40;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  color: #fd680e;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-answer p {
  min-height: 0;
  overflow: hidden;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  grid-template-rows: 1fr;
}

.faq-question[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.map-wrap {
  height: 360px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-icon,
.footer-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-right: 15px;
  font-size: 25px;
  line-height: 1;
}

.footer-icon {
  width: auto;
  height: auto;
  color: rgba(255, 255, 255, 0.7);
}

.form-status {
  min-height: 24px;
  margin-top: 18px;
  color: #14713c;
}

.cookie-banner {
  position: fixed;
  z-index: 1100;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 29px;
  background: #363c40;
  color: #fff;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.16);
  font-size: 14px;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner a {
  color: #bdbdbd;
  text-decoration: underline;
}

.cookie-banner button {
  flex: 0 0 auto;
  padding: 9px 18px;
  border: 0;
  background: #e8ef35;
  color: #222;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner.is-hidden {
  display: none;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }

  .navbar.is-open {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(34, 39, 43, 0.92);
  }

  .navbar.is-open .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
  }

  .navbar.is-open > ul {
    position: absolute;
    inset: 55px 15px 15px;
    display: block;
    padding: 10px 0;
    border-radius: 10px;
    background: #fff;
    overflow-y: auto;
  }

  .navbar.is-open > ul a {
    padding: 10px 20px;
    color: #394047;
    font-size: 15px;
  }

  .navbar.is-open .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    opacity: 1;
    visibility: visible;
  }

  .navbar.is-open .dropdown.open ul {
    display: block;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 38px 0;
  }

  .feature-row-reverse .feature-media {
    order: -1;
  }

  .features-img {
    width: 100%;
  }
}

@media (max-width: 600px) {
  #header .logo {
    font-size: 25px;
  }

  #domov,
  #domov .hero-content {
    min-height: calc(100vh - 61px);
    height: calc(100vh - 61px);
  }

  .hero-content h1 {
    font-size: 31px;
  }

  .hero-content p {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .section-title h2 {
    font-size: 36px;
  }

  .feature-box-1 {
    min-height: 0;
  }

  .testimonial-carousel {
    min-height: 730px;
  }

  .testimonial-img img {
    width: 100%;
    height: auto;
    max-height: 410px;
  }

  .cookie-banner {
    align-items: flex-start;
    padding: 14px 16px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
