:root {
  --ink: #101010;
  --paper: #f2f0eb;
  --white: #fff;
  --orange: #f39200;
  --orange2: #ffad1f;
  --orange-dark: #b54e00;
  --line: rgba(255, 255, 255, 0.13);
  --container: 1240px;
}

/* Базовые стили */

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::selection {
  color: #111;
  background: var(--orange2);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: #111;
  background: var(--orange);
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}

/* Шапка сайта */

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 12, 12, 0.82);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
  min-height: 86px;
}
.brand {
  width: 132px;
}
.brand img {
  width: 100%;
  height: auto;
}
.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.desktop-nav a {
  position: relative;
  padding: 13px 18px;
  color: #dedcd7;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.desktop-nav a:after {
  position: absolute;
  right: 18px;
  bottom: 7px;
  left: 18px;
  height: 1px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.18s;
}
.desktop-nav a:hover:after,
.desktop-nav a:focus-visible:after {
  transform: scaleX(1);
}
.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 16px;
  min-width: 158px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: 0.18s;
}
.header-contact:hover {
  border-color: var(--orange);
  color: #111;
  background: var(--orange);
}
.mobile-menu {
  display: none;
}

/* Первый экран */

.hero {
  position: relative;
  display: flex;
  min-height: 920px;
  overflow: hidden;
  background-color: #0c0c0c;
  background-image:
    linear-gradient(
      90deg,
      rgba(7, 7, 7, 0.98),
      rgba(7, 7, 7, 0.82) 42%,
      rgba(7, 7, 7, 0.15) 78%
    ),
    linear-gradient(0deg, rgba(8, 8, 8, 0.9), transparent 32%),
    url("/images/dvl-hero-background.webp");
  background-position: center;
  background-size: cover;
}
.hero:before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(243, 146, 0, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(243, 146, 0, 0.07) 1px, transparent 1px);
  background-size: 120px 120px;
  content: "";
  mask-image: linear-gradient(to right, #000, transparent 62%);
  opacity: 0.18;
}
.hero-noise,
.contact-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    circle,
    rgba(255, 170, 50, 0.7) 0 1px,
    transparent 1.6px
  );
  background-size: 71px 61px;
  opacity: 0.08;
}
.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-top: 102px;
  padding-bottom: 200px;
}
.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 27px;
  color: var(--orange2);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow > span {
  width: 42px;
  height: 1px;
  background: currentColor;
}
.hero h1,
.about-copy h2,
.section-heading h2,
.contacts h2,
.efficiency h2,
.product-banner h2 {
  margin: 0;
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero h1 {
  max-width: 970px;
  color: #f6f4ef;
  font-size: clamp(52px, 6.1vw, 94px);
  line-height: 0.98;
}
.hero h1 em {
  display: block;
  color: var(--orange2);
  font-style: normal;
}
.hero-lead {
  max-width: 690px;
  margin: 32px 0 0;
  color: #d1cec8;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
}
.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: 0.18s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  color: #15120d;
  background: var(--orange);
}
.button-primary:hover {
  background: var(--orange2);
}
.button-ghost {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(18, 18, 18, 0.38);
}
.button-ghost:hover {
  border-color: var(--orange);
  color: var(--orange2);
}
.hero-meta {
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  border-top: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(12px);
}
.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-meta-grid > div {
  display: grid;
  gap: 7px;
  padding: 28px 34px;
  border-left: 1px solid var(--line);
}
.hero-meta-grid > div:last-child {
  border-right: 1px solid var(--line);
}
.hero-meta strong {
  color: #f2f0eb;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-meta span {
  color: #92908b;
  font-size: 13px;
}

/* Общие стили разделов */

.section {
  padding: 124px 0;
}
.about,
.advantages {
  color: #202020;
  background: var(--paper);
}
.about {
  background-image: linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 100% 42px;
}
.section-kicker {
  color: #635f58;
}
.section-kicker > span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #bcb8b0;
  color: var(--orange-dark);
  font-size: 10px;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(54px, 7vw, 110px);
  align-items: center;
}
.about-copy h2,
.section-heading h2,
.contacts h2,
.efficiency h2,
.product-banner h2 {
  font-size: clamp(42px, 5vw, 72px);
}
.about-copy h2 em,
.section-heading h2 em {
  color: var(--orange-dark);
  font-style: normal;
}
.about-copy > p {
  max-width: 650px;
  margin: 20px 0 0;
  color: #5b5852;
  font-size: 16px;
  line-height: 1.78;
}
.about-copy .about-intro {
  margin-top: 32px;
  color: #242424;
  font-size: 20px;
  font-weight: 610;
  line-height: 1.55;
}
.button-outline {
  border-color: #a8a39a;
  color: #242424;
}
.button-outline:hover {
  border-color: #222;
  background: rgba(0, 0, 0, 0.04);
}

/* Раздел «О компании» */

.about-visual {
  position: relative;
  margin: 0;
  padding: 0 0 38px 38px;
}
.about-visual:before {
  position: absolute;
  top: 32px;
  right: -18px;
  bottom: 0;
  left: 0;
  border: 1px solid rgba(165, 74, 0, 0.35);
  content: "";
}
.about-visual img {
  position: relative;
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  box-shadow: 0 26px 72px rgba(30, 25, 18, 0.24);
}
.about-visual figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 5px;
  min-width: 62%;
  padding: 18px 22px;
  color: #fff;
  background: #151515;
}
.about-visual figcaption strong {
  color: var(--orange2);
  font-size: 13px;
  text-transform: uppercase;
}
.about-visual figcaption span {
  color: #aaa7a1;
  font-size: 12px;
}

/* Расчёт эффективности */

.efficiency {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #121212, #1b1b1b 58%, #111);
}
.efficiency:after {
  position: absolute;
  top: -30%;
  right: 10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 102, 0, 0.25), transparent 65%);
  content: "";
}
.efficiency-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.45fr 1.35fr 0.8fr;
  gap: 50px;
}
.efficiency-label {
  padding-top: 13px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.efficiency h2 {
  font-size: clamp(38px, 4.2vw, 62px);
}
.efficiency h2 span {
  color: var(--orange2);
}
.efficiency-grid > div:nth-child(2) p {
  max-width: 670px;
  margin: 27px 0 0;
  color: #aaa7a1;
  font-size: 17px;
  line-height: 1.7;
}
.saving-card {
  padding: 32px;
  border: 1px solid rgba(243, 146, 0, 0.45);
  background: rgba(0, 0, 0, 0.28);
}
.saving-card > span {
  color: #a8a49e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.saving-card strong {
  display: block;
  margin: 11px 0 4px;
  color: var(--orange2);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(41px, 4.4vw, 64px);
  letter-spacing: -0.05em;
}
.saving-card p {
  margin: 0;
  color: #e2dfd9;
  font-weight: 620;
}
.saving-card small {
  display: block;
  margin-top: 25px;
  color: #77746f;
  font-size: 11px;
  line-height: 1.55;
}

/* Преимущества */

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 58px;
}
.section-heading .section-kicker {
  grid-column: 1/-1;
  margin-bottom: -5px;
}
.section-heading > p {
  max-width: 460px;
  margin: 0 0 5px;
  color: #66625b;
  font-size: 17px;
  line-height: 1.7;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #cbc7c0;
  border-left: 1px solid #cbc7c0;
}
.advantage-card {
  position: relative;
  min-height: 310px;
  padding: 34px 30px;
  overflow: hidden;
  border-right: 1px solid #cbc7c0;
  border-bottom: 1px solid #cbc7c0;
  background: rgba(255, 255, 255, 0.24);
  transition: 0.24s;
}
.advantage-card:after {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(243, 146, 0, 0.45);
  border-radius: 50%;
  content: "";
}
.advantage-card:hover {
  color: #fff;
  background: #1b1b1b;
}
.card-number {
  color: var(--orange-dark);
  font:
    800 12px ui-monospace,
    monospace;
}
.advantage-card h3 {
  max-width: 300px;
  margin: 63px 0 15px;
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}
.advantage-card p {
  position: relative;
  z-index: 1;
  max-width: 330px;
  margin: 0;
  color: #69655e;
  font-size: 14px;
  line-height: 1.68;
}
.advantage-card:hover p {
  color: #b8b4ad;
}

/* Баннер с борфрезами */

.product-banner {
  position: relative;
  min-height: 560px;
  background:
    linear-gradient(
      90deg,
      rgba(9, 9, 9, 0.95),
      rgba(9, 9, 9, 0.45) 58%,
      rgba(9, 9, 9, 0.2)
    ),
    url("/images/dvl-burrs.webp") center 46% / cover;
}
.product-banner-content {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: center;
}
.product-banner h2 {
  max-width: 680px;
}
.text-link {
  display: inline-flex;
  width: max-content;
  gap: 14px;
  margin-top: 35px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--orange);
  color: var(--orange2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Контакты */

.contacts {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 56%, rgba(238, 82, 0, 0.27), transparent 24%),
    radial-gradient(circle at 96% 88%, rgba(243, 146, 0, 0.2), transparent 26%),
    #151515;
}
.contacts-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(60px, 10vw, 150px);
  align-items: center;
}
.contact-brand img {
  max-width: 250px;
}
.section-kicker.light {
  color: #b9b5ae;
}
.section-kicker.light > span {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--orange2);
}
.contacts h2 em {
  display: block;
  color: var(--orange2);
  font-style: normal;
}
.contact-lead {
  max-width: 500px;
  margin: 25px 0 0;
  color: #b5b2ac;
  font-size: 16px;
  line-height: 1.7;
}
.contact-list {
  display: grid;
  gap: 13px;
  margin-top: 36px;
  font-style: normal;
}
.contact-list a,
.contact-list > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 43px;
  color: #ebe8e2;
  font-size: 17px;
}
.contact-list a:hover {
  color: var(--orange2);
}
.contact-list b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 16px;
  font-weight: 400;
}

/* Подвал сайта */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7e7b75;
  background: #0d0d0d;
}
.footer-inner {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}
.footer-inner p {
  margin: 0;
}
.footer-inner a {
  color: #aaa7a1;
  font-weight: 700;
  text-transform: uppercase;
}
:focus-visible {
  outline: 2px solid var(--orange2);
  outline-offset: 4px;
}

/* Планшеты */

@media (max-width: 1000px) {
  .header-inner {
    grid-template-columns: 160px 1fr 170px;
  }
  .desktop-nav a {
    padding-inline: 10px;
    font-size: 12px;
  }
  .hero {
    min-height: 820px;
  }
  .about-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  .about-copy {
    max-width: 780px;
  }
  .efficiency-grid {
    grid-template-columns: 1fr 1fr;
  }
  .efficiency-label {
    grid-column: 1/-1;
  }
  .section-heading {
    grid-template-columns: 1fr;
  }
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-brand img {
    margin: auto;
  }
}

/* Мобильные устройства */

@media (max-width: 760px) {
  .container {
    width: min(100% - 34px, var(--container));
  }
  html {
    scroll-padding-top: 74px;
  }
  .site-header {
    background: rgba(12, 12, 12, 0.94);
  }
  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 72px;
  }
  .brand {
    width: 102px;
  }
  .desktop-nav,
  .header-contact {
    display: none;
  }
  .mobile-menu {
    position: relative;
    display: block;
  }
  .mobile-menu summary {
    display: grid;
    width: 46px;
    height: 46px;
    cursor: pointer;
    list-style: none;
    place-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.24);
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu summary span {
    width: 20px;
    height: 1px;
    background: #fff;
  }
  .mobile-menu nav {
    position: absolute;
    top: 55px;
    right: 0;
    display: grid;
    width: min(82vw, 310px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #151515;
  }
  .mobile-menu nav a {
    padding: 17px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 14px;
    font-weight: 700;
  }
  .mobile-menu nav a:last-child {
    color: var(--orange2);
  }
  .hero {
    min-height: 760px;
    background-image:
      linear-gradient(90deg, rgba(7, 7, 7, 0.95), rgba(7, 7, 7, 0.65)),
      linear-gradient(0deg, rgba(8, 8, 8, 0.95), transparent 45%),
      url("/images/dvl-hero-background.webp");
    background-position: 62% center;
  }
  .hero-content {
    padding-top: 120px;
    padding-bottom: 190px;
  }
  .hero h1 {
    font-size: clamp(35px, 9.4vw, 60px);
    line-height: 1.02;
  }
  .hero-lead {
    margin-top: 25px;
    font-size: 16px;
  }
  .hero-actions {
    margin-top: 30px;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-meta-grid {
    grid-template-columns: 1fr;
    padding-block: 12px;
  }
  .hero-meta-grid > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border: 0;
  }
  .hero-meta strong {
    font-size: 12px;
  }
  .hero-meta span {
    font-size: 11px;
    text-align: right;
  }
  .section {
    padding: 82px 0;
  }
  .about-grid {
    gap: 55px;
  }
  .about-copy h2,
  .section-heading h2,
  .contacts h2,
  .efficiency h2,
  .product-banner h2 {
    font-size: clamp(32px, 8.6vw, 54px);
  }
  .about-copy .about-intro {
    font-size: 18px;
  }
  .about-copy > p {
    font-size: 15px;
  }
  .download-actions {
    display: grid;
  }
  .about-visual {
    padding: 0 0 24px 18px;
  }
  .about-visual:before {
    top: 18px;
    right: -7px;
  }
  .about-visual img {
    aspect-ratio: 16 / 9;
  }
  .about-visual figcaption {
    min-width: 82%;
    padding: 14px 16px;
  }
  .efficiency-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .saving-card {
    padding: 28px 24px;
  }
  .section-heading {
    gap: 24px;
    margin-bottom: 42px;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .advantage-card {
    min-height: 270px;
    padding: 28px 24px;
  }
  .advantage-card h3 {
    margin-top: 45px;
  }
  .product-banner,
  .product-banner-content {
    min-height: 480px;
  }
  .product-banner {
    background:
      linear-gradient(90deg, rgba(9, 9, 9, 0.92), rgba(9, 9, 9, 0.44)),
      url("/images/dvl-burrs.webp") 58% center/cover;
  }
  .contact-list a,
  .contact-list > div {
    font-size: 15px;
  }
  .footer-inner {
    min-height: 110px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

/* Минимум анимации для пользователей с соответствующей настройкой */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
