:root {
  --bg: #f3f7f6;
  --surface: #ffffff;
  --text: #172125;
  --muted: #52656d;
  --line: rgba(23, 33, 37, 0.12);
  --brand: #0f766e;
  --brand-strong: #0b5d57;
  --radius: 16px;
  --max: 1360px;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 15% 0%, #dbf2ec 0, transparent 45%), var(--bg);
  color: var(--text);
}

.wrap {
  max-width: var(--max);
  width: min(96vw, var(--max));
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(243, 247, 246, 0.88);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.logo {
  width: 28px;
  height: 28px;
  display: inline-block;
  flex-shrink: 0;
  background: center / contain no-repeat url("assets/logo.png");
}

.logo--sm {
  width: 24px;
  height: 24px;
}

.topbar .brand {
  gap: 0;
}

.topbar .brand b {
  display: none;
}

.topbar .brand .logo {
  width: 158px;
  height: 38px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang__btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 6px 9px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.lang__btn.is-active {
  background: linear-gradient(130deg, var(--brand), var(--brand-strong));
  color: #fff;
  border-color: transparent;
}

.hero {
  padding: 42px 0 22px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.hero__content {
  padding: 30px;
}

.hero__content h1 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.sub {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 600;
}

.muted {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.products {
  padding: 20px 0 36px;
}

.faq-section {
  padding: 6px 0 36px;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.section-title h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
}

.section-title p {
  margin: 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
}

.product-card__ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffffff;
  background: linear-gradient(130deg, var(--brand), var(--brand-strong));
  box-shadow: 0 8px 18px rgba(11, 93, 87, 0.28);
}

.product-card__media {
  position: relative;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.product-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card__title {
  margin: 0;
  font-size: 1.2rem;
}

.product-card__description {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700;
}

.btn--primary {
  background: linear-gradient(130deg, var(--brand), var(--brand-strong));
  color: #fff;
}

.product-card__cta {
  margin-top: auto;
  align-self: flex-start;
}

.catalog-empty {
  margin: 0;
  color: var(--muted);
}

.faq {
  padding: 12px 16px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 12px 2px;
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pay-chip {
  border: 1px solid var(--line);
  background: rgba(15, 118, 110, 0.08);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.86rem;
  font-weight: 600;
}

footer {
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.footer-brand b {
  display: none;
}

.footer-brand .logo {
  width: 148px;
  height: 36px;
}

.small {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.legal-main {
  padding-bottom: 28px;
}

.legal-hero {
  padding: 30px 0 12px;
}

.legal-intro {
  padding: 26px;
}

.legal-intro h1 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 3.1vw, 2.3rem);
}

.legal-section {
  padding: 8px 0 14px;
}

.legal-card {
  padding: 22px;
}

.legal-card h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.legal-copy {
  color: var(--muted);
  line-height: 1.6;
}

.legal-copy p,
.legal-copy ul {
  margin: 0 0 12px;
}

.legal-copy ul {
  padding-left: 18px;
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .topbar__inner {
    min-height: 64px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 10px;
  }
}

@media (min-width: 1280px) {
  .wrap {
    padding: 0 26px;
  }
}

@media (min-width: 1536px) {
  :root {
    --max: 1460px;
  }
}

@media (min-width: 1920px) {
  :root {
    --max: 1620px;
  }

  .wrap {
    width: min(94vw, var(--max));
  }
}
