main .container {
  width: calc(992px + 60px);
}

main #hero .container {
  width: calc(1160px + 60px);
}

body.page-id-1145 main #hero .text p {
  max-width: 450px;
}

body.page-id-1145 main #hero .text {
  max-width: 1070px;
}

main .container2 {
  width: calc(1142px + 60px);
  margin: 0 auto;
  padding: 0px 20px;
  max-width: 100%;
}

main .container2 .container {
  padding: 0;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 413px;
  background: transparent linear-gradient(0deg, #000000 0%, #54545400 100%) 0% 0% no-repeat padding-box;
  pointer-events: none;
  mix-blend-mode: multiply;
  transform: matrix(-1, 0, 0, -1, 0, 0);
  z-index: 1;
}

/*
#hero::after {
  top: unset;
  bottom: 0;
  background: transparent linear-gradient(180deg, #000000 0%, #54545400 100%) 0% 0% no-repeat padding-box;
}
*/

#hero .mask {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  content: "";
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  display: none;
}

#hero video {
  z-index: 0;
}

@media screen and (min-width: 992px) {
  main .container2 {
    padding: 0px 30px;
  }

  #hero .button {
    margin-top: 60px;
  }

  /* Global */
  main #hero {
    display: flex;
    padding-top: 190px;
  }
}

/* Global */
@media screen and (min-width: 992px) and (min-height: 1000px) {
  main #hero {
    padding-top: 0;
    align-items: center;
  }
}

#hero {
  background-color: #fff;
  height: 100vh;
  padding-top: 150px;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #000;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 307px;
  background: transparent linear-gradient(180deg, #FFFFFF 0%, #000 100%) 0% 0% no-repeat padding-box;
  pointer-events: none;
  mix-blend-mode: multiply;
  transform: matrix(-1, 0, 0, -1, 0, 0);
  z-index: 3;
}

#hero .container {
  z-index: 4;
}

#hero video {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  object-fit: cover;
}

#hero>* {
  position: relative;
  z-index: 2;
}

#hero .logo {
  padding: 0 30px;
  max-width: 1145px;
  margin: 0 auto 38px auto;
}

#hero .title {
  line-height: 1.2727272727em;
  margin-bottom: 37px;
}

#hero .stitle {
  font-size: 20px;
  line-height: 1em;
  letter-spacing: 0.01em;
  font-weight: 600;
  margin-bottom: 16px;
}

#hero .text {
  display: grid;
  grid-auto-flow: column;
  gap: 0 30px;
  font-size: 17px;
  line-height: 30px;
  max-width: 1035px;
}

.page-id-1229 #hero .text {
  gap: 30px;
}

#hero .text p {
  width: 100%;
  max-width: 500px;
  margin-bottom: 0;
}

#hero .button {
  margin-top: 40px;
  width: 246px;
  padding: 0;
  font-size: 17px;
  position: relative;
  top: -7px;
}

#image {
  text-align: center;
  position: relative;
  z-index: 3;
  margin-top: -60px;
  /* global */
}

#image video,
#image img {
  box-shadow: 0px 3px 6px #00000029;
  max-width: 988px;
  margin: 0 auto;
  width: 100%;
}

#image .caption {
  font-size: 12px;
  line-height: 20px;
  color: #231F20;
  margin-top: 7px;
}

#services {
  margin-top: 65px;
  /* Global */
  padding-bottom: 37px;
  /* Global */
}

#services .container {
  margin-right: auto;
  width: 988px;
}

#services .title {
  color: #231F20;
  margin-bottom: 26px;
}

#services .title .arrow {
  right: calc(100% + 38px);
  top: 19px;
}

#services .text {
  color: #231F20;
  line-height: 30px;
}

#services .text p {
  max-width: 765px;
}

#services .text p:first-child {
  margin-bottom: 0;
}

#services strong {
  color: var(--orange);
}

#services ul {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(var(--columns), 1fr);
  grid-template-columns: 1fr 1fr;
  gap: 30px 0;
  padding: 0;
  margin: 52px 0 0 0;
  /* Global */
}

#services ul li {
  position: relative;
  list-style: none;
  padding-left: 63px;
  font-size: 20px;
  line-height: 25px;
  font-weight: 500;
}

#services ul li::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-28px);
  left: 0;
  width: 34px;
  height: 34px;
  background-image: url('../../images/list-icon.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#services .button {
  margin-top: 56px;
  width: 246px;
  padding: 0;
  font-size: 17px;
}

#textimage {
  margin-top: 69px;
}

#textimage .container {
  width: 1200px;
}

@media screen and (min-width: 992px) {
  #textimage .container {
    padding-left: 16px;
  }
}

#textimage .inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 x 25% = 100% */
  gap: 9px 15px;
}

#textimage .inner>.img,
#textimage .inner>.text {
  grid-column: span 2;
}

#textimage .inner>.img:nth-child(8),
#textimage .inner>.img:nth-child(9) {
  grid-column: span 1;
}

#textimage .inner .img img,
#textimage .inner .img video {
  height: 409px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

#textimage .img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  display: block;
}

#textimage .inner .img video {
  height: 438px;
}

#textimage .text {
  color: #231F20;
  line-height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* global */
  max-width: 490px;
}

#textimage .text p:first-child {
  margin-bottom: 0;
}

#textimage .text strong:not(.f-black) {
  color: var(--orange);
}

#textimage .inner div:nth-child(3) img,
#textimage .inner div:nth-child(4) img {
  height: 335px;
}

#textimage .inner div:nth-child(6) img {
  height: 467px;
}

#textimage .inner div:nth-child(7) img,
#textimage .inner div:nth-child(8) img,
#textimage .inner div:nth-child(9) img {
  height: 438px;
}

#textimage .inner div:nth-child(5),
#textimage .inner div:nth-child(6) {
  padding-top: 44px;
}

#textimage .button {
  margin-top: 19px;
}

#quote {
  position: relative;
  padding: 100px 0 90px 0;
  margin-top: 94px;
  background-size: cover;
  background-position: center;
  color: #000;
}

#quote::before {
  /* content: '';
  position: absolute;
  inset: 0;
  transform: matrix(-1, 0, 0, -1, 0, 0);
  background: transparent linear-gradient(180deg, #000000 0%, #54545400 100%) 0% 0% no-repeat padding-box;
  mix-blend-mode: multiply;
  z-index: 1; */
}

#quote>* {
  position: relative;
  z-index: 2;
}

#quote .text {
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 41px;
  position: relative;
}

#quote .text>*::before {
  content: '“';
  display: inline-block;
}

#quote .text>*::after {
  content: '”';
  display: inline-block;
}

#quote .author {
  font-size: 20px;
  line-height: 23px;
}

#expertise {
  margin: 91px 0 49px 0;
}

#expertise .container {
  margin: 0 0 0 auto;
  width: 1062px;
}

#expertise .container2 {
  width: 1197px;
}

#expertise .title {
  color: #231F20;
  margin-bottom: 26px;
}

#expertise .title .arrow {
  right: calc(100% + 38px);
  top: 19px;
}

#expertise .inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.page-id-1145 #expertise .inner {
  align-items: flex-start
}

#image-block {
  margin-bottom: 100px;
}

#image-block .container {
  width: calc(1165px + 60px);
}

#expertise .text {
  color: #231F20;
  line-height: 30px;
  margin-bottom: 26px;
  max-width: 584px;
}

#expertise .inner-2 {
  color: #231F20;
  line-height: 30px;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 31px 30px 20px 46px;
  width: 390px;
  min-width: 360px;
  max-width: 100%;
}

#expertise .text-2 ul {
  padding: 20px 0 0 11px;
}

#expertise .text-2 ul li {
  font-size: 20px;
  line-height: 25px;
  font-weight: 500;
  list-style: '>';
  padding-left: 5px;
  margin-bottom: 10px;
}

#expertise strong {
  color: var(--orange);
  line-height: 20px;
}

#expertise .text p {
  margin-bottom: 30px;
}

#expertise .text p:first-child {
  margin-bottom: 5px;
}

#expertise .button {
  font-size: 17px;
  padding: 0 28px;
  margin-top: 15px;
}

#image-slider {
  margin-bottom: 75px;
  /* Global */
}

#image-slider .swiper-free-mode>.swiper-wrapper {
  transition-timing-function: linear;
}

#image-slider .container {
  max-width: 1220px;
  width: 100%;
}

#image-slider .swiper-slide img {
  display: block;
  width: auto;
  height: 100%;
  max-height: 350px;
  object-fit: cover;
}

#image-slider .swiper-slide {
  width: auto;
}

#image-slider .buttons .swiper-button-next:after,
#image-slider .buttons .swiper-button-prev:after {
  display: none;
}

#image-slider .buttons .swiper-button-next,
#image-slider .buttons .swiper-button-prev {
  background-image: url('../../images/arrow2.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 25px;
  height: 14px;
  padding: 10px;
  top: 34px;
}

#image-slider .buttons .swiper-button-prev {
  transform: scale(-1);
}

#image-slider .buttons {
  width: calc(1123px + 60px);
  margin: 0 auto;
  max-width: calc(100% - 40px);
}

#form .container {
  box-shadow: 0px 3px 6px #00000029;
  border-top: 16px solid var(--orange);
  width: 1165px;
  color: #231F20;
}

#form .inner {
  max-width: 990px;
  margin: 0 auto;
}

#form .title {
  font-size: 45px;
  line-height: 1em;
  font-weight: 700;
  margin-bottom: 23px;
}

#form .person {
  display: flex;
  gap: 46px;
  align-items: flex-start;
  margin: 42px 0 27px -13px;
}

#form .person img {
  align-self: flex-start;
}

#form .person .text {
  max-width: 580px;
  line-height: 25px;
}

#form .person .text p {
  margin-bottom: 24px;
}

#form .person .text img {
  vertical-align: sub;
  transform: translateY(-1px);
}

#form .person .text a {
  color: #231F20;
}

#form .person .text p:first-child strong {
  font-size: 23px;
  line-height: 25px;
}

#form .logo {
  margin: 55px 0;
}

#form .title+.text {
  line-height: 25px;
}

#form .frm_fields_container {
  width: 992px;
  max-width: 100%;
  margin: 0 auto;
}

#form .with_frm_style input[type=email],
#form .with_frm_style input[type=tel],
#form .with_frm_style input[type=text],
#form .with_frm_style textarea {
  color: #000;
  font-size: 17px;
  height: 76px;
  line-height: 76px;
  padding: 0;
  text-indent: 25px;
  background-color: #F5F4F4;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

#form .with_frm_style input[type=email]::placeholder,
#form .with_frm_style input[type=tel]::placeholder,
#form .with_frm_style input[type=text]::placeholder,
#form .with_frm_style textarea::placeholder {
  color: rgba(22, 22, 22, 0.45);
}

#form .with_frm_style textarea {
  padding-top: 20px;
  height: 109px;
  line-height: 20px;
  padding-left: 25px;
  text-indent: 0;
}

#form #frm_field_34_container {
  font-size: 12px;
  color: #000;
  margin-bottom: 0;
}

#form .with_frm_style .frm_submit {
  text-align: right;
}

#form .with_frm_style .frm_submit button {
  padding: 0;
  width: 240px;
  font-size: 17px;
}

#form .with_frm_style fieldset {
  padding-bottom: 20px;
}

#form .with_frm_style .frm_message,
#form .frm_success_style {
  background: #fff;
  color: #231F20;
}

#form .with_frm_style .frm_message {
  max-width: 763px;
  padding-top: 0;
}

#form .with_frm_style .frm_message .title {
  line-height: 60px;
}

#form .with_frm_style .frm_message p {
  color: #231F20;
  line-height: 25px;
  padding-top: 30px;
}

@media (max-height: 700px) and (min-width: 992px) {
  #hero {
    height: 100%;
    padding-bottom: 100px;
  }
}

@media (max-width: 992px) {
  #form .with_frm_style .frm_message br {
    display: none;
  }

  #masthead #logo {
    display: block;
  }

  #hero video {
    /* width: 200%; */
    /* top: -150px;
    height: calc(100vh + 180px); */
  }

  #hero {
    height: 100%;
    padding-bottom: 80px;
  }

  #hero .logo {
    display: none;
  }

  #hero .text {
    display: block;
  }

  #hero .text p {
    max-width: 100%;
  }

  #hero .text p:nth-child(1) {
    margin-bottom: .55em;
  }

  #hero .button {
    margin-top: 30px;
  }

  #image {
    margin-top: -40px;
  }

  #expertise .inner {
    flex-direction: column;
    gap: 0;
  }

  #expertise .text {
    max-width: 100%;
  }

  #quote .text br {
    display: none;
  }

  #form .person {
    margin: 42px 0 27px 0;
  }

  #expertise {
    margin-bottom: 50px;
  }

  #expertise .inner-2 {
    min-width: auto;
  }

}

@media (max-width: 768px) {
  #form .with_frm_style .frm_message .title {
    line-height: 48px;
  }

  #services ul li br {
    display: none;
  }

  #textimage .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
  }

  #textimage .img {
    width: 100%;
  }

  #textimage .img video {
    position: relative;
  }

  #textimage .inner .img:nth-child(2),
  #textimage .inner .img:nth-child(3),
  #textimage .inner .img:nth-child(9),
  #textimage .inner .img:nth-child(10) {
    width: calc(50% - 8px);
  }

  #textimage .inner .img img,
  #textimage .inner .img video {
    height: auto !important;
  }

  #textimage .inner .img:nth-child(7) {
    margin-top: 0;
  }

  #image-slider .swiper-wrapper .swiper-slide img {
    width: auto !important;
  }

  #image-slider .swiper-slide img {
    max-height: 200px;
  }
}

@media (max-width: 567px) {
  #form .with_frm_style .frm_message .title {
    line-height: 32px;
  }

  input[type="email"] {
    text-align: left;
  }

  .title45 {
    font-size: 36px;
    line-height: 40px;
  }

  body:not(.page-id-1003) #hero p br {
    display: none;
  }

  #hero .button,
  #services .button {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  #form .with_frm_style .frm_submit {
    text-align: center;
  }

  #services {
    margin-top: 50px;
    padding-bottom: 0;
    /* Global */
  }

  #services .button {
    margin-top: 40px;
    /* Global */
  }

  #services ul {
    display: block;
  }

  #services ul li {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 24px;
    padding-left: 50px;
  }

  #services .text-right {
    text-align: left;
  }

  #textimage .inner .img {
    width: 100% !important;
  }

  #textimage .inner .img img {
    display: block;
  }

  #quote {
    padding: 50px 0;
    margin-top: 50px;
  }

  #quote .text {
    font-size: 26px;
    line-height: 34px;
    margin-bottom: 30px;
  }

  #quote .author {
    font-size: 16px;
    line-height: 24px;
  }

  #expertise {
    margin: 50px 0;
  }

  #expertise .title br {
    display: none;
  }

  #image-slider {
    margin: 50px 0;
  }

  #image-slider .swiper {
    overflow: visible;
  }

  #image-slider img {
    width: 90vw;
  }

  #form .person {
    flex-direction: column;
    gap: 30px;
  }

  #form .title {
    font-size: 38px;
  }

  #expertise .text-2 ul li {
    font-size: 18px;
    line-height: 24px;
  }

  #image-block {
    margin-bottom: 50px;
  }

  #form .with_frm_style fieldset {
    padding-bottom: 10px;
  }

}

@media (max-width: 420px) {
  #hero .title55 {
    font-size: 26px;
  }
}