@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-LightBETA.woff2") format("woff2"),
    url("/fonts/Inter-LightBETA.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular.woff2") format("woff2"),
    url("/fonts/Inter-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Medium.woff2") format("woff2"),
    url("/fonts/Inter-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-SemiBold.woff2") format("woff2"),
    url("/fonts/Inter-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Bold.woff2") format("woff2"),
    url("/fonts/Inter-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  color: #000000;
}

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

a {
  text-decoration: none;
  color: #000000;
  cursor: pointer;
}
li {
  list-style: none;
}

main {
  padding: 0 10px;
}
.container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 0.625rem;
}

.page-main {
  padding: 0 0rem 4rem;
}
section {
  padding: 0 10px;
}
.page-header {
  background-color: #f7f7fb;
  border-bottom: 1px solid #e6e8ef;
}

.page-header__container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 1.25rem 0.625rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.page-header__logo-image {
  display: block;
  width: 150px;
  height: auto;
}

.page-header__nav {
  margin-left: auto;
  margin-right: auto;
}

.page-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(15, 15, 20, 0.12);
  border-radius: 0.75rem;
  background-color: #ffffff;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  gap: 0.4rem;
}

.page-header__toggle:hover,
.page-header__toggle:focus-visible {
  border-color: rgba(63, 114, 255, 0.6);
  background-color: rgba(63, 114, 255, 0.08);
}

.page-header__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background-color: #101119;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

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

.page-header__backdrop {
  display: none;
}

.page-header__menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.page-header__menu-link {
  color: #0f0f14;
  transition: color 0.2s ease;
  font-size: 1rem;
  font-weight: 400;
}

.page-header__menu-link:hover,
.page-header__menu-link:focus-visible {
  color: #7ac500;
}

.page-header__cart {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #0f0f14;
}

.page-header__cart-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.page-header__cart-count {
  font-weight: 500;
}

.page-header--menu-open .page-header__toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.page-header--menu-open .page-header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.page-header--menu-open .page-header__toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  padding: 4rem 0;
}

.hero__container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
  max-width: 75rem;
  margin: 0 auto;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__title {
  font-size: 42px;
  line-height: 1.1;
  color: #0f0f14;
  font-weight: 600;
}

.hero__title-line {
  display: block;
}

.hero__description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #3d3d4f;
  max-width: 30rem;
}

.hero__media {
  margin: 0;
  display: flex;
  justify-content: center;
}

.hero__image {
  width: 100%;
  max-width: 34rem;
  border-radius: 1.5rem;
  background-color: #f4f4f7;
  display: block;
}

.trust {
  padding: 3.5rem 0;
}

.trust__container {
  margin: 0 auto;
  text-align: center;
}

.trust__title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #0f0f14;
}

.trust__subtitle {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #4a4a5c;
}

.trust__marquee {
  margin-top: 2.5rem;
  background-color: #f6f6fb;

  padding: 1.5rem 0;
  position: relative;
  overflow: hidden;
}

.trust__logo-list {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}

.trust__logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 8rem;
}

.trust__logo-image {
  max-width: 100%;
  height: auto;
}

.themes {
  padding: 4rem 0;
}

.themes__container {
  max-width: 100%;
  padding: 0 0.625rem;
}

.themes__title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: #0f0f14;
  margin-bottom: 2.5rem;
}

.themes__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  row-gap: 6.25rem;
  justify-self: center;
  width: 100%;
  max-width: 88.4375rem;
}

.theme-card {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  align-items: center;
  text-align: left;
  flex: 1 1 clamp(16rem, calc((100% - 5rem) / 3), 27.625rem);
  max-width: 27.625rem;
}

.theme-card__media {
  margin: 0;
  width: 100%;
  max-width: 27.625rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0.0625rem 0.25rem 0 rgba(0, 0, 0, 0.25);
  position: relative;
}

.theme-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background-color: #ff4d4f;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  z-index: 2;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}

.theme-card__image {
  width: 100%;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.theme-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1;
}

.theme-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f0f14;
  background-color: #ffffff;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.theme-card__action--primary {
  background-color: #7ac500;
  color: #ffffff;
}

.theme-card__action:hover,
.theme-card__action:focus-visible {
  transform: translateY(-2px);
}

.theme-card__action--primary:hover,
.theme-card__action--primary:focus-visible {
  background-color: #5c9500;
}

.theme-card__media:hover .theme-card__overlay,
.theme-card__media:focus-within .theme-card__overlay {
  opacity: 1;
  visibility: visible;
}

.theme-card__media:hover .theme-card__image,
.theme-card__media:focus-within .theme-card__image {
  transform: scale(1.04);
  opacity: 0.3;
}

.theme-card__body {
  width: 100%;
}

.theme-card__body,
.theme-card__name,
.theme-card__meta {
  width: 100%;
}

.theme-card__meta {
  justify-content: space-between;
  flex-wrap: wrap;
}

.theme-card__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f0f14;
  margin-bottom: 0.75rem;
}

.theme-card__meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: #55556a;
  align-items: center;
  justify-content: flex-start;
}

.theme-card__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.theme-card__meta-term {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  gap: 0.35rem;
  font-weight: 400;
  color: #0f0f14;
}

.theme-card__meta-icon img {
  width: 16px;
  height: 16px;
  display: block;
}

.theme-card__meta-value {
  font-weight: 400;
  font-size: 14px;
}

.theme-card__meta-value--price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.theme-card__price-original {
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  text-decoration: line-through;
}

.theme-card__price-original--plain {
  text-decoration: none;
}

.theme-card__price-current {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ff0000;
}

.faq {
  padding: 5rem 0;
}

.faq__container {
  max-width: 60rem;
  margin: 0 auto;
}

.faq__title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: #0f0f14;
  margin-bottom: 2.5rem;
}

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

.faq-item {
  background-color: #f6f6fb;
  border-radius: 1rem;
  box-shadow: 0 0.0625rem 0.25rem 0 rgba(0, 0, 0, 0.25);
  border: 1px solid transparent;
  overflow: hidden;
}

.faq-item__header {
  margin: 0;
}

.faq-item__toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #0f0f14;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-item__toggle:hover,
.faq-item__toggle:focus-visible {
  color: #7ac500;
}

.faq-item__icon img {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.faq-item--open .faq-item__icon img {
  transform: rotate(135deg);
}

.faq-item__panel {
  padding: 0 1.5rem 1.5rem;
  color: #4a4a5c;
  font-size: 0.98rem;
  line-height: 1.6;
}

.contacts {
  padding: 4rem 0;
}

.contacts__container {
  max-width: 60rem;
  margin: 0 auto;
  text-align: center;
}

.contacts__title {
  font-size: 1.9rem;
  font-weight: 600;
  color: #0f0f14;
  margin-bottom: 2.5rem;
}

.contacts__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.contacts__card {
  background-color: #f6f6fb;
  border: 1px solid #e4e6f1;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  max-width: 18rem;
  flex: 1 1 16rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contacts__card:hover,
.contacts__card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 15, 20, 0.08);
}

.contact-card__heading {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: #0f0f14;
}

.contact-card__icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.contact-card__title {
  font-size: 1rem;
}

.contact-card__detail {
  font-size: 0.95rem;
  color: #6c6c7a;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.contacts__card:hover .contact-card__detail,
.contacts__card:focus-within .contact-card__detail {
  color: #7ac500;
}

.page-footer {
  background-color: #f6f6fb;
  border-top: 1px solid #e6e8ef;
  padding: 1.5rem 0;
}

.page-footer__container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: #3d3d4f;
}

.page-footer__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.page-footer__link {
  color: #0f0f14;
  font-weight: 500;
  transition: color 0.2s ease;
  font-size: 0.875rem;
  font-weight: 400;
}

.page-footer__link:hover,
.page-footer__link:focus-visible {
  color: #7ac500;
}

.legal {
  padding: 4.5rem 0;
}

.legal .container {
  max-width: 60rem;
  margin: 0 auto;
}

.legal__title {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  font-weight: 600;
  color: #0f0f14;
  margin-bottom: 1.5rem;
}

.legal__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #3d3d4f;
  margin-bottom: 2.5rem;
}

.legal__section + .legal__section {
  margin-top: 2rem;
}

.legal__heading {
  font-size: 1.3rem;
  font-weight: 600;
  color: #101119;
  margin-bottom: 0.75rem;
}

.legal__section p {
  font-size: 1rem;
  line-height: 1.75;
  color: #4b4b5e;
}

.legal__section a {
  color: #3f72ff;
  text-decoration: underline;
}

.legal__section a:hover,
.legal__section a:focus-visible {
  color: #2f5cdb;
}

.legal__section ul {
  margin: 0.75rem 0 1.25rem 1.5rem;
  padding: 0;
  color: #4b4b5e;
  list-style: disc;
}

.legal__section ul li + li {
  margin-top: 0.35rem;
}
.success-wrap {
  display: flex;
  align-items: center;
  justify-self: center;
  flex-direction: column;
  padding: 3.125rem 0rem;
}
.success-message__icon {
  margin-bottom: 0.375rem;
}
.success-message__title {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
}
.success-message__text {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}
.success-message__steps {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
}
.step-comment {
  font-weight: 600;
  text-decoration: underline;
}

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.layout__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer {
  border-top: 1px solid #e5e5e5;
  font-size: 14px;
  line-height: 1.4;
  padding: 1rem;
  color: #444;
}

@media (max-width: 640px) {
  .page-header__container {
    padding: 1rem 1.25rem;
    gap: 1rem;
  }

  .page-header__nav[data-menu-ready="true"] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(80vw, 18rem);
    background-color: #ffffff;
    padding: 5rem 1.5rem 2rem;
    box-shadow: -20px 0 40px rgba(15, 15, 20, 0.08);
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    visibility: hidden;
    z-index: 24;
  }

  .page-header__nav[data-menu-ready="true"] .page-header__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    font-size: 1.05rem;
    margin-top: 0;
  }

  .page-header__nav[data-menu-ready="true"] .page-header__menu-link {
    display: inline-block;
    width: 100%;
  }

  .page-header--menu-ready .page-header__toggle {
    display: inline-flex;
    margin-left: 0;
    order: 3;
    z-index: 25;
  }

  .page-header--menu-ready .page-header__cart {
    order: 2;
    margin-left: auto;
    margin-right: 0.75rem;
  }

  .page-header--menu-ready .page-header__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 20, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: block;
    z-index: 23;
  }

  .page-header--menu-open .page-header__nav[data-menu-ready="true"] {
    transform: translateX(0);
    visibility: visible;
  }

  .page-header--menu-open .page-header__backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .page-header__cart-count {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 1200px) {
  .theme-card {
    flex: 1 1 calc((100% - 2.5rem) / 2);
  }
}

@media screen and (max-width: 1000px) {
  .hero__container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .hero__title {
    margin: 0 auto;
  }
  .hero__title-line {
    max-width: 37.5rem;
    text-align: center;
  }
  .hero__description {
    text-align: center;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .theme-card {
    flex: 1 1 100%;
    max-width: 27.625rem;
  }
  .hero__title {
    font-size: 32px;
  }
  .hero__title-line {
    max-width: 400px;
    text-align: center;
  }
  .page-footer__container {
    display: flex;
    flex-direction: column;
  }
  .page-footer__copyright {
    text-align: center;
  }
}
