/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

:root {
  /* Hlavní tmavá pro obrysy (vychází z tvé primary, ale je tmavší pro kontrast) */
  --color1: #2c4d38;

  /* Bílá pro vnitřky (shodné s tvou bs-white) */
  --color2: var(--bs-white);

  /* Světlý podklad v ikonách (velmi jemná zelená z tvé primary) */
  --color5: #f0f7f3;

  /* Akcentní barva pro obsah (místo růžové použijeme tvou orange nebo yellow) */
  --color9: var(--bs-orange);

  /* Barva pro pozadí sekce (shodná s tvou gray-100) */
  --color13: var(--bs-gray-100);

  /* Barva pro rámečky (shodná s tvou gray-300) */
  --color14: var(--bs-gray-300);
}

.footer_services {
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  clear: both;
  margin-bottom: 50px;
}

.footer_services .row {
  align-items: stretch;
}

.footer_services .ybc-widget-ybc-custom-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0 !important;
}

.footer_services .info-item .info-thumb {
  min-width: 56px;
  position: relative;
  z-index: 1;
}

.footer_services .info-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 100%;
  padding: 16px 18px;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.footer_services .info-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color9);
  opacity: 0;
  transform: scaleX(0.2);
  transform-origin: left center;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.footer_services .info-item:hover {
  background: linear-gradient(180deg, rgba(240, 247, 243, 0.55) 0%, rgba(240, 247, 243, 0) 100%);
}

.footer_services .info-item:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.footer_services .info-item .info-thumb::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 247, 243, 0.95) 0%, rgba(240, 247, 243, 0) 72%);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: -1;
}

.footer_services .info-item:hover .info-thumb::after {
  opacity: 1;
  transform: scale(1.1);
}

.footer_services .info-item .info-thumb svg {
  width: 50px;
  height: 50px;
  vertical-align: middle;
  fill: currentColor;
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer_services .info-item:hover .info-thumb svg {
  transform: scale(1.04);
  opacity: 0.92;
}

.footer_services .info-content {
  position: relative;
  z-index: 1;
}

.footer_services .ybc-widget-title {
  margin-bottom: 6px;
  transition: color 0.25s ease;
}

.footer_services .info-content p {
  margin-bottom: 0;
  color: #667085;
  transition: color 0.3s ease;
}

.footer_services .info-item:hover .ybc-widget-title {
  color: var(--color1);
}

.footer_services .info-item:hover .info-content p {
  color: #3e4c45;
}
.footer_services .info-item-sep {
  position: relative;
  align-self: stretch;
  display: block;
  width: 0;
  padding: 0;
  margin: 0;
  flex: 0 0 0;
}

.footer_services .info-item-sep::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background-color: #dadada;
  transform: translateX(-50%);
}

@media (max-width: 991px) {
  .footer_services .info-item-sep {
    display: none;
  }
}
@media (max-width: 576px) {
  .footer_services .info-item {
    padding: 16px 14px;
  }

  .footer_services .ybc-widget-item {
    margin: 8px 0 0 15%;
  }
}
