:root {
  --blue: #0d4b73;
  --light-blue: #47a5d8;
  --text-muted: #888;
  --footer-line: rgba(255, 255, 255, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  color: #111;
  background: #fff;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.top-bar {
  background: var(--blue);
  color: #e9f3fb;
  min-height: 63px;
}

.top-inner {
  width: min(1125px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 63px;
  display: flex;
  align-items: center;
  gap: 33px;
  font-size: 16px;
  font-weight: 700;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.top-link span {
  color: #d7edf8;
  font-size: 14px;
}

.top-social {
  margin-left: auto;
}

.social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #54b3e3;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.brand-strip {
  background: #fff;
}

.brand-inner {
  width: min(1125px, calc(100% - 36px));
  height: 126px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.brand img {
  width: 178px;
  height: auto;
  display: block;
}

.hero {
  position: relative;
  min-height: 382px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url("assets/hero-screenshot.png");
  background-size: cover;
  background-position: center top;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
}

.hero-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.companies {
  position: relative;
  min-height: 834px;
  overflow: hidden;
  background: #fff;
}

.companies::before {
  content: "";
  position: absolute;
  left: 0;
  top: 66px;
  width: 533px;
  height: 634px;
  background: url("assets/footer-bg.png") no-repeat left top / contain;
  opacity: 0.21;
}

.companies-inner {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 44px));
  margin: 0 auto;
  padding-top: 94px;
}

.holding-logo {
  width: min(390px, 64vw);
  display: block;
  margin: 0 auto 86px;
}
.company-grid a{
  display: block;
  color: inherit;
  text-decoration: none;
}
.company-grid {
  display: flex;
  justify-content: space-between;
  gap: clamp(18px, 9vw, 150px);
  align-items: flex-start;
}

.company-grid > a {
  flex: 1 1 0;
  min-width: 0;
}
.company company-left{
  margin-top: -40px;
}
.company company-left p{
  margin-top: -44px;
}
.company {
  min-width: 0;
  text-align: center;
}

.company img {
  width: 230px;
  max-width: 86%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.company p {
  max-width: 430px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.48;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.footer {
  background: var(--blue);
  color: #fff;
}

.footer-main {
  position: relative;
  min-height: 476px;
  padding: 62px 0 58px;
}

.footer-inner {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.1fr;
  gap: 70px;
}

.footer-about img {
  width: 190px;
  height: auto;
  display: block;
  margin-bottom: 32px;
}

.footer-about p {
  margin: 0;
  max-width: 360px;
  color: #d6e7f1;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
}

.footer-list h2 {
  margin: 0 0 19px;
  font-size: 34px;
  line-height: 1;
  font-weight: 300;
}

.footer-list h3 {
  margin: 21px 0 15px;
  font-size: 24px;
  line-height: 1;
  font-weight: 300;
}

.footer-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li {
  position: relative;
  min-height: 38px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--footer-line);
  color: #d6e7f1;
  font-size: 16px;
  font-weight: 700;
  padding-left: 24px;
}

.footer-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #62c1ec;
  font-weight: 900;
}

.footer-social a {
  width: 31px;
  height: 31px;
  background: #fff;
  color: var(--blue);
  font-size: 14px;
}

.back-top {
  position: absolute;
  right: 15%;
  bottom: 62px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #6bc5ef;
  color: var(--blue);
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
}

.holding-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  padding: 14px 0 36px;
  text-align: center;
}

.holding-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  font-weight: 300;
  text-transform: capitalize;
}

.holding-footer-logos {
  width: min(960px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  align-items: center;
}

.holding-footer-logos img {
  max-width: 220px;
  max-height: 105px;
  width: auto;
  height: auto;
  object-fit: contain;
  justify-self: center;
}

@media (max-width: 1024px) {
  .top-inner {
    justify-content: center;
    flex-wrap: wrap;
    padding: 12px 0;
    gap: 14px 28px;
  }

  .top-social {
    margin-left: 0;
  }

  .brand-inner {
    justify-content: center;
    height: 112px;
  }

  .company-grid,
  .footer-inner {
    gap: 48px;
  }

  .back-top {
    right: 6%;
  }
}

@media (max-width: 760px) {
  .top-inner {
    width: min(460px, calc(100% - 26px));
    flex-direction: column;
    min-height: 0;
    font-size: 14px;
  }

  .brand-inner {
    height: 100px;
  }

  .brand img {
    width: 156px;
  }

  .hero {
    min-height: 300px;
    background-image: url("assets/hero-mobile.png");
    background-position: center;
  }

  .hero::before {
    background: rgba(0, 0, 0, 0.56);
  }

  .hero-text {
    position: relative;
    z-index: 1;
    width: auto;
    height: auto;
    max-width: 350px;
    padding: 0 18px;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    border: 0;
    color: #fff;
    text-align: center;
    line-height: 1.35;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    font-size: 30px;
  }

  .companies {
    min-height: auto;
  }

  .companies-inner {
    padding: 58px 0 78px;
  }

  .holding-logo {
    margin-bottom: 52px;
  }

  .company p {
    max-width: 310px;
  }

  .company img {
    width: min(175px, 42vw);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-about,
  .footer-about p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-about img {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-list h2,
  .footer-list h3 {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .back-top {
    position: static;
    margin: 40px auto 0;
  }

  .holding-footer-logos {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 420px) {
  .top-link {
    white-space: normal;
    justify-content: center;
    text-align: center;
  }

  .hero {
    min-height: 260px;
  }

  .hero-text {
    font-size: 25px;
  }

  .company p,
  .footer-about p,
  .footer-list li {
    font-size: 15px;
  }

  .company p {
    max-width: 310px;
  }
}
