/* Plastifikacija — premium industrial service page (scoped) */

/* Hero ispod providnog headera (kao početna / metal landing): bez praznog bijelog traka */
.page-plast.page-sub {
  padding-top: 0;
}

.page-plast .sub-main > .plast-hero:first-child {
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}

.page-plast {
  --plast-bg-deep: #080b10;
  --plast-bg-card: #121820;
  --plast-steel: #3a4452;
  --plast-steel-light: #5a6575;
  --plast-blue: #4a6fa5;
  --plast-blue-soft: rgba(74, 111, 165, 0.22);
  --plast-line: rgba(255, 255, 255, 0.08);
  --plast-text: #e8ecf0;
  --plast-muted: rgba(232, 236, 240, 0.72);
  --plast-radius: 14px;
  --plast-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  --plast-glow: 0 0 0 1px rgba(90, 130, 180, 0.25), 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* Hero */
.plast-hero {
  position: relative;
  min-height: clamp(420px, 72vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--plast-bg-deep);
}

.plast-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1.02);
}

.plast-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(6, 10, 16, 0.88) 0%,
    rgba(10, 16, 26, 0.72) 38%,
    rgba(8, 12, 20, 0.55) 100%
  );
  z-index: 1;
}

.plast-hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 60% at 20% 80%, rgba(74, 111, 165, 0.12), transparent 55%);
  pointer-events: none;
}

.plast-hero__inner {
  position: relative;
  z-index: 2;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  max-width: 42rem;
}

.plast-hero__crumb {
  margin: 0 0 1rem;
  font-size: 0.8rem;
}

.plast-hero__crumb a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.plast-hero__crumb a:hover {
  color: #fff;
}

.plast-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 1rem;
}

.plast-hero__sub {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: var(--plast-muted);
  max-width: 36ch;
}

.page-plast .plast-hero .btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Intro */
.plast-intro {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--color-surface-muted);
}

.plast-intro__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .plast-intro__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.plast-intro__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plast-steel);
  margin: 0 0 0.75rem;
}

.plast-intro__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  color: var(--color-text);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.plast-intro__text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.plast-intro__text + .plast-intro__text {
  margin-top: 1rem;
}

.plast-intro__figure {
  margin: 0;
  border-radius: var(--plast-radius);
  overflow: hidden;
  box-shadow: var(--plast-shadow);
  background: #1a1f28;
}

.plast-intro__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Process */
.plast-process {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: #fff;
}

.plast-section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.plast-section-head__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plast-steel);
  margin: 0 0 0.5rem;
}

.plast-section-head__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--color-text);
  margin: 0 0 0.5rem;
}

.plast-section-head__sub {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.plast-process__steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .plast-process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .plast-process__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.plast-step {
  position: relative;
  padding: 1.5rem 1.35rem;
  border-radius: var(--plast-radius);
  background: linear-gradient(165deg, #f8f9fb 0%, #eef1f5 100%);
  border: 1px solid rgba(58, 68, 82, 0.1);
  box-shadow: 0 4px 20px rgba(15, 25, 40, 0.06);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

.plast-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--plast-glow);
  border-color: rgba(74, 111, 165, 0.35);
}

.plast-step__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--plast-blue);
  margin-bottom: 0.85rem;
}

.plast-step__ic {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(74, 111, 165, 0.12);
  color: var(--plast-steel);
}

.plast-step__ic svg {
  width: 24px;
  height: 24px;
}

.plast-step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.plast-step__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--color-text-muted);
}

/* Benefits */
.plast-benefits {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: linear-gradient(180deg, #f0f2f5 0%, #e8ebf0 100%);
}

.plast-benefits__grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 600px) {
  .plast-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .plast-benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .plast-benefits__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.plast-benefit {
  padding: 1.5rem 1.35rem;
  border-radius: var(--plast-radius);
  background: #fff;
  border: 1px solid rgba(58, 68, 82, 0.08);
  box-shadow: 0 8px 28px rgba(15, 25, 40, 0.07);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.plast-benefit:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15, 25, 40, 0.14);
}

.plast-benefit__ic {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--plast-steel);
}

.plast-benefit__ic svg {
  width: 100%;
  height: 100%;
}

.plast-benefit__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  margin: 0 0 0.4rem;
  color: var(--color-text);
  line-height: 1.3;
}

.plast-benefit__text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* Gallery */
.plast-gallery {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: #fff;
}

.plast-gallery__grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .plast-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1000px) {
  .plast-gallery__grid:not(.plast-gallery__grid--two) {
    grid-template-columns: repeat(4, 1fr);
  }
}

.plast-gallery__grid--two {
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .plast-gallery__grid--two {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

.plast-gallery__cell {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #1a1f28;
}

.plast-gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.plast-gallery__cell:hover img {
  transform: scale(1.04);
}

/* CTA */
.plast-cta {
  position: relative;
  padding: clamp(3.5rem, 8vw, 5rem) 0;
  overflow: hidden;
}

.plast-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  transform: scale(1.06);
}

.plast-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 10, 16, 0.94) 0%, rgba(14, 22, 34, 0.92) 50%, rgba(8, 14, 24, 0.93) 100%);
}

.plast-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.plast-cta__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  color: var(--plast-text);
  margin: 0 0 1.5rem;
  line-height: 1.25;
}

.page-plast .plast-cta .btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  border-radius: 10px;
  background: #fff;
  color: var(--plast-bg-deep);
  border: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.page-plast .plast-cta .btn--primary:hover {
  background: #f0f3f7;
  color: #000;
}

.page-plast .plast-cta .btn--primary::before {
  display: none;
}

.page-plast .plast-cta .btn--primary:hover::before {
  opacity: 0;
}
