:root {
  --header-bg: #163259;
  --footer-bg: transparent;
  --footer-color: black;
}

.social-link {
  background: rgba(255, 255, 255, 0.1);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  transition: all 0.3s ease;
}
.social-link svg {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  fill: #ffffff;
}
.social-link:hover {
  transform: translateY(-2px);
}
.social-link:hover svg {
  fill: #e37e36;
}
.hero-contacts {
  min-height: 90svh;
  padding-top: 250px;
  background: linear-gradient(180deg, #081220 0%, #0A2040 100%);
  color: #ffffff;
}
@media screen and (max-width: 1024px) {
  .hero-contacts {
    padding-top: 170px;
  }
}
.hero-contacts__wrapper {
  max-width: 970px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.hero-contacts__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  grid-template-areas: "title title" "text yunth" "social glorification" "map map";
  -moz-column-gap: 30px;
       column-gap: 30px;
  row-gap: 30px;
}
@media screen and (max-width: 1024px) {
  .hero-contacts__content {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "text" "social" "yunth" "glorification" "map";
  }
}
.hero-contacts__title {
  text-transform: uppercase;
  font-weight: 700;
  grid-area: title;
}
.hero-contacts__text {
  grid-area: text;
  opacity: 85%;
  line-height: 180%;
}
.hero-contacts__text p {
  margin: 0;
  padding: 0;
  line-height: inherit;
}
.hero-contacts__social {
  grid-area: social;
}
.hero-contacts__social .social__header {
  color: #e37e36;
}
.hero-contacts__youth {
  grid-area: yunth;
}
@media screen and (max-width: 1024px) {
  .hero-contacts__youth {
    justify-self: center;
  }
}
.hero-contacts__glorification {
  grid-area: glorification;
}
@media screen and (max-width: 1024px) {
  .hero-contacts__glorification {
    justify-self: end;
  }
}
.hero-contacts__map {
  margin-top: 50px;
  margin-bottom: 50px;
  position: relative;
  grid-area: map;
  padding: 30px 40px;
  width: 100%;
}
.hero-contacts__map .map-yandex {
  box-shadow: 0px 50px 150px 0px rgba(157, 100, 59, 0.4392156863), 0px -50px 150px 0px rgba(157, 100, 59, 0.4392156863);
  border-radius: 56px;
  height: 190px;
}
.hero-contacts__map::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(180deg, #163259 0%, rgba(255, 255, 255, 0.23) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-radius: 69px;
  pointer-events: none;
}
@media screen and (max-width: 1024px) {
  .hero-contacts__map {
    padding: 15px 20px;
  }
}

.social {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: repeat(2, min-content);
  grid-template-areas: "icon header" "icon body";
  -moz-column-gap: 16px;
       column-gap: 16px;
  row-gap: 15px;
}
.social__header {
  grid-area: header;
  font-size: 20px;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .social__header {
    font-size: 18px;
  }
}
.social__body {
  align-self: self-start;
  grid-area: body;
  display: flex;
  align-items: center;
  -moz-column-gap: 30px;
       column-gap: 30px;
}
.social__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(227, 126, 54, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  grid-area: icon;
}

.church__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
}
@media screen and (max-width: 768px) {
  .church__wrapper {
    gap: 30px;
  }
}
.church__title {
  color: #E5E7EB;
  text-align: center;
  font-weight: 500;
  font-size: 36px;
}
@media screen and (max-width: 1024px) {
  .church__title {
    font-size: 32px;
  }
}
@media screen and (max-width: 768px) {
  .church__title {
    font-size: 24px;
  }
}
.church__badge {
  display: block;
  margin: 0 auto;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  color: #e37e36;
}
.church__text {
  font-weight: 500;
  font-size: 24px;
  text-align: center;
  color: #4B5563;
}
.church__list {
  display: flex;
  gap: 32px;
  justify-content: center;
}
@media screen and (max-width: 1280px) {
  .church__list {
    flex-wrap: wrap;
  }
}
.church-card {
  background: #ffffff;
  width: 296px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
}
.church-card__header {
  width: 100%;
  background: #e37e36;
  padding-top: 8px;
  position: relative;
  height: 192px;
}
.church-card__icon {
  width: 70px;
  height: 70px;
  position: absolute;
  top: 16px;
  left: 16px;
  background: #e37e36;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.church-card__image {
  position: relative;
  overflow: hidden;
  height: 100%;
}
.church-card__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.church-card__image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(18, 46, 76, 0.75) 0%, rgba(18, 61, 72, 0.75) 100%);
}
.church-card__title {
  position: absolute;
  margin: 0;
  padding: 0;
  bottom: 5px;
  left: 16px;
  color: #ffffff;
  font-weight: 700;
  font-size: 20px;
}
@media screen and (max-width: 768px) {
  .church-card__title {
    font-size: 18px;
  }
}
.church-card__content {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.church-card__tag {
  padding: 0 16px;
  font-weight: 600;
  font-size: 14px;
  color: #e37e36;
  margin: 5px 0;
}
.church-card__details {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.church-card__details-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.church-card__details-item span {
  color: #374151;
}
.church-card__details-item span svg {
  fill: #123D48;
}
.church-card__footer {
  padding: 15px 24px 24px 24px;
}
.church-card__footer .button {
  display: flex;
  align-items: center;
  gap: 12px;
  background-image: linear-gradient(90deg, #1C9FB4 0%, #122E4C 50%, #122E4C 75%, #122E4C 100%);
}

.request {
  position: relative;
  padding: 100px 0;
}
.request__bg {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.request__bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 15%;
}
.request__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 27px;
}
@media screen and (max-width: 1024px) {
  .request__wrapper {
    flex-direction: column-reverse;
  }
}
.request__form {
  flex-grow: 1;
  padding: 33px;
  border-radius: 16px;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1803921569);
  background: rgba(255, 255, 255, 0.1019607843);
}
@media screen and (max-width: 1024px) {
  .request__form {
    width: 100%;
  }
}
.request label {
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
}
.request input, .request textarea {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.0509803922);
  color: #ffffff;
}
.request__title {
  color: #ffffff;
}
.request__info {
  width: 45%;
  position: relative;
  align-self: stretch;
  border-radius: 43px;
  border: 1px solid rgba(255, 255, 255, 0.5411764706);
  font-weight: 900;
  font-size: 20px;
  color: #ffffff;
  padding: 1.5em 2.5em;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
@media screen and (max-width: 1024px) {
  .request__info {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .request__info {
    font-size: 18px;
    padding: 1em 1.5em;
  }
}
.request__logo {
  width: 70px;
  height: 63px;
}
.request__logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.request__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}
.request__image::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 1, 1, 0.4);
}
.request__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}