* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --dark: #111111;
  --dark-soft: #1a1a1a;
  --gray: #2a2a2a;
  --text: #f5f1e8;
  --muted: #b8b0a3;
  --gold: #c9a45c;
  --gold-dark: #9f7b34;
  --white: #ffffff;
}

/* html {
  scroll-behavior: smooth;
} */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  font-family: Arial, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
    height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* HEADER */

.header {
      position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  /* position: sticky; */
  /* top: 0; */
  /* z-index: 100; */
  background: rgba(17, 17, 17, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 164, 92, 0.18);
}

.header__inner {
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 120px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  color: var(--muted);
}

.nav a {
  transition: 0.25s ease;
}

.nav a:hover {
  color: var(--gold);
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.header__phone::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.46 15.46 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24 11.36 11.36 0 0 0 3.57.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.36 11.36 0 0 0 .57 3.57 1 1 0 0 1-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.46 15.46 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24 11.36 11.36 0 0 0 3.57.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.36 11.36 0 0 0 .57 3.57 1 1 0 0 1-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  transform-origin: 50% 70%;
  will-change: transform;
}

.header__phone:hover {
  color: var(--gold);
}

.header__phone:hover::before {
  animation: phone-vibration 0.65s ease-in-out;
}

@keyframes phone-vibration {
  0%, 100% { transform: rotate(0) translateX(0) scale(1); }
  15% { transform: rotate(-15deg) translateX(-1px) scale(1.06); }
  30% { transform: rotate(14deg) translateX(1px) scale(1.06); }
  45% { transform: rotate(-12deg) translateX(-1px) scale(1.04); }
  60% { transform: rotate(10deg) translateX(1px) scale(1.04); }
  75% { transform: rotate(-7deg) translateX(-1px) scale(1.02); }
  90% { transform: rotate(5deg) translateX(1px) scale(1.01); }
}

.header__btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
  text-align: center;
}

.header__btn,
.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #151515;
}

.btn--secondary {
  border: 1px solid rgba(201, 164, 92, 0.5);
  color: var(--gold);
}

.btn:hover,
.header__btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* BURGER */

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(201, 164, 92, 0.35);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  margin: 5px auto;
  transition: 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE MENU */

.mobile-menu {
  display: none;
  z-index: 999;
  overflow-y: auto; 
}

.mobile-menu__nav {
    display: grid;
    gap: 18px;
    margin-bottom: 32px;
    justify-items: center;
    text-align: center;
}

.mobile-menu__nav a {
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.mobile-menu__contacts {
    display: grid;
    gap: 14px;
    justify-items: center;
    text-align: center;
}

.mobile-menu__contacts a:first-child {
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
}

.mobile-menu__contacts a:nth-child(2) {
    color: var(--gold);
    font-size: 16px;
}

.mobile-menu__contacts a:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #151515;
  font-weight: 700;
  padding: 10px;
}

.mobile-menu__social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-bottom: 30px;
}

.mobile-menu__social a {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(201, 164, 92, 0.08);
    border: 1px solid rgba(201, 164, 92, 0.18);

    transition: 0.3s ease;
}

.mobile-menu__social a:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
}

.mobile-menu__social img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* HERO */

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(17,17,17,0.96), rgba(17,17,17,0.72)),
    radial-gradient(circle at 80% 20%, rgba(201,164,92,0.18), transparent 35%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 10px;
  align-items: center;
  padding-top: 80px;
}

.hero__label,
.section-label {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.05;
  /* max-width: 760px; */
  margin-bottom: 24px;
}

.hero__title {
  max-width: 720px;
  font-size: clamp(46px, 5vw, 70px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -2.2px;
  text-wrap: balance;
  margin-bottom: 26px;
}

.hero__title span {
  display: block;
  margin-top: 10px;
  color: var(--gold);
  font-size: 0.72em;
  line-height: 1.12;
  letter-spacing: -1.2px;
}

.hero__text {
  font-size: 20px;
  color: var(--muted);
  /* max-width: 620px; */
  margin-bottom: 34px;
}

.hero__subtitle {
  position: relative;
  max-width: 650px;
  padding-left: 24px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 16px;
}

.hero__subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
}

.hero__content > .hero__text {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.hero__features {
  display: grid;
  gap: 10px;
  list-style: none;
  color: var(--muted);
}

.hero__features li::before {
  content: "✓";
  color: var(--gold);
  margin-right: 10px;
}

.hero__image {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.hero__image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* COMMON SECTIONS */

section {
  padding: 60px 0;
}  

.section-heading {
  margin-bottom: 48px;
}

.section-heading h2,
.about h2,
.contacts h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-heading p,
.about p,
.contacts p {
  color: var(--muted);
  font-size: 18px;
}

/* CATALOG */

.catalog,
.about,
.order {
  background: var(--dark);
}

.catalog__grid,
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.catalog__card,
.order__step,
.partners__item,
.contacts__form {
  background: linear-gradient(180deg, #1d1d1d, #151515);
  border: 1px solid rgba(201, 164, 92, 0.16);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
}

.catalog__card {
  position: relative;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.catalog__card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 164, 92, 0.46);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.34);
}

.catalog__card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 26px;
  color: inherit;
}

.catalog__card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 22px;
}

.catalog__card h3,
.services__item h3,
.order__step h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.catalog__card p,
.services__item p,
.order__step p {
  color: var(--muted);
  margin-bottom: 18px;
}

.catalog__card p {
  flex-grow: 1;
}

.catalog__more-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  color: var(--gold);
  font-weight: 700;
}

.catalog__more-link svg {
  width: 32px;
  height: 32px;
  padding: 7px;
  border: 1px solid rgba(201, 164, 92, 0.42);
  border-radius: 50%;
  background: rgba(201, 164, 92, 0.08);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.catalog__card:hover .catalog__more-link svg,
.catalog__card-link:focus-visible .catalog__more-link svg {
  transform: translate(3px, -3px);
}

.catalog__card-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -4px;
  border-radius: inherit;
}

.catalog__more-btn {
  display: none;

  width: 60px;
  height: 60px;

  margin: 30px auto 0;

  border: 1px solid rgba(201, 164, 92, 0.25);
  border-radius: 50%;

  background: #1b1b1b;
  color: var(--gold);

  cursor: pointer;

  transition: 0.3s ease;
}

.catalog__more-btn:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.catalog__more-btn svg {
  width: 24px;
  height: 24px;
  transition: 0.35s ease;
}

.catalog__more-btn.active svg {
  transform: rotate(180deg);
}

.catalog__more-btn:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.catalog__more-btn span {
  display: block;

  color: var(--gold);

  font-size: 34px;
  line-height: 1;

  transition: 0.35s ease;
}

.catalog__more-btn.active span {
  transform: rotate(180deg);
}

.catalog__more-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

@media (max-width: 768px) {

  .catalog__card:nth-child(n + 4) {
    display: none;
  }

  .catalog__grid.catalog__grid--open .catalog__card {
    display: block;
  }

  .catalog__more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

}
/* SERVICES */

.services,
.partners,
.contacts {
  background: var(--dark-soft);
}

.services__item {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 26px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(201, 164, 92, 0.16);
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
  transition: 0.4s ease;
}

.services__item:hover {
  transform: translateY(-6px);
}

.services__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.08),
      rgba(0,0,0,0.40)
    );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
}

.services__overlay h3 {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--white);
}

.services__overlay p {
  color: rgba(255,255,255,0.86);
  margin: 0;
}

.services__more-link {
  margin-top: 18px;
  color: var(--gold);
}

.services__item:hover .services__more-link svg,
.services__overlay:focus-visible .services__more-link svg {
  transform: translateX(4px);
}

.service-earthworks {
  background-image: url("../img/services/earthworks.jpg");
}

.service-materials {
  background-image: url("../img/services/materials.jpg");
}

.service-soil {
  background-image: url("../img/services/soil.jpg");
}

.service-snow {
  background-image: url("../img/services/snow.jpg");
}

.service-transport {
  background-image: url("../img/services/transport.jpg");
}

.service-oversized {
  background-image: url("../img/services/oversized.jpg");
}

/* SERVICES MOBILE SLIDER */

.services-slider {
  position: relative;
  width: 100%;
}

.services-dots {
  display: none;
}

@media (max-width: 768px) {
  .services-slider {
    overflow: hidden;
  }

  .services-slider .services__grid {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    width: 100%;
    transition: transform 0.45s ease;
  }

  .services-slider .services__item {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
  }

  .services-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 6px;
  }

  .services-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: rgba(201, 164, 92, 0.28);
    cursor: pointer;
    transition: 0.3s ease;
  }

  .services-dot.active {
    background: var(--gold);
    transform: scale(1.3);
  }
}

/* ABOUT */

.about__inner,
.contacts__inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about__content p {
  margin-bottom: 18px;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.about__stats div {
  padding: 22px;
  border-radius: 22px;
  background: #1b1b1b;
  border: 1px solid rgba(201, 164, 92, 0.14);
}

.about__stats strong {
  display: block;
  color: var(--gold);
  font-size: 24px;
  margin-bottom: 8px;
}

.about__stats span {
  color: var(--muted);
  font-size: 14px;
}

.about__image {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.2);
}

.about__image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* PARTNERS */

.partners__slider {
  position: relative;
  width: 100%;
}

.partners__window {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}

.partners__track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s ease;
  will-change: transform;
}

.partners__item {
  width: 220px;
  min-height: 120px;
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners__item img {
  max-width: 150px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: 0.3s ease;
}

.partners__item:hover img {
  opacity: 1;
  transform: scale(1.05);
}

/* ORDER */

.order__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.order__step span {
  display: inline-flex;
  color: var(--gold);
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 20px;
}

/* CONTACTS */

.contacts__list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--gold);
  font-weight: 700;
  font-size: 18px;

  transition: 0.3s ease;
}

.contact-link:hover {
  transform: translateX(4px);
}

.contact-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.contacts__form {
  display: grid;
  gap: 18px;
}

.contacts__form h3 {
  font-size: 28px;
  margin-bottom: 6px;
}

.contacts__form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.contacts__form input,
.contacts__form textarea {
  width: 100%;
  border: 1px solid rgba(201, 164, 92, 0.18);
  background: #111;
  color: var(--text);
  border-radius: 16px;
  padding: 16px;
  font-size: 16px;
  outline: none;
}

.contacts__form textarea {
  min-height: 120px;
  resize: vertical;
}

.contacts__form input:focus,
.contacts__form textarea:focus {
  border-color: var(--gold);
}

.form__note {
  font-size: 12px;
  color: var(--muted);
}

/* FOOTER */

.footer {
  background: #0b0b0b;
  border-top: 1px solid rgba(201, 164, 92, 0.16);
  padding: 56px 0 28px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 34px;
}

.footer__info p {
  color: var(--muted);
  margin-top: 12px;
}

.footer__nav,
.footer__contacts {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.footer__nav a:hover,
.footer__contacts a:hover {
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

/* ADAPTIVE 1123PX */

@media (max-width: 1123px) {
  .header__inner {
    min-height: 110px;
  }

  .logo img {
    height: 100px;
  }

  .nav,
  .header__contacts {
    display: none;
  }

  .burger {
    display: block;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 110px;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100dvh - 110px);
    background: #111111;
    border-top: 1px solid rgba(201, 164, 92, 0.16);
    border-bottom: 1px solid rgba(201, 164, 92, 0.16);
    padding: 26px 32px 32px;
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: 0.35s ease;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    height: calc(100dvh - 110px);
    max-height: none;
  }
}

/* TABLET */

@media (max-width: 1024px) {
  .container {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero__inner,
  .about__inner,
  .contacts__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .catalog__grid,
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .order__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__image img,
  .about__image img {
    height: 420px;
  }

  .hero__subtitle,
  .hero__text {
    width: 100%;
    max-width: none;
  }

  .hero__content {
    width: 100%;
    max-width: none;
  }

  .hero__content > .hero__text {
    display: block;
    width: 100% !important;
    max-width: none !important;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .container {
    padding-left: 22px;
    padding-right: 22px;
  }

  section {
    padding: 50px 0;
  }

  .header__inner {
    min-height: 92px;
  }

  .logo img {
    height: 82px;
  }

  .mobile-menu {
    top: 92px;
    height: calc(100dvh - 92px);
    padding-left: 22px;
    padding-right: 22px;
    padding-bottom: max(32px, calc(env(safe-area-inset-bottom) + 20px));
    max-height: none;
  }

  .mobile-menu.active {
    height: calc(100dvh - 92px);
    max-height: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding-top: 64px;
    gap: 36px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.15;
  }

  .hero__title {
    font-size: 40px;
    line-height: 1.07;
    letter-spacing: -1.2px;
  }

  .hero__title span {
    margin-top: 8px;
    font-size: 0.76em;
    letter-spacing: -0.6px;
  }

  .hero__subtitle {
    padding-left: 18px;
    font-size: 18px;
  }

  .hero__text {
    font-size: 18px;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-height: 52px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .catalog__grid,
  .services__grid,
  .order__steps,
  .about__stats,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .catalog__card,
  .order__step,
  .contacts__form {
    border-radius: 22px;
    padding: 22px;
  }

  .catalog__card {
    padding: 0;
  }

  .catalog__card-link {
    padding: 22px;
  }

  .services__item {
    min-height: 300px;
    border-radius: 22px;
  }

  .services__overlay {
    padding: 24px;
  }

  .services__overlay h3 {
    font-size: 24px;
  }

  .partners__track {
    gap: 16px;
  }

  .partners__item {
    width: 170px;
    flex-basis: 170px;
    min-height: 96px;
    border-radius: 20px;
    padding: 22px;
  }

  .partners__item img {
    max-width: 120px;
    max-height: 54px;
  }

  .hero__image img,
  .about__image img {
    height: 320px;
  }

  .footer__bottom {
    flex-direction: column;
  }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .header__inner {
    min-height: 82px;
  }

  .logo img {
    height: 72px;
  }

  .mobile-menu {
    top: 82px;
    height: calc(100dvh - 82px);
    padding-left: 18px;
    padding-right: 18px;
    max-height: none;
  }

  .mobile-menu.active {
    height: calc(100dvh - 82px);
    max-height: none;
  }

  h1 {
    font-size: 32px;
  }

  .hero__title {
    font-size: 35px;
    letter-spacing: -0.8px;
  }

  .hero__title span {
    font-size: 0.78em;
  }

  .section-heading h2,
  .about h2,
  .contacts h2 {
    font-size: 30px;
  }

  .section-heading p,
  .about p,
  .contacts p {
    font-size: 16px;
  }

  .hero__image img,
  .about__image img {
    height: 280px;
  }

  .catalog__card img {
    height: 190px;
  }

  .services__item {
    min-height: 280px;
  }

  .services__overlay {
    padding: 22px;
  }
}

@media (max-width: 480px) {

    .mobile-menu__social {
        gap: 16px;
    }

    .mobile-menu__social a {
        width: 48px;
        height: 48px;
    }

    .mobile-menu__social img {
        width: 24px;
        height: 24px;
    }

}

/* EQUIPMENT PAGE */

.equipment-hero {
  padding-top: 140px;
  padding-bottom: 60px;

  text-align: center;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(201,164,92,.12),
      transparent 40%
    ),
    var(--dark);
}

@media (max-width: 768px) {

  .equipment-hero {
    padding-top: 110px;
    padding-bottom: 40px;
  }

}

@media (max-width: 480px) {

  .equipment-hero {
    padding-top: 90px;
    padding-bottom: 30px;
  }

} 

/* .equipment-hero .container {
  max-width: 900px;
} */

.equipment-hero h1 {
  margin-left: auto;
  margin-right: auto;
}

.equipment-hero__text {
  margin: 0 auto;

  font-size: 20px;
  color: var(--muted);
}

.equipment-gallery-section {
  padding-top: 0;
}

.equipment-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.equipment-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;

    object-fit: cover;

    display: block;

    border-radius: 24px;

    border: 1px solid rgba(201, 164, 92, 0.15);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.equipment-gallery img:hover {
    transform: translateY(-4px);

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.35);
}

@media (max-width: 992px) {

    .equipment-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

}

.specs-table {
  display: grid;
  gap: 12px;
}

.specs-table div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #1d1d1d, #151515);
  border: 1px solid rgba(201, 164, 92, 0.14);
}

.specs-table span {
  color: var(--muted);
}

.specs-table strong {
  color: var(--text);
  font-weight: 700;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
}

.material-card {
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, #202020, #151515);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.material-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 164, 92, 0.46);
}

.material-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.material-card__body {
  padding: 22px;
}

.material-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.material-card__fraction {
  min-height: 48px;
  margin-bottom: 16px;
  color: var(--muted);
}

.material-card__price {
  color: var(--muted);
}

.material-card__price strong {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: 18px;
}

.equipment-benefits {
  background:
    linear-gradient(180deg, rgba(201,164,92,0.04), transparent),
    var(--dark-soft);
}

.equipment-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.equipment-benefit {
  position: relative;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, #202020, #151515);
  border: 1px solid rgba(201, 164, 92, 0.18);
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  overflow: hidden;
}

.equipment-benefit::before {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(201, 164, 92, 0.08);
}

.equipment-benefit span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 38px;
  font-weight: 800;
}

.equipment-benefit h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.equipment-benefit p {
  color: var(--muted);
}

.equipment-order {
  background:
    linear-gradient(135deg, rgba(201,164,92,0.16), rgba(17,17,17,0.96)),
    var(--dark);
}

.equipment-order__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 44px;
  border-radius: 34px;
  background: linear-gradient(180deg, #1d1d1d, #131313);
  border: 1px solid rgba(201, 164, 92, 0.22);
  box-shadow: 0 30px 80px rgba(0,0,0,0.34);
}

.equipment-order__content h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.15;
  margin-bottom: 16px;
}

.equipment-order__content p {
  color: var(--muted);
  max-width: 680px;
  font-size: 18px;
}

.equipment-order__actions {
  display: grid;
  gap: 14px;
  min-width: 240px;
}

@media (max-width: 1024px) {
  .equipment-hero__inner,
  .equipment-order__inner {
    grid-template-columns: 1fr;
  }

  .equipment-benefits__grid {
    grid-template-columns: 1fr;
  }

  .equipment-order__actions {
    min-width: 0;
  }

  .materials-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    padding-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
  }

  .materials-grid > .material-card {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .materials-grid > .material-card:hover {
    transform: none;
  }
}

/* MOBILE EQUIPMENT SLIDER */

@media (max-width: 768px) {
  .equipment-gallery {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  .equipment-gallery::-webkit-scrollbar {
    display: none;
  }

  .equipment-gallery img,
  .equipment-gallery img:first-child {
    flex: 0 0 100%;
    grid-column: auto;
    width: 100%;
    height: auto !important;
    max-height: none;
    aspect-ratio: 16 / 10;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border-radius: 18px;
  }

  .materials-grid {
    gap: 16px;
  }

  .materials-grid > .material-card {
    flex-basis: 100%;
  }

  .material-card__fraction {
    min-height: 0;
  }

  .specs-table div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 18px;
  }

  .equipment-benefit {
    padding: 26px;
  }

  .equipment-order__inner {
    padding-top: 30px;
    padding-bottom: 30px;
    border-radius: 26px;
  }
}

.equipment-category {
  background: var(--dark);
}

.equipment-category--dark {
  background: var(--dark-soft);
}

.equipment-category__header {
  margin-bottom: 40px;
}

.equipment-category__header h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.equipment-category__header p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.equipment-category .equipment-gallery {
  margin: 30px 0;
}

@media (max-width: 768px) {
  .equipment-category__header p:last-child {
    font-size: 16px;
  }
}

@media (max-width: 1123px) {
  html {
    scroll-padding-top: 115px;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 95px;
  }
}

@media (max-width: 480px) {
  html {
    scroll-padding-top: 40px;
  }
}

@media (max-width: 768px) {

  .hero {
    position: relative;
    min-height: 100vh;

    display: flex;
    align-items: center;

    background:
      linear-gradient(
        rgba(10, 10, 10, 0.65),
        rgba(10, 10, 10, 0.75)
      ),
      url("../img/hero/hero-bg-mobile.jpg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }

  .hero__content {
    width: 100%;
    background: transparent;
    z-index: 2;
  }

  .hero__image {
    display: none;
  }

  .hero h1,
  .hero p,
  .hero .hero__buttons {
    position: relative;
    z-index: 2;
  }
}


/* SERVICE AREA MAP */

.service-area {
  padding: 92px 0;
}

.service-area__inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(480px, 1.22fr);
  gap: 42px;
  align-items: center;
}

.service-area__content h2 {
  max-width: 520px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
}

.service-area__content > p:not(.section-label) {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.service-area__content .service-area__focus {
  margin-top: 24px;
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.service-area__content .service-area__places {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.service-area__legend {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.service-area__legend > div {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 14px;
}

.service-area__swatch {
  width: 22px;
  height: 14px;
  border-radius: 4px;
  flex: 0 0 auto;
}

.service-area__swatch--main {
  border: 1px solid #e4ca8a;
  background: rgba(201, 164, 92, 0.78);
}

.service-area__swatch--all {
  border: 1px solid rgba(201, 164, 92, 0.34);
  background: rgba(201, 164, 92, 0.08);
}

.service-area-map {
  margin: 0;
}

.service-area-map svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.service-area-map__district {
  fill: rgba(201, 164, 92, 0.08);
  stroke: rgba(201, 164, 92, 0.31);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}

.service-area-map__district--main {
  fill: rgba(201, 164, 92, 0.74);
  stroke: #e4ca8a;
  stroke-width: 1;
}

.service-area-map__moscow-ring {
  fill: var(--dark-soft);
  stroke: var(--text);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.service-area-map__moscow-dot {
  fill: var(--gold);
}

.service-area-map__moscow text {
  fill: var(--text);
  font-size: 15px;
  font-weight: 700;
  paint-order: stroke;
  stroke: var(--dark-soft);
  stroke-width: 5px;
  stroke-linejoin: round;
}

.service-area-map__label {
  fill: #ead397;
  font-size: 14px;
  font-weight: 700;
  text-anchor: middle;
  paint-order: stroke;
  stroke: var(--dark-soft);
  stroke-width: 5px;
  stroke-linejoin: round;
}

.service-area-map figcaption {
  margin-top: 8px;
  text-align: right;
  font-size: 11px;
  color: #777168;
}

.service-area-map figcaption a:hover {
  color: var(--gold);
}

@media (max-width: 980px) {
  .service-area__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-area__content h2,
  .service-area__content > p:not(.section-label) {
    max-width: 720px;
  }

  .service-area-map {
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .service-area {
    padding: 68px 0;
  }

  .service-area__content h2 {
    font-size: 34px;
  }

  .service-area__content > p:not(.section-label) {
    font-size: 16px;
  }

  .service-area__content .service-area__focus {
    font-size: 17px;
  }

  .service-area-map__label {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header__phone:hover::before {
    animation: none;
  }

  .equipment-gallery {
    scroll-behavior: auto;
  }
}

/* Shared service coverage block, using the same map as the home page. */
.equipment-benefits__grid.service-area__inner {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 42px;
  align-items: center;
}
.service-area-map > img { display: block; width: 100%; height: auto; }
@media (max-width: 980px) {
  .equipment-benefits__grid.service-area__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 768px) {
  .equipment-specs {
    padding: 25px 0;
  }
}

@media (max-width: 600px) {
  .service-area {
    padding: 68px 0;
  }
}

@media (max-width: 1024px) {
  .equipment-benefits__grid:not(.service-area__inner) {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    min-width: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    padding-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
  }

  .equipment-benefits__grid:not(.service-area__inner) > .equipment-benefit {
    flex: 0 0 calc((100% - 20px) / 2);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (max-width: 768px) {
  .equipment-benefits__grid:not(.service-area__inner) > .equipment-benefit {
    flex-basis: 100%;
  }
}
