:root {
  --accent: #9ad600;
  --accent-hover: #b8ff00;
  --dark: #f5f6f8;
  --dark-soft: #eef0f4;
  --text: #1a1a1a;
  --muted: #5c6570;
  --card: #ffffff;
  --font: "Montserrat", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--dark);
  line-height: 1.55;
}

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

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

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

.section-title {
  margin: 0 0 40px;
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn--accent {
  background: var(--accent);
  color: #111;
}

.btn--accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn--dark-text {
  color: #111;
}

.input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: #fff;
  color: #111;
  font: inherit;
}

.form-msg {
  min-height: 1.2em;
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: #d64545;
}

.form-msg.is-ok {
  color: #5a8f00;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(245, 246, 248, 0.92)),
    url("/images/hero-bg.jpg") center / cover no-repeat;
  color: var(--text);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(245, 246, 248, 0.55));
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0 72px;
}

.hero__brand {
  display: block;
  margin: 0 auto 32px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--accent);
}

.hero__logo {
  width: min(440px, 92vw);
  margin: 0 auto 28px;
}

.hero__logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
}

.hero__content {
  text-align: center;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero__subtitle {
  margin: 0 0 20px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
}

.hero__phone {
  display: block;
  margin-bottom: 24px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #111;
}

.hero__visual {
  position: relative;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 8% 0 0 10%;
  background: linear-gradient(135deg, rgba(120, 170, 255, 0.35), rgba(120, 170, 255, 0.05));
  transform: skewY(-8deg);
  border-radius: 12px;
  z-index: 0;
}

.hero__visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  margin-left: auto;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  font-size: 1.8rem;
  color: #333;
  opacity: 0.6;
}

.brands-bar {
  background: var(--accent);
  color: #111;
  padding: 18px 0;
}

.brands-bar h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 900;
  text-transform: uppercase;
}

.brands {
  padding: 56px 0 72px;
  background: #fff;
}

.brands__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.brand-card {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
}

.brand-card img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

.brand-card--main img {
  max-height: 88px;
}

.engines {
  position: relative;
  padding: 96px 0;
  text-align: center;
  background: #eef0f4;
  color: var(--text);
  overflow: hidden;
}

.engines__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(238, 240, 244, 0.95)),
    url("/images/engine-bg.png") center / cover no-repeat;
  opacity: 0.5;
}

.engines__content {
  position: relative;
  z-index: 1;
}

.engines h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
}

.engines__note {
  margin: 0 0 28px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  text-transform: lowercase;
}

.engines__divider {
  width: min(420px, 80%);
  height: 2px;
  margin: 0 auto 28px;
  background: rgba(0, 0, 0, 0.12);
}

.about {
  padding: 88px 0;
  background: #f3f3f3;
  color: #111;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.about-card {
  position: relative;
  padding: 28px 28px 28px 88px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-card__num {
  position: absolute;
  left: 24px;
  top: 24px;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.about-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
}

.about-card p {
  margin: 0;
  color: #444;
  font-size: 0.95rem;
}

.reviews {
  padding: 88px 0;
  background: #fff;
}

.reviews__label {
  margin: 0 0 8px;
  text-align: center;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.reviews__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.reviews__header h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
}

.reviews__nav {
  display: flex;
  gap: 10px;
}

.reviews__btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #111;
  font-size: 1.1rem;
  cursor: pointer;
}

.reviews__viewport {
  overflow: hidden;
}

.reviews__track {
  display: flex;
  gap: 20px;
  transition: transform 0.35s ease;
}

.review-card {
  flex: 0 0 min(100%, 420px);
  padding: 28px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.review-card p {
  margin: 0 0 18px;
  color: #333;
}

.review-card strong {
  display: block;
  margin-bottom: 4px;
}

.review-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.callback {
  padding: 72px 0;
  background: #eef0f4;
}

.callback__box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.callback__box h2 {
  margin: 0 0 24px;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
}

.callback__form {
  display: grid;
  gap: 12px;
}

.contacts {
  position: relative;
  padding: 96px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.75), rgba(245, 246, 248, 0.85)),
    url("/images/contacts-bg.jpg") center / cover no-repeat;
}

.contacts__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
}

.contacts__card {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  padding: 36px 32px;
  border-radius: 12px;
  background: #fff;
  color: #111;
  text-align: center;
}

.contacts__card h2 {
  margin: 0 0 20px;
  font-size: 1.5rem;
}

.contacts__card p {
  margin: 0 0 10px;
}

.contacts__card a {
  color: #1a56db;
  font-weight: 700;
}

.email-reveal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 8px 14px;
  border: 2px dashed #9ad600;
  border-radius: 8px;
  background: #f8fff0;
  color: #111;
  font: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.email-reveal:hover {
  background: #eefbd8;
  border-color: #7db800;
}

.email-reveal__masked {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.email-reveal__cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: #5a7a00;
}

.email-reveal.is-revealed {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 2px solid #9ad600;
  border-radius: 8px;
  background: #fff;
  padding: 8px 14px;
}

.email-reveal__link {
  color: #9ad600;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: underline;
}

.email-reveal__note {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: #666;
}

.contacts__address {
  margin-top: 16px !important;
  color: #555;
  font-size: 0.92rem;
}

.footer {
  padding: 32px 0 40px;
  background: #e8eaef;
  color: #444;
}

.footer__inner {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.footer__inner img {
  width: 140px;
}

.footer__logo {
  width: min(300px, 75vw);
  margin: 0 auto;
}

.footer__logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.footer__brand {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer__inner a {
  color: #555;
}

.footer__inner a:hover {
  color: #5a8f00;
}

.footer__inner p {
  margin: 0;
  color: #666;
  font-size: 0.85rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal.is-open {
  display: grid;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  color: #111;
}

.modal__dialog--sm {
  text-align: center;
}

.modal__dialog h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.modal__dialog p {
  margin: 0 0 20px;
  color: #555;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
  color: #666;
}

.modal__dialog form {
  display: grid;
  gap: 12px;
}

@media (max-width: 900px) {
  .hero__grid,
  .about__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual img {
    margin: 0 auto;
  }

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

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

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

  .about-card {
    padding-left: 28px;
    padding-top: 72px;
  }

  .about-card__num {
    left: 28px;
    top: 18px;
  }
}

/* Catalog — 21 ad groups */
.catalog {
  padding: 88px 0;
  background: #f5f6f8;
}

.catalog__intro {
  margin: 0 0 48px;
  text-align: center;
  color: var(--muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.catalog__section {
  margin-bottom: 40px;
}

.catalog__section-title {
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.catalog-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.catalog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(154, 214, 0, 0.55);
  box-shadow: 0 8px 22px rgba(154, 214, 0, 0.12);
}

.catalog__section--highlight {
  background: linear-gradient(135deg, rgba(154, 214, 0, 0.12), rgba(154, 214, 0, 0.04));
  border: 2px solid rgba(154, 214, 0, 0.35);
  border-radius: 16px;
  padding: 20px 16px 8px;
  margin-bottom: 28px;
}

.catalog-card--accent {
  border-color: var(--accent);
  background: rgba(154, 214, 0, 0.08);
}

.catalog-card--accent strong {
  color: var(--accent);
}

.catalog__section-title--main {
  margin-top: 8px;
  font-size: 1.15rem;
  text-align: left;
  padding-left: 4px;
}

.btn--outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border: 2px solid var(--accent);
  color: var(--text);
  background: transparent;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}

.btn--outline:hover {
  background: rgba(154, 214, 0, 0.12);
}

.catalog-card__icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.catalog-card__body strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 4px;
  line-height: 1.3;
}

.catalog-card__body span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Unified catalog filter */
.catalog-filter-panel {
  margin-top: 32px;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.catalog-filter-panel__title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.catalog-filter-panel__row {
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: 12px;
  align-items: end;
}

.catalog-filter-panel__field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}

.catalog-filter-panel__input,
.catalog-filter-panel__select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.catalog-filter-panel__reset {
  padding: 10px 18px;
  border: 2px solid var(--accent);
  background: transparent;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  height: 42px;
}

.catalog-filter-panel__count {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.catalog-filter-panel--inline {
  margin: 0 0 20px;
}

.catalog-filter-panel--topbar {
  position: relative;
  flex: 1;
  max-width: 280px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.catalog-filter-panel--topbar .catalog-filter-panel__input {
  background: #222;
  color: #fff;
  border-color: #444;
}

.catalog-filter-panel__results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 50;
  max-height: 280px;
  overflow: auto;
}

.catalog-filter-panel__hit {
  display: block;
  padding: 10px 12px;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.catalog-filter-panel__hit span {
  display: block;
  font-size: 0.75rem;
  color: #666;
  margin-top: 2px;
}

.catalog-filter-panel__hit:hover {
  background: #f5ffe0;
}

@media (max-width: 768px) {
  .catalog-filter-panel__row {
    grid-template-columns: 1fr;
  }
  .catalog-filter-panel--topbar {
    max-width: 100%;
    margin: 0;
    order: 3;
    width: 100%;
  }
  .gp-topbar__inner {
    flex-wrap: wrap;
  }
}
