@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --m61-bg: #120f0d;
  --m61-bg-soft: #1a1613;
  --m61-bg-card: rgba(30, 24, 20, 0.92);
  --m61-bg-card-strong: rgba(23, 18, 15, 0.96);
  --m61-border: rgba(255, 255, 255, 0.08);
  --m61-text: #f1e5d9;
  --m61-muted: #c8b29c;
  --m61-accent: #f66d14;
  --m61-accent-soft: #ff9c3d;
  --m61-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --m61-radius: 18px;
  --m61-shell: 1200px;
  --m61-header-height: 82px;
  --m61-font-display: "Oswald", sans-serif;
  --m61-font-body: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.m61-site {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(246, 109, 20, 0.18), transparent 35%),
    linear-gradient(180deg, #0f0c0a 0%, #15110f 50%, #100d0b 100%);
  color: var(--m61-text);
  font-family: var(--m61-font-body);
}

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

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

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

.m61-shell {
  width: min(calc(100% - 32px), var(--m61-shell));
  margin: 0 auto;
}

.m61-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  background: rgba(15, 12, 10, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--m61-border);
}

.m61-header__row {
  min-height: var(--m61-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.m61-brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.m61-brand__title,
.m61-footer__brand {
  font-family: var(--m61-font-display);
  font-size: clamp(1.8rem, 1.7rem + 0.6vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0;
}

.m61-brand__tag {
  margin-top: 6px;
  color: rgba(246, 109, 20, 0.9);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.m61-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.m61-nav a,
.m61-footer__nav a,
.m61-footer__contacts a {
  color: var(--m61-muted);
  font-weight: 700;
  font-size: 0.84rem;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.m61-nav a:hover,
.m61-footer__nav a:hover,
.m61-footer__contacts a:hover {
  color: var(--m61-accent-soft);
}

.m61-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.m61-header__phone {
  font-weight: 700;
  color: var(--m61-text);
  white-space: nowrap;
}

.m61-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--m61-font-body);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.m61-button:hover {
  transform: translateY(-1px);
}

.m61-button--compact {
  min-height: 42px;
  padding-inline: 18px;
}

.m61-button--primary {
  background: linear-gradient(135deg, var(--m61-accent), var(--m61-accent-soft));
  color: #fff;
  box-shadow: 0 18px 40px rgba(246, 109, 20, 0.22);
}

.m61-button--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--m61-border);
  color: var(--m61-text);
}

.m61-button--block {
  width: 100%;
}

.m61-button--center {
  margin: 24px auto 0;
}

.m61-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--m61-border);
  background: transparent;
  padding: 9px;
  cursor: pointer;
}

.m61-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--m61-text);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.m61-header.is-menu-open .m61-nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.m61-header.is-menu-open .m61-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.m61-header.is-menu-open .m61-nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.m61-mobile-menu {
  border-top: 1px solid var(--m61-border);
  background: rgba(15, 12, 10, 0.97);
}

.m61-mobile-menu__links {
  display: grid;
  gap: 12px;
  padding: 16px 0 24px;
}

.m61-mobile-menu__links a:not(.m61-button) {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 700;
}

.m61-hero {
  position: relative;
  min-height: min(100vh, 920px);
  padding-top: var(--m61-header-height);
  display: flex;
  align-items: stretch;
}

.m61-hero__media,
.m61-hero__overlay {
  position: absolute;
  inset: 0;
}

.m61-hero__media {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.m61-hero__overlay {
  background:
    linear-gradient(90deg, rgba(15, 12, 10, 0.96) 0%, rgba(15, 12, 10, 0.82) 38%, rgba(15, 12, 10, 0.3) 100%),
    linear-gradient(180deg, rgba(15, 12, 10, 0.76) 0%, rgba(15, 12, 10, 0.15) 40%, rgba(15, 12, 10, 0.92) 100%);
}

.m61-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding-block: 84px 72px;
  min-width: 0;
}

.m61-eyebrow,
.m61-section-heading__eyebrow {
  margin: 0;
  color: var(--m61-accent-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.m61-hero__title {
  display: grid;
  gap: 2px;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-family: var(--m61-font-display);
  font-size: clamp(2.8rem, 2rem + 3.2vw, 5.4rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.m61-hero__title span {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.m61-hero__title .is-accent {
  color: var(--m61-accent-soft);
}

.m61-hero__text,
.m61-section-heading p,
.m61-footer__text {
  max-width: 650px;
  margin: 0;
  color: var(--m61-muted);
  line-height: 1.75;
}

.m61-hero__text {
  font-size: 1.05rem;
}

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

.m61-section {
  padding: 88px 0;
}

.m61-section--warm {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.m61-section--split {
  padding-top: 0;
}

.m61-section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
}

.m61-section-heading--center {
  text-align: center;
  justify-items: center;
}

.m61-section-heading h2 {
  margin: 0;
  font-family: var(--m61-font-display);
  font-size: clamp(2rem, 1.6rem + 1vw, 3.2rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.m61-products-grid,
.m61-advantages-grid,
.m61-gallery-grid,
.m61-contacts-grid,
.m61-footer__grid {
  display: grid;
  gap: 22px;
}

.m61-products-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.m61-advantages-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.m61-split-grid,
.m61-contacts-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.m61-gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.m61-card {
  border: 1px solid var(--m61-border);
  border-radius: var(--m61-radius);
  background: var(--m61-bg-card);
  box-shadow: var(--m61-shadow);
}

.m61-product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.m61-product-card__image {
  aspect-ratio: 4 / 3;
  background: var(--m61-bg-soft);
}

.m61-product-card__image img,
.m61-gallery-item img,
.m61-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m61-product-card__body,
.m61-gallery-card,
.m61-form-card,
.m61-contacts-card {
  padding: 24px;
}

.m61-product-card__badge {
  margin: 0 0 8px;
  color: var(--m61-accent-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.m61-product-card h3,
.m61-advantage-card h3 {
  margin: 0;
  font-family: var(--m61-font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
}

.m61-product-card__summary,
.m61-advantage-card p,
.m61-contact-link small {
  margin: 10px 0 0;
  color: var(--m61-muted);
  line-height: 1.65;
}

.m61-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--m61-text);
  font-size: 0.92rem;
}

.m61-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}

.m61-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--m61-accent), var(--m61-accent-soft));
  transform: translateY(-50%);
}

.m61-product-card .m61-button {
  margin-top: auto;
}

.m61-advantage-card {
  text-align: center;
  padding: 22px 18px;
}

.m61-advantage-card__icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(246, 109, 20, 0.12);
  color: var(--m61-accent-soft);
}

.m61-advantage-card__icon svg,
.m61-contact-link__icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.m61-gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: var(--m61-bg-soft);
}

.m61-gallery-item.is-hidden {
  display: none;
}

.m61-form {
  display: grid;
  gap: 16px;
}

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

.m61-form label {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
}

.m61-form input,
.m61-form textarea,
.m61-form select {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: rgba(16, 13, 11, 0.95);
  color: var(--m61-text);
  padding: 13px 14px;
  outline: none;
}

.m61-form input::placeholder,
.m61-form textarea::placeholder {
  color: rgba(241, 229, 217, 0.46);
}

.m61-form input:focus,
.m61-form textarea:focus,
.m61-form select:focus {
  border-color: rgba(246, 109, 20, 0.58);
  box-shadow: 0 0 0 3px rgba(246, 109, 20, 0.14);
}

.m61-form textarea {
  resize: vertical;
}

.m61-form__notice {
  margin: 0;
  color: var(--m61-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.m61-form__notice.is-active {
  color: var(--m61-accent-soft);
}

.m61-contact-link {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.m61-contact-link:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.m61-contact-link__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(246, 109, 20, 0.12);
  color: var(--m61-accent-soft);
}

.m61-contact-link strong {
  display: block;
  font-size: 1.1rem;
}

.m61-photo-card {
  min-height: 360px;
  overflow: hidden;
  padding: 0;
}

.m61-footer {
  border-top: 1px solid var(--m61-border);
  padding: 40px 0 28px;
}

.m61-footer__grid {
  grid-template-columns: 1.2fr 1fr 0.8fr;
  align-items: start;
}

.m61-footer__nav,
.m61-footer__contacts {
  display: grid;
  gap: 12px;
}

.m61-footer__bottom {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(241, 229, 217, 0.62);
  font-size: 0.82rem;
}

@media (max-width: 1180px) {
  .m61-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .m61-advantages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .m61-nav--desktop,
  .m61-header__phone,
  .m61-header__actions .m61-button {
    display: none;
  }

  .m61-nav-toggle {
    display: block;
  }

  .m61-split-grid,
  .m61-contacts-grid,
  .m61-footer__grid {
    grid-template-columns: 1fr;
  }

  .m61-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .m61-hero {
    min-height: 880px;
  }
}

@media (max-width: 760px) {
  .m61-shell {
    width: min(calc(100% - 24px), var(--m61-shell));
  }

  .m61-section {
    padding: 70px 0;
  }

  .m61-products-grid,
  .m61-advantages-grid,
  .m61-gallery-grid,
  .m61-form__row {
    grid-template-columns: 1fr;
  }

  .m61-product-card__body,
  .m61-gallery-card,
  .m61-form-card,
  .m61-contacts-card {
    padding: 20px;
  }

  .m61-hero__content {
    padding-block: 72px 52px;
  }

  .m61-hero__text {
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  :root {
    --m61-header-height: 74px;
  }

  .m61-hero__title {
    font-size: 36px;
    line-height: 0.98;
  }

  .m61-brand__title,
  .m61-footer__brand {
    font-size: 1.65rem;
  }

  .m61-button,
  .m61-button--compact {
    width: 100%;
  }

  .m61-hero__actions {
    flex-direction: column;
  }
}
