*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #f4f7fb;
  font-family: Unbounded, Arial, sans-serif;
  background:
    radial-gradient(ellipse 55% 45% at 78% 58%, rgba(0, 181, 205, 0.2), transparent 62%),
    #070b16;
}

.inst-header {
  display: flex;
  align-items: center;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 24px 8px;
}

.inst-logo img {
  display: block;
  height: 28px;
  width: auto;
}

.inst-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px 40px;
}

.inst-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 8px 0 10px;
  color: #00b5cd;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
}

.inst-title::before,
.inst-title::after {
  content: "";
  display: block;
  width: min(88px, 12vw);
  height: 2px;
  background: #00b5cd;
}

.inst-subtitle {
  margin: 0 0 36px;
  color: #dce6f5;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: center;
}

.inst-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px 32px;
  align-items: center;
}

.inst-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.inst-card {
  border: 1.5px solid #00b5cd;
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: rgba(8, 14, 32, 0.55);
}

.inst-card h2 {
  margin: 0 0 10px;
  color: #00b5cd;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

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

.inst-card li {
  color: #e8eef8;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.inst-card li + li {
  margin-top: 4px;
}

.inst-product {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 5 / 4;
}

.inst-product img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 24% 48%;
  filter: drop-shadow(0 18px 40px rgba(0, 181, 205, 0.18));
}

.inst-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 24px 28px;
}

.inst-footer-site {
  color: #9aa7bd;
  font-size: 13px;
  text-decoration: none;
}

.inst-footer-site:hover {
  color: #00b5cd;
}

.inst-footer-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.inst-tg {
  display: flex;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.inst-tg img {
  display: block;
  width: 30px;
  height: 30px;
}

.lipolab-copy-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  margin: 0;
  padding: 0 14px;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  border-radius: 20px;
  background-color: #00b5cd;
  color: #ffffff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.lipolab-copy-handle:hover {
  filter: brightness(1.06);
}

.inst-mail {
  color: #00b5cd;
  font-size: 13px;
  text-decoration: none;
}

.inst-mail:hover {
  text-decoration: underline;
}

@media screen and (max-width: 959px) {
  .inst-layout {
    grid-template-columns: 1fr;
  }

  .inst-product {
    order: -1;
    aspect-ratio: 4 / 3;
    max-width: 420px;
    margin: 0 auto;
  }

  .inst-cards {
    grid-template-columns: 1fr;
  }

  .inst-subtitle {
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 479px) {
  .inst-header,
  .inst-main,
  .inst-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .inst-title {
    gap: 10px;
  }

  .inst-title::before,
  .inst-title::after {
    width: 28px;
  }

  .inst-card {
    padding: 16px 16px 14px;
  }

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