/* Fonts */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #1a1a1a;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 70px;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== First screen ========== */
.first-screen {
  display: flex;
  flex-direction: column;
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: #ff8200;
  padding: 18px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-transform: uppercase;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__menu a {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.header__menu a:hover {
  opacity: 0.8;
}

.header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  background-color: #ffffff;
  color: #ff8200;
  font-size: 15px;
  font-weight: 500;
  border-radius: 50px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.header__btn:hover {
  opacity: 0.9;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../img/cover.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  padding: 40px 20px;
}

.hero__title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero__subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

/* ========== Welcome ========== */
.welcome {
  padding: 80px 0;
}

.welcome__inner {
  max-width: 900px;
  text-align: center;
}

.welcome__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 28px;
}

.welcome__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #1a1a1a;
}

/* ========== Features ========== */
.features {
  padding: 0 0 80px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.feature:last-child {
  margin-bottom: 0;
}

.feature--reverse .feature__media {
  order: 2;
}

.feature--reverse .feature__content {
  order: 1;
}

.feature__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.feature__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.feature__text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #1a1a1a;
}

.feature__text + .feature__text {
  margin-top: 16px;
}

/* ========== Split ========== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.split__media {
  min-height: 80vh;
  overflow: hidden;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__content {
  display: flex;
  align-items: center;
  background-color: #e8e8e3;
  padding: 60px 80px;
}

.split__inner {
  max-width: 480px;
}

.split__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 24px;
  color: #1a1a1a;
}

.split__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #1a1a1a;
}

/* ========== Products ========== */
.products {
  padding: 80px 0;
}

.products__header {
  text-align: center;
  margin-bottom: 48px;
}

.products__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.products__subtitle {
  font-size: 16px;
  font-weight: 400;
  color: #1a1a1a;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background-color: #ffffff;
}

.product-card__info {
  padding: 24px 20px;
}

.product-card__code {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #666666;
  margin-bottom: 6px;
}

.product-card__name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

.product-card__media {
  margin-top: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pricing {
  margin-top: 56px;
}

.pricing__text {
  font-size: 15px;
  line-height: 1.7;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.pricing__text--bold {
  font-weight: 700;
}

.pricing__list {
  list-style: disc;
  padding-left: 24px;
}

.pricing__list li {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.pricing__list li:last-child {
  margin-bottom: 0;
}

/* ========== Contacts ========== */
.contacts {
  padding: 80px 0;
}

.contacts__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 40px;
  color: #1a1a1a;
}

.contacts__info {
  margin-bottom: 40px;
}

.contacts__info p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.contacts__company {
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}

.contacts__accent {
  font-weight: 700 !important;
  margin-top: 16px !important;
}

.contacts__table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d9d9d9;
}

.contacts__table th,
.contacts__table td {
  border: 1px solid #d9d9d9;
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
  vertical-align: middle;
  color: #1a1a1a;
}

.contacts__table th {
  width: 55%;
  font-weight: 700;
}

.contacts__table td {
  font-weight: 400;
}

.contacts__table a {
  color: #1a1a1a;
  transition: color 0.2s ease;
}

.contacts__table a:hover {
  color: #ff8200;
}

/* ========== Footer ========== */
.footer {
  background-color: #ff8200;
  padding: 20px 0;
}

.footer__copy {
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
}

/* ========== Cookies ========== */
.cookies {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 560px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid #ececec;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 20px 24px;
  animation: cookies-in 0.35s ease;
}

.cookies[hidden] {
  display: none;
}

.cookies__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cookies__text {
  flex: 1;
  font-size: 14px;
  line-height: 1.55;
  color: #333333;
}

.cookies__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background-color: #ff8200;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cookies__btn:hover {
  background-color: #e67400;
}

.cookies__btn:active {
  transform: scale(0.97);
}

@keyframes cookies-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Adaptive ========== */
@media (max-width: 900px) {
  .header__menu {
    gap: 24px;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .welcome__title {
    font-size: 24px;
  }

  .feature {
    gap: 32px;
    margin-bottom: 48px;
  }

  .feature__title {
    font-size: 20px;
  }

  .split__content {
    padding: 48px 40px;
  }

  .split__title {
    font-size: 24px;
  }

  .products__title {
    font-size: 28px;
  }

  .products__grid {
    gap: 16px;
  }

  .product-card__name {
    font-size: 16px;
  }
}

@media (max-width: 700px) {
  .header {
    padding: 14px 0;
  }

  .header__nav {
    display: none;
  }

  .header__logo {
    font-size: 15px;
  }

  .header__btn {
    padding: 8px 20px;
    font-size: 14px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .welcome {
    padding: 50px 0;
  }

  .welcome__title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .welcome__text {
    font-size: 15px;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }

  .feature--reverse .feature__media,
  .feature--reverse .feature__content {
    order: initial;
  }

  .feature__title {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .feature__text {
    font-size: 14px;
  }

  .split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .split__media {
    min-height: 50vh;
  }

  .split__content {
    padding: 40px 24px;
  }

  .split__title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .split__text {
    font-size: 15px;
  }

  .products {
    padding: 50px 0;
  }

  .products__header {
    margin-bottom: 32px;
  }

  .products__title {
    font-size: 24px;
  }

  .products__subtitle {
    font-size: 15px;
  }

  .products__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    gap: 20px;
  }

  .contacts {
    padding: 50px 0;
  }

  .contacts__title {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .contacts__table th,
  .contacts__table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }

  .contacts__table th {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .contacts__table td {
    border-top: none;
    padding-top: 4px;
  }

  body {
    padding-top: 58px;
  }

  .cookies {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px;
    border-radius: 14px;
  }

  .cookies__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .cookies__btn {
    width: 100%;
  }
}
