.title {
  font-size: 72px;
  font-weight: 500;
  line-height: 80px;
  color: #ffffff;

  @media (max-width: 1199px) {
    font-size: 56px;
  }

  @media (max-width: 540px) {
    font-size: 32px;
    line-height: 36px;
  }
}

.subtitle {
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  color: #ddeef6;
  @media (max-width: 540px) {
    font-size: 16px;
    line-height: 20px;
  }
}

.footer {
  display: block;
  width: 100%;
  position: relative;
  z-index: 10;
  background-color: #232a31;

  @media (max-width: 540px) {
    margin-top: 46px;
  }
}

.footer-section {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-areas:
    "copy . skolkovo"
    "links links skolkovo";
  padding: 30px 0;
  row-gap: 23px;
  max-width: 1600px;
  margin: 0 auto;

  @media (max-width: 750px) {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "skolkovo copy"
      "links links";
  }

  @media (max-width: 540px) {
    padding: 30px 16px;
  }
}

.copyright {
  grid-area: copy;
  color: #7e9dac;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;

  @media (max-width: 540px) {
    font-size: 14px;
  }
  @media (max-width: 750px) {
  }
}

.main-sk {
  grid-area: skolkovo;
  display: block;
  justify-self: end;

  @media (max-width: 750px) {
    justify-self: start;
  }
}

.footer-links {
  grid-area: links;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;

  @media (max-width: 750px) {
    flex-direction: column;
    gap: 16px;
  }
}

.privacy-policy {
  color: #ddeef6;
  cursor: pointer;
  text-decoration: none;
}

.footer-sk {
  display: none;
}

.title,
.subtitle {
  margin: 0;
}

.subtitle-mobile-break {
  display: block;

  @media (min-width: 860px) {
    display: none;
  }
}

.subtitle-desktop-break {
  display: block;

  @media (max-width: 1199px) {
    display: none;
  }
}

.info {
  display: grid;
  align-self: center;
  grid-column: 2;
  gap: 24px;
  padding-bottom: 40px;
  height: fit-content;

  @media (max-width: 1515px) {
    grid-column: 1/ 3;
  }
  @media (max-width: 540px) {
    margin-top: 64px;
  }
}

.menu {
  display: grid;
  grid-template-columns: 278px repeat(2, auto);
  grid-template-rows: repeat(2, 131px);
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  gap: 16px;
  grid-column: 2;

  @media (max-width: 1515px) {
    grid-column: 1/ 3;
  }

  @media (max-width: 750px) {
    gap: 8px;
    font-size: 16px;
    line-height: 20px;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(2, auto);
  }
}

.small {
  display: none;
}

.geometa {
  background-color: #257bdf;
  grid-column: 1;
  grid-row: 1;
}

.polus {
  background-color: #257bdf;
  grid-column: 1;
  grid-row: 2;
}

.geometa:hover,
.polus:hover {
  background: linear-gradient(135deg, #257bdf 0%, #00f0ff 100%);
}

.companyLife {
  grid-column: 2 / 4;
  grid-row: 1;
}

.geometa,
.polus,
.companyLife,
.clips,
.team {
  color: #ffffff;
  padding: 24px;
  border-radius: 32px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.icon {
  align-self: flex-end;
}

.arrow {
  content: url("../assets/arrow.svg");
}

.geometa:hover .arrow,
.polus:hover .arrow {
  content: url("../assets/arrow-hover.svg");
}

.vk {
  content: url("../assets/vk.svg");
}

.companyLife:hover .vk {
  background-color: #0077ff;
}

.hh {
  content: url("../assets/hh.svg");
}

.team:hover .hh {
  background-color: #d20a11;
}

.youtube {
  content: url("../assets/youtube.svg");
}

.clips:hover .youtube {
  background-color: #ff0000;
}

.clips,
.companyLife,
.team,
.youtube,
.vk,
.hh {
  box-shadow: 0 0 0 1px #ffffff;
  border: 1px solid transparent;
}

.youtube,
.vk,
.hh {
  border-radius: 50%;
}

.clips:hover,
.companyLife:hover,
.team:hover {
  border: 1px solid #ffffff;
  box-shadow: 0 0 0 1px #ffffff;
}

.clips .youtube,
.companyLife .vk,
.team .hh {
  border: 1px solid transparent;
}

.clips:hover .youtube,
.companyLife:hover .vk,
.team:hover .hh {
  border: 1px solid #ffffff;
  box-shadow: 0 0 0 1px #ffffff;
}

@media (max-width: 1199px) {
  .large {
    display: none;
  }

  .small {
    display: block;
  }
}

@media (max-width: 750px) {
  .large,
  .small {
    display: none;
  }

  .geometa {
    grid-column: 1 / 4;
    grid-row: 1;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    border-radius: 24px;
  }

  .polus {
    grid-column: 1 / 4;
    grid-row: 2;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    border-radius: 24px;
  }

  .companyLife {
    grid-column: 1 / 2;
    grid-row: 3;
  }

  .clips {
    grid-column: 2 / 3;
    grid-row: 3;
  }

  .team {
    grid-column: 3 / 4;
    grid-row: 3;
  }

  .companyLife,
  .clips,
  .team {
    padding: 16px 0;
    flex-direction: row;
    justify-content: center;
    border-radius: 16px;
  }

  .icon {
    align-self: center;
  }

  .youtube,
  .vk,
  .hh {
    box-shadow: 0 0 0 1px transparent;
    border: none;
  }

  .clips:hover .youtube,
  .companyLife:hover .vk,
  .team:hover .hh {
    background-color: transparent;
  }
}

.popup-container {
  display: flex;
  width: 100%;
  justify-content: center;
}

.popup {
  display: flex;
  transition-duration: 500ms;
  transition-property: bottom;
  transition-delay: 1s;
  transition-timing-function: ease-out;
  position: fixed;
  bottom: -100%;
  background-color: #192531f2;
  width: 1200px;
  padding: 32px;
  border-radius: 32px 32px 0 0;
  gap: 24px;
  z-index: 11;
}

.show {
  bottom: var(--footer-height, 80px);
}

.hide {
  bottom: -100%;
}

.popup-titles {
  display: grid;
  gap: 16px;
}

.popup-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.popup-subtitle {
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
}

.popup-title,
.popup-subtitle,
.popup-link {
  color: #ffffff;
}

.popup-button {
  font-family: "Inter", sans-serif;
  height: min-content;
  width: min-content;
  padding: 12px 24px;
  border-radius: 16px;
  border: none;
  font-size: 16px;
  background-color: #257bdf;
  color: #ffffff;
  gap: 16px;
  cursor: pointer;
}

.popup-button:hover {
  background: linear-gradient(135deg, #257bdf 0%, #00f0ff 100%);
}

.popup-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.popup-link:hover {
  color: #3ac6f5;
}

@media (max-width: 1200px) {
  .popup {
    width: 600px;
    flex-direction: column;
  }
}

@media (max-width: 750px) {
  .popup {
    width: 400px;
  }

  .popup-button {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .popup {
    width: 328px;
  }
}
