:root {
  --red: #e31e24;
  --red-dark: #c9151b;
  --text: #333333;
  --muted: #777777;
  --soft: #f7f7f7;
  --line: #ececec;
  --dark: #2f2f2f;
  --footer: #272727;
  --container: 1320px;
  font-family: "IBM Plex Sans", "Open Sans", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.topbar__inner {
  min-height: 89px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  width: 143px;
  height: auto;
}

.slogan {
  min-width: 235px;
  font-size: 13px;
  line-height: 1.35;
  color: #777;
}

.search {
  flex: 1 1 420px;
  max-width: 520px;
  height: 39px;
  display: flex;
  align-items: center;
  border: 1px solid #e6e6e6;
  background: #fafafa;
}

.search input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 14px;
  background: transparent;
  color: #555;
}

.search button {
  width: 46px;
  height: 100%;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
}

.search svg {
  fill: #888;
}

.phone-menu {
  position: relative;
  flex: 0 0 auto;
}

.phone-menu__button {
  border: 0;
  background: transparent;
  padding: 10px 0;
  font-weight: 700;
  font-size: 14px;
  color: #333;
}

.phone-menu__button::after,
.menu__link::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 5px;
  margin-left: 8px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  opacity: 0.55;
}

.dropdown,
.catalog-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.dropdown.is-open,
.catalog-dropdown.is-open {
  display: block;
}

.dropdown--phones {
  width: 290px;
  padding: 18px;
}

.dropdown--phones a {
  display: block;
  padding: 8px 0;
}

.dropdown--phones span,
.dropdown--phones dt {
  display: block;
  font-size: 12px;
  color: #999;
}

.dropdown--phones dl {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.dropdown--phones dd {
  margin: 0 0 12px;
  color: #555;
}

.btn {
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  min-height: 40px;
  padding: 0 22px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn--large {
  min-height: 48px;
  padding: 0 26px;
}

.btn--wide {
  width: 100%;
}

.btn--ghost {
  background: #fff;
  color: var(--red);
}

.btn--ghost:hover {
  background: #fff4f4;
  color: var(--red-dark);
}

.mainnav {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.mainnav__inner {
  min-height: 61px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.menu,
.header-actions {
  display: flex;
  align-items: center;
  gap: 36px;
}

.menu a,
.menu__link,
.header-actions a {
  min-height: 61px;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  color: #333;
  font-size: 13px;
  font-weight: 700;
}

.menu a:hover,
.menu__link:hover,
.header-actions a:hover {
  color: var(--red);
}

.header-actions {
  gap: 18px;
}

.header-actions a {
  color: #777;
  font-weight: 500;
}

.catalog-dropdown {
  left: 0;
  right: 0;
  top: 61px;
  padding: 28px 0;
}

.catalog-dropdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.catalog-dropdown a {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid #f1f1f1;
  font-size: 14px;
}

.catalog-dropdown a:hover,
.catalog-dropdown .is-active {
  color: var(--red);
  border-color: #ffd6d8;
}

.dropdown--info {
  right: 220px;
  top: 61px;
  width: 180px;
  padding: 12px 0;
}

.dropdown--info a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 3px;
  padding: 9px;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #333;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  padding: 31px 0 22px;
  color: #aaa;
  font-size: 13px;
}

.breadcrumbs a:hover {
  color: var(--red);
}

.page-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding-bottom: 70px;
}

.catalog-side {
  position: sticky;
  top: 174px;
  border: 1px solid #eeeeee;
  background: #fff;
}

.catalog-side__title {
  padding: 18px 20px;
  color: #555;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 1px solid #eeeeee;
}

.catalog-side a,
.catalog-side__group {
  width: 100%;
  display: block;
  border: 0;
  border-bottom: 1px solid #f2f2f2;
  padding: 13px 20px;
  background: #fff;
  color: #555;
  text-align: left;
  font-size: 13px;
  line-height: 1.35;
}

.catalog-side a:hover,
.catalog-side__group:hover,
.catalog-side .is-current {
  color: var(--red);
}

.catalog-side__group {
  font-weight: 700;
}

.catalog-side__sub {
  padding: 5px 0 10px 14px;
  border-bottom: 1px solid #f2f2f2;
}

.catalog-side__sub a {
  border-bottom: 0;
  padding: 7px 18px;
  color: #777;
  font-size: 12px;
}

.content {
  min-width: 0;
}

.section {
  margin-top: 44px;
}

.section-card {
  border: 1px solid #eeeeee;
  background: #fff;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.04);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 38px;
  padding: 52px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: #999;
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 740px;
  font-size: 38px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 15px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 800;
}

.hero p {
  max-width: 790px;
  margin-bottom: 30px;
  color: #666;
  font-size: 17px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions .btn {
  min-width: 172px;
}

.hero__catalog {
  margin-top: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__catalog span {
  color: #777;
  font-size: 13px;
  font-weight: 800;
}

.hero__catalog a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #eeeeee;
  border-radius: 3px;
  background: #fff;
  color: #333;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
}

.hero__catalog a:hover {
  border-color: #ffd3d5;
  color: var(--red);
}

.hero__visual {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.product-stage {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  border: 1px solid #eeeeee;
  background: #fff;
}

.product-stage__image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  object-position: center;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.spec-strip span {
  padding: 13px 16px;
  border: 1px solid #eeeeee;
  background: #fff;
  color: #555;
  font-size: 13px;
  font-weight: 800;
}

.section__head {
  max-width: 930px;
  margin-bottom: 24px;
}

.section__head p {
  margin-bottom: 0;
  color: #666;
}

.scenario-section {
  padding: 42px;
}

.scenario-section .section__head {
  margin-bottom: 24px;
}

.switch-info {
  margin-top: 24px;
  padding: 42px;
}

.switch-info__intro {
  max-width: 970px;
  margin-bottom: 28px;
}

.switch-info__intro p {
  margin-bottom: 0;
  color: #666;
  font-size: 16px;
}

.subsection-title {
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--red);
  color: #333;
  font-size: 20px;
  line-height: 1.25;
}

.why-relion {
  margin-bottom: 28px;
  padding: 24px 26px;
  border: 1px solid #eeeeee;
  background: #fafafa;
}

.why-relion h3 {
  margin-bottom: 14px;
}

.why-relion ul {
  margin: 0;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid #eeeeee;
  background: #eeeeee;
  color: #555;
  list-style: none;
}

.why-relion li {
  padding: 18px 20px;
  background: #fff;
}

.switch-info__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid #eeeeee;
  background: #eeeeee;
}

.switch-info__grid article {
  min-height: 245px;
  padding: 28px;
  background: #fff;
}

.switch-info__grid p {
  margin-bottom: 14px;
  color: #666;
}

.switch-info__grid p:last-child {
  margin-bottom: 0;
}

.switch-info__grid b,
.switch-info__cta b {
  color: #333;
}

.switch-info__cta {
  margin-top: 24px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #eeeeee;
  background: #fafafa;
}

.switch-info__cta p {
  max-width: 660px;
  margin: 0;
  color: #555;
}

.switch-info__actions {
  flex: 0 0 340px;
  display: grid;
  gap: 14px;
}

.catalog-links {
  display: grid;
  gap: 7px;
}

.catalog-links span {
  color: #777;
  font-size: 13px;
  font-weight: 800;
}

.catalog-links a {
  color: #333;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #d8d8d8;
  text-underline-offset: 4px;
}

.catalog-links a:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

.switch-info__actions .btn {
  width: 100%;
  min-height: 48px;
  text-align: center;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.task-card {
  min-height: 292px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid #eeeeee;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.task-card:hover,
.task-card.is-selected {
  border-color: #ffd3d5;
  box-shadow: 0 12px 32px rgba(227, 30, 36, 0.08);
  transform: translateY(-2px);
}

.task-card p {
  color: #666;
}

.task-card ul {
  margin: 0 0 20px;
  padding-left: 18px;
  color: #555;
}

.task-card button {
  margin-top: auto;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--red);
  text-align: left;
  font-weight: 800;
}

.selection {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 36px;
  padding: 42px;
}

.scenario-form {
  margin-top: 1px;
  padding: 34px 30px;
  border: 1px solid #eeeeee;
  background: #fafafa;
}

.selection__text p {
  color: #666;
}

.selected-task {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--red);
  background: #fafafa;
  color: #555;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.request-form label {
  display: grid;
  gap: 8px;
  color: #555;
  font-size: 13px;
  font-weight: 800;
}

.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  background: #fff;
  color: #333;
  outline: 0;
}

.request-form select {
  height: 44px;
  padding: 0 12px;
}

.request-form textarea {
  resize: vertical;
  padding: 12px;
}

.request-form select:focus,
.request-form textarea:focus {
  border-color: var(--red);
}

.request-form__wide,
.form-status {
  grid-column: 1 / -1;
}

.form-presets {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #eeeeee;
  background: #fff;
}

.form-presets span {
  color: #777;
  font-size: 13px;
  font-weight: 800;
}

.form-presets button {
  min-height: 36px;
  border: 1px solid #ffd3d5;
  border-radius: 3px;
  background: #fff;
  color: var(--red);
  padding: 0 14px;
  font-weight: 800;
}

.form-presets button:hover {
  border-color: var(--red);
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: #555;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid #eeeeee;
  background: #eeeeee;
}

.related-grid article {
  min-height: 172px;
  padding: 25px;
  background: #fff;
}

.related-grid p {
  margin: 0;
  color: #666;
}

.section__button {
  margin-top: 22px;
}

.dealer {
  padding: 42px;
}

.dealer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid #eeeeee;
  background: #eeeeee;
}

.dealer__grid article {
  min-height: 190px;
  padding: 24px;
  background: #fff;
}

.dealer__grid p {
  margin: 0;
  color: #666;
}

.dealer__cta {
  margin-top: 24px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #eeeeee;
  background: #fafafa;
}

.dealer__cta p {
  max-width: 720px;
  margin: 0;
  color: #555;
}

.dealer__cta .btn {
  flex: 0 0 280px;
  min-height: 48px;
}

.section--gray {
  padding: 38px;
  background: #f7f7f7;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #e9e9e9;
  border: 1px solid #e9e9e9;
}

.benefits div {
  min-height: 116px;
  padding: 24px;
  display: grid;
  gap: 8px;
  background: #fff;
}

.benefits b {
  font-size: 16px;
}

.benefits span {
  color: #666;
}

.faq details {
  border: 1px solid #eeeeee;
  border-bottom: 0;
  background: #fff;
}

.faq details:last-child {
  border-bottom: 1px solid #eeeeee;
}

.faq summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
  color: #333;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "+";
  color: #999;
  font-size: 20px;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "-";
}

.faq p {
  margin: 0;
  padding: 0 24px 22px;
  color: #666;
}

.site-footer {
  background: var(--footer);
  color: #999;
}

.footer__top {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
}

.footer__phone {
  color: #fff;
  font-weight: 800;
}

.footer__contacts button,
.footer__bottom button {
  border: 0;
  background: transparent;
  color: #cfcfcf;
  padding: 0;
}

.footer__contacts a:hover,
.footer__contacts button:hover,
.footer__bottom a:hover,
.footer__bottom button:hover {
  color: #fff;
}

.footer__social {
  display: flex;
  gap: 8px;
}

.footer__social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #383838;
  color: #ddd;
  font-size: 12px;
  font-weight: 800;
}

.footer__bottom {
  padding: 32px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .slogan,
  .header-actions {
    display: none;
  }

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

  .catalog-side {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-side__title,
  .catalog-side__sub {
    grid-column: 1 / -1;
  }

  .hero,
  .selection {
    grid-template-columns: 1fr;
  }

  .dealer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .topbar__inner {
    min-height: 74px;
    gap: 16px;
  }

  .search,
  .phone-menu,
  .topbar__cta,
  .mainnav {
    display: none;
  }

  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }

  .site-header.is-mobile-open .mainnav {
    display: block;
  }

  .site-header.is-mobile-open .mainnav__inner,
  .menu {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-header.is-mobile-open .menu a,
  .site-header.is-mobile-open .menu__link {
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }

  .catalog-dropdown,
  .dropdown--info {
    position: static;
    box-shadow: none;
    border-left: 0;
    border-right: 0;
  }

  .catalog-dropdown__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 30px 24px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  .task-grid,
  .dealer__grid,
  .related-grid,
  .switch-info__grid,
  .why-relion ul,
  .benefits,
  .request-form {
    grid-template-columns: 1fr;
  }

  .selection,
  .scenario-section,
  .dealer,
  .switch-info,
  .section--gray {
    padding: 28px 22px;
  }

  .switch-info__cta,
  .dealer__cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .switch-info__actions,
  .dealer__cta .btn {
    width: 100%;
    flex-basis: auto;
  }

  .footer__top,
  .footer__bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .catalog-side {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    display: grid;
  }

  .product-stage {
    min-height: 250px;
  }

  .product-stage__image {
    min-height: 250px;
    object-position: 55% 52%;
  }

  .spec-strip {
    grid-template-columns: 1fr;
  }
}

.relion-line {
  margin-bottom: 28px;
}

.relion-line__table {
  border: 1px solid #eeeeee;
  background: #fff;
}

.relion-line__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 22px;
  border-bottom: 1px solid #f2f2f2;
  transition: background 0.15s ease;
}

.relion-line__row:last-child {
  border-bottom: 0;
}

.relion-line__row:hover {
  background: #fcfafa;
}

.relion-line__ic {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fdeaea;
  color: var(--red);
}

.relion-line__ic svg {
  width: 22px;
  height: 22px;
}

.relion-line__cell {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 4px 22px;
  align-items: baseline;
}

.relion-line__label {
  font-weight: 800;
  color: #333;
}

.relion-line__val {
  color: #666;
}

.relion-line__val b {
  color: var(--red);
  font-weight: 700;
}

@media (max-width: 920px) {
  .relion-line__row {
    align-items: flex-start;
  }

  .relion-line__cell {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
