* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #f7f7f7;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3rem 0;
  background-color: #f7f7f7;
}

.section.alt {
  background-color: #ffffff;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.section-intro {
  margin-bottom: 1.5rem;
}

.section-cta,
.section-cta-center {
  margin-top: 2rem;
  text-align: center;
}

/* Top bar and nav */

.top-bar {
  background-color: #111827;
  color: #e5e7eb;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 1.5rem;
}

.company-names {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.company-names strong {
  font-weight: 600;
}

.secondary-name {
  font-size: 0.8rem;
  color: #9ca3af;
}

.top-contact {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}

.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.05em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: #374151;
  font-size: 0.95rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: #111827;
}

.nav-links a.active {
  border-color: #111827;
}

/* Hero */

.hero {
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 1.5rem;
}

.hero-text h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero-text p {
  margin-bottom: 0.8rem;
  color: #4b5563;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.hero-image img {
  max-width: 360px;
  width: 100%;
  border-radius: 0.75rem;
  display: block;
  object-fit: cover;
}

/* Page hero */

.page-hero {
  background-color: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
  padding: 2.5rem 0;
}

.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.primary-btn {
  background-color: #111827;
  color: #ffffff;
  border-color: #111827;
}

.primary-btn:hover {
  background-color: #1f2937;
}

.secondary-btn {
  background-color: #ffffff;
  color: #111827;
  border-color: #d1d5db;
}

.secondary-btn:hover {
  background-color: #f3f4f6;
}

/* Cards and grids */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.3rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.03);
}

.card h3 {
  margin-bottom: 0.6rem;
}

/* Two column layout */

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.stacked-on-mobile {
  align-items: start;
}

/* Product overview */

.product-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Lists */

.clean-list {
  list-style: none;
  padding-left: 0;
}

.clean-list li {
  margin-bottom: 0.4rem;
  padding-left: 1rem;
  position: relative;
}

.clean-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #9ca3af;
}

/* Product blocks and sliders */

.product-block {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.product-text h3 {
  margin-bottom: 0.6rem;
}

/* Wrapper around slider + arrows */
.product-slider-wrapper {
  position: relative;
  margin-top: 0.5rem;
  overflow: hidden;
  padding: 0 2.5rem;
}

/* Horizontal slider row */
.product-slider {
  display: flex;
  gap: 0.75rem;
  overflow-x: hidden;
  padding: 0.5rem 0;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

/* Hide inner scrollbars */
.product-slider::-webkit-scrollbar {
  display: none;
}

.product-slider {
  scrollbar-width: none;
}

/* Each image as a card */
.product-slider img {
  flex: 0 0 220px; /* width of each card on desktop */
  height: 180px;
  border-radius: 0.75rem;
  object-fit: cover;
  scroll-snap-align: start;
}

/* Slider arrows overlay */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.85);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.slider-prev {
  left: 0.5rem;
}

.slider-next {
  right: 0.5rem;
}

.slider-arrow:hover {
  background: rgba(17, 24, 39, 1);
}

/* Categories with icons */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.category-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.2rem;
  border: 1px solid #e5e7eb;
  text-align: center;
}

.category-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

/* News */

.news-list {
  list-style: none;
  padding-left: 0;
}

.news-list li {
  margin-bottom: 1.4rem;
}

.news-list h3 {
  margin-bottom: 0.3rem;
}

/* Info and steps */

.stat-box,
.info-box {
  background-color: #111827;
  color: #f9fafb;
  border-radius: 0.75rem;
  padding: 1.3rem;
}

.info-box h3 {
  margin-bottom: 0.7rem;
}

.numbered-list {
  list-style: decimal;
  padding-left: 1.4rem;
}

.numbered-list li {
  margin-bottom: 0.4rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.step-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background-color: #111827;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

/* FAQ */

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.1rem;
  border: 1px solid #e5e7eb;
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

/* Testimonials */

.testimonial {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.1rem;
  border: 1px solid #e5e7eb;
  margin-bottom: 0.9rem;
}

.testimonial-author {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #6b7280;
}

/* Gallery */

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-preview img,
.gallery-grid img {
  width: 100%;
  border-radius: 0.75rem;
  object-fit: cover;
}

.gallery-grid.full {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

/* Contact form */

.contact-form {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.3rem;
  border: 1px solid #e5e7eb;
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.6rem;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #111827;
}

/* Footer */

.site-footer {
  background-color: #111827;
  color: #e5e7eb;
  margin-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem 1.5rem 1.5rem;
}

.footer-inner h3,
.footer-inner h4 {
  margin-bottom: 0.6rem;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.3rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding: 0.8rem;
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* Responsive */

@media (max-width: 960px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid.full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1.5fr 1fr;
  }

  .hero-inner {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .top-bar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .hero-inner {
    padding: 2.2rem 1.5rem;
  }

  .hero-text h1 {
    font-size: 1.7rem;
  }

  .two-col,
  .product-block {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .product-overview-grid,
  .steps-grid,
  .category-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .gallery-preview,
  .gallery-grid.full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .product-slider img {
    flex-basis: 70vw;
    height: 160px;
  }

  .slider-arrow {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
}

.lightbox-content img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #000;
}

#lightbox-caption {
  margin-top: 0.5rem;
  color: #e5e7eb;
  font-size: 0.9rem;
}

/* Lightbox buttons */

.lightbox-close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: rgba(17, 24, 39, 0.85);
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev {
  left: -0.5rem;
}

.lightbox-next {
  right: -0.5rem;
}

.lightbox-arrow:hover {
  background: rgba(17, 24, 39, 1);
}
