/* Premium landing - Metalni stubovi i konstrukcije */
.page-metalni {
  padding-top: var(--header-h);
  --metal-bg: #12171d;
  --metal-surface: #1a2129;
  --metal-surface-2: #222b35;
  --metal-text: #e9edf2;
  --metal-muted: #aeb7c3;
  --metal-accent: #1f7a4c;
}

.page-metalni .site-header:not(.is-solid) .site-logo,
.page-metalni .site-header:not(.is-solid) .site-nav__list > li > a,
.page-metalni .site-header:not(.is-solid) .mega-trigger {
  color: rgba(244, 247, 251, 0.95);
}

.page-metalni .site-header:not(.is-solid) .nav-toggle span {
  background: #fff;
}

.metal-hero {
  position: relative;
  min-height: 80vh;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.metal-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1.04);
  animation: metalHeroScale 12s ease-out forwards;
}

.metal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(8, 12, 17, 0.86) 0%, rgba(8, 12, 17, 0.68) 42%, rgba(8, 12, 17, 0.36) 70%, rgba(8, 12, 17, 0.7) 100%),
    radial-gradient(640px 300px at 20% 26%, rgba(31, 122, 76, 0.24), transparent 64%);
}

.metal-hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.12;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.3) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

.metal-hero__inner {
  position: relative;
  z-index: 3;
  max-width: 52rem;
}

.metal-hero__eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(232, 240, 248, 0.84);
}

.metal-hero__title {
  margin: 0;
  max-width: 18ch;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.metal-hero__lead {
  margin: 1rem 0 0;
  max-width: 50ch;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(231, 238, 246, 0.9);
}

.metal-hero__actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.metal-hero .btn--primary {
  background: linear-gradient(135deg, var(--metal-accent) 0%, #175c39 100%);
  box-shadow: 0 12px 28px rgba(31, 122, 76, 0.35);
}

.metal-hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.metal-hero .btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.86);
}

.metal-offer {
  background: linear-gradient(180deg, #eef2f6 0%, #e7ecf2 100%);
}

.metal-offer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .metal-offer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .metal-offer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.metal-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid rgba(14, 20, 28, 0.12);
  box-shadow: 0 18px 36px rgba(12, 20, 28, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.metal-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
}

.metal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 13, 18, 0.14) 0%, rgba(9, 13, 18, 0.82) 100%);
}

.metal-card__body {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.metal-card__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.metal-card__body p {
  margin: 0.45rem 0 0;
  color: rgba(232, 238, 245, 0.84);
  font-size: 0.9rem;
}

.metal-card:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 122, 76, 0.6);
  box-shadow: 0 26px 44px rgba(8, 12, 18, 0.24);
}

.metal-card:hover .metal-card__bg {
  transform: scale(1.08);
}

.metal-usecases {
  background: linear-gradient(135deg, #12171d 0%, #1c242d 100%);
  color: var(--metal-text);
}

.metal-usecases .section-kicker {
  color: rgba(214, 224, 236, 0.58);
}

.metal-usecases__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 760px) {
  .metal-usecases__row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.metal-use {
  border: 1px solid rgba(234, 240, 249, 0.14);
  border-radius: 14px;
  padding: 1rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.metal-use:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 122, 76, 0.6);
}

.metal-use__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(31, 122, 76, 0.25);
}

.metal-use__icon svg {
  width: 22px;
  height: 22px;
}

.metal-use h3 {
  margin: 0.7rem 0 0;
  font-size: 1rem;
  color: #eaf1f8;
}

.metal-quality {
  background: #fff;
}

.metal-quality__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .metal-quality__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2.3rem;
  }
}

.metal-quality__visual {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 40px rgba(14, 21, 30, 0.16);
}

.metal-quality__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metal-quality__list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.metal-quality__list li {
  position: relative;
  padding-left: 1.5rem;
  margin: 0 0 0.55rem;
  color: #3a444f;
  font-weight: 500;
}

.metal-quality__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--metal-accent), #1f8a55);
}

.metal-gallery {
  background: #f0f3f7;
}

.metal-gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

@media (min-width: 760px) {
  .metal-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.metal-gallery__item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 210px;
}

.metal-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.1) 0%, rgba(10, 14, 20, 0.4) 100%);
  opacity: 0.68;
  transition: opacity 0.25s ease;
}

.metal-gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.metal-gallery__item:hover img {
  transform: scale(1.07);
}

.metal-gallery__item:hover::after {
  opacity: 0.5;
}

.metal-trust {
  background: linear-gradient(140deg, #0f141a 0%, #1b232d 100%);
  color: var(--metal-text);
}

.metal-trust .section-kicker {
  color: rgba(227, 235, 244, 0.58);
}

.metal-trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 760px) {
  .metal-trust__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.metal-counter {
  text-align: center;
  border-radius: 14px;
  padding: 1.35rem 1rem;
  border: 1px solid rgba(231, 239, 248, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.metal-counter__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 4vw, 2.8rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}

.metal-counter__num--text {
  letter-spacing: 0.04em;
}

.metal-counter__label {
  display: block;
  margin-top: 0.45rem;
  color: rgba(219, 228, 239, 0.84);
  font-weight: 500;
}

.metal-cta {
  background: #f7f9fc;
}

.metal-cta__card {
  border-radius: 18px;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border: 1px solid rgba(17, 23, 31, 0.1);
  background: linear-gradient(145deg, #ffffff 0%, #f0f4f8 100%);
  box-shadow: 0 20px 44px rgba(13, 20, 29, 0.1);
}

.metal-cta__lead {
  margin: 0.75rem 0 0;
  max-width: 64ch;
  color: #4c5864;
}

.metal-cta__actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.metal-cta .btn--primary {
  background: linear-gradient(135deg, var(--metal-accent) 0%, #175c39 100%);
}

.metal-cta .btn--ghost {
  color: #1a2530;
  border-color: rgba(20, 29, 38, 0.2);
}

@keyframes metalHeroScale {
  from { transform: scale(1.08); }
  to { transform: scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  .metal-hero__bg,
  .metal-card__bg,
  .metal-gallery__item img {
    animation: none;
    transition: none;
    transform: none;
  }
}
