@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");

:root {
  --header-height: 4rem;

  --first-color: #f5b84b;
  --second-color: #f5b84b;
  --first-gradient: linear-gradient(135deg, #f59e0b, #facc15);

  --title-color: hsl(0, 0%, 100%);
  --text-color: hsl(255, 8%, 78%);
  --text-color-light: hsl(255, 8%, 72%);
  --body-color: hsl(255, 24%, 7%);
  --container-color: rgba(255, 255, 255, 0.075);
  --white-color: hsl(0, 0%, 100%);
  --black-color: hsl(255, 24%, 7%);
  --gray-border: rgba(255, 255, 255, 0.12);

  --body-font: "Montserrat", sans-serif;

  --big-font-size: 2.55rem;
  --h1-font-size: 1.75rem;
  --h2-font-size: 1.3rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;

  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 800;

  --radius-sm: .75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;

  --shadow-soft: 0 18px 45px hsla(255, 30%, 3%, .28);
  --shadow-strong: 0 28px 80px hsla(255, 30%, 2%, .42);
  --shadow-glow: 0 0 35px hsla(38, 100%, 50%, .18);

  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 1150px) {
  :root {
    --big-font-size: 3.6rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 1.65rem;
    --h3-font-size: 1.2rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--text-color);
  background:
    radial-gradient(circle at 15% 20%, rgba(245, 184, 75, 0.12), transparent 28rem),
    radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.10), transparent 32rem),
    radial-gradient(circle at 45% 85%, rgba(16, 185, 129, 0.06), transparent 34rem),
    linear-gradient(135deg, #111827 0%, #1f2937 45%, #111827 100%);
  background-attachment: fixed;
  background-size: 140% 140%, 150% 150%, 160% 160%, 150% 150%, 180% 180%;
  background-repeat: no-repeat;
  animation: lavaBackground 12s ease-in-out infinite alternate;
}

@keyframes lavaBackground {
  0% {
    background-position:
      0% 20%,
      100% 30%,
      50% 100%,
      80% 80%,
      0% 50%;
  }

  50% {
    background-position:
      35% 45%,
      70% 15%,
      60% 70%,
      40% 55%,
      100% 50%;
  }

  100% {
    background-position:
      10% 75%,
      90% 60%,
      35% 35%,
      65% 25%,
      50% 100%;
  }
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  position: relative;
  padding-block: 6rem 2rem;
  overflow: hidden;
  background: transparent;
}

.section__title,
.section__subtitle {
  text-align: center;
}

.section__title {
  font-size: var(--h1-font-size);
  line-height: 1.15;
  margin-bottom: 1.75rem;
  color: var(--white-color);
}

.section__subtitle {
  display: block;
  color: var(--second-color);
  font-weight: var(--font-bold);
  letter-spacing: .12rem;
  text-transform: uppercase;
  font-size: var(--small-font-size);
  margin-bottom: .75rem;
}

.main {
  overflow: hidden;
}

/* HEADER */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  background: linear-gradient(180deg,
      rgba(7, 5, 15, 0.88) 0%,
      rgba(7, 5, 15, 0.58) 55%,
      rgba(7, 5, 15, 0) 100%);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  z-index: var(--z-fixed);
}

.header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1120px, calc(100% - 3rem));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 170, 1, 0.35), transparent);
}

.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
}

.nav__logo-img {
  height: 54px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(255, 170, 1, 0.12));
}

.nav__toggle,
.nav__close {
  color: var(--white-color);
  font-size: 1.65rem;
  cursor: pointer;
  transition: color .3s, transform .3s;
}

.nav__toggle:hover,
.nav__close:hover {
  color: var(--second-color);
  transform: scale(1.08);
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
}

.nav__link {
  position: relative;
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.14);
  transition: color .3s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.55rem;
  width: 0;
  height: 2px;
  border-radius: 2rem;
  background: var(--second-color);
  box-shadow: 0 0 14px hsla(38, 100%, 50%, .8);
  transition: width .3s;
}

.nav__link:hover,
.active-link {
  color: var(--second-color);
}

.nav__link:hover::after,
.active-link::after {
  width: 100%;
}

.nav__link.button::after {
  display: none;
}

.nav__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
}

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--first-gradient);
  color: var(--white-color);
  font-weight: var(--font-bold);
  padding: 1rem 1.75rem;
  border-radius: 999px;
  box-shadow: 0 14px 32px hsla(18, 95%, 55%, .3);
  transition: transform .3s, box-shadow .3s, filter .3s;
}

.button:hover {
  transform: translateY(-4px);
  filter: brightness(1.05);
  box-shadow: 0 20px 50px hsla(38, 100%, 50%, .34);
}

.button__link {
  display: inline-flex;
  align-items: center;
  column-gap: .35rem;
  color: var(--second-color);
  font-weight: var(--font-bold);
  transition: column-gap .3s, color .3s;
}

.button__link:hover {
  column-gap: .7rem;
  color: var(--white-color);
}

/* HOME */
.home,
.about,
.services,
.projects,
.contact,
.footer {
  background: transparent;
}

.home {
  color: var(--white-color);
}

.home__container {
  position: relative;
  row-gap: 3.5rem;
  padding-block: 5rem 6rem;
}

.home__content {
  row-gap: 2.75rem;
}

.home__title {
  color: var(--white-color);
  font-size: var(--big-font-size);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.08rem;
  text-shadow: 0 0 38px hsla(38, 100%, 50%, .16);
}

.home__description {
  color: var(--text-color-light);
  line-height: 1.8;
  margin-block: 1.25rem 2.25rem;
  max-width: 520px;
}

.home__buttons,
.home__info {
  display: flex;
  flex-wrap: wrap;
}

.home__buttons {
  align-items: center;
  gap: 1rem;
}

.home__info {
  gap: 1rem;
}

.home__info>div {
  width: 150px;
  min-width: 150px;
  flex: 0 0 150px;
  padding: 1.25rem;
  border: 1px solid var(--gray-border);
  background: var(--container-color);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.home__info-title {
  min-height: 1.2em;
  white-space: nowrap;
  color: var(--second-color);
  font-size: var(--h1-font-size);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  text-align: left;
  text-shadow: 0 0 18px hsla(38, 100%, 50%, .34);
}

.home__info-title span {
  display: inline-block;
  min-width: 0;
  text-align: left;
}

.home__info-description {
  color: var(--white-color);
  font-size: var(--small-font-size);
  line-height: 1.5;
  text-align: left;
}

.home__images,
.about__images {
  position: relative;
  justify-self: center;
}

.home__img-1,
.home__img-2,
.about__img-1,
.about__img-2 {
  box-shadow: var(--shadow-strong), var(--shadow-glow);
}

.home__img-1 {
  width: 250px;
  margin-left: 3.5rem;
  border-radius: var(--radius-lg);
}

.home__img-2 {
  width: 150px;
  border: 6px solid #08050d;
  border-radius: var(--radius-md);
  position: absolute;
  left: 0;
  bottom: -3.5rem;
}

/* ABOUT */
.about__container {
  row-gap: 4rem;
}

.about__data {
  text-align: center;
}

.about__description {
  color: var(--text-color-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about__list {
  margin-bottom: 2.5rem;
  row-gap: 1rem;
}

.about__list-item {
  display: flex;
  align-items: center;
  column-gap: .75rem;
  padding: .95rem 1rem;
  background: var(--container-color);
  border: 1px solid var(--gray-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-sm);
  color: var(--text-color-light);
}

.about__list-item i {
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.35rem;
  filter: none;
  transition: color .9s ease, filter .9s ease, transform .9s ease;
}

.about__list-item.is-visible i {
  color: var(--first-color);
  filter: drop-shadow(0 0 10px hsla(38, 100%, 50%, .45));
  transform: scale(1.08);
}

.about__list-item {
  transition: border-color .9s ease, background .9s ease, transform .9s ease;
}

.about__list-item.is-visible {
  border-color: hsla(38, 100%, 50%, .38);
  background: rgba(255, 255, 255, 0.085);
}

.about__img-1,
.about__img-2 {
  border-radius: var(--radius-lg);
}

.about__img-1 {
  width: 280px;
}

.about__img-2 {
  width: 180px;
  border: 6px solid #08050d;
  position: absolute;
  right: -2rem;
  bottom: -3rem;
}

/* SERVICES */
.services .section__title,
.services__description {
  color: var(--white-color);
}

.services__container {
  row-gap: 3rem;
}

.services__data {
  text-align: center;
}

.services__description {
  color: var(--text-color-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.services__swiper {
  width: 100%;
  overflow: visible;
}

.services__swiper .swiper-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.services__card {
  width: 100% !important;
  height: auto !important;
  min-height: 185px !important;
  padding: 0 !important;
  perspective: 1000px;
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
}

.services__card-inner {
  position: relative;
  width: 100%;
  min-height: 185px !important;
  transform-style: preserve-3d;
  transition: transform .65s ease;
}

.services__card:hover .services__card-inner,
.services__card.active .services__card-inner {
  transform: rotateY(180deg);
}

.services__card-front,
.services__card-back {
  position: absolute;
  inset: 0;
  padding: 1.25rem !important;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  background: var(--container-color);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  backface-visibility: hidden;
}

.services__card-front {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services__card-back {
  display: grid;
  place-items: center;
  text-align: center;
  transform: rotateY(180deg);
}

.services__card-back p {
  color: var(--white-color);
  font-size: .9rem;
  line-height: 1.7;
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  max-height: none !important;
  overflow: visible !important;
}

.services__card:hover {
  transform: translateY(-8px);
}

.services__icon {
  width: 52px !important;
  height: 52px !important;
  display: grid;
  place-items: center;
  margin-bottom: .9rem !important;
  border-radius: 1.1rem;
  background: var(--first-gradient);
  color: var(--white-color);
  font-size: 1.55rem !important;
  box-shadow: 0 14px 32px hsla(38, 100%, 50%, .28);
}

.services__title {
  color: var(--white-color);
  font-size: 1.05rem !important;
  margin-bottom: 0 !important;
}

/* PROJECTS */
.projects__container {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 1rem calc(50vw - 160px) 2rem;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.projects__container::-webkit-scrollbar {
  display: none;
}

.projects__container.is-grabbing {
  cursor: grabbing;
  scroll-behavior: auto;
}

.projects__card {
  min-width: 280px !important;
  max-width: 280px !important;
  flex: 0 0 280px !important;
  overflow: hidden;
  scroll-snap-align: none;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  background: var(--container-color);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  opacity: .42;
  transform: scale(.94);
  filter: saturate(.65) blur(.2px);
  cursor: pointer;
  transition: transform .3s, box-shadow .3s, border-color .3s, opacity .3s, filter .3s;
}

.projects__card:hover,
.projects__card.is-active {
  opacity: 1;
  transform: scale(1) translateY(-8px);
  filter: saturate(1.05);
  border-color: hsla(38, 100%, 50%, .32);
  box-shadow:
    0 0 0 1px hsla(38, 100%, 50%, .10),
    0 22px 60px hsla(38, 100%, 50%, .08);
}

.projects__img {
  width: 100%;
  height: 220px !important;
  object-fit: cover;
  transition: transform .5s;
}

.projects__card:hover .projects__img {
  transform: scale(1.06);
}

.projects__data {
  padding: 1.25rem !important;
}

.projects__data span {
  color: var(--first-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-bold);
}

.projects__title {
  color: var(--white-color);
  font-size: 1.2rem !important;
  margin-block: .5rem;
}

.projects__date {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-color-light);
}

.projects__data p {
  color: var(--text-color-light);
  font-size: .875rem !important;
  line-height: 1.7;
}

.projects__empty,
.projects__error {
  text-align: center;
  grid-column: 1 / -1;
  color: var(--text-color-light);
}

.projects__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .65rem;
  margin-top: .25rem;
}

.projects__dot {
  width: .55rem;
  height: .55rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
  cursor: pointer;
  transition: width .3s ease, background .3s ease, box-shadow .3s ease, transform .3s ease;
}

.projects__dot:hover {
  transform: scale(1.25);
  background: rgba(255, 170, 1, .65);
}

.projects__dot.is-active {
  width: 2rem;
  background: var(--first-gradient);
  box-shadow: 0 0 22px hsla(38, 100%, 50%, .55);
}

/* PROJECT MODAL */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background:
    radial-gradient(circle at top, rgba(255, 170, 1, .16), transparent 35rem),
    rgba(0, 0, 0, .86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.project-modal.active {
  display: flex;
}

.project-modal__content {
  position: relative;
  width: min(1180px, 96vw);
  height: min(92vh, 900px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 2rem;
  background: rgba(12, 8, 22, .78);
  box-shadow: 0 35px 90px rgba(0, 0, 0, .55);
}

.project-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  color: var(--white-color);
  background: var(--first-gradient);
  font-size: 1.5rem;
  cursor: pointer;
}

.project-modal__header {
  max-width: 780px;
  padding-right: 4rem;
}

#modal-category {
  display: block;
  color: var(--first-color);
  font-weight: var(--font-bold);
  margin-bottom: .35rem;
}

#modal-title {
  color: var(--white-color);
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  margin-bottom: .35rem;
}

#modal-description {
  color: var(--text-color-light);
  line-height: 1.7;
  max-height: 4.8rem;
  overflow: hidden;
}

.project-modal__viewer {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .08), transparent 24rem),
    rgba(0, 0, 0, .28);
}

.project-modal__viewer img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 1.25rem;
  animation: modalImageIn .35s ease;
}

@keyframes modalImageIn {
  from {
    opacity: 0;
    transform: scale(.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.project-modal__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: var(--white-color);
  background: rgba(255, 255, 255, .11);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 2rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .25s, transform .25s;
}

.project-modal__arrow:hover {
  background: rgba(255, 170, 1, .85);
  transform: translateY(-50%) scale(1.06);
}

.project-modal__arrow--left {
  left: 1rem;
}

.project-modal__arrow--right {
  right: 1rem;
}

.project-modal__thumbs {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: .25rem .15rem .45rem;
  scroll-snap-type: none;
}

.project-modal__thumbs::-webkit-scrollbar {
  height: 7px;
}

.project-modal__thumbs::-webkit-scrollbar-thumb {
  background: var(--first-color);
  border-radius: 999px;
}

.project-modal__thumb {
  flex: 0 0 auto;
  width: 104px;
  height: 72px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: .9rem;
  opacity: .55;
  cursor: pointer;
  scroll-snap-align: start;
  transition: opacity .25s, transform .25s, border-color .25s;
}

.project-modal__thumb:hover,
.project-modal__thumb.active {
  opacity: 1;
  transform: translateY(-3px);
  border-color: var(--first-color);
}

/* CONTACT */
.contact__wrapper {
  position: relative;
}

.contact__heading {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3rem;
}

.contact__description {
  line-height: 1.8;
  color: var(--text-color-light);
}

.contact__container {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact__info-box {
  display: grid;
  gap: 1rem;
}

.contact__card {
  display: flex;
  align-items: flex-start;
  column-gap: 1rem;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: var(--container-color);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.contact__card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px hsla(38, 100%, 50%, .12),
    0 24px 70px hsla(38, 100%, 50%, .12);
  border-color: hsla(38, 100%, 50%, .45);
}

.contact__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 1.1rem;
  background: var(--first-gradient);
  color: var(--white-color);
  font-size: 1.55rem;
  box-shadow: 0 14px 32px hsla(38, 100%, 50%, .28);
}

.contact__title {
  color: var(--white-color);
  font-size: var(--h3-font-size);
  margin-bottom: .35rem;
}

.contact__info {
  color: var(--text-color-light);
  font-style: normal;
  line-height: 1.7;
}

.contact__info a {
  color: var(--text-color-light);
  font-weight: var(--font-medium);
  transition: color .3s;
}

.contact__info a:hover {
  color: var(--first-color);
}

.contact__cta {
  padding: 2rem;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.075);
  color: var(--white-color);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.contact__cta h3 {
  color: var(--white-color);
  font-size: var(--h2-font-size);
  margin-bottom: 1rem;
}

.contact__cta p {
  color: var(--text-color-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contact__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact__buttons .button,
.contact__call {
  column-gap: .5rem;
}

.contact__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border: 1px solid hsla(0, 0%, 100%, .2);
  border-radius: 999px;
  color: var(--white-color);
  font-weight: var(--font-bold);
  transition: background .3s, transform .3s;
}

.contact__call:hover {
  background: hsla(0, 0%, 100%, .1);
  transform: translateY(-4px);
}

/* FOOTER */
.footer {
  border-top: 1px solid hsla(0, 0%, 100%, .09);
  padding-block: 4rem 2rem;
}

.footer__container {
  display: grid !important;
  row-gap: 3rem !important;
  justify-content: center !important;
  text-align: center !important;
}

.footer__container>div:first-child {
  justify-self: center !important;
}

.footer__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.footer__logos img {
  height: 32px;
  width: auto;
  opacity: .9;
  transition: transform .3s, opacity .3s;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center !important;
  column-gap: .35rem;
  color: var(--white-color);
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
}

.footer__logo i {
  color: var(--second-color);
}

.footer__description,
.footer__email,
.footer__info,
.footer__link {
  color: var(--text-color-light);
}

.footer__description {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer__email,
.footer__info {
  font-style: normal;
  line-height: 1.7;
}

.footer__content {
  display: grid !important;
  row-gap: 2rem !important;
  grid-template-columns: unset !important;
  justify-content: center !important;
  text-align: center !important;
}

.footer__links,
.footer__list {
  row-gap: 1rem;
  justify-items: center !important;
}

.footer__title {
  color: var(--white-color);
  margin-bottom: 1rem;
}

.footer__link {
  transition: color .3s;
}

.footer__link:hover {
  color: var(--second-color);
}

.footer__social {
  display: flex;
  column-gap: 1rem;
}

.footer__social-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid hsla(0, 0%, 100%, .1);
  border-radius: 50%;
  background: hsla(0, 0%, 100%, .08);
  color: var(--white-color);
  font-size: 1.35rem;
  transition: transform .3s, background .3s;
}

.footer__social-link:hover {
  transform: translateY(-4px);
  background: var(--first-color);
}

.footer__copy {
  display: block;
  color: var(--text-color-light);
  text-align: center;
  margin-top: 3rem;
  font-size: var(--small-font-size);
}

/* SCROLL UP */
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--first-gradient);
  color: var(--white-color);
  font-size: 1.25rem;
  z-index: var(--z-tooltip);
  box-shadow: 0 14px 32px hsla(38, 100%, 50%, .34);
  transition: bottom .4s, transform .4s;
}

.scrollup:hover {
  transform: translateY(-.35rem);
}

.show-scroll {
  bottom: 3rem;
}

/* RESPONSIVE */
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: hsla(255, 26%, 7%, .88);
    backdrop-filter: blur(34px) saturate(180%);
    -webkit-backdrop-filter: blur(34px) saturate(180%);
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.77, 0, .18, 1);
    z-index: 999;
  }

  .nav__menu.show-menu {
    transform: translateX(0);
  }

  .nav__list {
    align-items: center;
    row-gap: 2.5rem;
  }

  .nav__link {
    font-size: 1.4rem;
  }

  .nav__close {
    top: 1.35rem;
    right: 1.35rem;
    z-index: 1000;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid hsla(0, 0%, 100%, .18);
    border-radius: 50%;
    background: hsla(0, 0%, 100%, .14);
  }
}

@media screen and (max-width: 768px) {
  .project-modal__content {
    height: 94vh;
    border-radius: 1.4rem;
    padding: 1rem;
  }

  #modal-description {
    display: none;
  }

  .project-modal__arrow {
    width: 40px;
    height: 40px;
    font-size: 1.65rem;
  }

  .project-modal__thumb {
    width: 86px;
    height: 60px;
  }
}

@media screen and (max-width: 575px) {
  .nav {
    justify-content: center;
  }

  .nav__logo {
    position: static;
    transform: none;
    margin-inline: auto;
  }

  .nav__logo-img {
    height: 44px;
  }

  .nav__toggle {
    position: absolute;
    right: 0;
  }

  .home__info {
    flex-wrap: nowrap;
    gap: .5rem;
    width: 100%;
  }

  .home__info>div {
    width: calc((100% - 1rem) / 3) !important;
    min-width: 0 !important;
    flex: 0 0 calc((100% - 1rem) / 3) !important;
    padding: .8rem .55rem !important;
  }

  .home__info-description {
    font-size: var(--small-font-size);
    line-height: 1.35;
  }

  .services__swiper .swiper-wrapper {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: .85rem !important;
  }

  .services__card,
  .services__card-inner {
    min-height: 155px !important;
  }

  .services__card-front,
  .services__card-back {
    padding: .9rem !important;
  }

  .services__icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.35rem !important;
    margin-bottom: .65rem !important;
  }

  .services__title {
    font-size: .9rem !important;
  }

  .services__card-back p {
    font-size: .76rem !important;
    line-height: 1.45 !important;
  }
}

@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .section {
    padding-block: 5rem 2rem;
  }

  .home__title {
    font-size: 2.2rem;
  }

  .home__buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .home__info {
    flex-direction: column;
  }

  .home__info>div {
    width: 100% !important;
    min-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .home__img-1 {
    width: 220px;
    margin-left: 2rem;
  }

  .home__img-2 {
    width: 125px;
    bottom: -2.5rem;
  }

  .about__img-1 {
    width: 240px;
  }

  .about__img-2 {
    width: 145px;
    right: -1rem;
  }
}

@media screen and (min-width: 576px) {

  .home__container,
  .about__container,
  .contact__container {
    grid-template-columns: 420px;
    justify-content: center;
  }

  .projects__container {
    justify-content: flex-start;
  }

  .home__img-1,
  .about__img-1 {
    width: 340px;
  }

  .home__img-2 {
    width: 190px;
  }

  .about__img-2 {
    width: 210px;
  }
}

@media screen and (min-width: 768px) {
  .services__container {
    grid-template-columns: 560px;
    justify-content: center;
  }

  .services__swiper .swiper-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__container {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .contact__cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
  }

  .footer__content {
    grid-template-columns: repeat(2, max-content) !important;
    column-gap: 5rem !important;
  }

  .projects__container {
    padding-inline: calc(50vw - 180px);
  }

  .projects__card {
    min-width: 310px !important;
    max-width: 310px !important;
    flex-basis: 310px !important;
  }
}

@media screen and (min-width: 992px) {
  .home__container {
    grid-template-columns: 420px 460px;
    column-gap: 4rem;
    align-items: center;
    padding-block: 6rem 7rem;
  }

  .home__content {
    padding-top: 3rem;
  }

  .home__img-1 {
    width: 440px;
  }

  .home__img-2 {
    width: 250px;
    bottom: -3.5rem;
  }

  .about__container {
    grid-template-columns: 420px 420px;
    column-gap: 4rem;
    align-items: center;
  }

  .about__data,
  .services__data,
  .about__data .section__title,
  .about__data .section__subtitle,
  .services__data .section__title,
  .services__data .section__subtitle {
    text-align: initial;
  }

  .about__img-1 {
    width: 400px;
  }

  .about__img-2 {
    width: 230px;
  }

  .services__container {
    grid-template-columns: 320px 600px;
    column-gap: 3rem;
    align-items: center;
  }

  .contact__container {
    grid-template-columns: 420px 420px;
    column-gap: 4rem;
    align-items: center;
  }

  .footer__container {
    grid-template-columns: 260px auto !important;
    column-gap: 6rem !important;
    text-align: left !important;
  }

  .footer__container>div:first-child {
    justify-self: end !important;
    text-align: left !important;
  }

  .footer__logos,
  .footer__logo {
    justify-content: flex-start !important;
  }

  .footer__content {
    justify-content: start !important;
    text-align: left !important;
  }

  .footer__links,
  .footer__list {
    justify-items: start !important;
  }
}

@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }

  .section {
    padding-block: 8rem 3rem;
  }

  .nav {
    height: calc(var(--header-height) + 1.25rem);
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .nav__menu {
    width: initial;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    column-gap: 3rem;
  }

  .home__container {
    grid-template-columns: 475px 550px;
    column-gap: 5rem;
    padding-block: 9rem 8rem;
  }

  .home__content {
    padding-top: 4rem;
  }

  .home__img-1 {
    width: 550px;
  }

  .home__img-2 {
    width: 330px;
    bottom: -4rem;
  }

  .about__container {
    grid-template-columns: 480px 460px;
    column-gap: 6rem;
    align-items: center;
  }

  .about__img-1 {
    width: 460px;
  }

  .about__img-2 {
    width: 260px;
  }

  .services__container {
    grid-template-columns: 320px 1fr;
    column-gap: 4rem;
    align-items: center;
  }

  .services__swiper .swiper-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact__container {
    grid-template-columns: 450px 420px;
    column-gap: 5rem;
    align-items: center;
  }

  .footer__container {
    grid-template-columns: 280px auto !important;
    column-gap: 7rem !important;
  }

  .projects__container {
    padding-inline: calc(50vw - 190px);
  }

  .projects__card {
    min-width: 330px !important;
    max-width: 330px !important;
    flex-basis: 330px !important;
  }

  .projects__img {
    height: 230px !important;
  }
}

@media screen and (min-width: 1400px) {
  .container {
    max-width: 1240px;
  }

  .home__container {
    grid-template-columns: 520px 620px;
    column-gap: 6rem;
  }

  .home__img-1 {
    width: 620px;
  }

  .home__img-2 {
    width: 360px;
  }

  .services__container {
    grid-template-columns: 380px 820px;
  }

  .contact__container {
    grid-template-columns: 500px 460px;
  }
}