:root{
  --bg:         #ffffff;
  --panel:      #f4f5f6;
  --ink:        #1c1f24;
  --ink-soft:   #5a616b;
  --line:       #e3e5e8;
  --steel:      #33495e;
  --steel-dark: #233240;
  --orange:     #e15a2e;
  --orange-dark:#c1481f;
}

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html{
  scroll-behavior: smooth;
}

body{
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing:antialiased;
  /* футер прижат к низу на коротких страницах */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main{
  flex: 1 0 auto;
}

h1, h2, h3, .header__logo {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.01em;
}

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

button{
  font-family: inherit;
  cursor: pointer;
}

img, svg {
  display: block;
}

.container {
  width: min(100%, 1300px);
  margin: 0 auto;
  padding: 0 clamp(15px, 3vw, 40px);
}



/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--steel-dark);
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}

.logo span {
  color: var(--orange);
}

.header__nav {
  display: flex;
  gap: 4px;
  background: var(--panel);
  padding: 4px;
  border-radius: 999px;
}

.header__nav a {
  border: none;
  background: transparent;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: .15s;
}

.header__nav a.active {
  background: var(--steel-dark);
  color: #fff;
}

.header__call {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__graph {
  display: block;

  font-weight: 400;
  font-size: 11px;
  color: var(--ink-soft);
}

.call-btn svg {
  display: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* BUTTON */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  font-size: 14.5px;
  transition: .15s;
}

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

.btn-orange:hover {
  background: var(--orange-dark);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
  border-radius: 8px;
}

/* HERO */

.hero {
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(1100px 480px at 82% -10%, #fbe4d8 0%, rgba(251,228,216,0) 60%), var(--bg);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
}

.hero__label .dash {
  width: 28px;
  height: 2px;
  background: var(--orange)
}

h1.hero__heading {
  font-size:clamp(34px,4.6vw,54px);
  font-weight:700;
  line-height:1.08;
  color:var(--steel-dark);
  max-width:15ch;
}

.hero__sub {
  margin-top: 22px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero__cta {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  color: var(--steel-dark);
  border: 1.5px solid var(--line);
}

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

.hero__img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  min-width: 0;
}

.hero__img img {
  display: block;
  width: 100%;
  max-width: 500%;
  height: auto;
  object-fit: contain;
}

/* ADVANTAGES */

.adv {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.adv__head {
  max-width: 44ch;
  margin-bottom: 44px;
}

.adv__head h2 {
  font-size: 30px;
  font-weight: 600;
  color: var(--steel-dark);
}

.adv__head p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.adv__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.adv__item {
  background: #fff;
  padding: 28px 24px;
}

.adv__item svg {
  width: 26px;
  height: 26px;
  color: var(--orange);
  margin-bottom: 16px;
}

.adv__item h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.adv__item p {
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* CATEGORY */

.cat {
  padding: 72px 0;
}

.cat__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 20px;
  flex-wrap: wrap;
}

.cat__head h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--steel-dark);
}

.btn-steel {
  background: var(--steel-dark);
  color: #fff;
}

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

.cat__card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 22px;
  background: var(--panel);
  transition: .15s;
  cursor: pointer;
}

.cat__card:hover {
  border-color: var(--steel-dark);
  background: #fff;
  box-shadow: 0 6px 20px rgba(35, 50, 64, 0.08);
}

.cat__card .num {
  font-size: 12px;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 10px;
}

.cat__card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cat__card p {
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* BRANDS */

.brands-marquee{
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.marquee__fade{
  position: relative;
  overflow: hidden;
}
.marquee__fade::before,
.marquee__fade::after{
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee__fade::before{
  left: 0;
  background: linear-gradient(90deg, var(--bg), rgba(255,255,255,0));
}
.marquee__fade::after{
  right: 0;
  background: linear-gradient(270deg, var(--bg), rgba(255,255,255,0));
}
.marquee__track{
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marquee-scroll 28s linear infinite;
}

.brand-pill{
  flex-shrink: 0;
  padding: 12px 26px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--steel-dark);
  color: #dbe2e8;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
@keyframes marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee__track{ animation: none; }
}

/* FOTTER */

.footer {
  background: var(--steel-dark);
}

.footer__columns {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
  padding: 36px 24px 24px;
  border-bottom: 1px solid #3a4f61;
}

.footer__logo {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.footer__brand p {
  color: #a9b6c1;
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.5;
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__col-title {
  color: #7d8ea0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer__col a {
  color: #dbe2e8;
  font-size: 13.5px;
  margin-bottom: 8px;
  transition: .15s
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 24px;
  font-size: 12.5px;
  color: #7d8ea0;
}

/* ------------------------------------------------------------------------------ */

/* CONTACT HTML */

/* ------------------------------------------------------------------------------ */

/* INFO */

.info {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 380px at 85% -20%, #fbe4d8 0%, rgba(251,228,216,0) 60%),
    var(--bg);
}

.info__wrap h1 {
  font-size: 32px;
  font-weight: 600;
  color: var(--steel-dark);
}

.info__wrap p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 56ch;
}

/* CONTACTS */

.contacts__grid {
  padding: 44px 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact__card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
}

.contact__card h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 14px;
}

.big__phone {
  font-family: 'Oswald',sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--steel-dark);
}

.contact__card .hint {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 6px;
}

.msg__row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.msg__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
}

.msg__btn:hover {
  border-color: var(--steel-dark);
}

.msg__btn svg {
  width: 18px;
  height: 18px;
}

.addr__block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hours__row {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}


/* ------------------------------------------------------------------------------ */

/* CATALOG HTML */

/* ------------------------------------------------------------------------------ */

.info {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 380px at 85% -20%, #fbe4d8 0%, rgba(251,228,216,0) 60%),
    var(--bg);
}

.info__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}

.info__lookup {
  background: var(--steel-dark);
  border-radius: 14px;
  padding: 24px;
  color: #fff;
}

.info__lookup h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.info__lookup p {
  font-size: 12.5px;
  color: #b9c4cd;
  margin-bottom: 16px;
}

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

.lookup__row input {
  flex: 1; min-width: 0; padding: 11px 12px; border-radius: 8px;
  border: 1.5px solid #45596b; background: #1a2530; color: #fff;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
}
.lookup__row input::placeholder {
  color: #7d8ea0;
  font-weight: 400;
}

.lookup__row input:focus {
  outline: none;
  border-color: var(--orange);
}

.lookup__result {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #1a2530;
  font-size: 12.5px;
  color: #d8e0e7;
  display: none;
}

.lookup__result.show {
  display: block;
}

.lookup__result a {
  color: #ff9a74;
  font-weight: 600;
  white-space: nowrap;
}

.lookup__result a:hover {
  text-decoration: underline;
}

.lookup__result b {
  color: #fff;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
}

.pill {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

.pill:hover {
  border-color: var(--steel-dark);
  color: var(--ink);
}

.pill.active {
  background: var(--steel-dark);
  color: #fff;
  border-color: var(--steel-dark);
}

.cat__section {
  padding: 40px 0 8px;
}

.cat__section h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--steel-dark);
  margin-bottom: 4px;
}

.cat__section h2 a:hover {
  color: var(--orange);
}

.cat__section .cat__desc {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 22px;
}

.part__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.part__card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .15s;
}

.part__card:hover {
  border-color: var(--steel-dark);
  box-shadow: 0 6px 20px rgba(35, 50, 64, 0.08);
}

.part__img {
  aspect-ratio: 4 / 3;
  background: var(--panel);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.part__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.part__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.part__code {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .04em;
}

.part__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.part__price {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: auto;
  margin-bottom: 6px;
}

.part__more {
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1.5px solid var(--steel-dark);
  color: var(--steel-dark);
  font-weight: 600;
  font-size: 13.5px;
  text-align: center;
  transition: .15s;
}

.part__card:hover .part__more {
  background: var(--steel-dark);
  color: #fff;
}

/* ------------------------------------------------------------------------------ */

/* PART DETAIL PAGE */

/* ------------------------------------------------------------------------------ */

.part-page {
  padding: 28px 0 80px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

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

.breadcrumbs [aria-current] {
  color: var(--ink);
}

.part-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.part-page__img {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  overflow: hidden;
}

.part-page__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.part-page__info .part__code {
  font-size: 13px;
}

h1.part-page__name {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--steel-dark);
  margin: 6px 0 12px;
}

.part-page__price {
  font-size: 15px;
  color: var(--ink-soft);
}

.part-page__price b {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
}

.part-page__desc {
  margin-top: 20px;
  font-size: 15px;
  color: var(--ink);
}

.part-page__desc p + p {
  margin-top: 10px;
}

.part-page__contact {
  margin-top: 28px;
}

.part-page__call {
  margin-top: 16px;
  width: 100%;
  font-size: 16px;
}

.part-page__call svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .part-page__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  h1.part-page__name {
    font-size: 26px;
  }
}

@media (max-width: 695px) {
  .part-page__contact {
    padding: 22px;
  }
}

/* BOTTOM NAV MENU */

.bottom-nav {
  display: none;
}

/* MOBILE MEDIA */

@media (max-width: 1100px) {
  .part__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {

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

  .hero__img {
    display: none;
  }

  h1.hero__heading {
    font-size: clamp(28px, 6vw, 38px);
    max-width: 20ch;
  }

    /* contact */

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

  .info__lookup {
    max-width: 420px;
    width: 100%;
  }

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



@media (max-width: 695px) {
  .header .container {
    height: 50px;
  }

  .hero {
    padding: 48px 0;
  }

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

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

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

  .hero__sub {
    font-size: 15px;
  }

  .adv__head h2,
  .cat__head h2 {
    font-size: 22px;
  }

  .info__wrap h1 {
    font-size: 24px;
  }

  .cat__section {
    padding: 28px 0 8px;
  }

  /* BOTTOM - NAV */

  .header__nav {
    display: none;
  }

  .call-btn {
    padding: 11px;
    border-radius: 50%;
  }

  .call-btn svg {
    display: block;
  }

  .call-btn__label {
    display: none;
  }

  body {
    padding-bottom: 64px;
  }

  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    z-index: 60;
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  }

  .bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 600;
  }

  .bottom-nav svg {
    width: 22px;
    height: 22px;
  }

  .bottom-nav a.active {
    color: var(--orange);
  }

  .contact__card {
    padding: 22px;
  }

  .msg__row {
    gap: 8px;
  }

  .msg__btn {
    flex: 1;
    justify-content: center;
    padding: 10px 8px;
    font-size: 12.5px;
  }

  .hours__row {
    font-size: 13.5px;
  }
}

@media (max-width: 480px) {
  h1.hero__heading {
    font-size: 26px;
  }

  .big__phone {
    font-size: 24px;
  }

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

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

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

@media (max-width: 420px) {
  .lookup__row {
    flex-wrap: wrap;
  }
  .lookup__row input {
    width: 100%;
  }
  .lookup__row button {
    width: 100%;
  }

  .msg__row {
    flex-direction: column;
  }

  .msg__btn {
    width: 100%;
  }
}

