@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');

/* ============================================================
   Reset & Base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

div.modal-header{
background-color: #E9A300;
}

body {
  font-family: 'Roboto Flex', Arial, sans-serif;
  font-size: 18px;
  color: #3a2210;
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.editable-section a {
  text-decoration: underline;

}

.editable-section a:hover {
  color: #472714;
  text-decoration: underline;
  text-decoration-color: #472714;
}

a:hover {
  text-decoration: underline;
}







ul {
  list-style: none;
}

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section__title {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  color: #472714;
  margin-bottom: 70px;
  line-height: 1.2;
}



.editable-content li,.editable-section li{
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;

}

.editable-content li::before, 
.editable-section:not(.no-icon) li::before {
    content: "";
    position: absolute;
    left: 0;
    z-index: 99;
    top: 4px;
    width: 26px;
    height: 30px;
    background-image: url("/files/images/ikony-svg/ico-dalsi-strany-dum.svg");
    background-size: contain;
    background-repeat: no-repeat;
}


h1,.h1 {
  font-family: 'Roboto Slab', serif;
  font-weight: 400; /* Regular */
  font-size: 40px;
  color: #472714;
  margin-bottom: 70px;
}

h2 {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 700; /* Bold */
  font-size: 24px;
  color: #472714;
  margin-top: 35px;
}

h3 {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400; /* Regular */
  font-size: 24px;
  color: #ffffff;

}


p.mex-p-nadpis{
  font-family: 'Roboto Slab', sans-serif;
  font-weight: 400 !important; 
  font-size: 40px;

}


/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Roboto Flex', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 5px 25px 5px 25px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn img {
  flex-shrink: 0;
  display: block;
}

a.btn-primary {
  color: #472714;
}

.btn-primary,
.btn-primary:disabled,
.btn-primary.disabled {
  background-color: #E9A300;
  border-color: #E9A300;
  color: #472714;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:focus-visible {
  background-color: #ffffff;
  border-color: #E9A300;
  color: #E9A300;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  background-color: #c98c00;
  border-color: #c98c00;
  color: #472714;
}

.btn-primary:focus,
.btn-primary.focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(233, 163, 0, 0.5);
}

.btn-secondary,
.btn-secondary:disabled,
.btn-secondary.disabled {
  background-color: rgba(233, 163, 0, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-color: rgb(233, 163, 0);
  color: #ffffff;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary.focus,
.btn-secondary:focus-visible {
  background-color: #F9F4E8;
  border-color: rgb(233, 163, 0);
  color: #472714;
}

.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
  background-color: rgba(233, 163, 0, 0.3);
  border-color: rgb(233, 163, 0);
  color: #ffffff;
}

.btn-secondary:focus,
.btn-secondary.focus,
.btn-secondary:not(:disabled):not(.disabled):active:focus,
.btn-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(233, 163, 0, 0.5);
}
.btn-secondary-2 {
  background: #F9F4E8;
  color: #472714;
  border-color: #E9A300;
  border-radius: 5px 25px 5px 25px;
}
.btn-secondary-2:hover,
.btn-secondary-2:focus-visible {
  background: #E9A300;
  color: #ffffff;
    border-color: rgb(233, 163, 0);
}

.btn-secondary-2,
.btn-secondary-2:disabled,
.btn-secondary-2.disabled {
  background: #F9F4E8;
  color: #472714;
  border-color: #E9A300;
  border-radius: 5px 25px 5px 25px;
}
.btn-secondary-2:hover,
.btn-secondary-2:focus,
.btn-secondary-2.focus,
.btn-secondary-2:focus-visible {
  background: #E9A300;
  color: #ffffff;
  border-color: rgb(233, 163, 0);
}
.btn-secondary-2:not(:disabled):not(.disabled):active,
.btn-secondary-2:not(:disabled):not(.disabled).active,
.show > .btn-secondary-2.dropdown-toggle {
  background: #c98c00;
  border-color: #c98c00;
  color: #ffffff;
}
.btn-secondary-2:focus,
.btn-secondary-2.focus,
.btn-secondary-2:not(:disabled):not(.disabled):active:focus,
.btn-secondary-2:not(:disabled):not(.disabled).active:focus,
.show > .btn-secondary-2.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(233, 163, 0, 0.5);
}

.btn--full {
  width: 100%;
  justify-content: center;
}


/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center; /* center horizontally */
  overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(35, 18, 8, 0.78) 0%,
    rgba(35, 18, 8, 0.55) 55%,
    rgba(35, 18, 8, 0.2) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: 80px;
  width: 100%; /* allow full width */
  max-width: none;
  margin: 0 auto; /* center block */
  text-align: center; /* center text */
}

.hero__h1 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: clamp(52px, 7vw, 101px);
  font-weight: 700;
  color: #E9A300;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero__h2 {
  font-family: 'Roboto Flex', Arial, sans-serif;
  font-size: clamp(24px, 3.5vw, 53px);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero__h3 {
  font-family: 'Roboto Flex', Arial, sans-serif;
  font-size: clamp(18px, 2vw, 32px);
  font-weight: 700;
  color: white;
  line-height: 1.4;
  margin-bottom: 40px;
 margin-top: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center; /* center action buttons */
}

/* ============================================================
   Icon Strip
   ============================================================ */
.icon-strip {
  background: #472714;
  padding-top: 28px;
  padding-bottom: 28px;
}

.icon-strip__inner {
  display: flex;
    justify-content: space-around;
  align-items: center;
  gap: 40px;
}

.icon-strip__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.icon-strip__item img {
  flex-shrink: 0;
}

.icon-strip__label {
  font-family: 'Roboto Flex', Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
  color: #F9F4E8;
  line-height: 1.3;
}
h4.icon-strip__label {
  margin-bottom: 0;
}

/* ============================================================
   Section Situations
   ============================================================ */
.section-situations {
  background: #F9F4E8;
}

.section-situations .section__title {
  text-align: center;
}

.situations__row-top {
  margin-bottom: 16px;
}

.situations__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 18px;
  color: #3a2210;
  padding-bottom: 16px;
}

.situations__item img {
  flex-shrink: 0;
  margin-top: 3px;
}

.situations__item--full {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.situations__cta-text {
  text-align: center;
  font-size: 18px;
  color: #472714;
  font-weight: 700;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
}

.section-situations .btn {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Section Services
   ============================================================ */
.section-services {
  background: #ffffff;
}

.services__row {
  align-items: flex-start;
}

.services__col {
  position: relative;
  cursor: pointer;
  text-align: center;
  padding-left: 8px;
  padding-right: 8px;
}

.services__col > * + * {
  margin-top: 16px;
}

.services__col__link {
  z-index: 99;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.services__col .btn-secondary-2 {
  position: relative;
}

.service-card__title {
  font-family: 'Roboto Flex', Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #472714;
  line-height: 1.35;
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__img-wrap {
  width: 100%;
  border: 2.5px solid #E9A300;
  border-radius: 5px 25px 5px 25px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.services__col:hover .service-card__img-wrap {
  box-shadow: 0 4px 18px rgba(233, 163, 0, 0.28);
}

.service-card__img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.services__col:hover .service-card__img {
  transform: scale(1.04);
}

.service-card__text {
  font-size: 17px;
  color: #3a2210;
  line-height: 1.55;
  flex: 1;
}

.services__col .btn-secondary-2 {
  border-radius: 5px 25px 5px 25px;
  padding: 10px 28px;
  font-size: 16px;
}

.services__col:hover .btn-secondary-2 {
  background: #E9A300;
  color: #ffffff;
  border-color: #E9A300;
}

/* ============================================================
   Section Why Us
   ============================================================ */
.section-why-us {
  background: url('/files/images/pozadi-drevo.png') no-repeat center center / cover;
}
.section-recenze{
  background: #F9F4E8;
}


.why-us__title {
  text-align: center;
}

.why-us__row {
  align-items: flex-start;
  margin-top: 8px;
}

.why-us__bullets ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-us__bullet {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  color: #3a2210;
}

.why-us__bullet img {
  flex-shrink: 0;
}

.why-us__steps-wrap {
  padding-left: 48px;
  
}

.why-us__steps-title {
  font-family: 'Roboto Flex', Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #472714;
  margin-bottom: 24px;
}

.why-us__steps {
  row-gap: 28px;
 padding: 0 15px;
}

.why-us__step {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 21px;
  color: #3a2210;
}

.why-us__step img {
  flex-shrink: 0;
}


.why-us-list li:nth-child(1)::before,
.why-us-list li:nth-child(2)::before,
.why-us-list li:nth-child(3)::before,
.why-us-list li:nth-child(4)::before,
.why-us-list li:nth-child(5)::before,
.why-us-list li:nth-child(6)::before {
    content: "";
    position: absolute;
    left: 0;
    z-index: 99;
    top: 50%;
    transform: translateY(-50%);
    width: 41px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
}

.why-us-list li {
    position: relative;
    padding-left: 55px;
    min-height: 45px;
    display: flex;
    align-items: center;
    margin-bottom: 12px; /* adjust spacing between items */
    line-height: 1.3;
}

.why-us-list li:nth-child(1)::before { background-image: url("/files/images/ikony-svg/ico-1.svg"); }
.why-us-list li:nth-child(2)::before { background-image: url("/files/images/ikony-svg/ico-2.svg"); }
.why-us-list li:nth-child(3)::before { background-image: url("/files/images/ikony-svg/ico-3.svg"); }
.why-us-list li:nth-child(4)::before { background-image: url("/files/images/ikony-svg/ico-4.svg"); }
.why-us-list li:nth-child(5)::before { background-image: url("/files/images/ikony-svg/ico-5.svg"); }
.why-us-list li:nth-child(6)::before { background-image: url("/files/images/ikony-svg/ico-6.svg"); }


.why-us-list2 li:nth-child(1)::before { background-image: url("/files/images/ikony-svg/ico-4.svg"); }
.why-us-list2 li:nth-child(2)::before { background-image: url("/files/images/ikony-svg/ico-5.svg"); }
.why-us-list2 li:nth-child(3)::before { background-image: url("/files/images/ikony-svg/ico-6.svg"); }

/* ============================================================
   Section References
   ============================================================ */
.section-references {
  background: #ffffff;
}

.section-references__inner {
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: center;
}

.section-references__left {
  flex: 0 0 30%;
}

.section-references__right {
  flex: 1;
}

.section-references__left p {
  font-size: 17px;
  color: #472714;
  margin-bottom: 32px;
  line-height: 1.65;
}

.section-references__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.references-grid__item img {
  width: 100%;
  object-fit: cover;    
  border-radius: 10px;
  display: block;
  border: 2px solid transparent; /* reserves space, no visual change */
}

.references-grid__item img:hover {
  border: 2px solid #E9A300;
}

.references-grid__item {
  margin-bottom: 1rem;   /* gap between rows on mobile */
    -webkit-transition: -webkit-transform 0.4s ease;
    transition: transform 0.4s ease;
}


.references-grid__item:hover img {
  border: 2px solid #E9A300;
}

/* ============================================================
   Section Testimonials
   ============================================================ */
.section-testimonials {
  background: #F9F4E8;
}

.section-testimonials .section__title {
  text-align: center;
}

.testimonials__grid {
  display: flex;
  flex-direction: row;
  gap: 28px;
}

.testimonial-card {
  flex: 1;
  background: #ffffff;
  border-radius: 5px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(71, 39, 20, 0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.25s ease;
}

.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(71, 39, 20, 0.2);
}

.testimonial-card__stars img {
  width: auto;
  height: 24px;
}

.testimonial-card__text p {
  font-size: 16px;
  color: #3a2210;
  font-style: italic;
  line-height: 1.7;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #E8DCC8;
  padding-top: 16px;
  margin-top: auto;
}

.testimonial-card__avatar {
  flex-shrink: 0;
  opacity: 0.7;
}

.testimonial-card__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #472714;
}

.testimonial-card__location {
  display: block;
  font-size: 13px;
  color: #8a6a50;
}

/* ============================================================
   Section About
   ============================================================ */
.section-about {
  background: #ffffff;
}

.section-about__inner {
  display: flex;
  flex-direction: row;
  gap: 64px;
  align-items: center;
}

.section-about__text,
.section-about__image {
  flex: 1;
}

.section-about__text .section__title {
  margin-bottom: 28px;
}

.section-about__text p {
  font-size: 17px;
  color: #3a2210;
  line-height: 1.7;
  margin-bottom: 18px;
}

.section-about__motto {
  font-size: 17px;
  color: #472714;
  margin-bottom: 28px !important;
}

.section-about__image img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 4px 20px rgba(71, 39, 20, 0.12);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #472714;
  padding-top: 90px;
}

.footer__inner {
  display: flex;
  flex-direction: row;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__brand   { flex: 1.4; }
.footer__nav     { flex: 1; }
.footer__contact { flex: 1.2; }
.footer__cta     { flex: 1; }

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo img {
  opacity: 0.95;
}

.footer__tagline {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
text-align: center;
  line-height: 1.3;
}

.footer__nav-title {
  font-family: 'Roboto Flex', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #E9A300;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}


.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav ul, .footer__contact ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
   
}

@media (min-width: 768px) {
    .footer__nav ul li:last-child,
    .footer__contact ul li:last-child {
        text-align: left;
    }

    .nav-footer-list li:last-child {
        text-align: left;
    }
}

.footer__nav ul li, .footer__contact ul li {
    width: calc(50% - 5px);
    text-align: justify;
}

.footer__nav a {
  font-size: 17px;
  color: white;
  transition: color 0.25s ease;
}

.footer__nav a:hover {
  color: #E9A300;
}

.footer__contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #F9F4E8;
}

.footer__contact a {
  
  transition: color 0.25s ease;
}

.footer__contact a:hover {
  color: #E9A300;
}


.footer__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
  padding-top: 32px;
}

.footer__cta .btn-secondary {
  background: transparent;
  color: #F9F4E8;
  border-color: #E9A300;
}

.footer__bottom {
  padding-top: 70px;
  padding-bottom: 70px;
}

.footer__bottom p {
  font-size: 14px;
  color: white;
  text-align: center;
}


/* ============================================================
   Responsive – Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .header__hamburger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: min(340px, 88vw);
    background: #ffffff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 24px 40px;
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .header__nav.is-open {
    right: 0;
  }

  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .header__nav-list > li {
    width: 100%;
    border-bottom: 1px solid #E8DCC8;
  }

  .header__nav-list a {
    color: #472714;
    padding: 14px 8px;
    font-size: 17px;
    width: 100%;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid #E9A300;
    margin-left: 16px;
    padding: 0;
  }

  .has-dropdown.is-open .dropdown {
    display: block;
  }

  .has-dropdown:hover .dropdown {
    display: none;
  }

  .has-dropdown.is-open:hover .dropdown {
    display: block;
  }

  .icon-strip__inner {
    flex-direction: column;
    align-items: flex-start;

    gap: 20px;
  }

  .services__row {
    flex-wrap: wrap;
  }

  .services__col {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 32px;
  }

  .why-us__steps-wrap {
    padding-left: 0;
    border-left: none;
    border-top: 2px solid #E8DCC8;
    padding-top: 32px;
    margin-top: 32px;
  }

  .section-references__inner {
    flex-direction: column;
    gap: 40px;
  }

  .section-references__left {
    flex: none;
    width: 100%;
  }

  .testimonials__grid {
    flex-wrap: wrap;
  }

  .testimonial-card {
    flex: 0 0 calc(50% - 14px);
  }

  .section-about__inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer__inner {
    flex-wrap: wrap;
    gap: 40px 32px;
  }

  .footer__brand,
  .footer__nav,
  .footer__contact,
  .footer__cta {
    flex: 0 0 calc(50% - 16px);
  }
}

/* ============================================================
   Responsive – Mobile (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section__title {
    font-size: 30px;
  }

  .hero{
        min-height: auto;
  }

  .hero__content {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .icon-strip__label {
    font-size: 15px;
  }

  .services__col {
    flex: 0 0 100%;
    max-width: 100%;
   margin-top: 20px;	
  }

  .references-grid__item {
    flex: 0 0 100%;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }

  .footer__brand,
  .footer__nav,
  .footer__contact,
  .footer__cta {
    flex: 0 0 100%;
  }

  .footer__inner {
    gap: 32px;
  }

  .footer__cta {
    padding-top: 0;
  }

  .modal__dialog {
    padding: 40px 24px 28px;
  }

  .btn {
    padding: 12px 24px;
  }

  .section-references__actions {
    flex-direction: column;
  }


}

@media (max-width: 768px) {
  .footer__contact {
    flex-direction: column;
 gap: 10px;
    align-items: center;
  }

  .footer__contact ul li {
    width: 100%;
    text-align: center;
  }
}


@media (max-width: 768px) {
  .footer__nav ul li,
  .footer__contact ul li {
    width: 100%;
text-align: center;
  }
}

/* Footer – tablet: two centered nav columns, buttons stacked below */
@media (min-width: 769px) and (max-width: 1024px) {
  .navbar-inner {
    text-align: center;
  }

  .footer__nav ul.nav-footer-list {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    column-gap: 32px;
    row-gap: 12px;
    width: auto;
    margin: 0 auto;
  }

  .footer__nav ul.nav-footer-list li {
    width: auto;
    text-align: center;
  }

  .footer__contact {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
  }
}

/* ============================================================
   Header / Menu (merged from main-old.css)
   ============================================================ */

button, button:hover, button:active, button:focus {
  outline: none;
}

header {
  position: absolute;
  z-index: 1000;
  width: 100%;
  padding: 30px 0;
  color: white;
}

header.header-secondary {
  position: relative;
  background: #472714;
}

@media screen and (min-width: 1270px) {
  .header {
    display: flex;
  }
  header {
    position: absolute;
  }
}

header a {
  color: white;
}

header .odkaz_na_uvod {
  text-decoration: none;
}

header .logo-text {
  font-weight: bold;
  color: white;
  font-size: 31px;
  text-decoration: none !important;
}

header .logo-text .green-text {
  letter-spacing: 8px;
  color: #95c15c;
}

@media screen and (max-width: 500px) {
  header {
    padding: 15px 0;
  }
  header .logo-text {
    font-size: 32px;
  }
}

@media screen and (max-width: 320px) {
  header .logo-text {
    font-size: 20px;
  }
}

/* Header CTA button */
.btn1 {
  padding: 15px 20px;
  color: #faf4c0 !important;
  border: 2px solid #faf4c0;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}

.btn1:hover {
  padding: 15px 20px !important;
  border: 2px solid #81ab59 !important;
  color: #81ab59 !important;
  background-color: #001e44 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  font-size: 18px !important;
  font-weight: bold !important;
}

/* Menu */
#menu_top .container {
  padding: 0;
  overflow: visible;
}

#menu_top {
  z-index: 2;
  margin-top: 15px;
}

.navbar {
  padding: 0;
  margin-top: 0;
  -webkit-transition: all 0;
  transition: all 0;
}

.navbar-toggler {
  display: none;
}

.navbar-collapse.collapse:not(.show) {
  display: block;
}

.navbar-inner {
  text-align: left;
  display: block;
  width: 100%;
}

.nav {
  align-items: center;
  justify-content: center;
}

.nav.nav-footer-list{
  justify-content: start;
}

.nav li {
  margin: 0;
  position: relative;
  display: inline-block;
}

.nav li.lvl-1 {
  padding: 6px 6px;
}

.nav li.lvl-1 > a {
  font-size: 19px;
  color: white;
  font-weight: normal;
  padding: 11px 18px;
  border-radius: 3px;
  font-family: 'Barlow', sans-serif;
  text-decoration: none !important;
  display: inline-block;
  position: relative;
  cursor: pointer;
  border: 1px solid transparent;
}

.nav li.lvl-1 > a:hover,
.nav li.lvl-1 > a.active {
  color: #E9A300;
  border-color: #E9A300;
    border-radius: 5px 25px 5px 25px;
}

.menu_servis {
  padding: 15px 10px;
  color: #faf4c0 !important;
  border: 2px solid #faf4c0;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

.dropdown-toggle::before {
  display: none !important;
}

.dropdown-toggle::after {
  display: inline-block !important;
  width: 0 !important;
  height: 0 !important;
  margin-left: 0.385em !important;
  vertical-align: 0.185em !important;
  content: "" !important;
  border-top: 0.3em solid !important;
  border-right: 0.3em solid transparent !important;
  border-bottom: 0 !important;
  border-left: 0.3em solid transparent !important;
  color: white !important;
}
.nav li.lvl-1 > a:hover:before,
.nav li.lvl-1 > a.active:before,
.nav li.lvl-1.show > a:before,
.nav li.lvl-1 > a:hover:after,
.nav li.lvl-1 > a.active:after,
.nav li.lvl-1.show > a:after {
  color: #E9A300 !important;
}
.dropdown-toggle::after {
  display: none;
}

.dropdown-menu {
  border-radius: 0;
  border: 1px solid #e7e7e7;
  margin: 0;
  left: 16px;
  top: 70px;
  min-width: calc(100% + 2px);
  background-color: #f7f4ea;
  transform-origin: 50% 0;
  transform: scaleY(0);
  opacity: 0;
  display: block;
  transition: transform 0.3s, opacity 0.3s;
  -webkit-box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.25);
}

.dropdown-menu.show {
  transform: scaleY(1);
  opacity: 1;
}

.dropdown-menu a {
  text-transform: uppercase;
  text-decoration: none;
font-weight: bold;
	color: #472714;
  position: relative;
}

.dropdown-menu a img {
  max-width: 15px;
  max-height: 15px;
}

.dropdown-menu a:hover,
.dropdown-menu a:active,
.dropdown-item.active, .dropdown-item:active {
  background: #E9A300 !important;
}


/* Visibility utilities */
.mobile-show {
  display: none !important;
}

.mobile-hide {
  display: inline-flex;
}

.desktop-hide {
  display: none !important;
}

@media (max-width: 1272px) {
  .desktop-hide {
    display: flex !important;
  }
}

/* Responsive – menu collapse (≤ 1270px) */
@media screen and (max-width: 1270px) {


  #menu_top {
    position: static;
  }

  #menu_top .navbar-collapse {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #472714;
    z-index: 5000;
  }

  .mobile-show {
    display: block !important;
  }

  .mobile-hide {
    display: none !important;
  }

  .mobile-show img {
    min-height: 50px;
  }

  .navbar-inner {
    width: 100%;
  }

  .nav {
    display: block;
    text-align: center !important;
  }

  .navbar {
    height: auto;
  }

  .navbar-toggler {
    display: block !important;
    color: black;
    font-size: 22px;
    outline: none !important;
    line-height: 25px;
  }

  .navbar-toggler-icon {
    font-size: 25px;
    height: auto;
    margin-bottom: 0;
    color: black;
    width: auto;
  }

  .navbar-collapse.collapse:not(.show) {
    display: none;
    height: auto;
  }

  .nav li.lvl-1 a {
    display: block;
    text-align: center;
  }

  header .nav li.lvl-1 a {
    display: block;
    text-align: left;
  }

  .nav li.lvl-1:last-of-type {
    padding-left: 0;
  }

  .nav li.lvl-1:last-of-type a:before {
    display: none;
  }

  .dropdown-toggle::before {
    display: none;
  }
}

@media screen and (max-width: 900px) {
  .navbar-toggler-icon {
    font-size: 22px;
    height: auto;
    margin-bottom: 0;
    color: black;
    width: auto;
  }
}

@media screen and (max-width: 800px) {
  .nav li.lvl-1 {
    display: block;
    padding: 0;
  }

.why-us__steps-title {
  text-align: center;
}


}


@media screen and (max-width: 1269px) {
  #menu_top {
    width: 100%;
  }

  .navbar {
    width: 100%;
  }

  .navbar-inner {
    width: 100%;
  }

  .navbar-collapse {
    width: 100%;
  }
}


@media screen and (min-width: 1270px) {
  .container-header {
    max-width: 1600px; /* or whatever your site's container width is */
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
  }
}


.animated-box {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ✅ No space - these classes are on the SAME element */
.animated-box.hidden {
  opacity: 0;
  transform: translateY(30px);
}

.animated-box.animate {
  opacity: 1;
  transform: translateY(0);
}


/* The element is visible by default */
.animated-element {
  opacity: 1;
  transform: translateY(0);
  
  /* Animation plays on load, but starts from visible state */
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.animated-text {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated-text.hidden {
  opacity: 0;
  transform: translateX(-60px); /* slide from left, use 60px for right */
}

.animated-text.animate {
  opacity: 1;
  transform: translateX(0);
}


.rounded-images img {
  border-radius: 20px 100px 20px 100px;
	height: auto !important;
}



div.mex-recenze-list .mex-div-text {
    border: 1px solid #f1dcab;
    background: white;
}

div.mex-recenze-list .mex-div-text:after{
 background: white;

}






.velke {
	
	aspect-ratio: 6 / 4;
	
	overflow: hidden;
	
	}
	
	.velke a {
	
	display: block;
	
	width: 100%;
	
	height: 100%;
	
	}
	
	.velke img {
	
	border-radius: 10px;
	
	width: 100%;
	
	height: 100%;
	
	object-fit: cover;
	
	display: block;
	
	}





.rounded-images {

  align-items: center;
}





/* Hide the section if it has no .mex-recenze-list inside it at all */
.section-recenze:not(:has(.mex-recenze-list)) {
    display: none;
}

/* Optional: also hide it if .mex-recenze-list exists but is empty (no review boxes inside) */
.section-recenze:has(.mex-recenze-list:empty) {
    display: none;
}