body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f7fafc;
}

.header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 9999;

}
.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  margin-top: -300px; 
  background-color: #ffffff; 
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(10px, 2vw, 15px) clamp(10px, 3vw, 20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  /*gap: 15px;*/
  box-sizing: border-box;
}


.logo {
  font-size: clamp(25px, 4vw, 22px);
  font-weight: 700;
  color: #1a202c;
  letter-spacing: -0.5px;
  cursor: pointer;
  flex: 1 1 auto;
  min-width: max-content;
}

.logo span {
  color: #007bff;
  background-color: #e6f0fa;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(6px, 1.5vw, 15px);
  flex: 1 1 auto;
  justify-content: flex-end;
}
.main-nav > a {
  text-decoration: none;
  color: #4a5568;
  font-weight: 600;
  font-size: clamp(8px, 2.5vw, 14px);
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.main-nav > a:hover {
  color: #007bff;
}

.catalog-wrapper {
  position: relative;
}

.catalog-btn {
  background-color: #007bff;
  color: #ffffff;
  border: none;
  padding: clamp(5px, 1.2vw, 10px) clamp(7px, 2vw, 20px);
  border-radius: 10px;
  font-weight: 700;
  font-size: clamp(10px, 2.5vw, 14px);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.catalog-btn:hover {
  background-color: #0056b3;
}

.catalog-btn:active {
  transform: scale(0.98);
}

.catalog-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  margin: 10px 0 0 0;
  list-style: none;
  width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 110;
}

.catalog-wrapper:hover .catalog-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.catalog-dropdown li a {
  display: block;
  padding: 10px 20px;
  color: #2d3748;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.catalog-dropdown li a:hover {
  background-color: #f7fafc;
  color: #007bff;
  padding-left: 25px;
}
.contacts-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 23, 38, 0.85);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}


.contacts-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.contacts-modal {
  background: #161726;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  max-width: 380px;
  width: 90%;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  text-align: center;
  color: #fff;
  font-family: sans-serif;
}

.close-modal-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.close-modal-btn:hover { color: #fff; }

.contacts-modal h3 {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 22px;
  letter-spacing: 1px;
}
.modal-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, transform 0.1s;
  font-weight: 500;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.modal-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}


.hero-banner {
  width: 100%;
  background-color: #161726;
  padding: clamp(30px, 6vw, 60px) 0;
  box-sizing: border-box;
  overflow: hidden;
}


.banner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}


.banner-content {
  flex: 1 1 450px;
  text-align: left;
  color: #ffffff;
}

.banner-content h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 15px 0;
  letter-spacing: -0.5px;
}

.banner-content p {
  font-size: clamp(14px, 2vw, 18px);
  color: #cbd5e0;
  margin: 0 0 30px 0;
}

.banner-btn {
  background-color: #007bff;
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.banner-btn:hover {
  background-color: #0056b3;
}

.banner-btn:active {
  transform: scale(0.98);
}
.banner-image-box {
  flex: 1 1 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: linear-gradient(
    to bottom,
    #161726 0%,
    rgba(22, 23, 38, 0.7) 15%,
    rgba(22, 23, 38, 0) 40%,
    rgba(22, 23, 38, 0) 65%,
    rgba(22, 23, 38, 0.7) 85%,
    #161726 100%
  ),

    linear-gradient(
    to right,
    #161726 0%,
    rgba(22, 23, 38, 0.7) 15%,
    rgba(22, 23, 38, 0) 40%,
    rgba(22, 23, 38, 0) 65%,
    rgba(22, 23, 38, 0.7) 85%,
    #161726 100%
  );
  pointer-events: none;
  z-index: 2;
}

.banner-image-box img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}
.catalog-container {
 /*max-width: 1200px;*/
  margin: 0 auto;
  padding: 40px 60px;
  background-color: #161726;
}


.catalog-section {
  margin-bottom: 60px;
  scroll-margin-top: 80px;
}
.section-title {
  color: #fff;
  font-size: 24px;
  margin-bottom: 20px;
  border-left: 4px solid #7246b6;
  padding-left: 15px;
  font-family: sans-serif;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: #161726;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: sans-serif;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
}
.img-thumb {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.img-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-title {
  font-size: 16px;
  font-weight: 500;
  margin: 10px 0;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}
.product-price {
  font-size: 20px;
  font-weight: 700;
  color: #00ffb7;
  margin: 15px 0;
}


.buy-btn {
  background: #7246b6;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}

.buy-btn:hover {
  background: #5d35a0;
}

.footer {
  background-color: #161726;
  color: #b4b4c7;
  padding: clamp(40px, 6vw, 60px) 0 30px 0;
  box-sizing: border-box;
  width: 100%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}


.footer-info {
  margin-bottom: 35px;
  max-width: 400px;
}
.footer-info .logo {
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-info .logo span {
  color: #007bff;
  background-color: rgba(0, 123, 255, 0.1);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #8a8aa3;
  margin: 0;
}

/*footer-subscribe {
  margin-bottom: 50px;
  width: 100%;
  max-width: 650px;
  }*/


.subscribe-title {
  color: #ffffff;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 600;
  margin: 0 0 20px 0;
}
.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.subscribe-or-text {
  font-size: 13px;
  color: #535370;
  margin: 20px 0 0 0;
  text-align: center;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  width: 100%;
}


.subscribe-input {
  flex: 1 1 200px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid #32334d;
  border-radius: 30px;
  padding: 14px 25px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.subscribe-input:focus {
  border-color: #007bff;
}

.subscribe-input::placeholder {
  color: #535370;
}

.subscribe-btn {
  flex: 1 1 auto;
  background-color: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  padding: 14px 35px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s, transform 0.1s;
}

.subscribe-btn:hover {
  background-color: #0056b3;
}

.subscribe-btn:active {
  transform: scale(0.98);
}

.footer-bottom {
  border-top: 1px solid #23243a;
  padding-top: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 15px;
}

.footer-links a {
  color: #8a8aa3;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.link-divider {
  color: #32334d;
  font-size: 12px;
}

.copyright {
  margin: 0;
  font-size: 13px;
  color: #535370;
}
.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(15px, 3vw, 30px);
  margin-bottom: 40px;
  width: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}


.contact-text {
  color: #b4b4c7;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-text:hover {
  color: #007bff;
}


.contact-icon-phone,
.contact-icon-email {
  font-size: 16px;
  filter: grayscale(100%) brightness(1.2);
}


.messenger-icons {
  display: flex;
  gap: 12px;
}

.messenger-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}
.messenger-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.messenger-link.viber:hover {
  background-color: #7360f2;
  transform: translateY(-2px);
}

.messenger-link.telegram:hover {
  background-color: #0088cc;
  transform: translateY(-2px);
}
