.main-contacts-inner {
  .contacts-top {
    padding-top: 80px;
    padding-bottom: 40px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }

  .contacts-top-r {
    width: 100%;
    max-width: 599px;
    margin-right: 74px;
    margin-top: 17px;
  }

  .contacts-middle {
    border-radius: 16px;
    height: 450px;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
  }

  .contacts-middle img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
  }

.contacts-bottom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
    gap: 20px;
    margin-bottom: 80px;
    padding-bottom: 15px;
    align-items: stretch;
}


.contacts-bottom-cont {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 24px;
    border: none;
    border-radius: 16px;
    background: #fff;

    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 10px 25px rgba(0, 0, 0, 0.08);

    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Hover effect */
.contacts-bottom-cont:hover {
    box-shadow:
        0 8px 12px rgba(0, 0, 0, 0.06),
        0 16px 35px rgba(0, 0, 0, 0.12);

    transform: translateY(-3px);
}

/* Click effect */
.contacts-bottom-cont:active {
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.06),
        0 5px 12px rgba(0, 0, 0, 0.10);

    transform: translateY(0);
}



  .contacts-bottom-cont:last-child {
    margin-right: 0;
  }

  .contacts-bottom-cont .subscriptor {
    margin-bottom: 8px;
  }

  .contacts-bottom-cont .subscriptor.lidl {
    margin-top: 8px;
  }

  .parking-link {
    text-decoration: underline;
    transition: 0.3s ease;
    padding-bottom: 2px;
  }

  .email-go {
    transition: 0.3s ease;
  }
  .email-go:hover,
  .parking-link:hover {
    /* color: var(--grey); */
  }

    .contacts-top-l a h2  {
      text-decoration: none;
      background-image: linear-gradient(currentColor, currentColor);
      background-repeat: no-repeat;
      background-position: left bottom;
      background-size: 0% 1px;
      transition: background-size 0.3s ease;
  }

  .contacts-top-l a:hover h2{
      background-size: 100% 1px;
  }
}
@media screen and (max-width: 1000px) {
  .main-contacts-inner {
    .contacts-bottom {
      flex-wrap: wrap;
    }
    .contacts-bottom-cont {
      width: 100%;
       margin-bottom: 32px;
    }

    .contacts-bottom-cont:nth-child(3),
    .contacts-bottom-cont:nth-child(4) {
      margin-top: -1px;
    }

    .contacts-top {
      flex-direction: column;
    }

    .contacts-top-r {
      width: 100%;
      max-width: 100%;
      margin-right: 0px;
      margin-top: 0px;
    }
  }

  .email-go {
  overflow-wrap: anywhere;
  word-break: break-all;
}
}
@media screen and (max-width: 767px) {
  .main-contacts-inner {
    .contacts-top {
      padding-top: 48px;
      padding-bottom: 24px;
      gap: 16px;
    }
    .contacts-middle {
      height: 200px;
      margin-bottom: 24px;
    }
    .contacts-bottom-cont {
      width: 100%;
      border: none;
      margin-bottom: 32px;
      margin-right: 0;
      margin-top: 0;
      min-height: unset;
    }
    .contacts-bottom-cont:last-child {
      margin-bottom: 0;
    }

    .subscriptor.lidl {
      margin-top: 32px !important;
    }
  }
}

/* ANIMATIONS */

/* Used on div for them to "unfold" from left*/
@-webkit-keyframes unfoldFromLeft {
  0% {
    opacity: 0;
    -webkit-clip-path: inset(0 100% 0 0);
    clip-path: inset(0 100% 0 0);
  }
  100% {
    opacity: 1;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
  }
}
@keyframes unfoldFromLeft {
  0% {
    opacity: 0;
    -webkit-clip-path: inset(0 100% 0 0);
    clip-path: inset(0 100% 0 0);
  }
  100% {
    opacity: 1;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
  }
}
