* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  background: #f6f3ef;
  color: #18121d;
  font-family: Manrope, system-ui, sans-serif;
}
a {
  color: #a3124f;
}
a:hover {
  color: #7e0c3c;
}
button,
input,
textarea {
  font-family: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #a3124f !important;
  outline-offset: 3px;
}
input {
  min-width: 0;
}
main {
  display: contents;
}
.mobile-only,
.mobile-intro,
.mobile-actions,
.mobile-bottom {
  display: none;
}
[hidden] {
  display: none !important;
}
#mobile-menu {
  padding: 16px;
  background: white;
}
#mobile-menu a {
  display: block;
  padding: 12px;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.popular-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.popular-card {
  padding: 24px;
  border-radius: 20px;
  background: white;
  border: 1px solid #e7e1dc;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-decoration: none;
  color: #18121d;
}
.popular-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fbeaf1;
  color: #a3124f;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popular-card strong {
  font-size: 17px;
  line-height: 1.3;
}
.popular-card .amount {
  font-family: Unbounded, sans-serif;
  font-weight: 600;
  font-size: 22px;
}
.brands {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
  align-items: center;
}
.brands > a,
.chip {
  border-radius: 999px;
  background: white;
  border: 1px solid #e7e1dc;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: #18121d;
}
.brands > a span {
  color: #625a68;
  margin-left: 8px;
}
.preview-row,
.service-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #efeae5;
  text-decoration: none;
  color: #2a2330;
  font-size: 16px;
}
.preview-row strong,
.service-row strong {
  font-weight: 800;
  text-align: right;
  flex-shrink: 0;
  max-width: 55%;
}
.preview-row strong {
  white-space: normal;
}
.model-chips button {
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid #d9d0c9;
  background: white;
  color: #18121d;
  font-size: 15px;
  font-weight: 700;
}
.model-chips button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
#model-search-form {
  position: relative;
}
#search-results {
  z-index: 5;
  border: 1px solid #d9d0c9;
  border-radius: 14px;
  padding: 8px;
  background: white;
  max-height: 300px;
  overflow: auto;
}
#search-results a {
  display: block;
  padding: 12px;
  color: #18121d;
  text-decoration: none;
}
#search-results a:hover {
  background: #fbeaf1;
}
.catalog {
  padding: 64px 72px 80px;
}
.catalog h1 {
  font:
    700 38px/1.25 Unbounded,
    sans-serif;
  overflow-wrap: anywhere;
  margin: 24px 0;
}
.catalog .description {
  font-size: 18px;
  color: #4a4350;
  line-height: 1.6;
}
.catalog nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.catalog-list {
  padding: 24px;
  border-radius: 24px;
  background: white;
  border: 1px solid #e7e1dc;
}
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.model-grid a {
  display: block;
  border: 1px solid #e7e1dc;
  border-radius: 16px;
  padding: 24px;
  background: white;
  font-weight: 700;
  text-decoration: none;
}
.catalog .primary {
  display: inline-flex;
  padding: 18px 24px;
  border-radius: 14px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
  margin-top: 24px;
}
.widget {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 24px;
}
.privacy p {
  line-height: 1.7;
  max-width: 800px;
}
#lead-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}
#form-status:empty {
  display: none;
}
#form-status {
  margin: 0;
  color: #fff;
  font-size: 15px;
}
@media (min-width: 901px) and (max-width: 1439px) {
  .site-header {
    padding: 0 32px !important;
    gap: 18px !important;
  }
  .site-header nav {
    gap: 16px !important;
  }
  .site-header > div {
    display: none !important;
  }
  #top {
    padding: 56px 32px !important;
    gap: 32px !important;
  }
  .hero-copy {
    width: 52% !important;
    flex-shrink: 1 !important;
  }
  .price-preview {
    width: 48% !important;
    flex-shrink: 1 !important;
  }
  #top h1 {
    font-size: 42px !important;
  }
  #prices,
  #how,
  #reviews {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  #contacts {
    width: 44% !important;
  }
  #request {
    margin-left: 32px !important;
    margin-right: 32px !important;
    gap: 32px !important;
    padding: 40px !important;
  }
  #request > div {
    width: 40% !important;
  }
  .site-header > a:last-of-type {
    padding: 0 14px !important;
  }
  .site-header > a:nth-of-type(2) {
    font-size: 13px !important;
  }
  .catalog {
    padding: 48px 32px;
  }
}
@media (max-width: 900px) {
  html {
    scroll-padding-bottom: 100px;
  }
  .site-shell {
    padding-bottom: 85px;
  }
  .site-header {
    height: 60px !important;
    padding: 0 16px !important;
    gap: 10px !important;
    justify-content: space-between;
  }
  .site-header > a:first-child {
    gap: 10px !important;
  }
  .site-header > a:first-child > span:first-child {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
  }
  .site-header > a:first-child > span:last-child > span:first-child {
    font-size: 15px !important;
  }
  .site-header > a:first-child > span:last-child > span:last-child,
  .site-header > nav,
  .site-header > div:not(.mobile-actions),
  .site-header > a:not(:first-child) {
    display: none !important;
  }
  .mobile-actions {
    display: flex;
    gap: 8px;
  }
  .mobile-actions a,
  .mobile-actions button {
    width: 44px;
    height: 44px;
    border: 1.5px solid #d9d0c9;
    border-radius: 12px;
    color: #18121d;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
  }
  .desktop-only,
  .desktop-intro,
  .hero-badges {
    display: none !important;
  }
  .mobile-only {
    display: inline;
  }
  .mobile-intro {
    display: block;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #4a4350;
  }
  #top {
    padding: 18px 16px 44px !important;
    display: flex !important;
    flex-direction: column;
    gap: 14px !important;
  }
  .hero-copy {
    display: contents !important;
  }
  .hero-copy > div:first-child {
    font-size: 14px !important;
    gap: 6px !important;
  }
  .hero-copy > div:first-child > svg {
    width: 16px;
    height: 16px;
  }
  #top h1 {
    font-size: 28px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
  }
  #model-search-form {
    width: 100%;
    gap: 0 !important;
  }
  #model-search-form > label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  #model-search-form > div:first-of-type {
    gap: 8px !important;
  }
  #model-search-form > div > div {
    height: 52px !important;
    padding: 0 14px !important;
    min-width: 0;
  }
  #model-search-form > div > div > svg {
    display: none;
  }
  #model-search {
    font-size: 16px !important;
    width: 100%;
  }
  #model-search-form button {
    height: 52px !important;
    width: 52px !important;
    flex-shrink: 0;
    padding: 0 !important;
    font-size: 30px !important;
  }
  .model-chips {
    gap: 8px !important;
  }
  .model-chips > span {
    display: none;
  }
  .model-chips button {
    font-size: 14px;
    padding: 0 14px;
  }
  .price-preview {
    width: 100% !important;
    border-radius: 20px !important;
    padding: 18px !important;
    gap: 6px !important;
    box-shadow: none !important;
  }
  .price-preview > div:first-child {
    padding-bottom: 4px;
  }
  .price-preview [data-preview-name] {
    font-size: 19px !important;
  }
  .price-preview [data-preview-count] {
    font-size: 13px !important;
  }
  .preview-row {
    font-size: 14px;
    gap: 12px;
    padding: 10px 0;
  }
  .preview-row.mobile-hide {
    display: none;
  }
  .price-preview > div:nth-child(3) {
    padding: 11px 12px !important;
    margin-top: 6px;
    border-radius: 12px !important;
  }
  .price-preview > div:nth-child(3) > span {
    font-size: 14px !important;
  }
  .price-preview > div:nth-child(4),
  .price-preview > [data-preview-link] {
    display: none !important;
  }
  .mobile-bottom {
    position: fixed;
    z-index: 20;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px max(20px, env(safe-area-inset-bottom));
    display: flex;
    gap: 8px;
    background: white;
    border-top: 1px solid #e7e1dc;
    box-shadow: 0 -12px 24px -16px rgba(24, 18, 29, 0.25);
  }
  .mobile-bottom > a {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border: 1.5px solid #d9d0c9;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #18121d;
  }
  .mobile-bottom > .primary {
    flex-grow: 1;
    width: auto;
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
  }
  #prices,
  #how,
  #reviews {
    padding: 40px 16px !important;
    gap: 24px !important;
  }
  #prices > div:first-child {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 16px !important;
  }
  h2 {
    font-size: 26px !important;
  }
  #prices p {
    font-size: 15px !important;
  }
  .popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .popular-card {
    padding: 16px;
    gap: 14px;
  }
  .popular-card strong {
    font-size: 15px;
  }
  .popular-card .amount {
    font-size: 17px;
  }
  .brands {
    gap: 8px;
  }
  .brands > b {
    width: 100%;
  }
  #how > div {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
  }
  #how > div > div > span:first-child {
    font-size: 34px !important;
  }
  #how > div > div > span:nth-child(2) {
    font-size: 17px !important;
  }
  #how > div > div > span:last-child {
    font-size: 14px !important;
  }
  #reviews {
    flex-direction: column;
  }
  #reviews > div:first-child > div {
    height: 300px !important;
    padding: 20px !important;
  }
  #contacts {
    width: 100% !important;
  }
  #request {
    margin: 0 16px 40px !important;
    padding: 24px !important;
    gap: 24px !important;
    border-radius: 20px !important;
    flex-direction: column;
  }
  #request > div {
    width: 100% !important;
  }
  #request form {
    grid-template-columns: 1fr !important;
  }
  #request form > * {
    grid-column: 1 !important;
  }
  #request p {
    font-size: 15px !important;
  }
  footer {
    padding: 32px 16px !important;
    flex-direction: column;
    gap: 24px !important;
  }
  footer > div:last-child {
    text-align: left !important;
  }
  .catalog {
    padding: 24px 16px 40px;
  }
  .catalog h1 {
    font-size: 26px;
  }
  .catalog-list {
    padding: 16px;
  }
  .model-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .model-grid a {
    padding: 16px;
  }
  .service-row {
    font-size: 14px;
  }
  .service-row strong {
    max-width: 50%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Monetary amount stays prominent; diagnostic explanations never inherit display typography. */
.price-stack {
  display: block;
  min-width: 0;
}
.price-main {
  display: block;
  white-space: nowrap;
}
.price-note {
  display: block;
  margin-top: 4px;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: #625a68;
  white-space: normal;
  overflow-wrap: anywhere;
}
.catalog .service-price-note {
  margin-top: -12px;
  font-size: 14px;
}
.service-price .price-main {
  font-family: Unbounded, sans-serif;
  font-size: 24px;
  font-weight: 600;
}

.yandex-embed {
  min-width: 0;
  max-width: 100%;
}
.yandex-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 16px;
  background: #fff;
}
.yandex-rating iframe {
  width: 150px;
  height: 50px;
  border-radius: 0;
}
.yandex-fallback {
  display: block;
  margin: 8px 0;
  font:
    600 12px/1.5 Manrope,
    sans-serif;
}
.hero-badges {
  flex-wrap: wrap;
}
.hero-badges > div {
  min-width: 182px;
  flex: 1;
}
.legal-details {
  max-width: 380px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  #reviews > div:first-child > .yandex-reviews {
    height: auto !important;
    padding: 0 !important;
  }
  .yandex-reviews iframe {
    height: 460px;
  }
  .mobile-bottom > .mobile-call {
    width: auto;
    padding: 0 16px;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
  }
}
