:root {
  --ink: #2f3137;
  --text: #333333;
  --muted: #555555;
  --line: #eeeeee;
  --paper: #ffffff;
  --green: #108518;
  --green-dark: #216f00;
  --link: #167ac6;
  --yellow: #fff6bf;
  --yellow-border: #f6e6a6;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  background: #ffffff;
  color: var(--text);
  font-family: "Open Sans", Roboto, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body * {
  letter-spacing: 0;
}

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

a {
  color: var(--link);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  color: #0b4593;
  text-decoration: underline;
}

.container {
  width: min(100% - 40px, 860px);
  margin-inline: auto;
  padding: 0;
}

.bold {
  font-weight: 700;
}

.heavy {
  font-weight: 800;
}

.colored {
  color: #008000;
}

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

header {
  position: relative;
  padding-top: 16px;
  background: var(--paper);
  border-bottom: 1px solid #eeeeee;
}

header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 16px;
  background: #000000;
}

header .container {
  position: relative;
}

.outer__header {
  display: flex;
  align-items: center;
  min-height: 96px;
}

.outer__header p {
  margin: 0;
}

.header__logo {
  display: block;
  width: 224px;
  max-width: 70vw;
  height: auto;
}

.outer__header p:last-child {
  position: absolute;
  top: -15px;
  left: 50%;
  right: auto;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 2;
  color: #bdbdbd;
  font-size: 14px;
  line-height: 16px;
  font-weight: 400;
  text-align: center;
}

.main__wrapper {
  padding: 20px 0 70px;
}

.outer__main {
  display: block;
}

.main__left {
  width: 100%;
  min-width: 0;
}

.main__side {
  display: none;
}

.elem__main {
  margin-bottom: 58px;
}

.elem__main:first-child {
  margin-bottom: 62px;
}

.elem__main > h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 44px;
  line-height: 1.1;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.elem__main > h6 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 31px;
  line-height: 1.2;
  font-weight: 800;
}

.elem__main h4 {
  margin: 24px 0 16px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
}

.elem__main p,
.elem__main li {
  color: var(--text);
  font-size: 18px;
  line-height: 1.62;
}

.elem__main p {
  margin: 0 0 25px;
}

.elem__main b[style*="color:red"],
.elem__main b[style*="color:red"] i {
  color: red !important;
}

.media__v--text {
  display: flex;
  flex-direction: column;
  margin: 18px 0 34px;
}

.media__v--text .media {
  overflow: hidden;
  width: 100%;
  background: #f1f5f8;
}

.media__v--text .media img {
  width: 100%;
}

.elem__main:first-child .media img {
  aspect-ratio: 860 / 530;
  object-fit: cover;
}

.media__desc {
  margin: 18px 0 0;
  padding: 17px 24px;
  border: 1px solid var(--yellow-border);
  background: var(--yellow);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
}

.media__desc p {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.6;
  font-weight: 800;
}

.media__desc a {
  color: #008000;
}

.elem__main:first-child .media__v--text {
  margin-top: 22px;
}

.elem__main:first-child > p:nth-of-type(1) {
  margin-top: 38px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
}

.offer {
  padding: 0;
  border: 0;
  background: transparent;
}

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

.offer li {
  margin: 0 0 15px;
}

.offer li:has(> span:first-child) {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--ink);
  font-weight: 800;
}

.offer li:has(> span:first-child) + li {
  color: var(--text);
  font-size: 18px;
  line-height: 1.62;
}

.offer li span {
  display: inline-flex;
  align-items: center;
}

.offer li span:first-child {
  flex: 0 0 24px;
}

.offer li span:first-child img {
  width: 24px;
  height: 24px;
}

.image__offer {
  display: block;
  margin: 20px 0 28px !important;
  background: #f1f5f8;
}

.image__offer img {
  width: 100%;
}

.quote__wrapper {
  position: relative;
  overflow: hidden;
  margin: 24px 0;
  padding: 26px 28px 22px 96px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  color: var(--text);
}

.quote__wrapper::before {
  content: "“";
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 1;
  color: #d09a13;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 84px;
  line-height: 0.8;
}

.quote__wrapper::after {
  content: "";
  position: absolute;
  top: -34px;
  left: -44px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: #faf3e7;
}

.quote__wrapper .inner__quote {
  position: relative;
  z-index: 2;
}

.quote__right {
  display: none;
}

.quote__stars {
  margin: 0 0 12px;
  color: #d09a13;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
}

.quote__wrapper p {
  display: block;
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.62;
}

.quote__wrapper p strong {
  font-weight: 700;
}

.quote__author {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 470px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e2e2e2;
}

.quote__avatar {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f4e6c9;
}

.quote__avatar::before,
.quote__avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
}

.quote__avatar::before {
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.quote__avatar::after {
  bottom: 8px;
  width: 18px;
  height: 9px;
  border-radius: 11px 11px 3px 3px;
}

.quote__name {
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.quote__verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #087844;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.quote__verified::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #087844;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.update__button {
  margin: 22px 0 30px;
}

.update__button a,
.side__button a {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border-radius: 5px;
  background: #0f8618;
  box-shadow: 0 5px 0 0 var(--green-dark);
  color: #ffffff;
  font-size: 26px;
  line-height: 1.22;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.update__button a:hover,
.side__button a:hover {
  background: #0f9718;
  color: #ffffff;
  text-decoration: none;
}

.update__button a:active,
.side__button a:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 0 var(--green-dark);
}

.update__wrapper {
  margin: 24px 0;
  padding: 13px;
  border: 1px solid #fadf98;
  background: #fef5c4;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.update__wrapper h6 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
}

.update__wrapper p {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
}

footer {
  padding: 34px 0 28px;
  background: #2e3138;
  color: rgba(255, 255, 255, 0.74);
}

footer .outer__footer > p {
  max-width: 860px;
  margin: 0 auto 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}

footer .outer__footer > p span {
  color: #ffffff;
  font-weight: 800;
}

.bottom__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.bottom__footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.4;
}

.bottom__footer ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.bottom__footer li {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.bottom__footer a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 640px) {
  .container {
    width: 100%;
    padding-inline: 10px;
  }

  header {
    padding-top: 0;
  }

  header::before,
  .outer__header p:last-child {
    display: none;
  }

  .outer__header {
    min-height: 98px;
    padding: 10px 0;
  }

  .header__logo {
    width: 174px;
    max-width: 64vw;
  }

  .main__wrapper {
    padding-top: 18px;
  }

  .elem__main {
    margin-bottom: 42px;
  }

  .elem__main:first-child {
    margin-bottom: 46px;
  }

  .elem__main > h1 {
    margin-bottom: 18px;
    font-size: 30px;
    line-height: 1.2;
  }

  .elem__main > h6 {
    font-size: 27px;
    line-height: 1.18;
  }

  .elem__main p,
  .elem__main li {
    font-size: 18px;
    line-height: 1.52;
  }

  .media__v--text {
    margin-top: 18px;
  }

  .media__desc {
    padding: 13px 22px;
  }

  .media__desc p {
    font-size: 18px;
    line-height: 1.45;
  }

  .elem__main:first-child > p:nth-of-type(1) {
    margin-top: 30px;
  }

  .quote__wrapper {
    margin: 22px 0;
    padding: 24px 18px 20px;
    border-radius: 8px;
  }

  .quote__wrapper::before {
    top: 18px;
    left: 18px;
    font-size: 72px;
  }

  .quote__wrapper::after {
    top: -26px;
    left: -36px;
    width: 118px;
    height: 118px;
  }

  .quote__stars {
    margin-left: 60px;
    margin-bottom: 20px;
    font-size: 19px;
    letter-spacing: 0;
  }

  .quote__wrapper p {
    font-size: 18px;
    line-height: 1.52;
  }

  .quote__author {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
  }

  .quote__avatar {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }

  .quote__name {
    font-size: 18px;
  }

  .quote__verified {
    font-size: 14px;
  }

  .update__button a,
  .side__button a {
    font-size: 24px;
  }

  .bottom__footer {
    justify-content: center;
    text-align: center;
  }

  .bottom__footer ul {
    justify-content: center;
  }
}
