.med_text span,
.specials_text span {
  font-size: 1.375rem;
  color: #d49861;
}
.med_text h1,
.specials_text h1 {
  font-size: 3.25rem;
  color: #333333;
  font-weight: 600;
}
.med_text p,
.specials_text p {
  font-size: 1rem;
  color: #808080;
  line-height: 28px;
}
.med_text h2,
.specials_text h2 {
  font-size: 2.625rem;
  color: #333333;
  font-weight: 600;
}
.med_banner {
  padding-top: 180px;
  height: 845px;
  background: url(../img/med-banner.svg) no-repeat center / cover;
  overflow: hidden;
}
.med_banner .med_text p {
  max-width: 36%;
}
.med_banner .med_text h1 {
  margin: 20px 0 25px;
}
.med_banner .med_text a {
  margin-top: 40px;
}
.med_banner > div {
  position: relative;
}
.med_banner img {
  position: absolute;
  top: -65px;
  right: -345px;
  border-top-left-radius: 80px;
  border-bottom-left-radius: 80px;
}
.med_nav ul {
  justify-content: space-between;
}
.med_nav ul li {
  height: 110px;
  width: 386px;
  background-color: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  align-items: center;
  padding: 0 33px;
  cursor: pointer;
  border-radius: 6px;
  margin-top: -67px;
}
.med_nav ul li>a{
  width: 100%;
  height: 100%;
}
.med_nav ul li:hover, .med_nav ul li.active{
  background-color: #d69962;
  color: #fff;
}
.med_nav ul li:hover a, .med_nav ul li.active a{
  color: white;
}
.med_nav ul li:hover div, .med_nav ul li.active div{
  filter: brightness(20);
}
.med_nav ul li div {
  width: 60px;
  height: 60px;
  margin-right: 20px;
}
.med_nav ul li div img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.med_nav ul li h2 {
  font-size: 1.375rem;
  font-weight: 500;
}
.med_service {
  padding-top: 190px;
}
.med_service .med_text {
  text-align: center;
}
.med_service .med_text h2 {
  padding-top: 20px;
}
.med_service ul {
  padding-top: 95px;
}
.med_service ul li {
  width: 32%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  margin-bottom: 45px;
  transition: all 0.3s;
  overflow: hidden;
  margin-right: 2%;
}
.med_service ul li:nth-of-type(3n){
  margin-right: 0;
}
.med_service ul li:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.med_service ul li:hover a .product_img img {
  transform: scale(1.1);
}
.med_service ul li:hover a .product_intro span {
  color: #d49861;
  background-color: transparent;
}
.med_service ul li a {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
}
.med_service ul li a .product_img {
  width: 100%;
  height: 350px;
  overflow: hidden;
}
.med_service ul li a .product_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s;
}
.med_service ul li a .product_intro {
  padding: 35px 35px 30px;
}
.med_service ul li a .product_intro strong {
  font-size: 1.375rem;
  color: #333333;
  font-weight: 500;
}
.med_service ul li a .product_intro p {
  padding: 15px 0 20px;
  padding-bottom: 0;
  margin-bottom: 20px;
  font-size: 0.9375rem;
  color: #727272;
  line-height: 25px;
  -webkit-line-clamp: 4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.med_service ul li a .product_intro span {
  display: block;
  border-radius: 3px;
  width: 318px;
  height: 48px;
  line-height: 46px;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
  transition: all 0.3s;
  border: 1px solid #d49861;
  background-color: #d49861;
}
.med_service button {
  display: block;
  margin: 30px auto 0;
  width: 194px;
  height: 52px;
  line-height: 50px;
  font-size: 1rem;
  font-weight: 600;
  color: #333333;
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  border-radius: 6px;
}
.med_service{
  padding-bottom: 190px;
}
.med_service button:hover {
  background-color: #d49861;
  color: #fff;
  border-color: #d49861;
}
.subscribe div input[type='submit'] {
  background-color: #333333;
}
.subscribe div input[type='submit']:hover {
  background-color: #d49861;
}
.subscribe button {
  width: 203px;
  height: 70px;
  line-height: 70px;
  background-color: #333333;
  font-size: 1.25rem;
  color: #fff;
  border-radius: 12px;
  padding-left: 40px;
  transition: all 0.3s;
  margin-left: -5px;
  vertical-align: middle;
}
.subscribe button:hover {
  background-color: #d49861;
}
.subscribe .specials_text + div img:last-child {
  display: inline-block;
  width: 35px;
  height: 35px;
  position: relative;
  top: 10px;
  left: -185px;
  pointer-events: none;
}
footer .footer li:nth-child(3) ul li:first-child a {
  display: block;
  margin-bottom: 12px;
}
footer .footer li:nth-child(3) ul li {
  height: auto;
  padding-left: 35px;
  position: relative;
  margin-bottom: 16px;
  line-height: 22px;
}
footer .footer li:nth-child(3) ul li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 2px;
  left: 0;
  background: url(../img/phone-w.svg) no-repeat center / contain;
}

footer .footer li:last-child .flex > div {
  margin-right: 10px;
}
footer .footer li:last-child span {
  font-size: 14px;
  color: #3f3f3f;
  padding-top: 10px;
  display: block;
}
