/* Krokodili HF — desktop match live Elementor header (post-15) + footer (post-176) */

body.kd-has-plugin-header .elementor-location-header,
body.kd-has-plugin-footer .elementor-location-footer {
  display: none !important;
}

.kd-site-header {
  position: relative;
  z-index: 100;
  background: #000;
}

.kd-header-chrome {
  background: #000;
  border-bottom: 1px solid #000;
  min-height: 10vh;
}

.kd-header__bar {
  /* live Elementor header: padding-left/right 5% of viewport */
  padding: 0 5%;
}

.kd-header__inner {
  max-width: none;
  width: 100%;
  margin: 0 auto;
}

.kd-header__bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5%;
  min-height: 10vh;
}

.kd-header__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.kd-header__logo img {
  display: block;
  width: 100px;
  height: auto;
}
.kd-header__logo span {
  color: #76c044;
  font-weight: 800;
  text-transform: uppercase;
}

/* Desktop nav — live: uppercase, #C9C9C9, pipe dividers, underline active */
.kd-nav--desktop {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.kd-nav--desktop .menu,
.kd-nav--desktop .kd-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none !important;
  margin: 0;
  padding: 0;
}
.kd-nav--desktop .menu > li,
.kd-nav--desktop .kd-nav__item {
  display: flex;
  align-items: center;
  list-style: none !important;
}
.kd-nav--desktop .menu > li:not(:last-child)::after,
.kd-nav--desktop .kd-nav__item:not(:last-child)::after {
  content: "|";
  color: #76c044;
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  opacity: 0.85;
}
.kd-nav--desktop .menu a,
.kd-nav--desktop .kd-nav__link {
  color: #c9c9c9 !important;
  text-transform: uppercase;
  font-family: "Montserrat", "Roboto", system-ui, sans-serif;
  font-size: 16px; /* live computed */
  font-weight: 600;
  letter-spacing: normal;
  line-height: 20px;
  padding: 13px 20px; /* live Elementor item padding */
  border-bottom: 2px solid transparent;
  text-decoration: none !important;
  white-space: nowrap;
}
.kd-nav--desktop .current-menu-item > a,
.kd-nav--desktop .current_page_item > a,
.kd-nav--desktop .is-current > .kd-nav__link {
  color: #fff !important;
  border-bottom-color: #76c044;
}
.kd-nav--desktop .menu a:hover,
.kd-nav--desktop .kd-nav__link:hover {
  color: #7a7a7a !important;
}

.kd-header__social {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex: 0 0 auto;
}
.kd-header__social a {
  color: #c9c9c9;
  font-size: 1.05rem;
  line-height: 1;
  background: transparent;
}
.kd-header__social a:hover {
  color: #aca298;
}

.kd-header__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.35rem;
  cursor: pointer;
}
.kd-header__toggle-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 22px;
}
.kd-header__toggle-box span {
  display: block;
  height: 2px;
  background: #fff;
}

.kd-nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 200;
  padding: 1.25rem;
}
.kd-nav-drawer[aria-hidden="false"] {
  display: block;
}
.kd-nav-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  color: #fff;
}
.kd-nav-drawer .menu,
.kd-nav-drawer .kd-nav__list {
  list-style: none !important;
  margin: 0;
  padding: 0;
}
.kd-nav-drawer .menu a,
.kd-nav-drawer .kd-nav__link {
  display: block;
  color: #c9c9c9 !important;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none !important;
}

@media (max-width: 1200px) {
  .kd-nav--desktop .menu a,
  .kd-nav--desktop .kd-nav__link {
    font-size: 14px;
    padding: 12px 12px;
  }
}

@media (max-width: 1024px) {
  .kd-header__bar {
    padding: 0 3%;
  }
  .kd-nav--desktop .menu a,
  .kd-nav--desktop .kd-nav__link {
    font-size: 13px;
    padding: 10px 8px;
  }
}

@media (max-width: 900px) {
  .kd-header__bar-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1rem;
  }
  .kd-header__logo {
    order: 1;
    width: 100%;
    justify-content: center;
  }
  .kd-header__logo img {
    margin: 0 auto;
    width: 90px;
  }
  .kd-header__social {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 1.1rem;
    padding-bottom: 0.25rem;
  }
  .kd-nav--desktop {
    display: none;
  }
  .kd-header__toggle {
    display: block;
    order: 2;
    position: absolute;
    right: 0.9rem;
    top: 0.85rem;
  }
  .kd-header__bar {
    position: relative;
  }
}

/* Footer — live 4-col: logo | anketa | social | badge */
.kd-footer {
  background: #0b0b0b;
  color: #c9c9c9;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  padding: 5% 5% 0;
}
.kd-footer__row {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.15fr 1fr;
  align-items: center;
  column-gap: 2.5%;
  box-sizing: border-box;
  width: 100%;
}
.kd-footer__col {
  box-sizing: border-box;
  text-align: center;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.kd-footer__brand img {
  width: 150px;
  height: auto;
  display: block;
}
.kd-footer__badge {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 7px;
}
.kd-footer__title {
  color: #c9c9c9;
  font-family: "Nanum Gothic", "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.87px;
  line-height: 19px;
  margin: 0 0 0.85rem;
}
.kd-footer__social {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.kd-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(201, 201, 201, 0.18);
  color: #c9c9c9;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: 4px;
}
.kd-footer__social a:hover {
  background: #76c044;
  color: #000;
}
.kd-footer__anketa-q {
  margin: 0 0 0.65rem;
  color: #c9c9c9;
  font-size: 16px;
  font-weight: 300;
  line-height: 19px;
  letter-spacing: 0.87px;
}
.kd-btn--anketa {
  display: inline-block;
  color: #76c044;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid #76c044;
  padding: 0.65rem 1.1rem;
  text-decoration: none;
}
.kd-btn--anketa-fill {
  margin-top: 5px;
  padding: 10px 24px;
  background: #6dc33f;
  color: #000;
  border: 0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.kd-btn--anketa-fill:hover {
  background: #fff;
  color: #000;
  border-color: transparent;
}
.kd-btn--anketa:hover {
  color: #fff;
  border-color: #fff;
}
.kd-footer__copy {
  max-width: none;
  width: 100%;
  margin: 2rem 0 0;
  padding: 1rem 5% 1.25rem;
  color: #c9c9c9;
  font-size: 0.9rem;
  text-align: center;
  background: #0b0b0b;
  box-sizing: border-box;
}
.kd-footer__copy a {
  color: #76c044;
}

@media (max-width: 1024px) and (min-width: 768px) {
  .kd-footer__row {
    grid-template-columns: 1fr 1fr;
    row-gap: 2rem;
  }
  .kd-footer__title {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .kd-footer {
    padding: 2rem 5% 0;
    margin-top: 2rem;
  }
  .kd-footer__row {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
  }
  .kd-footer__anketa-q {
    font-size: 0.95rem;
  }
  .kd-nav-drawer .menu a {
    font-size: 1rem;
    padding: 1rem 0;
  }
}
