/* Extra reset and utilities beyond inline */
.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-4 {
  margin-top: 1rem;
}

.w-100 {
  width: 100%;
}

.text-center {
  text-align: center;
}

.justify-center {
  justify-content: center;
}

.text-gray {
  color: #6e7a76;
}

.text-sm {
  font-size: 0.875rem;
}

.bg-warm {
  background-color: var(--bg-warm);
}

/* Desktop vs Mobile Nav */
@media (min-width: 992px) {
  .nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
  }

  .nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    transition: color 0.3s;
    text-decoration: none;
  }

  .nav-link:hover {
    color: var(--primary);
  }

  .mobile-menu-btn {
    display: none;
  }
}

@media (max-width: 991px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(11, 92, 107, 0.1);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
  }

  .mobile-menu-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Grids */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .grid-2-col {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.align-items-center {
  align-items: center;
}

.grid-2-col-sm {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 500px) {
  .grid-2-col-sm {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* Typography Extras */
.section-badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 24px;
}

.o-nama p,
.kvalitet-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #4A5551;
}

/* Images and aesthetics */
.rounded-img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

.shadow-lg {
  box-shadow: 0 20px 40px rgba(11, 92, 107, 0.1);
}

.section-divider {
  display: block;
  width: 100%;
  height: clamp(40px, 6vw, 100px);
}

/* Products Cards */
.cards-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--white);
  border: 1px solid rgba(11, 92, 107, 0.1);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
}

a.card *,
a.card:hover,
a.card:visited,
a.card:active {
  text-decoration: none !important;
  color: inherit;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(11, 92, 107, 0.12);
  border-color: transparent;
}

.card:hover::before {
  box-shadow: inset 0 0 0 2px var(--primary);
}

.card-img-wrapper {
  margin: -32px -32px 24px -32px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: var(--bg-warm);
  padding: 16px;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: block;
}

.card:hover .card-img {
  transform: scale(1.08);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.card-desc {
  color: #4A5551;
  margin-bottom: auto;
  line-height: 1.6;
}

.card-partners {
  margin-top: 24px;
  font-size: 0.875rem;
  color: #6e7a76;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 16px;
}

/* Materials Chips */
.materials-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.material-chip {
  background: var(--bg-warm);
  color: var(--primary);
  font-weight: 500;
  font-family: var(--font-sans);
  padding: 12px 24px;
  border-radius: 100px;
  border: 1px solid rgba(11, 92, 107, 0.1);
  transition: all 0.3s ease;
}

.material-chip:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Quality List */
.quality-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
}

.quality-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.125rem;
  color: #1C2321;
}

.check-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Logo Marquee Slider */
.logo-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 24px 0 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.logo-marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: logoScroll 40s linear infinite;
}

.logo-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-slide {
  flex-shrink: 0;
  padding: 20px 32px;
  margin: 0 12px;
  background: var(--white);
  border: 1px solid rgba(11, 92, 107, 0.08);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  transition: all 0.3s ease;
}

.logo-slide:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(11, 92, 107, 0.1);
  transform: translateY(-2px);
}

.logo-name {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Contact Specifics */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1.125rem;
}

.contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item a {
  color: var(--text-dark);
  transition: color 0.3s;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s;
  background: #fff;
  color: var(--text-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

textarea.form-control {
  resize: vertical;
}

.footer {
  padding: 3rem 0;
  text-align: center;
  background: #fff;
  border-top: 1px solid #F5F7F2;
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
}