* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}

body {
    height: 100%;
    font-family: "Inter", "Arial", sans-serif;
    font-style: normal;
    color: #0B0E14;
}

.wrapper {
    min-width: 300px;
    max-width: 100%;
    min-height: 100%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    background: #C8162D;
    color: #ffffff;
    padding: 18px 29px;
    border-radius: 40px;
    border: 1px solid #C8162D;
}

.btn.btn-white,
.btn:hover {
    background: #ffffff;
    color: #C8162D;
    border: 1px solid #ffffff;
}

.btn.btn-white:hover {
    background: #C8162D;
    color: #ffffff;
    border: 1px solid #C8162D;
}

.btn-contour {
    background: none;
    color: #ffffff;
    border: 1px solid #C8162D;
}

.btn-contour:hover {
    background: #ffffff;
    color: #C8162D;
    border: 1px solid #ffffff;
}

.header {
    position: relative;
    height: 110px;
    margin-bottom: -110px;
    z-index: 10;
    background: #ffffff;
}

.header .container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.header .btn:hover,
.footer .btn:hover {
    border: 1px solid #C8162D;
}

.logo {
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    color: #C8162D;
}

.logo span {
    font-style: Italic;
}

.checkbox-toggle {
    display: none;
}

.menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.menu ul li a {
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    color: #C8162D;
    text-decoration: none;
    padding: 5px 0;
}

.menu ul li a:hover {
    border-bottom: 2px solid #C8162D;
}

.main {
    padding-bottom: 280px;
}

.home-intro {
    position: relative;
    min-height: 600px;
    max-height: 600px;
    background: #C8162D;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 120px;
    padding-bottom: 40px;
    box-sizing: border-box;
}

.home-intro:after {
    content: '';
    position: absolute;
    background-image: url(../images/speed.png);
    background-size: cover;
    background-position: center center;
    width: 282px;
    height: 140px;
    bottom: 0;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    pointer-events: none;
    z-index: 1;
}

.home-intro .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1050px;
    gap: 30px;
}

.home-intro .btn-contour {
    border: 1px solid #ffffff;
}

.home-intro .btn.btn-white:hover {
    border: 1px solid #ffffff;
}

.home-intro-info {
    flex: 1;
}

.home-intro-info h1 {
    font-weight: 700;
    font-size: 42px;
    line-height: 1;
    color: #ffffff;
    margin-bottom: 20px;
}

.home-intro-info ul {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 32px;
    color: #ffffff;
    margin-left: 20px;
}

.home-intro-info ul li {
	margin-bottom: 20px;
}

.home-intro-info ul li::marker {
	color: #ffffff;
	font-size: 20px;
}

.home-intro-image {
    flex: 1;
    height: 360px;
    text-align: center;
}

.home-intro-image img {
    height: 100%;
}

.advantage-block {
    padding: 55px 0;
}

.advantage-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.advantage-item {
    flex: 1;
    text-align: center;
}

.advantage-item img {
    margin-bottom: 30px;
}

.advantage-item span {
    display: block;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.why-block {
    position: relative;
    padding: 85px 0;
    background:#C8162D;
}

.why-block .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 17px;
}

.why-text {
    flex: 1;
}

.why-text h2 {
    font-weight: 700;
    font-size: 42px;
    line-height: 1;
    color: #FFFFFF;
    margin-bottom: 26px;
}

.why-text p {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #FFFFFF;
    max-width: 300px;
    margin-bottom: 33px;
}

.why-list {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    gap: 17px;
}

.why-item {
    flex: 1;
    text-align: center;
    background: #FFFFFF;
    padding: 26px 26px 60px;
    border-radius: 30px;
    box-sizing: border-box;
}

.why-item img {
    width: 100%;
    max-width: 194px;
    margin-bottom: 30px;
}

.why-item h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    text-align: left;
    color: #C8162D;
    margin-bottom: 18px;
}

.why-item p {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    color: #0B0E14;
}

.why-block .btn-contour {
    border: 1px solid #ffffff;
}

.safety-block {
    padding: 60px 0;
}

.safety-block h2 {
    font-weight: 700;
    font-size: 42px;
    line-height: 1;
    margin-bottom: 57px;
}

.safety-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.safety-item {
    flex: 1;
    box-shadow: 0px 2px 15px 0px #86454526;
    border-radius: 30px;
    padding: 54px 40px;
    box-sizing: border-box;
}

.safety-item h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 27px;
}

.safety-item ul {
    margin-left: 20px;
}

.safety-item ul li {
    font-weight: 400;
    font-size: 16px;
	line-height: 1.4;
    color: #4A5568;
    margin-bottom: 20px;
}

.safety-item ul li:last-child {
    margin-bottom: 0;
}

.safety-item ul li::marker {
    color: #CF1A2F;
    font-size: 20px;
}

.rait-block {
    margin-bottom: 40px;
}

.rait-block .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.rait-image {
    height: 300px;
    text-align: center;
    margin-right: 30px;
}

.rait-image img {
    height: 100%;
}

.rait-text {
    flex: 2;
}

.rait-text h2 {
    font-weight: 700;
    font-size: 42px;
    line-height: 1;
    margin-bottom: 15px;
}

.rait-text p {
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    color: #4A5568;
}

.rait-btn {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 17px;
}

.rait-btn .btn-contour {
    color: #C8162D;
}

.rait-btn .btn:hover {
    border: 1px solid #C8162D;
}

.rait-btn .btn-contour:hover {
    color: #ffffff;
    background: #C8162D;
}

.footer {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFDBDC 100%);
    height: 280px;
    margin: -280px auto 0;
    padding-bottom: 50px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    height: 100%;
}

.attention {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 300;
    font-size: 42px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    color: #FBD5D5;
}

.footer-menu-block {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer .logo {
    width: 210px;
    color: #C8162D;
}

.footer .logo sup {
    font-size: 10px;
}

.footer .menu {
    flex: 1;
}

.footer .menu ul li a {
    color: #9E8585;
}

.footer .view-pharmacy {
    width: 210px;
}

.footer .view-pharmacy .btn {
    padding: 18px 25px;
    width: 100%;
    box-sizing: border-box;
}

.footer-copy-block {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #9E8585;
}

.footer .copy {
    width: 210px;
}

.footer .contacts {
    flex: 1;
}

.footer .developed {
    width: 210px;
    text-align: right;
}

.footer-copy-block a {
    color: #C8162D;
    text-decoration: none;
}

.footer-copy-block a:hover {
    text-decoration: underline;
}

@media (max-width: 1280px) {

  .menu ul {
      gap: 20px;
  }

  .btn {
      padding: 18px 18px;
  }

  .footer {
      height: auto;
  }

}

@media (max-width: 1110px) {

    .header {
        height: 90px;
        margin-bottom: -90px;
        }

    /* Мобильное меню */

	.menu {
        flex: 1;
        order: 1;
		float: none;
		display: block;
		z-index: 10;
		width: 100%;
		top: 0;
	}

	.menu .checkbox-toggle {
        display: block;
        position: fixed;
        top: 24px;
        right: 25px;
        z-index: 2;
        cursor: pointer;
        width: 40px;
        height: 40px;
        opacity: 0;
        -webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
    }

	.menu .checkbox-toggle:checked + .hamburger > div {
		-webkit-transform: rotate(135deg);
		-ms-transform: rotate(135deg);
		transform: rotate(135deg);
		background: #C8162D;
		position: fixed;
		width: 24px;
        height: 3px;
	}

	.menu .checkbox-toggle:checked + .hamburger > div:before, 
	.menu .checkbox-toggle:checked + .hamburger > div:after { 
		top: 0; 
		-webkit-transform: rotate(90deg); 
		-ms-transform: rotate(90deg); 
		transform: rotate(90deg);
		background: #C8162D;
		position: fixed;
		width: 24px;
        height: 3px;
	}

	.menu .checkbox-toggle:checked + .hamburger > div:after {
		opacity: 0;
		position: fixed;
		width: 24px;
	}

	.menu .checkbox-toggle:checked + .hamburger > div:before { 
		left: 0;
	}

	.menu .checkbox-toggle:checked ~ .nav { 
		pointer-events: auto; 
	}

	.menu .checkbox-toggle ~ .nav > div { 
		width: 100%; 
		height: 0;
	} 

	.menu .checkbox-toggle:checked ~ .nav > div { 
		width: 100%; 
		height: 100%;
		overflow: auto;
	}
	
	.menu .checkbox-toggle:checked:hover + .hamburger > div { 
		-webkit-transform: rotate(225deg); 
		-ms-transform: rotate(225deg); 
		transform: rotate(225deg);
		position: fixed;
		width: 25px;
	}
    
	.menu .hamburger {
		position: absolute;
		top: 24px;
        right: 25px;
		z-index: 1;
		width: 40px;
        height: 40px;
		border-radius: 50%;
		cursor: pointer;
		-webkit-transition: box-shadow 0.3s ease;
		transition: box-shadow 0.3s ease;
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
		-webkit-box-pack: center;
		-webkit-justify-content: center;
		-ms-flex-pack: center;
		justify-content: center;
        -webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
	}

	.menu .hamburger > div {
		position: relative;
		-webkit-box-flex: 0;
		-webkit-flex: none;
		-ms-flex: none;
		flex: none;
		width: 30px;
        height: 4px;
        border-radius: 4px;
		background: #C8162D;
		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
		-webkit-box-pack: center;
		-webkit-justify-content: center;
		-ms-flex-pack: center;
		justify-content: center;
	}

	.menu .hamburger > div:before, 
	.menu .hamburger > div:after { 
		content: ''; 
		position: absolute; 
		z-index: 1; 
		top: -10px;
        left: 0;
		width: 30px;
        height: 4px;
        border-radius: 4px;
		background: #C8162D;
		-webkit-transition: all 0.3s ease; 
		transition: all 0.3s ease;
	} 

	.menu .hamburger > div:after { 
        top: auto;
        bottom: -10px;
		width: 30px;
	}
	 
	.menu .nav { 
		position: fixed; 
		top: 0!important; 
		left: 0; 
		height: 100%;
		width: 100%;
		padding: 0;
		margin: 0;
		z-index: 0;
		pointer-events: none; 
		background: none;
		display: -webkit-box; 
		display: -webkit-flex; 
		display: -ms-flexbox; 
		display: flex; 
		-webkit-box-align: normal; 
		-webkit-align-items: normal; 
		-ms-flex-align: normal; 
		align-items: normal; 
		-webkit-box-pack: normal; 
		-webkit-justify-content: normal; 
		-ms-flex-pack: normal; 
		justify-content: normal; 
	}

	.menu .nav > div { 
		width: 0; 
		height: 0; 
		background: #ffffff;
		-webkit-transition: all 0.3s ease; 
		transition: all 0.3s ease; 
	}

	.menu .nav > div > ul {
		list-style: none;
		margin: 0;
		display: block;
		text-align: center;
		overflow: auto;
		padding: 100px 25px 25px;
		opacity: 0;
	}
	
	.menu .checkbox-toggle:checked ~ .nav > div > ul {
		opacity: 1;
		-webkit-transition: all 0.3s ease; 
		transition: all 0.3s ease; 
	}
	 
	.menu .nav > div > ul > li {
		width: 100%;
		font-size: 18px;
		line-height: 1;
		display: inline-block;
		position: relative;
		z-index: 1;
		margin-left: 0;
		margin-bottom: 16px;
        margin-top: 16px;
	}
	
	.menu .nav > div > ul > li > a {
        font-weight: 700;
        font-size: 18px;
        line-height: 1.25;
        text-decoration: none;
        position: relative;
        display: inline;
        cursor: pointer;
        -webkit-transition: color 0.3s ease;
        transition: color 0.3s ease;
    }

	.menu .nav > div > ul > li > a:hover:before,
	.menu .nav > div > ul > li > a.active:before{
		left: -20px;
	}

	/* END Мобильное меню */

}

@media (max-width: 900px) {

  .home-intro {
      max-height: none;
  }

  .home-intro-info {
      flex: none;
      width: 100%;
  }

  .home-intro-image {
      height: auto;
  }

  .home-intro-image img {
      height: auto;
      width: 100%;
  }

  .advantage-item {
      min-width: 25%;
  }

  .why-block .container {
      gap: 40px;
  }

  .why-text {
      flex: none;
      width: 100%;
  }

  .rait-image {
      order: 1;
      height: auto;
      width: 100%;
      margin-right: 0;
  }

  .rait-image img {
      height: auto;
      width: 100%;
  }

  .rait-text {
      order: 0;
      flex: none;
      width: 100%;
  }

  .rait-btn {
      order: 2;
      flex: none;
      width: 100%;
  }

  .footer .container {
      gap: 30px;
  }

  .footer-menu-block {
      flex-direction: column;
      gap: 30px;
      text-align: center;
  }

  .footer .logo {
      width: auto;
      color: #C8162D;
  }

  .menu ul {
      flex-direction: column;
      gap: 10px;
  }

  .footer .copy {
      order: 1;
      flex: 1;
      width: auto;
  }

  .footer .contacts {
      flex: none;
      order: 0;
      width: 100%;
      text-align: center;
  }

  .footer .developed {
      order: 2;
      flex: 1;
      width: auto;
      text-align: right;
  }

}

@media (max-width: 600px) {

  .header .view-pharmacy {
    display: none;
  }
  
  .advantage-item {
    min-width: 33.3%;
  }
  .home-intro:after {
    display: none;
  }

}