:root {
  --brand: #d35400;
  --brand-dark: #a84300;
  --brand-light: #e67e22;
  --brand-soft: #f4a261;
  --ink: #2b2b2b;
  --ink-soft: #555;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --white: #fff;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --radius: 4px;
  --container: 1180px;
  --font: "Montserrat", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-head--left {
  text-align: left;
  margin-left: 0;
}

.section-head--light,
.section-head--light p {
  color: var(--white);
}

.section-head h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--ink);
  position: relative;
  display: inline-block;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  background: var(--brand);
  margin: 0.7rem auto 0;
}

.section-head--left h2::after {
  margin-left: 0;
}

.section-head--light h2 {
  color: var(--white);
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.75rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn--primary {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

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

.btn--outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--outline-dark:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--ink);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost-dark:hover {
  background: var(--ink);
  color: var(--white);
}

/* Topbar */
.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
}

.topbar__left {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-soft);
}

.topbar__item svg,
.topbar__social svg {
  width: 16px;
  height: 16px;
}

.topbar__social {
  display: flex;
  gap: 0.75rem;
}

.topbar__social a {
  color: var(--ink-soft);
}

.topbar__social a:hover {
  color: var(--brand);
}

/* Header */
.header {
  background: var(--white);
  padding: 1rem 0;
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.brand__logo {
  width: min(220px, 42vw);
  height: auto;
  object-fit: contain;
}

.header__contacts {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.contact-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-block__icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brand);
}

.contact-block__icon svg {
  width: 20px;
  height: 20px;
}

.contact-block__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.contact-block a {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.contact-block a:hover {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
}

/* Navbar */
.navbar {
  background: var(--brand);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 54px;
}

.menu {
  display: flex;
  flex-wrap: wrap;
}

.menu a {
  display: block;
  padding: 0.95rem 1rem;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu a:hover,
.menu a.is-active {
  background: #2f2f2f;
}

.navbar__side {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-size: 0.78rem;
}

.navbar__search {
  width: 46px;
  height: 46px;
  border: 0;
  background: var(--brand-dark);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}

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

.search-panel {
  background: #2f2f2f;
  padding: 0.75rem 0;
}

.search-panel input {
  width: 100%;
  border: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 680px);
  overflow: hidden;
  background: #1a1a1a;
}

.hero__slides {
  position: relative;
  min-height: inherit;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.78) 0%, rgba(20, 20, 20, 0.45) 55%, rgba(20, 20, 20, 0.25) 100%),
    var(--hero-img) center/cover no-repeat;
  display: grid;
  align-items: center;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.hero__content {
  color: var(--white);
  padding-block: 5rem;
  max-width: 680px;
  animation: fadeUp 0.7s ease both;
}

.hero__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding-top: 0.75rem;
}

.hero__eyebrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--white);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero__text {
  margin: 0 0 1.6rem;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  z-index: 2;
}

.hero__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.hero__dots button.is-active {
  background: var(--brand);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Welcome */
.welcome__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.welcome__copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
}

.welcome__copy h2 strong {
  font-weight: 800;
}

.welcome__copy h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  background: var(--brand);
  margin-top: 0.7rem;
}

.welcome__copy > p {
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}

.feature {
  display: flex;
  gap: 0.85rem;
}

.feature__icon {
  flex: 0 0 42px;
  height: 42px;
  color: var(--brand);
}

.feature__icon svg {
  width: 36px;
  height: 36px;
}

.feature h3 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
}

.feature p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  color: var(--brand);
  font-size: 1.05rem;
}

.stat span {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.welcome__media {
  position: relative;
}

.welcome__media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.welcome__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(30, 30, 30, 0.88);
  color: var(--white);
  padding: 0.9rem 1.1rem;
}

.welcome__badge span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.85;
}

.welcome__badge strong {
  font-size: 1rem;
}

/* Categories */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.categories__item {
  background: var(--brand);
  color: var(--white);
  padding: 2rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.categories__item:nth-child(2) {
  background: var(--brand-light);
}

.categories__item:nth-child(3) {
  background: var(--brand-soft);
  color: #3a2a1a;
}

.categories__item svg {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.categories__item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.categories__item p {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.95;
}

/* Products */
.products {
  background: var(--bg-soft);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filters button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.filters button.is-active,
.filters button:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-card__visual {
  height: 140px;
  background:
    linear-gradient(135deg, rgba(211, 84, 0, 0.12), rgba(0, 0, 0, 0.04)),
    repeating-linear-gradient(
      90deg,
      #c45c2a 0 18px,
      #a8461a 18px 22px
    );
  border-radius: 2px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.product-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.product-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  flex: 1;
}

.product-card__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.product-card__actions label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.product-card__actions input {
  width: 72px;
  padding: 0.45rem 0.5rem;
  border: 1px solid var(--line);
}

.product-card__actions .btn {
  flex: 1;
  min-height: 40px;
  font-size: 0.72rem;
}

.product-card[hidden] {
  display: none !important;
}

/* Advantages */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.advantage-grid article {
  padding: 1.4rem;
  border-top: 3px solid var(--brand);
  background: var(--bg-soft);
}

.advantage-grid h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.advantage-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* Certificates */
.certificates {
  background:
    linear-gradient(120deg, rgba(30, 30, 30, 0.92), rgba(211, 84, 0, 0.78)),
    url("../hero-bg.jpg") center/cover no-repeat;
  padding: 4.5rem 0;
}

.certificate-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.certificate-list li {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.75rem 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Quote */
.quote {
  background: var(--bg-soft);
}

.quote__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.quote-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quote-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
}

.quote-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cart {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem;
  position: sticky;
  top: 72px;
}

.cart__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart__head h3 {
  margin: 0;
  font-size: 1rem;
}

.cart__head button {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 700;
  cursor: pointer;
}

.cart__list {
  display: grid;
  gap: 0.75rem;
}

.cart__list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.cart__list button {
  border: 0;
  background: transparent;
  color: #b00020;
  cursor: pointer;
  font-size: 0.8rem;
}

.cart__empty {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.cart__empty[hidden],
.cart__list:empty + .cart__empty {
  display: block;
}

.cart__list:not(:empty) + .cart__empty {
  display: none;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
}

.contact-list li {
  display: grid;
  gap: 0.15rem;
}

.contact-list strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
}

.contact__cta {
  background: var(--bg-soft);
  padding: 2rem;
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.contact__cta p {
  margin: 0 0 0.5rem;
  color: var(--ink-soft);
}

/* Footer */
.footer {
  background: #1f1f1f;
  color: rgba(255, 255, 255, 0.85);
  padding-top: 3rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer__logo {
  width: 180px;
  margin-bottom: 1rem;
  border-radius: 2px;
}

.footer h4 {
  margin: 0 0 0.85rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.footer ul {
  display: grid;
  gap: 0.45rem;
}

.footer a:hover {
  color: var(--brand-soft);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  font-size: 0.85rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  z-index: 80;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .header__inner {
    grid-template-columns: 1fr auto;
  }

  .header__contacts,
  .header__cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .navbar__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .navbar.is-open .menu {
    display: flex;
  }

  .navbar__side {
    justify-content: space-between;
  }

  .welcome__grid,
  .quote__grid,
  .contact__grid,
  .footer__grid,
  .product-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

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

  .welcome__media img {
    height: 360px;
  }

  .feature-grid,
  .form-row,
  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar__left {
    font-size: 0.72rem;
  }

  .hero {
    min-height: 560px;
  }

  .hero__actions .btn {
    width: 100%;
  }

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