.footer {
  display: flex;
  flex-flow: row wrap;
  padding: 60px 50px 40px 50px;
  color: #2f2f2f;
  background-color: #000;
  border-top: 1px solid var(--primary-light);

  font-family: acumin-pro, system-ui, sans-serif;
}

.footer > * {
  flex: 1 100%;
}

.footer__addr {
  margin-right: 1.25em;
  margin-bottom: 2em;
}

.footer__logo {
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--primary-light);
}

.footer__addr h2 {
  font-family: acumin-pro, system-ui, sans-serif;
  margin-top: 1.3em;
  font-size: 1em;
  font-weight: 600;
  color: var(--primary-light);
}

.nav__title {
  font-weight: 400;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--primary-light);
}

.footer address {
  font-style: normal;
  color: whitesmoke;
}

.footer__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: auto;
  min-width: 170px;
  max-width: 360px;
  background: rgba(255, 213, 108, 0.15);
  border: 1px solid rgba(255, 213, 108, 0.7);
  border-radius: 8px;
  color: var(--primary-light);
  line-height: 1;
  margin: 1.5em 0;
  font-size: 1em;
  font-weight: 500;
  padding: 0 1.3em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 15px rgba(255, 213, 108, 0.1);
  text-shadow: 0 0 8px rgba(255, 213, 108, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.footer__btn:hover {
  background-color: rgba(255, 213, 108, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 213, 108, 0.2);
  text-shadow: 0 0 12px rgba(255, 213, 108, 1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer__btn:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 213, 108, 0.25);
  transition: all 0.1s ease;
}

.footer ul {
  list-style: none;
  padding-left: 0;
}

.footer li {
  line-height: 2em;
}

/* Négyzet alakú bullet pointok a lista elemek előtt */
/* Stabil "ikon + szöveg" elrendezés (wrap esetén is), hogy a szöveg ne csússzon el a négyzettől */
.nav__ul li a {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
  /* Stabil sor-magasság, hogy a bullet középre igazítható legyen a szöveg első sorához */
  line-height: 1.7;
}

.nav__ul li a::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 4px;
  background-color: var(--primary-light);
  /* Középre igazítás a szöveg első sorának magasságán belül (4px-es négyzet) */
  margin-top: calc((1.7em - 4px) / 2);
}

.footer a {
  text-decoration: none;
  font-family: acumin-pro, system-ui, sans-serif;
}

.footer__nav {
  display: flex;
  flex-flow: row wrap;
}

.footer__nav > * {
  flex: 1 50%;
  margin-right: 1.25em;
}

.nav__ul a {
  font-size: 0.78em;
  color: whitesmoke;
}

.nav__ul--extra {
  column-count: 2;
  column-gap: 1.25em;
}

/* Ne engedjük, hogy egy listaitem (pl. "Massey Ferguson") oszlopok között szakadjon szét */
.nav__ul--extra li {
  break-inside: avoid-column;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

/* Social media szekció stílusok */
.footer__social {
  margin-top: 2rem;
  text-align: center;
  width: 100%;
}

.social__title {
  font-family: acumin-pro, system-ui, sans-serif;
  font-size: 1em;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 213, 108, 0.7);
  background: rgba(255, 213, 108, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 15px rgba(255, 213, 108, 0.1);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(24%)
    hue-rotate(138deg) brightness(118%) contrast(92%);
  transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 213, 108, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 213, 108, 0.4);
  filter: drop-shadow(0 0 4px rgba(255, 213, 108, 0.7));
}

.social-icon:hover svg {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%)
    hue-rotate(93deg) brightness(103%) contrast(103%);
}

.social-icon:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(255, 213, 108, 0.25);
  transition: all 0.1s ease;
}

.legal {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-wrap: wrap;
  color: #999;

  padding: 40px 0px 0px 0px;
}

.legal__links {
  display: flex;
  align-items: center;
  justify-self: center;
}

.legal__links p {
  color: white;
}

.span-text {
  color: whitesmoke;
  font-size: 15px;
}

.heart {
  color: var(--primary-light);
}

@media screen and (min-width: 24.375em) {
  .legal .legal__links {
    /*margin-left: auto;*/
  }
}

@media screen and (min-width: 40.375em) {
  .footer__nav > * {
    flex: 1;
  }

  .nav__item--extra {
    flex-grow: 2;
  }

  .footer__addr {
    flex: 1 0px;
  }

  .footer__nav {
    flex: 2 0px;
  }
}

@media screen and (max-width: 645px) {
  .nav__item--extra,
  .nav__item:last-child {
    margin-top: 2em;
  }
}
