/*
Theme Name: Tema7-Blisq-Tema-7
Theme URI: http://blisq.pt
Author: Blisq
Author URI: http://blisq.pt
Description: Tema desenvolvido para uso exclusivo da Blisq Creative
Version: V7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Blisq
Text Domain: Blisq
*/

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --color-white: #fff;
  --color-black: #000;
  --color-blue: #4161a8;
  --color-grey: #595959;
}

::selection {
  background: var(--color-blue);
  color: var(--color-white);
  text-shadow: none;
}

::-moz-selection {
  background: var(--color-blue);
  color: #eee;
  text-shadow: none;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html.overflow {
  overflow: hidden;
}

body {
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
  counter-reset: service more-service info-list service-submenu;
  position: relative;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.main-text,
.main-text p {
  color: var(--color-black);
  font-size: 20px;
  font-weight: 400;
  line-height: 145%;
}

.big-text,
.big-text p {
  color: #000;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.main-text.white {
  color: var(--color-white);
}

.main-h2 {
  color: var(--color-grey);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  text-transform: lowercase;
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
}

.main-h2.white {
  color: var(--color-white);
}

.main-h2::before {
  content: " ";
  position: relative;
  display: inline-block;
  left: 0;
  width: 14px;
  height: 14px;
  background-color: var(--color-blue);
}

.big-title {
  color: var(--color-white);
  font-size: 100px;
  font-weight: 500;
  line-height: 100%;
}

.big-title.dark {
  color: var(--color-black);
}

/* Containers */

.archive-container {
  max-width: 1824px;
  margin: 0 auto;
}

.header-container {
  max-width: 1760px;
  margin: 0 auto;
}

.container {
  max-width: 1597px;
  margin: 0 auto;
}

.small-container {
  max-width: 902px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.mini-container {
  max-width: 746px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */

.btn-mobile.active ~ .header-navigation {
  right: 0;
}

.custom-logo-link svg {
  position: relative;
  z-index: 20;
}

.btn-mobile {
  display: none;
  width: 35px;
  cursor: pointer;
  position: relative;
  top: 0;
}

.page-template-front-page .btn-mobile span {
  background: var(--color-white);
}

.btn-mobile span {
  background: var(--color-blue);
}

.btn-mobile span {
  display: block;
  width: 100%;
  border-radius: 3px;
  height: 3px;
  transition: all 0.3s;
  position: relative;
}

.btn-mobile span + span {
  margin-top: 8px;
}

.btn-mobile.active span:nth-child(1) {
  animation: ease 0.7s top forwards;
}

.btn-mobile.not-active span:nth-child(1) {
  animation: ease 0.7s top-2 forwards;
}

.btn-mobile.active span:nth-child(2) {
  animation: ease 0.7s scaled forwards;
}

.btn-mobile.not-active span:nth-child(2) {
  animation: ease 0.7s scaled-2 forwards;
}

.btn-mobile.active span:nth-child(3) {
  animation: ease 0.7s bottom forwards;
}

.btn-mobile.not-active span:nth-child(3) {
  animation: ease 0.7s bottom-2 forwards;
}

@keyframes top {
  0% {
    top: 0;
    transform: rotate(0);
  }

  50% {
    top: 11px;
    transform: rotate(0);
  }

  100% {
    top: 11px;
    transform: rotate(45deg);
  }
}

@keyframes top-2 {
  0% {
    top: 11px;
    transform: rotate(45deg);
  }

  50% {
    top: 11px;
    transform: rotate(0deg);
  }

  100% {
    top: 0;
    transform: rotate(0deg);
  }
}

@keyframes bottom {
  0% {
    bottom: 0;
    transform: rotate(0);
  }

  50% {
    bottom: 11px;
    transform: rotate(0);
  }

  100% {
    bottom: 11px;
    transform: rotate(135deg);
  }
}

@keyframes bottom-2 {
  0% {
    bottom: 11px;
    transform: rotate(135deg);
  }

  50% {
    bottom: 11px;
    transform: rotate(0);
  }

  100% {
    bottom: 0;
    transform: rotate(0);
  }
}

@keyframes scaled {
  50% {
    transform: scale(0);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes scaled-2 {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

header {
  position: absolute;
  top: 67px;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 0 3%;
}

header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-top > li > a {
  color: var(--color-black);
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.page-template-front-page .menu-top > li > a {
  color: var(--color-white);
}

.menu-top > li > a:not(.main-button a)::before {
  content: "";
  width: 9px;
  height: 9px;
  background-color: var(--color-black);
  display: inline-block;
  position: relative;
  left: 0;
  transform: scaleX(0) translateX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.page-template-front-page .menu-top li > a:not(.main-button a)::before {
  background-color: var(--color-white);
}

.menu-top > li > a:not(.main-button a) {
  display: flex;
  gap: 12px;
  align-items: center;
}

.menu-top li a:hover:not(.main-button a)::before {
  transform: scaleX(1);
}

.menu-top > li > a:hover {
  transform: translateX(6px);
}

.menu-top {
  display: flex;
  gap: 41px;
  align-items: center;
}

.menu-top .main-button a {
  padding: 11px 22px;
  background-color: var(--color-black);
  border-radius: 3px;
  color: var(--color-white);
  transition: all 0.2s;
}

.page-template-front-page .menu-top .main-button a:hover,
.menu-top .main-button a:hover {
  background-color: var(--color-blue);
  color: var(--color-white);
}

.page-template-front-page .menu-top .main-button a {
  background-color: var(--color-white);
}

.page-template-front-page .menu-top .main-button a {
  color: var(--color-black);
}

.page-template-front-page .header-logo svg path {
  fill: var(--color-white);
}

.header-navigation {
  display: flex;
  gap: 52px;
  align-items: center;
}

.header-navigation a {
  color: var(--color-black);
  font-size: 20px;
  font-weight: 400;
  position: relative;
  transition: all 0.2s;
}

.header-navigation .languages a:hover,
.header-navigation .languages a.active {
  font-weight: 700;
}

.page-template-front-page .header-navigation .languages a {
  color: var(--color-white);
}

.page-template-front-page .header-navigation > a {
  color: var(--color-white);
}

.header-navigation .languages {
  display: flex;
  gap: 9px;
}

.header-navigation .languages > a:not(:first-child) {
  display: flex;
  gap: 9px;
}

.header-navigation .languages a:not(:first-child)::before {
  content: " ";
  position: relative;
  display: inline-block;
  height: 24px;
  width: 1px;
  top: 2px;
  background-color: var(--color-black);
}

.page-template-front-page .languages a:not(:first-child)::before {
  background-color: var(--color-black);
}

.menu-item-has-children .sub-menu {
  position: absolute;
  min-width: 1650px;
  background-color: pink;
  left: 50%;
  transform: translate(-50%, -50%);
  top: -100vh;
  transition: all 0.5s;
  z-index: 10;
}

.mega-services-wrapper {
  display: flex;
  gap: 70px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1650px;
  width: 100%;
  height: 660px;
  background-color: var(--color-white);
  border-radius: 22px;
  z-index: 50;
  transition: all 0.4s;
  top: 100px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 9px 10.7px 0 rgba(0, 0, 0, 0.25);
}

.mega-services-wrapper.active {
  opacity: 1;
  visibility: visible;
}

.services-submenu {
  list-style: none;
  margin: 0;
  padding: 61px 72px 65px 0;
  width: 100%;
}

.services-list-submenu {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.services-submenu .big-title {
  margin-bottom: 35px;
  display: block;
}

.services-submenu li {
  border-bottom: 1px solid var(--color-black);
  padding-bottom: 17px;
  position: relative;
}

.menu-services > a {
  position: relative;
}

.menu-services > a::after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  height: 300px;
  width: 100%;
}

.services-submenu li::before {
  content: " ";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-blue);
  transition: all 0.3s;
}

.services-submenu li:hover::before {
  width: 100%;
}

.services-submenu li a {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 10px;
  align-items: center;
  color: #000;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.services-submenu li a span {
  min-width: 400px;
}

.services-submenu li a::before {
  counter-increment: service-submenu;
  content: counter(service-submenu, decimal-leading-zero);
  position: relative;
  color: var(--color-black);
  font-size: 20px;
  font-style: normal;
  font-weight: 200;
  line-height: normal;
  transition: all 0.3s;
}

.services-submenu li a::after {
  content: " ";
  position: relative;
  display: inline-block;
  width: 34px;
  height: 24px;
  right: 20px;
  background-image: url(assets/images/right-arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.services-submenu li a:hover::before,
.services-submenu li a:hover {
  color: var(--color-blue);
}

.services-submenu li a:hover::after {
  opacity: 1;
  visibility: visible;
  right: 10px;
}

.service-thumbs {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 0 0 59%;
}

.service-thumb:not(.service-thumb.default-thumb) {
  display: none;
}

.service-thumb {
  height: 100%;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

/* Footer */

footer > .container {
  border-top: 1px solid #c8c8c8;
  padding: 60px 0;
  z-index: 1;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 40px;
}

.footer-logos {
  grid-area: 1 / 2 / 3 / 3;
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 25px;
  padding-right: 36px;
  justify-self: end;
}

.footer-logos a {
  transition: all 0.2s;
}

.footer-logos a:hover {
  scale: 1.05;
}

.footer-info {
  display: flex;
  gap: 60px;
}

.footer-info .main-h2 {
  margin-bottom: 25px;
}

footer address {
  display: flex;
  flex-direction: column;
  max-width: 270px;
}

address span,
footer .contacts a {
  color: var(--color-black);
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
  display: block;
  font-style: normal;
  transition: all 0.2s;
}

footer .contacts a:hover {
  color: var(--color-blue);
}

.call-to-national {
  color: var(--color-grey);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: lowercase;
}

footer .contacts .mail {
  margin-top: 25px;
}

.footer-links {
  background-color: var(--color-blue);
  padding: 21px 0;
  position: relative;
  z-index: 1;
}

.footer-links .container {
  display: flex;
  justify-content: space-between;
  gap: 36px;
}

.footer-links .container > div {
  display: flex;
  flex-wrap: wrap;
  column-gap: 36px;
  row-gap: 15px;
}

.footer-links a {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 145%;
  text-transform: capitalize;
  transition: all 0.2s;
}

.footer-links a:hover {
  color: var(--color-black);
}

.footer-links a.lower {
  text-transform: capitalize;
}

.footer-logo img {
  width: 100%;
  object-fit: contain;
}

.wpml-ls-statics-footer,
.otgs-development-site-front-end {
  display: none !important;
}

/* Frontpage */

.banner {
  height: calc(100dvh - 50px);
  margin: 25px 25px 25px 25px;
  position: relative;
  padding: 200px 0 97px 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 25px;
}

.banner::after {
  content: " ";
  position: absolute;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
  z-index: 1;
  width: 100%;
  height: 450px;
  bottom: 0;
  pointer-events: none;
}

.banner .container {
  width: 100%;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 67% 1fr;
  gap: 19px;
  align-items: flex-end;
}

.banner #frontpage-banner-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

.banner h1 {
  color: #fff;
  font-size: 100px;
  font-weight: 500;
  line-height: 100%;
}

.about {
  padding: 135px 4% 180px 4%;
}

.about-grid {
  display: grid;
  grid-template-columns: 50% 1fr;
  gap: 180px;
  padding-right: 74px;
}

.about-intro p:not(:last-of-type),
.about-content p:not(:last-of-type) {
  margin-bottom: 20px;
}

.services {
  background-color: var(--color-black);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 103px;
}

.services,
.services-grid {
  min-height: 100vh;
}

.service-images {
  position: relative;
  height: 100%;
}

.service-item-image img {
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.service-item-image.active img {
  opacity: 1;
  visibility: visible;
}

.service-item {
  display: grid;
  grid-template-columns: 30px 1fr 36px;
  gap: 60px;
  justify-content: space-between;
  position: relative;
  align-items: center;
  border-bottom: 1px solid var(--color-white);
  padding: 0px 54px 22px 0;
  transition: all 0.2s;
}

.service-item:not(:first-child) {
  padding-top: 27px;
}

.services-list {
  display: flex;
  align-items: center;
  padding: 105px 0;
}

.services-list .services-list--items {
  margin-top: 40px;
}

.service-item::before {
  counter-increment: service;
  content: counter(service, decimal-leading-zero);
  color: var(--color-white);
  font-size: 30px;
  font-weight: 200;
  transition: all 0.2s;
}

.service-item:hover::before {
  color: var(--color-blue);
}

.service-item::after {
  content: " ";
  position: relative;
  display: inline-block;
  width: 36px;
  height: 21px;
  background-image: url(assets/images/right-arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  right: 0;
  transition: right 0.5s, opacity 0.2s;
  opacity: 0;
  visibility: hidden;
}

.service-item:hover::after {
  right: -10px;
  opacity: 1;
  visibility: visible;
}

.service-item h4 {
  color: var(--color-white);
  font-size: 50px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  transition: all 0.2s;
}

.service-item:hover h4 {
  color: var(--color-blue);
}

.service-item:hover {
  border-bottom: 1px solid var(--color-blue);
}

.portfolio {
  padding: 135px 0% 0 0%;
}

.portfolio-content {
  display: grid;
  grid-template-columns: 52% 39%;
  gap: 9%;
  justify-content: space-between;
  margin-bottom: 100px;
}

.primary-button {
  color: var(--color-white);
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: 11px 22px;
  background-color: var(--color-black);
  display: block;
  width: fit-content;
  margin-top: 20px;
  border-radius: 3px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.primary-button span {
  z-index: 2;
  position: relative;
}

.primary-button::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--color-blue);
  transition: 0.3s;
  bottom: 0;
  border-radius: 50% 50% 0 0;
}

.primary-button:hover::before {
  height: 180%;
}

.portfolio-content--text {
  padding: 23px 0;
}

.portfolio-sliders {
  overflow: hidden;
  width: 100%;
}

.marquee {
  width: 100%;
  overflow: hidden;
}

.portfolio-slider {
  display: flex;
  gap: 24px;
}

/* Slider 1: direita → esquerda */
.marquee-right .portfolio-slider {
  animation: marqueeRight 20s linear infinite;
  margin-bottom: 20px;
}

/* Slider 2: esquerda → direita */
.marquee-left .portfolio-slider {
  animation: marqueeLeft 20s linear infinite;
}

@keyframes marqueeRight {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeLeft {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* Evita que os itens encolham e remove gaps */
.portfolio-item {
  margin: 0;
  flex: 0 0 592px;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.certifications {
  padding: 135px 4% 140px 4%;
}

.certifications-grid {
  display: grid;
  grid-template-columns: 61% 1fr;
  gap: 23px;
  align-items: center;
}

.certifications-logos {
  display: flex;
  align-items: center;
  gap: 26px;
}

.certifications-content h3 {
  margin-bottom: 50px;
}

.certifications-content .text-wrapper {
  max-width: 614px;
}

.certifications-list--content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  margin-top: 20px;
}

.certifications-list--content span {
  color: var(--color-grey);
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 181.25%;
}

.service-description-section {
  padding: 250px 5% 0 5%;
}

.service-description-section .container {
  padding-bottom: 135px;
  border-bottom: 1px solid #c8c8c8;
}

.service-description-content {
  margin-top: 35px;
  display: grid;
  grid-template-columns: 47% 37%;
  gap: 16%;
}

.service-description-content figure {
  width: 100%;
  border-radius: 20px;
  position: relative;
  top: 50px;
  transition: all 0.6s;
  z-index: 1;
}

.service-description-content img {
  width: 100%;
  height: auto;
  display: block;
}

.service-description-content--image:hover figure {
  top: 0;
}

.service-description-content--image span,
.archive-portfolio-item-button {
  color: var(--color-black);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 15px;
  position: relative;
  z-index: 0;
  display: flex;
  gap: 10px;
  align-items: center;
}

.service-description-content--image span::before,
.archive-portfolio-item-button::before {
  content: " ";
  position: relative;
  display: inline-block;
  left: 0;
  width: 0;
  height: 14px;
  background-color: var(--color-blue);
  transition: all 0.3s;
}

.service-description-content--image:hover span::before,
.archive-portfolio-item:hover .archive-portfolio-item-button::before {
  width: 14px;
}

.service-description-content figure::after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  border-radius: 20px;
  transition: all 0.6s;
}

.service-description-content--image:hover figure::after {
  opacity: 0;
  visibility: hidden;
}

.service-description-content p {
  margin-bottom: 20px;
}

.service-description-content p strong {
  color: #000;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.service-description-section .title-wrapper {
  max-width: 746px;
}

.more-services {
  padding: 60px 5% 164px 5%;
}

.more-services .container {
  display: grid;
  grid-template-columns: 1fr 46.5%;
  gap: 173px;
}

.more-services-list a {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr 36px;
  gap: 60px;
  align-items: center;
  justify-content: space-between;
}

.more-services-list h4 {
  color: var(--color-grey);
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  transition: all 0.2s;
}

.more-services-list li:hover h4 {
  color: var(--color-blue);
}

.more-services-list li:hover a::after {
  opacity: 1;
  visibility: visible;
  right: 15px;
}

.more-services-list a::before {
  counter-increment: more-service;
  content: counter(more-service, decimal-leading-zero);
  color: var(--color-grey);
  font-size: 20px;
  font-style: normal;
  font-weight: 200;
  line-height: normal;
  transition: all 0.2s;
}

.more-services-list li:hover a::before {
  color: var(--color-blue);
}

.more-services-list a::after {
  content: " ";
  position: relative;
  display: inline-block;
  width: 36px;
  height: 24px;
  background-image: url(assets/images/right-arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  right: 40px;
  transition: right 0.5s, opacity 0.2s;
  opacity: 0;
  visibility: hidden;
}

.more-services-list ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.more-services li {
  padding: 14px 0 22px 0;
  border-bottom: 1px solid var(--color-grey);
  transition: all 0.2s;
  position: relative;
}

.more-services li::after {
  content: " ";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  background-color: var(--color-blue);
  transition: all 0.6s;
  z-index: 1;
}

.more-services li:hover::after {
  width: 100%;
}

.info-page {
  padding: 292px 5% 135px 5%;
  position: relative;
}

.info-page::after {
  content: " ";
  position: absolute;
  right: 0;
  top: 230px;
  background-image: url(assets/images/info-page-after.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
  width: 50%;
  height: 80%;
  z-index: 0;
  pointer-events: none;
}

.info-page::before {
  content: " ";
  position: absolute;
  left: 0;
  bottom: -480px;
  background-image: url(assets/images/info-page-before.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom left;
  width: 66%;
  height: 73%;
  z-index: 0;
  pointer-events: none;
}

.info-page h2 {
  color: var(--color-black);
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 30px 0 20px 0;
}

.info-page h3 {
  color: var(--color-black);
  font-size: 25px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: 20px 0 10px 0;
}

.info-page-content {
  margin-top: 35px;
  position: relative;
  z-index: 1;
}

.single-financing .info-page-content {
  margin-top: 0;
}

.info-page-content p,
.info-page-content li {
  color: var(--color-black);
  font-size: 20px;
  font-weight: 400;
  line-height: 145%;
}

.info-page-content p {
  margin-bottom: 10px;
}

.info-page.whistle p:first-child {
  margin-bottom: 35px;
}

.info-page.whistle p {
  margin-bottom: 15px;
}

.page-template-page-whistleblowing-channel .info-page-content ul {
  margin: 10px 0;
}

.info-page-content ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: disc;
  margin: 10px 0 10px 20px;
}

.info-page-content ol {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 10px 0 10px 20px;
}

.info-page.whistle li {
  display: flex;
  gap: 20px;
}

.single-financing .info-page img:nth-of-type(1) {
  margin-top: 35px;
}

.single-financing .info-page img:nth-of-type(1),
.single-financing .info-page p {
  margin-bottom: 20px;
}

.single-financing h1 {
  color: #000;
  font-size: 30px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 20px;
}

.info-page.whistle li::before {
  counter-increment: info-list;
  content: counter(info-list, decimal-leading-zero) ".";
  color: var(--color-grey);
  font-size: 20px;
  font-style: normal;
  font-weight: 200;
  line-height: normal;
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 35px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
  row-gap: 15px;
}

.custom-input {
  position: relative;
  width: 100%;
}

.custom-input label {
  position: absolute;
  left: 15px;
  top: 15px;
  color: var(--color-grey);
  font-size: 20px;
  font-weight: 400;
  line-height: 145%;
}

.custom-input input,
.custom-input textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--color-grey);
  padding: 15px;
  color: var(--color-grey);
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 145%;
  resize: none;
}

.custom-input:focus-within label {
  opacity: 0;
  pointer-events: none;
}

.custom-input input:not(:placeholder-shown) + label,
.custom-input textarea:not(:placeholder-shown) + label {
  opacity: 0;
}

.custom-input input.error,
.custom-input textarea.error {
  border: 1px solid red;
}

.custom-input textarea {
  height: 160px;
}

.response-ajax {
  font-size: 15px;
}

.response-ajax.error {
  color: red;
}

.success-form-message {
  color: var(--color-blue);
}

.custom-form input[type="submit"] {
  color: #fff;
  text-align: center;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border: none;
  background-color: var(--color-black);
  width: fit-content;
  padding: 11px 22px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
}

.custom-form input[type="submit"]:hover {
  background-color: var(--color-blue);
}

.not-found {
  padding: 300px 5% 135px 5%;
  position: relative;
}

.not-found::after {
  content: " ";
  position: absolute;
  right: 0;
  top: 0;
  width: 30%;
  height: 150%;
  background-image: url(assets/images/not-found-after.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
}

.not-found h1 {
  margin-bottom: 35px;
}

.not-found h2 {
  color: var(--color-black);
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 20px;
}

.portfolio-intro {
  padding: 250px 5% 140px 5%;
}

.portfolio-intro-grid {
  display: grid;
  grid-template-columns: 1fr 39%;
  gap: 5%;
}

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

.portfolio-column {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 589px 442px;
  gap: 24px;
  position: relative;
}

.portfolio-column.reverse {
  grid-template-rows: 442px 589px;
}

.portfolio-intro-grid .main-text {
  margin-top: 23px;
}

.archive-portfolio-item figure {
  height: 93%;
  width: 100%;
  transform: translateY(42px);
  transition: all 0.7s;
  position: relative;
  z-index: 1;
  border-radius: 10px;
}

.archive-portfolio-item figure::after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 10px;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  transition: all 0.6s;
}

.archive-portfolio-item:hover figure::after {
  opacity: 0;
}

.archive-portfolio-item img {
  height: 100%;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.archive-portfolio-item:hover figure {
  transform: translateY(0%);
}

.archive-portfolio-item {
  position: relative;
  cursor: pointer;
}

.archive-portfolio-item-button {
  position: absolute;
  left: 0;
  bottom: -6px;
  margin-top: 0;
}

.portfolio-list {
  padding: 0 1% 134px 1%;
}

.portfolio-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 19;
  transition: all 0.3s;
}

.portfolio-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: calc(100vh - 100px);
  max-width: 81%;
  width: 100%;
  z-index: 20;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.portfolio-modal figure {
  height: 100%;
  overflow: hidden;
}

.portfolio-modal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px 30px 0 0;
  display: flex;
}

.portfolio-modal-content {
  background-color: var(--color-black);
  padding: 33px 54px 62px 54px;
  border-radius: 0 0 30px 30px;
  position: relative;
  top: -1px;
}

.portfolio-modal-content span {
  color: var(--color-white);
  margin-bottom: 15px;
}

.portfolio-modal-content p {
  color: #fff;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 145%;
}

.hidden {
  visibility: hidden;
  opacity: 0;
}

/* 
@media screen and (max-width: 1980px) {
}

@media screen and (max-width: 1800px) {
} */

@media screen and (max-width: 1720px) {
  .menu-top > li > a,
  .header-navigation a {
    font-size: 19px;
  }

  .header-navigation {
    gap: 40px;
  }

  .banner h1,
  .big-title {
    font-size: 90px;
  }

  .banner .container {
    padding: 0 calc(5% - 25px);
  }

  .service-item h4 {
    font-size: 45px;
  }

  .service-item::before {
    font-size: 27px;
  }

  .portfolio .container {
    margin: 0 4%;
  }

  .service-description-content p strong {
    font-size: 28px;
  }
}

@media screen and (max-width: 1680px) {
  .menu-top {
    gap: 35px;
  }

  .about {
    padding: 100px 4% 130px 4%;
  }

  .big-text,
  .big-text p {
    font-size: 28px;
  }

  .portfolio .container {
    margin: 0 4%;
  }

  .banner h1,
  .big-title {
    font-size: 83px;
  }

  .service-item h4 {
    font-size: 43px;
  }

  .certifications-grid {
    grid-template-columns: 1fr 1fr;
  }

  .certifications-logos {
    justify-content: center;
  }

  footer > .container {
    margin: 0 4%;
  }

  .footer-links {
    padding: 20px 4%;
  }

  .portfolio-content {
    grid-template-columns: 50% 41%;
    margin-bottom: 70px;
  }

  .portfolio {
    padding: 100px 0 0 0;
  }

  .service-description-content {
    gap: 10%;
    grid-template-columns: 47% 43%;
  }

  .more-services-list h4 {
    font-size: 27px;
  }

  .info-page h2 {
    font-size: 27px;
  }

  .info-page-content p,
  .info-page-content li {
    font-size: 19px;
  }

  .info-page h3 {
    font-size: 23px;
  }

  .mega-services-wrapper {
    max-width: 1380px;
    height: 570px;
  }

  .service-thumbs {
    flex: 0 0 50%;
  }

  .services-submenu li a {
    font-size: 25px;
  }
}

@media screen and (max-width: 1540px) {
  .banner h1,
  .big-title {
    font-size: 78px;
  }

  .main-text,
  .main-text p {
    font-size: 19px;
  }

  .big-text,
  .big-text p {
    font-size: 26px;
  }

  .main-text,
  .main-text p {
    font-size: 18px;
  }

  .about-grid {
    gap: 110px;
  }

  .service-item h4 {
    font-size: 40px;
  }

  .certifications {
    padding: 100px 4%;
  }

  .custom-logo-link {
    max-width: 95px;
    display: block;
  }

  .custom-logo-link svg {
    width: 100%;
  }

  header {
    padding: 0 5%;
  }

  .menu-top {
    gap: 25px;
  }

  .menu-top > li > a,
  .header-navigation a {
    font-size: 18px;
  }

  .about {
    padding: 100px 4%;
  }

  .footer-grid {
    grid-template-columns: 40% 1fr;
  }

  address span,
  footer .contacts a {
    font-size: 17px;
  }

  .service-description-content--image span,
  .archive-portfolio-item-button {
    font-size: 18px;
  }

  .more-services-list h4 {
    font-size: 26px;
  }

  .single-financing h1 {
    font-size: 27px;
  }

  .portfolio-column {
    grid-template-rows: 550px 400px;
  }

  .portfolio-column.reverse {
    grid-template-rows: 400px 550px;
  }

  .services-submenu li a {
    font-size: 23px;
  }

  .mega-services-wrapper {
    max-width: 1280px;
    height: 570px;
  }
}

@media screen and (max-width: 1440px) {
  .menu-top > li > a,
  .header-navigation a {
    font-size: 17px;
  }

  .banner h1,
  .big-title {
    font-size: 68px;
  }

  .banner .container {
    grid-template-columns: 60% 1fr;
    gap: 40px;
  }

  .big-text,
  .big-text p {
    font-size: 24px;
  }

  .about {
    padding: 80px 4%;
  }

  .service-item h4 {
    font-size: 35px;
  }

  .primary-button {
    font-size: 17px;
  }

  .portfolio-item {
    flex: 0 0 480px;
  }

  .main-text,
  .main-text p {
    font-size: 17px;
  }

  .certifications-list--content span {
    font-size: 15px;
  }

  .certifications-logos img {
    width: 90%;
  }

  .service-description-content p strong {
    font-size: 26px;
  }

  .service-description-content {
    gap: 7%;
    grid-template-columns: 47% 46%;
  }

  .more-services-list h4 {
    font-size: 25px;
  }

  .info-page h2 {
    font-size: 25px;
  }

  .info-page-content p,
  .info-page-content li {
    font-size: 18px;
  }

  .info-page h3 {
    font-size: 21px;
  }

  .single-financing h1 {
    font-size: 26px;
  }

  .not-found h2 {
    font-size: 27px;
  }

  .not-found h1 {
    margin-bottom: 25px;
  }

  .portfolio-intro {
    padding: 250px 5% 100px 5%;
  }

  .portfolio-list {
    padding: 0 3% 100px 3%;
  }

  .custom-input label,
  .custom-input input,
  .custom-input textarea {
    font-size: 17px;
  }

  .mega-services-wrapper {
    max-width: 1200px;
    height: 520px;
  }

  .services-submenu li a span {
    min-width: 340px;
  }

  .services-submenu {
    padding: 40px 50px 40px 0;
  }

  .service-thumbs {
    flex: 0 0 45%;
  }

  .footer-logo {
    max-width: 400px;
  }
}

@media screen and (max-width: 1376px) {
  .banner h1 {
    font-size: 63px;
  }

  .big-title {
    font-size: 60px;
  }

  .big-text,
  .big-text p {
    font-size: 22px;
  }

  .main-text,
  .main-text p {
    font-size: 16px;
  }

  .service-item h4 {
    font-size: 28px;
  }

  .certifications-logos img {
    width: 85%;
  }

  .services-list {
    padding: 75px 0;
  }

  .portfolio-content {
    grid-template-columns: 45% 46%;
    margin-bottom: 30px;
  }

  .portfolio-item {
    flex: 0 0 380px;
  }

  .service-item::before {
    font-size: 23px;
  }

  .services-grid {
    gap: 60px;
  }

  .service-images::after {
    width: 30px;
    height: 17px;
  }

  .primary-button {
    font-size: 15px;
  }

  .certifications-grid {
    grid-template-columns: 54% 1fr;
  }

  .service-description-content p strong {
    font-size: 23px;
  }

  .service-description-section .container {
    padding-bottom: 100px;
  }

  .service-description-section {
    padding: 230px 5% 0 5%;
  }

  .more-services {
    padding: 60px 5% 70px 5%;
  }

  .info-page {
    padding: 250px 5% 135px 5%;
  }

  .info-page h2 {
    font-size: 24px;
  }

  .info-page h3 {
    font-size: 20px;
  }

  .single-financing h1 {
    font-size: 25px;
  }

  .not-found h2 {
    font-size: 25px;
  }

  .not-found {
    padding: 260px 5% 100px 5%;
  }

  .about {
    padding: 60px 4%;
  }

  .portfolio {
    padding: 70px 0 0 0;
  }

  .certifications {
    padding: 70px 4%;
  }

  .portfolio-intro {
    padding: 230px 5% 50px 5%;
  }

  .portfolio-intro-grid {
    grid-template-columns: 1fr 45%;
  }

  .custom-form input[type="submit"] {
    font-size: 17px;
  }

  .services-submenu .big-title {
    display: none;
  }

  .mega-services-wrapper {
    max-width: 1100px;
    height: 416px;
    gap: 40px;
  }

  .services-submenu li a {
    font-size: 20px;
  }

  .services-submenu {
    display: flex;
    align-items: center;
  }

  .services-list-submenu {
    width: 100%;
  }

  .services-submenu li a::before {
    font-size: 18px;
  }

  .portfolio-modal-content p {
    font-size: 18px;
  }

  .banner {
    padding: 200px 0 60px 0;
  }

  .more-services-list h4 {
    font-size: 23px;
  }
  .footer-grid {
    grid-template-columns: 48% 1fr;
  }
}

@media screen and (max-width: 1280px) {
  .banner h1 {
    font-size: 58px;
  }

  .banner .container {
    grid-template-columns: 55% 1fr;
    gap: 40px;
  }

  .big-text,
  .big-text p {
    font-size: 21px;
  }

  .about-grid {
    gap: 80px;
  }

  .service-item h4 {
    font-size: 27px;
  }

  .big-title {
    font-size: 52px;
  }

  .footer-grid {
    grid-template-columns: 44% 1fr;
  }

  .footer-logos {
    padding-right: 0;
  }

  address span,
  footer .contacts a {
    font-size: 15px;
  }

  .footer-logo {
    max-width: 360px;
  }

  .footer-info .main-h2 {
    margin-bottom: 15px;
  }

  .footer-logos img {
    width: 100%;
    object-fit: contain;
  }

  .footer-grid {
    grid-template-columns: 50% 1fr;
    column-gap: 70px;
    row-gap: 30px;
  }

  .service-description-content p strong {
    font-size: 23px;
  }

  .service-description-content--image span,
  .archive-portfolio-item-button {
    font-size: 16px;
  }

  .more-services-list h4 {
    font-size: 24px;
  }

  .more-services .container {
    grid-template-columns: 1fr 55%;
  }

  .not-found h2 {
    font-size: 23px;
  }

  .portfolio-column {
    grid-template-rows: 500px 350px;
  }

  .portfolio-column.reverse {
    grid-template-rows: 350px 500px;
  }

  .mega-services-wrapper {
    max-width: 950px;
    height: 390px;
  }

  .services-submenu li a {
    font-size: 18px;
  }
  .certifications-list--content span {
    font-size: 14px;
  }

  .service-item {
    gap: 30px;
  }

  .more-services-list a {
    gap: 30px;
  }
}

@media screen and (max-width: 1180px) {
  .banner h1 {
    font-size: 50px;
  }

  .menu-top > li > a,
  .header-navigation a {
    font-size: 16px;
  }

  .menu-top .main-button a {
    padding: 8px 16px;
  }

  .custom-logo-link {
    max-width: 95px;
    display: block;
  }

  .custom-logo-link svg {
    width: 100%;
  }

  .big-text,
  .big-text p {
    font-size: 20px;
  }

  .main-text,
  .main-text p {
    font-size: 15px;
  }

  .service-item h4 {
    font-size: 26px;
  }

  .main-h2 {
    font-size: 15px;
  }

  .portfolio-item {
    flex: 0 0 370px;
  }

  .footer-info .main-h2 {
    margin-bottom: 20px;
  }

  .more-services .container {
    grid-template-columns: 1fr 52%;
  }

  .info-page h2 {
    font-size: 22px;
  }

  .info-page-content p,
  .info-page-content li {
    font-size: 17px;
  }

  .not-found {
    padding: 230px 5% 100px 5%;
  }

  .portfolio-intro-grid {
    grid-template-columns: 1fr 50%;
  }

  .portfolio-column {
    grid-template-rows: 450px 300px;
  }

  .portfolio-column.reverse {
    grid-template-rows: 300px 450px;
  }
}

@media screen and (max-width: 1024px) {
  .banner {
    padding: 150px 0 60px 0;
  }

  .banner .container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-grid {
    padding-right: 0;
    gap: 60px;
  }

  .about {
    padding: 50px 4%;
  }

  .big-text,
  .big-text p {
    font-size: 18px;
  }

  .service-item h4 {
    font-size: 24px;
  }

  .service-item {
    padding: 0 50px 15px 0;
  }

  .big-title {
    font-size: 45px;
  }

  .portfolio-content {
    grid-template-columns: 45% 50%;
    gap: 5%;
  }

  .service-item::after {
    width: 30px;
    height: 17px;
  }

  address span,
  footer .contacts a {
    font-size: 14px;
  }

  .footer-links .container > div {
    column-gap: 25px;
    row-gap: 15px;
  }

  .service-description-content--image span,
  .archive-portfolio-item-button {
    font-size: 15px;
  }

  .footer-logo {
    max-width: 300px;
  }
  .portfolio-slider {
    gap: 20px;
  }

  .footer-links a {
    font-size: 11px;
  }

  .service-description-content {
    gap: 40px;
    grid-template-columns: 1fr;
  }

  .service-description-section .container {
    padding-bottom: 50px;
  }

  .service-description-content figure {
    top: 0;
  }

  .service-description-content figure::after {
    display: none;
  }

  .service-description-content--image span::before {
    width: 14px;
  }

  .service-description-content p strong {
    font-size: 22px;
  }

  header {
    top: 40px;
  }

  .service-description-section {
    padding: 200px 5% 0 5%;
  }

  .more-services .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .more-services-list h4 {
    font-size: 24px;
  }

  .info-page {
    padding: 220px 5% 100px 5%;
  }

  .info-page h2 {
    font-size: 21px;
  }

  .info-page h3 {
    font-size: 19px;
  }

  .single-financing h1 {
    font-size: 23px;
  }

  .not-found h1 {
    margin-bottom: 15px;
  }

  .portfolio-intro {
    padding: 200px 5% 50px 5%;
  }

  .portfolio-column {
    grid-template-rows: 400px 250px;
  }

  .portfolio-column.reverse {
    grid-template-rows: 250px 400px;
  }

  .custom-input label,
  .custom-input input,
  .custom-input textarea {
    font-size: 15px;
  }

  .mega-services-wrapper {
    max-width: 800px;
  }

  .services-submenu li a span {
    min-width: 240px;
  }

  .portfolio-modal-content p {
    font-size: 17px;
  }

  .portfolio-modal-content {
    padding: 30px 40px 50px 40px;
  }

  .certifications-logos img {
    width: 100%;
  }
  .primary-button {
    font-size: 14px;
  }
}

@media screen and (max-width: 926px) {
  .banner h1 {
    font-size: 48px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 100%;
    gap: 0;
    min-height: fit-content;
  }

  .services {
    min-height: auto;
  }

  .service-images {
    display: none;
  }

  .services-list {
    padding: 70px 4%;
  }

  .services-list > div {
    width: 100%;
  }

  .portfolio-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .portfolio-content--text {
    padding: 0;
  }

  .primary-button {
    font-size: 14px;
  }

  .portfolio-item {
    flex: 0 0 325px;
  }

  .certifications {
    padding: 70px 5%;
  }

  .certifications-list--content span {
    font-size: 14px;
  }

  .call-to-national {
    font-size: 10px;
  }

  .footer-grid {
    grid-template-columns: 53% 1fr;
    column-gap: 40px;
    column-gap: 20px;
  }

  .footer-logo {
    max-width: 300px;
  }

  .footer-info .main-h2 {
    margin-bottom: 10px;
  }

  .service-description-content p strong {
    font-size: 21px;
  }
}

@media screen and (max-width: 850px) {
  .banner h1 {
    font-size: 45px;
  }

  .about-intro p:not(:last-of-type),
  .about-content p:not(:last-of-type) {
    margin-bottom: 10px;
  }

  .about {
    padding: 30px 4% 50px 4%;
  }

  .service-item h4 {
    min-width: 600px;
  }

  .service-item::before {
    font-size: 20px;
  }

  .services-list {
    padding: 50px 4%;
  }

  .main-h2::before {
    width: 12px;
    height: 12px;
  }

  .portfolio {
    padding: 50px 0 0 0;
  }

  .certifications {
    padding: 50px 4%;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .certifications-content .text-wrapper {
    max-width: 100%;
  }

  .certifications-content h3 {
    margin-bottom: 30px;
  }

  .big-title {
    font-size: 40px;
  }

  .footer-info {
    gap: 20px;
  }

  footer > .container {
    padding: 50px 0;
  }

  .more-services-list h4 {
    font-size: 22px;
  }

  .more-services {
    padding: 60px 5%;
  }

  .more-services-list ul {
    gap: 10px;
  }

  .more-services-list h4 {
    font-size: 20px;
  }

  .info-page h2 {
    font-size: 20px;
  }

  .info-page-content p,
  .info-page-content li {
    font-size: 16px;
  }

  .info-page h3 {
    font-size: 18px;
  }

  .portfolio-intro-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-intro-grid .main-text {
    margin-top: 20px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .info-page.whistle li::before {
    font-size: 15px;
  }

  .info-page.whistle li {
    gap: 10px;
  }

  .custom-form input[type="submit"] {
    font-size: 15px;
  }

  .mega-services-wrapper {
    max-width: 650px;
    height: 345px;
  }

  .services-submenu li a span {
    min-width: 162px;
  }
  .certifications-logos img {
    width: 85%;
  }
}

@media screen and (max-width: 768px) {
  .banner {
    margin: 20px;
  }

  .banner h1 {
    font-size: 40px;
  }

  .big-text,
  .big-text p {
    font-size: 18px;
  }

  .service-item h4 {
    font-size: 23px;
  }

  .header-navigation {
    position: absolute;
    top: -40px;
    right: -100vw;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-white);
    transition: all 0.4s;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 95px;
    z-index: 20;
  }

  .mega-services-wrapper {
    opacity: 1;
    visibility: visible;
    position: relative;
    left: auto;
    top: auto;
    max-width: 100%;
    background-color: transparent;
    transform: none;
    height: fit-content;
    padding: 20px 0 0 15px;
    box-shadow: none;
  }

  .menu-services {
    width: 100%;
  }

  .menu-top li > a:not(.main-button a)::before {
    background-color: transparent;
  }

  .page-template-front-page .menu-top li > a:not(.main-button a)::before {
    background-color: transparent;
  }

  .services-submenu {
    padding: 0;
  }

  .page-template-front-page .menu-top .main-button a {
    color: var(--color-white);
  }

  .main-button {
    width: 100%;
  }

  .menu-top > li > a:not(.main-button a),
  .page-template-front-page .header-navigation .languages a {
    color: #000;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }

  .services-submenu li a span {
    min-width: 470px;
  }

  .page-template-front-page .menu-top .main-button a,
  .main-button a {
    width: 100%;
    background-color: var(--color-black);
    display: block;
    border-radius: 3px;
    text-align: center;
  }

  .header-navigation .languages a:not(:first-child)::before {
    background-color: var(--color-black);
  }

  .menu-top > li > a:not(.main-button a),
  .page-template-front-page .services-submenu li a,
  .page-template-front-page .header-navigation .languages a {
    color: var(--color-black);
  }

  .menu-top > li > a,
  .header-navigation a {
    font-size: 18px;
  }

  .service-thumbs {
    display: none;
  }

  .mega-services-wrapper::before {
    display: none;
  }

  .menu-top {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .menu-top > li > a:not(.main-button a)::before {
    display: none;
  }

  .header-navigation.active {
    right: 0;
  }

  .btn-mobile {
    display: block;
    z-index: 21;
  }

  .btn-mobile.active span {
    background-color: var(--color-black);
  }

  .big-title {
    font-size: 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-logos {
    grid-area: auto;
  }

  .footer-logos {
    justify-self: start;
    grid-area: 3 / 1 / 4 / 2;
  }

  .footer-links .container {
    flex-direction: column;
    gap: 20px;
  }

  .footer-links .container > a {
    width: fit-content;
    align-self: end;
  }

  .service-description-content--image span,
  .archive-portfolio-item-button {
    font-size: 15px;
  }

  .service-description-content--image span::before {
    width: 12px;
    height: 12px;
  }

  .service-description-content p strong {
    font-size: 20px;
  }

  .more-services-list a::before {
    font-size: 18px;
  }

  .info-page {
    padding: 180px 5% 90px 5%;
  }

  .not-found {
    padding: 200px 5% 80px 5%;
  }

  .not-found h2 {
    font-size: 21px;
    margin-bottom: 10px;
  }

  .banner .container {
    padding: 0 5%;
  }

  header {
    padding: 0 5%;
  }

  .page-template-front-page header {
    padding: 0 calc(5% + 20px);
  }

  .menu-top {
    gap: 30px;
  }

  .header-navigation .languages {
    padding-top: 10px;
  }

  .services-submenu li a::after {
    display: none;
  }
}

@media screen and (max-width: 670px) {
  .banner h1 {
    font-size: 37px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .big-text,
  .big-text p {
    font-size: 17px;
  }

  .service-item h4 {
    min-width: 450px;
  }

  .more-services .container {
    gap: 30px;
  }

  .more-services {
    padding: 50px 5%;
  }

  .more-services-list a::after {
    width: 26px;
    height: 15px;
  }

  .service-description-section .container {
    padding-bottom: 30px;
  }

  .info-page h2 {
    margin: 20px 0 10px 0;
  }

  .portfolio-column {
    grid-template-rows: 350px 200px;
  }

  .portfolio-column.reverse {
    grid-template-rows: 200px 350px;
  }

  .services-submenu li a span {
    min-width: 380px;
  }
}

@media screen and (max-width: 570px) {
  .custom-logo-link {
    max-width: 65px;
    display: block;
  }

  .banner h1 {
    font-size: 34px;
  }

  .service-item h4 {
    min-width: 300px;
  }

  .portfolio-slider {
    gap: 15px;
  }

  .service-item h4 {
    font-size: 21px;
  }

  .portfolio-item {
    flex: 0 0 260px;
  }

  .main-h2 {
    font-size: 14px;
  }

  header {
    top: 20px;
  }

  .header-navigation {
    top: -20px;
  }

  .menu-top {
    gap: 20px;
  }

  .services-submenu li a::before {
    font-size: 15px;
  }

  .menu-top > li > a,
  .header-navigation a {
    font-size: 17px;
  }

  .services-submenu li a {
    font-size: 16px;
  }

  .services-submenu li {
    padding-bottom: 10px;
  }

  .service-description-section {
    padding: 160px 5% 0 5%;
  }

  .service-description-section {
    padding: 145px 5% 0 5%;
  }

  .main-h2 {
    gap: 10px;
  }

  .info-page h2 {
    font-size: 18px;
  }

  .info-page {
    padding: 160px 5% 50px 5%;
  }

  .info-page-content p,
  .info-page-content li {
    font-size: 14px;
  }

  .info-page h3 {
    font-size: 17px;
    margin: 10px 0;
  }

  .single-financing h1 {
    font-size: 21px;
  }

  .not-found h2 {
    font-size: 18px;
  }

  .portfolio-intro {
    padding: 160px 5% 30px 5%;
  }

  .portfolio-list {
    padding: 0 5% 50px 5%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .custom-input label,
  .custom-input input,
  .custom-input textarea {
    font-size: 14px;
  }

  .header-navigation {
    padding: 130px 30px 30px 30px;
  }

  .portfolio-modal-content p {
    font-size: 15px;
  }

  .portfolio-modal-content {
    padding: 30px 25px 40px 25px;
  }
  .info-page::before {
    display: none;
  }

  .big-title {
    font-size: 36px;
  }

  .certifications-list--content {
    margin-top: 15px;
  }
  .footer-logo {
    max-width: 260px;
  }
}

@media screen and (max-width: 460px) {
  .banner {
    margin: 15px;
    padding: 150px 0 40px 0;
  }

  .service-item h4 {
    font-size: 20px;
  }

  .service-item:not(:first-child) {
    padding-top: 20px;
  }

  header {
    padding: 0 5%;
  }

  .banner h1 {
    font-size: 30px;
  }
  .service-item h4 {
    min-width: 277px;
  }

  .service-item {
    padding: 0 0px 15px 0;
  }

  .service-item::after {
    right: 10px;
  }

  .service-item:hover::after {
    right: 0;
  }

  .big-title {
    font-size: 28px;
  }

  .certifications-grid {
    gap: 30px;
  }

  .portfolio-content {
    gap: 20px;
  }

  address span,
  footer .contacts a {
    font-size: 12px;
  }

  footer .contacts .mail {
    margin-top: 15px;
  }

  .footer-logo {
    max-width: 220px;
  }

  .service-description-content p strong {
    font-size: 16px;
  }

  .service-description-content {
    gap: 20px;
  }

  .more-services-list h4 {
    font-size: 17px;
  }

  .main-h2 {
    margin-bottom: 15px;
  }

  .service-description-content--image span,
  .archive-portfolio-item-button {
    font-size: 13px;
  }

  .info-page-content {
    margin-top: 0;
  }

  .portfolio-column {
    grid-template-rows: 300px 200px;
  }

  .portfolio-column.reverse {
    grid-template-rows: 200px 300px;
  }

  .portfolio-intro {
    padding: 160px 5% 30px 5%;
  }

  .archive-portfolio-item figure {
    transform: none;
  }

  .archive-portfolio-item-button {
    bottom: 0;
    position: relative;
  }

  .archive-portfolio-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .archive-portfolio-item-button::before {
    width: 12px;
    height: 12px;
  }

  .archive-portfolio-item figure::after {
    display: none;
  }

  .banner .container {
    padding: 0 5%;
  }

  .page-template-front-page header {
    padding: 0 calc(5% + 15px);
  }

  .services-submenu li a span {
    min-width: 280px;
  }

  .portfolio-modal-content p {
    font-size: 14px;
  }

  .menu-top > li > a:not(.main-button a),
  .page-template-front-page .header-navigation .languages a {
    font-size: 17px;
  }

  address span,
  footer .contacts a {
    font-size: 13px;
  }

  .certifications-logos img {
    width: 100%;
  }
  .service-item {
    gap: 15px;
  }

  .more-services-list a {
    grid-template-columns: 20px 1fr 36px;
    gap: 15px;
  }
}

/* @media screen and (max-width: 390px) {
} */
