/*-------------------
-------fonts---------
-------------------*/

@font-face {
  font-family: 'Georgia';
  src: url('../fonts/Georgia.eot');
  src: url('../fonts/Georgia.eot?#iefix') format('embedded-opentype'),
      url('../fonts/Georgia.woff2') format('woff2'),
      url('../fonts/Georgia.woff') format('woff'),
      url('../fonts/Georgia.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/ProximaNova-Regular.eot');
  src: url('../fonts/ProximaNova-Regular.eot?#iefix') format('embedded-opentype'),
      url('../fonts/ProximaNova-Regular.woff2') format('woff2'),
      url('../fonts/ProximaNova-Regular.woff') format('woff'),
      url('../fonts/ProximaNova-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/ProximaNova-Bold.eot');
  src: url('../fonts/ProximaNova-Bold.eot?#iefix') format('embedded-opentype'),
      url('../fonts/ProximaNova-Bold.woff2') format('woff2'),
      url('../fonts/ProximaNova-Bold.woff') format('woff'),
      url('../fonts/ProximaNova-Bold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.eot');
  src: url('../fonts/Inter-Regular.eot?#iefix') format('embedded-opentype'),
      url('../fonts/Inter-Regular.woff2') format('woff2'),
      url('../fonts/Inter-Regular.woff') format('woff'),
      url('../fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Frank Ruhl Libre';
  src: url('../fonts/FrankRuhlLibre-Regular.eot');
  src: url('../fonts/FrankRuhlLibre-Regular.eot?#iefix') format('embedded-opentype'),
      url('../fonts/FrankRuhlLibre-Regular.woff2') format('woff2'),
      url('../fonts/FrankRuhlLibre-Regular.woff') format('woff'),
      url('../fonts/FrankRuhlLibre-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/*-------------------
--------reset--------
-------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  height: 100%;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  text-decoration: none;
}

button {
  border: none;
  padding: 0;
  cursor: pointer;
  background-color: transparent;
}

* {
  box-sizing: border-box;
}

/*--------------------*/

:root {
  --georgia-font: "Georgia", sans-serif;
  --proxima-font: "Proxima Nova", sans-serif;
  --inter-font: "Inter", sans-serif;
  --text-color-white: #FFFFFF;
  --bg-color: #F5F5F5;
  --color: #286A1D;
  --radius: 5px;
  --card-box-shadow: 0 1px 4px 0 rgba(0,0,0,0.25);

  scroll-behavior: smooth;
  font-size: 10px;
  font-family: var(--proxima-font);
  font-weight: 400;
  color: #111111;
}

body {
  background-color: var(--bg-color);
  position: relative;
}

body,html { 
  overflow-x: hidden;
}

.container {
  max-width: 1428px;
  margin: 0 auto;
  padding: 0 30px;
}

.btn {
  border-radius: 10px;
  background-color: var(--color);
  color: var(--text-color-white);
  font-family: var(--proxima-font);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.8rem;
  padding: 20px 28px;
}

.input {
  width: 238px;
  background-color: transparent;
  outline: none;
  border: 0;
  border-bottom: 1px solid #AEAEAE;
  padding: 0 0 10px;
  color: var(--text-color-white);
  font-size: 1.8rem;
}

.input::placeholder {
  font-size: 1.8rem;
  color: #AEAEAE;
}

.legend {
  font-family: var(--georgia-font);
  font-weight: 400;
  font-size: 3rem;
  color: var(--text-color-white);
}

h1 {
  font-family: var(--georgia-font);
  font-size: 8rem;
  font-weight: 400;
  line-height: 1.1em;
  width: 12.5em;
}

h2 {
  font-family: var(--georgia-font);
  font-size: 6rem;
  line-height: 1.1em;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 6rem;
}

h3 {
  font-size: 2.4rem;
  font-weight: 600;
  color: #262626;
}

h4 {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2em;
}

h5 {
  font-size: 2.4rem;
}

/*-------------------
--------header-------
-------------------*/

.header {
  position: absolute;
  padding-top: 41px;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 300;
  height: 165px;
}

.header *,
.banner * {
  color: var(--text-color-white);
}

.header__wrapper {
  display: flex;
  gap: 50px;
  justify-content: space-between;
}

.header__nav-list {
  display: flex;
  gap: 35px;
  margin-top: 31px;
}

.header__nav-link {
  font-size: 1.8rem;
}

.header__phone {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.header__phone-wrapper {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 5px;
}

.header__phone-num {
  font-family: var(--georgia-font);
  font-size: 3.6rem;
  font-weight: 400;
  line-height: 1.1em;
  display: block;
}

.header__call-btn {
  font-size: 2.2rem;
  border-bottom: 1px solid var(--text-color-white);
  align-self: end;
}

/*-------------------
-----burger-menu-----
-------------------*/

.burger-btn {
  display: none;
  transform: scale(1.5) translateY(20px);
  cursor: pointer;
  height: 16px;
}

.burger {
  display: none;
  position: fixed;
  width: 100vw;
  left: 0;
  top: 0;
  height: 100vh;
}

.burger-menu {
  background-image: url("../img/burger-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  max-width: 500px;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  padding: 20px 15px 0 35px;
  transition: 0.5s;
}

.burger__overlay {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  left: 0;
  top: 0;
  opacity: 0;
  z-index: -100;
  transition: 0.5s;
}

.burger-menu::before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #000;
  opacity: 0.3;
  left: 0;
  top: 0;
  z-index: -1;
}

.burger-menu__close-btn {
  height: 24px;
  position: absolute;
  cursor: pointer;
  top: 35px;
  left: 20px;
}

.burger__nav-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 50px;
}

.burger__nav-link {
  font-size: 24px;
}

/*-------------------
--------banner-------
-------------------*/

.banner {
 padding: 26.4rem 0 24.4rem;
 background-image: url("../img/banner-bg.jpg");
 background-size: cover;
 background-position: center;
 background-repeat: no-repeat;
}

.banner__text {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-bottom: 8.5rem;
}

.banner__address {
  font-size: 3rem;
}

/*-------------------
--------about--------
-------------------*/

.about {
  padding: 10rem 0px 2rem;
}

.about__content {
  display: flex;
  gap: 3rem;
}

.about__description {
  max-width: 724px;
}

.about__description p {
  padding-top: 1rem;
  font-size: 1.8rem;
  line-height: 1.3em;
}

.about__description p:first-child {
  padding: 0;
}

.about__btn {
  color: var(--color);
  padding: 0;
  background-color: transparent;
  margin-top: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.about__img-wrapper {
  height: 41rem;
  overflow: hidden;
}

.about__img-wrapper img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

/*-------------------
------services-------
-------------------*/

.services {
  padding: 10rem 0px 2rem;
}

.services__card-list {
  display: flex;
  gap: 22px;
}

.services__card {
  flex: 1;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-image: url("../img/card-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 4px 0 rgba(0,0,0,0.25);
}

.services__card p {
  font-size: 2.4rem;
}

.services__card svg {
  min-width: 100px;
}

/*-------------------
------monuments------
-------------------*/

.monuments {
  padding: 100px 0 20px;
}

.monuments__card-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 24px 40px;
}

.monuments__card {
  box-shadow: var(--card-box-shadow);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  background-color: #fff;
  height: calc((100% - 40px) / 2) !important;
  margin-bottom: 15px;
}

.monuments__card:nth-child(even) {
  margin-bottom: 0;
}

.monuments__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(53,53,53,0.6);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: 0.5s;
}

.monuments__card:hover::before {
  opacity: 1;
}

.monuments__card:hover .monuments__card-btn {
  opacity: 1;
  transform: translate(-50%,-50%);
}

.monuments__card-img-wrapper {
  height: 36rem;
  overflow: hidden;
}

.monuments__card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.monuments__card-title {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 30px 34px;
}

.monuments__card-btn {
  opacity: 0;
  position: absolute;
  transition: 0.5s;
  top: 50%;
  left: 50%;
  transform: translate(-50%,calc(-50% + 10px));
  width: 270px;
}

.monuments-swiper {
  width: 100%;
  height: 965px;
}

/*-------------------
------benefits-------
-------------------*/

.benefits {
  padding: 10rem 0px 2rem;
}

.benefits__card-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 22px;
  padding-top: 6.5rem;
}

.benefits__card {
  flex: 1;
  border-radius: var(--radius);
  border: 1px solid #AEAEAE;
  box-shadow: var(--card-box-shadow), inset var(--card-box-shadow);
  padding: 3rem 3rem 2rem;
  position: relative;
  z-index: 5;
}

.benefits__card::before {
  content: "";
  position: absolute;
  color: var(--color);
  font-family: "Frank Ruhl Libre", sans-serif;
  line-height: 9rem;
  font-size: 12rem;
  left: 30px;
  top: -6.7rem;

  /* Stroke Text Generator */
  text-shadow: 
  -0   -5px 0   var(--bg-color),
   0   -5px 0   var(--bg-color),
  -0    5px 0   var(--bg-color),
   0    5px 0   var(--bg-color),
  -5px -0   0   var(--bg-color),
   5px -0   0   var(--bg-color),
  -5px  0   0   var(--bg-color),
   5px  0   0   var(--bg-color),
  -1px -5px 0   var(--bg-color),
   1px -5px 0   var(--bg-color),
  -1px  5px 0   var(--bg-color),
   1px  5px 0   var(--bg-color),
  -5px -1px 0   var(--bg-color),
   5px -1px 0   var(--bg-color),
  -5px  1px 0   var(--bg-color),
   5px  1px 0   var(--bg-color),
  -2px -5px 0   var(--bg-color),
   2px -5px 0   var(--bg-color),
  -2px  5px 0   var(--bg-color),
   2px  5px 0   var(--bg-color),
  -5px -2px 0   var(--bg-color),
   5px -2px 0   var(--bg-color),
  -5px  2px 0   var(--bg-color),
   5px  2px 0   var(--bg-color),
  -3px -5px 0   var(--bg-color),
   3px -5px 0   var(--bg-color),
  -3px  5px 0   var(--bg-color),
   3px  5px 0   var(--bg-color),
  -5px -3px 0   var(--bg-color),
   5px -3px 0   var(--bg-color),
  -5px  3px 0   var(--bg-color),
   5px  3px 0   var(--bg-color),
  -4px -5px 0   var(--bg-color),
   4px -5px 0   var(--bg-color),
  -4px  5px 0   var(--bg-color),
   4px  5px 0   var(--bg-color),
  -5px -4px 0   var(--bg-color),
   5px -4px 0   var(--bg-color),
  -5px  4px 0   var(--bg-color),
   5px  4px 0   var(--bg-color),
  -5px -5px 0   var(--bg-color),
   5px -5px 0   var(--bg-color),
  -5px  5px 0   var(--bg-color),
   5px  5px 0   var(--bg-color),
  -5px -5px 0   var(--bg-color),
   5px -5px 0   var(--bg-color),
  -5px  5px 0   var(--bg-color),
   5px  5px 0   var(--bg-color);
}

.benefits__card:nth-child(1)::before {
  content: "1";
}

.benefits__card:nth-child(2)::before {
  content: "2";
}

.benefits__card:nth-child(3)::before {
  content: "3";
}

.benefits__card:nth-child(4)::before {
  content: "4";
}

.benefits__info {
  margin-top: 40px;
  margin-right: 83px;
  padding: 6.5rem 444px 6rem 9rem;
  border-radius: var(--radius);
  background-image: linear-gradient(90deg, rgba(49,48,51,1) 0%, rgba(49,48,51,1) 50%, rgba(63,60,69,1) 100%);
  position: relative;
}

.benefits__info::before,
.benefits__info::after {
  content: '';
  position: absolute;
  background-repeat: no-repeat;
}

.benefits__info::before {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("../img/benefits-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.05;
}

.benefits__info::after {
  background-image: url("../img/benefits-img.png");
  width: 643px;
  height: 456px;
  top: 50%;
  right: -75px;
  transform: translateY(-50%);
}

.benefits__info p {
  font-family: var(--inter-font);
  font-size: 2rem;
  color: var(--text-color-white);
  padding-top: 10px;
}

.benefits__info p:first-child {
  padding: 0;
}

.benefits__text {
  position: relative;
  z-index: 5;
}

/*-------------------
--------stages-------
-------------------*/

.stages {
  padding: 10rem 0px 2rem;
}

.stages h2 {
  margin-bottom: 30px;
}

.stages__description {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 30px;
}

.stages__description p {
  font-family: var(--inter-font);
  font-size: 1.8rem;
  font-weight: 400;
  padding-top: 10px;
  color: #3C3C3C;
}

.stages__description p:first-child {
  padding: 0;
}

.stages__card-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 24px;
}

.stages__card {
  flex: 1;
  border-radius: var(--radius);
  box-shadow: var(--card-box-shadow);
  background-image: url("../img/card-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 15px;
  text-align: center;
  gap: 30px;
}

.stages__card-text p {
  color: #3C3C3C;
  font-size: 1.8rem;
  margin-top: 5px;
}

/*-------------------
--------works--------
-------------------*/

.works {
  padding: 10rem 0px 12rem;
  position: relative;
}

.works__wrapper {
  position: relative;
  overflow: hidden;
}

.works__header {
  display: flex;
  justify-content: center;
}

.swiper-controls {
  position: relative;
}

.works-swiper {
  width: 100%;
  height: 760px;
  margin-left: auto;
  margin-right: auto;
  overflow: visible !important;
}

.works-swiper .swiper-slide {
  background: #fff;
  height: calc((100% - 30px) / 2) !important;
  cursor: zoom-in;
}

.works-swiper .swiper-slide img {
  object-fit: cover;
  object-position: top;
  height: 100%;
  width: 100%;
}

.works-swiper .swiper-slide:nth-child(4n + 4),
.works-swiper .swiper-slide:nth-child(4n + 5),
.works-swiper .swiper-slide:nth-child(1) {
  height: 327px !important;
}

.works-swiper .swiper-slide:nth-child(4n + 2),
.works-swiper .swiper-slide:nth-child(4n + 3) {
  height: 407px !important;
}

.swiper-btn-wrapper {
  position: absolute;
  width: 100px;
  height: 30px;
  top: 30px;
  left: 40px;
}

.swiper-button-next,
.swiper-button-prev {
  width: unset !important;
  height: unset !important;
  /* top: 30px !important; */
}

.swiper-button-next::after,
.swiper-button-prev::after {
  content: '' !important;
}

.swiper-button-prev svg {
  transform: rotate(180deg);
}

/*-------------------
--------footer-------
-------------------*/

.footer {
  background-color: #252121;
  padding: 9rem 0 6rem;
}

.footer__wrapper {
  display: flex;
  justify-content: space-between;
}

.footer__inputs-wrapper {
  margin-top: 60px;
  display: flex;
  gap: 40px;
}

.footer__agreement-text {
  color: #AEAEAE;
  margin-top: 20px;
  font-size: 1.6rem;
}

.footer__btn {
  margin-top: 40px;
  background-color: transparent;
  border: 1px solid #86A959;
  padding: 20px 68px;
}

.footer__contacts {
  color: var(--text-color-white);
  max-width: 310px;
  display: flex;
  flex-direction: column;
  align-items: end;
  width: 100%;
}

.footer__phone-wrapper {
  font-family: var(--georgia-font);
  font-size: 3rem;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer__icon {
  width: 25px;
}

.footer__contacts-text {
  font-weight: 400;
  font-size: 2rem;
  width: 100%;
  display: flex;
  justify-content: end;
  gap: 10px;
}

.footer__working-hourse {
  font-family: var(--georgia-font);
  margin-top: 16px;
}

.footer__email {
  margin-top: 40px;
}

.footer__address {
  margin-top: 16px;
}

.footer__address p {
  max-width: 25.2rem;
}

.footer__artcly {
  text-align: center;
  color: var(--text-color-white);
  margin-top: 50px;
  font-size: 1.6rem;
}

/*-------------------
--------popup--------
-------------------*/

.popup {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 400;
  text-align: center;
}

.popup__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0;
  z-index: 0;
  transition: 1s;
  
}

.popup__wrapper {
  position: absolute;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 50%;
  top: calc(50% + 30px);
  transform: translate(-50%, -50%);
  background-color: #fff;
  width: 100%;
  max-width: 881px;
  height: 554px;
  z-index: 1;
  opacity: 0;
  transition: 1s;
}

.popup__close {
  position: absolute;
  right: 30px;
  top: 30px;
  opacity: 0.3;
  transition: 0.3s;
  cursor: pointer;
  z-index: 3;
}

.popup__close > svg > path {
  fill: #000;
}

.popup__close:hover {
  opacity: 0.5;
}

.popup__inputs-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.popup-input {
  width: 267px;
  border-bottom: 1px solid #3C3C3C;
  color: #111111;
}

.popup .legend {
  color: #111111;
  max-width: 600px;
}

.popup__agreement-text {
  color: #AEAEAE;
  max-width: 343px;
  line-height: 1.3em;
  font-size: 1.6rem;
}

.popup__btn {
  margin-top: 45px;
  padding: 20px 68px;
}

.popup-view__img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-height: 90vh;
  max-width: 80vw;
  border: 10px solid #fff;
  border-radius: 10px;
  transition: 0.5s;
  opacity: 0;
}

.popup-view__close {
  opacity: 0.5;
}