:root {
  --psv-bg: #FCFCFC;
  --psv-ink: #323234;
  --psv-accent: #A31E49;
  --psv-accent-dark: #861639;
  --psv-dark: #323234;
  --psv-line: #E5E5E7;
  --psv-muted: #6B6B6E;
  --psv-font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--psv-bg);
  color: var(--psv-ink);
  font-family: var(--psv-font);
  font-size: 17px;
  line-height: 1.65;
}

img { max-width: 100%; }

a { color: var(--psv-accent); }

.psv-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: var(--psv-ink);
  padding: 8px 14px;
  z-index: 50;
}
.psv-skip:focus { left: 8px; top: 8px; }

/* ---- шапка ---- */
.psv-head {
  position: relative;
  background: var(--psv-dark);
  border-bottom: 1px solid var(--psv-dark);
  color: #fff;
  z-index: 10;
}
.psv-head-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.psv-logo {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.psv-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px 24px;
}
.psv-nav a {
  display: inline-block;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.psv-nav a:hover,
.psv-nav a[aria-current="page"] { border-bottom-color: var(--psv-accent); }
.psv-nav a.psv-nav-cta {
  border: 1px solid #fff;
  border-radius: 4px;
  padding: 8px 16px;
}
.psv-nav a.psv-nav-cta:hover,
.psv-nav a.psv-nav-cta[aria-current="page"] {
  background: var(--psv-accent);
  border-color: var(--psv-accent);
}

.psv-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.psv-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
}

@media (max-width: 1099px) {
  .psv-burger { display: flex; }
  .psv-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--psv-dark);
    padding: 8px 24px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .psv-nav.psv-nav-open { display: block; }
  .psv-nav ul { flex-direction: column; align-items: flex-start; gap: 2px; }
  .psv-nav a { padding: 10px 0; }
  .psv-nav a.psv-nav-cta { margin-top: 8px; }
}

/* ---- герой ---- */
.psv-hero {
  position: relative;
  min-height: 300px;
  background: var(--psv-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.psv-hero-home { min-height: 480px; }
.psv-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.psv-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(50, 50, 52, 0.55);
}
.psv-hero-body {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 48px 24px;
  text-align: center;
}
.psv-hero-h1 {
  margin: 0;
  color: #fff;
  font-weight: 700;
  line-height: 1.15;
  font-size: clamp(28px, 3.6vw, 40px);
}
.psv-hero-home .psv-hero-h1 { font-size: clamp(32px, 5vw, 52px); }
.psv-hero-act { margin: 28px 0 0; }

@media (max-width: 700px) {
  .psv-hero { min-height: 240px; }
  .psv-hero-home { min-height: 360px; }
  .psv-hero-body { padding: 36px 20px; }
}

/* ---- контент ---- */
.psv-page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 24px;
}

.psv-crumbs {
  max-width: 760px;
  margin: 24px auto 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--psv-muted);
}
.psv-crumbs a { color: var(--psv-muted); text-decoration: none; }
.psv-crumbs a:hover { text-decoration: underline; }
.psv-crumb-sep { margin: 0 8px; }
.psv-crumb-now { color: var(--psv-accent); }

.psv-h1 {
  max-width: 760px;
  margin: 20px auto 24px;
  color: var(--psv-ink);
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
}

.psv-prose {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
.psv-prose p { margin: 0 0 1.1em; }
.psv-prose ul { margin: 0 0 1.2em; padding-left: 1.3em; }
.psv-prose li { margin: 0 0 0.45em; }
.psv-prose h2 {
  margin: 2.2em 0 0.6em;
  color: var(--psv-ink);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
}
.psv-prose h3 {
  margin: 1.6em 0 0.5em;
  color: var(--psv-ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}
.psv-prose a { text-underline-offset: 2px; }
.psv-prose a:hover { color: var(--psv-accent-dark); }
.psv-lead { font-size: 19px; }
.psv-meta {
  margin: 20px 0 20px;
  font-size: 13px;
  color: var(--psv-muted);
}
.psv-prose-intro { padding-top: 48px; text-align: center; }
.psv-prose-intro .psv-lead p:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  .psv-prose h2 { font-size: 26px; }
  .psv-prose h3 { font-size: 20px; }
  .psv-lead { font-size: 18px; }
}

.psv-faq-item { margin: 0 0 0.5em; }

/* ---- карточки ---- */
.psv-more,
.psv-explore { margin: 56px 0 24px; }
.psv-more-title {
  margin: 0 0 24px;
  text-align: center;
  color: var(--psv-ink);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
}
.psv-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.psv-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--psv-line);
  border-radius: 6px;
  overflow: hidden;
}
.psv-card-pic { display: block; }
.psv-card-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.psv-card-title {
  margin: 16px 18px 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.psv-card-title a { color: var(--psv-ink); text-decoration: none; }
.psv-card-title a:hover { color: var(--psv-accent); }
.psv-card-text {
  flex: 1 1 auto;
  margin: 0 18px 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--psv-muted);
}
.psv-card-more {
  margin: 0 18px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.psv-card-more:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .psv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .psv-cards { grid-template-columns: 1fr; }
}

/* ---- кнопка и форма ---- */
.psv-btn {
  display: inline-block;
  background: var(--psv-accent);
  color: #fff;
  border: 0;
  border-radius: 5px;
  padding: 12px 26px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}
.psv-btn:hover { background: var(--psv-accent-dark); color: #fff; }

.psv-formbox {
  margin: 32px 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--psv-line);
  border-radius: 6px;
}
.psv-prose .psv-formbox-t { margin-top: 0; }
.psv-field { display: block; margin: 0 0 16px; }
.psv-field span { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.psv-field input,
.psv-field textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #C4C4C8;
  border-radius: 4px;
  background: #fff;
  color: var(--psv-ink);
  font-family: inherit;
  font-size: 16px;
}
.psv-field input:focus,
.psv-field textarea:focus,
.psv-btn:focus-visible,
.psv-nav a:focus-visible,
.psv-burger:focus-visible { outline: 2px solid var(--psv-accent); outline-offset: 2px; }
.psv-form-note { margin: 14px 0 0; font-size: 14px; color: var(--psv-muted); }

/* ---- страницы 404 и 410 ---- */
.psv-error { padding: 72px 0 56px; text-align: center; }
.psv-error-code { margin: 0; font-size: 64px; font-weight: 700; line-height: 1; color: var(--psv-ink); }
.psv-error-h1 { margin: 12px 0 12px; font-size: 40px; font-weight: 700; color: var(--psv-ink); }
.psv-error-line { max-width: 560px; margin: 0 auto 24px; font-size: 18px; color: var(--psv-muted); }
.psv-error-links { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }

/* ---- подвал ---- */
.psv-foot { background: var(--psv-dark); color: #fff; padding: 32px 0 24px; }
.psv-foot a { color: #fff; }
.psv-foot-in { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.psv-totop { margin: 0 0 24px; text-align: right; font-size: 14px; }
.psv-foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.psv-foot-logo { margin: 0 0 8px; font-size: 22px; font-weight: 700; }
.psv-foot-about { margin: 0; font-size: 15px; color: #E5E5E7; }
.psv-foot-title { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.psv-foot-list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.psv-foot-list li { margin: 0 0 6px; }
.psv-foot-col p { margin: 0 0 8px; font-size: 15px; }
.psv-foot-bottom { margin: 32px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 14px; color: #E5E5E7; }

@media (max-width: 800px) {
  .psv-foot-cols { grid-template-columns: 1fr; gap: 24px; }
  .psv-totop { text-align: left; }
}
