/* K.PARTS — общий стиль сайта */

:root {
  --black: #0a0a0a;
  --black-soft: #141414;
  --white: #ffffff;
  --grey: #8a8a8a;
  --grey-line: #262626;
  --orange: #ff5a1f;
  --orange-dim: rgba(255, 90, 31, 0.14);
  --wa-green: #25d366;
  --max-width: 880px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

a {
  color: inherit;
}

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

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--grey-line);
  padding: 18px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.primary-nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

.primary-nav a {
  text-decoration: none;
  color: #d8d8d8;
  margin-right: 22px;
}

.primary-nav a:last-child {
  margin-right: 0;
}

.primary-nav .disabled {
  color: #4a4a4a;
  cursor: default;
  margin-right: 22px;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--orange);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-switch a {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: opacity .15s ease, border-color .15s ease;
}

.lang-switch a svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lang-switch a.active {
  opacity: 1;
  border-color: var(--orange);
}

.lang-switch a:hover {
  opacity: 1;
}

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--grey-line);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.08;
  margin: 0 0 18px;
  max-width: 15ch;
}

.hero p.lead {
  font-size: 17px;
  color: #d8d8d8;
  max-width: 46ch;
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
}

.btn-wa {
  background: var(--wa-green);
  color: #06210f;
}

.btn-outline {
  border-color: var(--grey-line);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--orange);
}

.btn svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: currentColor;
}

.trust-line {
  margin-top: 20px;
  font-size: 13px;
  color: var(--grey);
}

/* ---------- Section shell ---------- */

section.block {
  padding: 44px 0;
  border-bottom: 1px solid var(--grey-line);
}

section.block h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 28px);
  margin: 0 0 22px;
}

/* ---------- Symptom list ---------- */

.symptom-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.symptom-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--grey-line);
}

.symptom-list li:first-child {
  border-top: none;
}

.symptom-mark {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 14px;
}

.symptom-list strong {
  display: block;
  font-size: 16px;
  margin-bottom: 3px;
}

.symptom-list span {
  color: var(--grey);
  font-size: 14px;
}

/* ---------- How it works ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 20px;
}

.steps li {
  counter-increment: step;
  padding-left: 40px;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--orange);
  color: var(--orange);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  display: block;
  margin-bottom: 3px;
}

.steps span {
  color: var(--grey);
  font-size: 14px;
}

/* ---------- Brands ---------- */

.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-list li {
  border: 1px solid var(--grey-line);
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 14px;
  color: #d8d8d8;
}

.disclosure {
  font-size: 13px;
  color: var(--grey);
  margin-top: 22px;
  max-width: 60ch;
}

/* ---------- Big contact buttons (contact page hero) ---------- */

.contact-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(10,10,10,.1) 0%, rgba(10,10,10,.05) 30%, rgba(10,10,10,.9) 100%),
    url('../assets/kontakty-hero.jpg') center top / cover no-repeat,
    radial-gradient(circle at 30% 20%, #241208 0%, var(--black) 60%);
  padding-bottom: 26px;
}

.contact-hero > .wrap {
  width: 100%;
}

.contact-buttons {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-btn {
  background: var(--orange);
  color: #1a0800;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}

.contact-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-btn strong {
  font-family: var(--font-display);
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-btn span {
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 480px) {
  .contact-buttons {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .contact-btn {
    padding: 14px 8px;
  }
  .contact-btn strong {
    font-size: 14px;
  }
  .contact-btn span {
    font-size: 11px;
  }
}

/* ---------- Contact block ---------- */

.contact-block {
  display: grid;
  gap: 10px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.contact-row svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: var(--orange);
}

.contact-row a {
  text-decoration: none;
}

.contact-row a:hover {
  color: var(--orange);
}

/* ---------- Footer ---------- */

footer.site-footer {
  padding: 26px 0 40px;
  font-size: 12px;
  color: var(--grey);
}

footer.site-footer a {
  color: var(--grey);
}

/* ---------- Responsive ---------- */

@media (max-width: 560px) {
  .hero {
    padding: 40px 0 34px;
  }

  section.block {
    padding: 34px 0;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
