:root {
  --bg-color: #f5f5f7;
  --text-main: #1d1d1f;
  --text-muted: #86868b;
  --accent: #0071e3;
  --card-bg: #ffffff;
  --card-radius: 28px;
  --input-bg: #f5f5f7;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  padding-bottom: 50px;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbarscontent {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 20px;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  margin-left: 24px;
  transition: color 0.3s;
}

.links a:hover {
  color: var(--accent);
}

.links .btn-link {
  background: var(--text-main);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
}

.main-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.infoblock {
  margin-top: 0;
  text-align: center;
  padding: 180px 0;
  /*background-image: linear-gradient(
      rgba(0, 0, 0, 0.5),
      rgba(255, 255, 255, 0.5)
    ),
    url("bg.jpg");*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.infoblock h1 {
  font-size: 56px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.infoblock h6 {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.4;
}

.cta-button {
  display: flex;
  width: fit-content;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  background-color: var(--accent);
  color: white;
  text-decoration: none;
  padding: 15px 35px;
  border-radius: 40px;
  font-size: 17px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 113, 227, 0.4);
}

.products-block {
  margin-bottom: 80px;
  margin-top: 50px;
}

.second-text {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
}

.text-muted {
  color: var(--text-muted);
}

.card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.products-flex {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.product-card {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  height: 350px;
}

.iic {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 16px;
}

/* .badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #ffd60a;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  text-transform: uppercase;
} */

.product-card h3 {
  font-size: 24px;
  margin-bottom: 5px;
}

.specs {
  color: var(--text-muted);
  font-size: 14px;
}

.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.price {
  font-size: 20px;
  font-weight: 600;
}

.add-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background: #e8e8ed;
  color: var(--accent);
  font-size: 20px;
  cursor: pointer;
  transition: 0.2s;
}

.add-btn:hover {
  background: var(--accent);
  color: white;
}

.info-card {
  background: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%);
  color: white;
}

.info-block {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.info-item h4 {
  color: #ffd60a;
  margin-bottom: 10px;
  font-size: 18px;
}

.info-item p {
  color: #ebebf5;
  line-height: 1.5;
}

.iia {
  color: #ffffff;
  text-decoration: none;
}

.form-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.form-card h2 {
  margin-bottom: 25px;
}

.input-group {
  margin-bottom: 15px;
}

input,
textarea {
  width: 100%;
  padding: 16px;
  background-color: var(--input-bg);
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-main);
  outline: none;
  transition: box-shadow 0.2s;
}

input:focus,
textarea:focus {
  box-shadow: 0 0 0 2px var(--accent);
  background-color: #fff;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: #005bb5;
}

.site-footer {
  background-color: var(--card-bg);
  padding: 60px 0 40px;
  margin-top: 80px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 14px;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-left {
  flex: 1;
  max-width: 400px;
}

.footer-left .logo {
  color: var(--text-main);
  margin-bottom: 15px;
}

.footer-desc {
  line-height: 1.6;
  margin-bottom: 20px;
}

.copyright {
  font-size: 13px;
  opacity: 0.8;
}

.footer-right {
  text-align: right;
}

.footer-right h5 {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.credits {
  font-size: 12px;
}

.credits a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.credits a:hover {
  color: var(--text-main);
  border-bottom-color: var(--text-main);
}

@media screen and (max-width: 1080px) {
  .main-container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    overflow-x: hidden;
  }

  body {
    padding-top: 70px;
  }

  .navbarscontent {
    padding: 0 20px;
    justify-content: space-between;
  }

  .links {
    display: none;
  }

  .infoblock {
    margin-top: 0;
    padding: 40px 0;
   /* background-image: linear-gradient(
        rgba(0, 0, 0, 0.5),
        rgba(255, 255, 255, 0.5)
      ),
      url("bg.jpg");*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .infoblock h1 {
    font-size: 36px;
    line-height: 1.1;
    text-align: center;
  }

  .infoblock h6 {
    font-size: 18px;
    margin-bottom: 30px;
    text-align: center;
  }

  .cta-button {
    padding: 18px;
    font-size: 18px;
  }

  .products-flex {
    flex-direction: column;
    gap: 25px;
  }

  .product-card {
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 25px;
  }

  .product-card h3 {
    font-size: 24px;
  }

  .bottom-row {
    margin-top: 20px;
  }

  .add-btn {
    width: 50px;
    height: 50px;
    font-size: 28px;
    background-color: #f2f2f7;
  }

  .info-card {
    padding: 30px 25px;
  }

  .info-block {
    flex-direction: column;
    gap: 30px;
  }

  .info-item h4 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .contact-section {
    margin-bottom: 50px;
  }

  .site-footer {
    padding: 40px 0;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .footer-left {
    max-width: 100%;
  }

  .footer-right {
    text-align: center;
    width: 100%;
  }

  .footer-links {
    align-items: center;
  }
}
