/* =========================================================
   Digitizer Service Pages — Graphic Design page
   Clean final version for approved graphic design HTML
========================================================= */

/* =========================================================
   Graphic Design page v2
   Isolated with dg2-* classes
========================================================= */

.dz-page--graphic {
  --dg2-gold: #d6a93d;
  --dg2-cream: #f4ead2;
  --dg2-orange: #ff6600;
  --dg2-cyan: #36e7ff;
  --dg2-dark: #101010;
  --dg2-line: rgba(255,255,255,.12);
  --dg2-soft: rgba(255,255,255,.065);
  background: none !important;
}

/* Serbian word protection */
.dz-page--graphic h1,
.dz-page--graphic h2,
.dz-page--graphic h3,
.dz-page--graphic strong,
.dz-page--graphic .dz-title,
.dz-page--graphic .dg2-title,
.dz-page--graphic .dg2-price-card h3 {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  text-wrap: balance;
}

/* Different mood than SEO / Production */
.dz-page--graphic .dz-section::before {
  opacity: .9;
  background:
    radial-gradient(circle at 10% 18%, rgba(214,169,61,.18), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(255,102,0,.11), transparent 30%),
    radial-gradient(circle at 52% 92%, rgba(140,80,255,.10), transparent 34%);
}

.dz-page--graphic .dz-section:nth-of-type(even)::before {
  background:
    radial-gradient(circle at 84% 12%, rgba(244,234,210,.10), transparent 28%),
    radial-gradient(circle at 16% 78%, rgba(214,169,61,.12), transparent 30%),
    radial-gradient(circle at 62% 46%, rgba(54,231,255,.075), transparent 28%);
}

/* Hero */
.dg2-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
}

.dg2-hero-copy {
  position: relative;
  z-index: 2;
}

.dg2-hero-copy .dz-title--xl {
  max-width: 860px;
}

.dg2-hero-lab {
  position: relative;
  min-height: 620px;
  perspective: 1200px;
}

.dg2-logo-mock {
  position: absolute;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 12%, rgba(214,169,61,.18), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.025));
  box-shadow:
    0 32px 90px rgba(0,0,0,.34),
    0 0 46px rgba(214,169,61,.055);
  animation: dg2Float 8s ease-in-out infinite;
}

.dg2-logo-mock img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.32));
}

.dg2-logo-mock--hero-main {
  width: 430px;
  height: 430px;
  right: 56px;
  top: 28px;
  border-radius: 36px;
}

.dg2-logo-mock--hero-wide {
  width: 540px;
  height: 170px;
  left: 0;
  top: 255px;
  animation-delay: .8s;
}

.dg2-logo-mock--hero-small {
  width: 240px;
  height: 190px;
  right: 0;
  bottom: 34px;
  animation-delay: 1.5s;
}

.dg2-logo-mock--hero-card {
  width: 260px;
  height: 170px;
  left: 80px;
  bottom: 28px;
  animation-delay: 2.1s;
}

@keyframes dg2Float {
  0%, 100% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }

  50% {
    transform: translateY(-10px) rotateX(1deg) rotateY(-1.2deg);
  }
}

/* Capability map */
.dg2-capabilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-top: 36px;
}

.dg2-capability {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(214,169,61,.13), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.022));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dg2-capability b {
  color: var(--dg2-gold);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
}

.dg2-capability strong {
  display: block;
  color: #fff;
  font-size: clamp(20px, 1.55vw, 26px);
  line-height: 1.04;
  text-transform: uppercase;
  font-weight: 900;
}

.dg2-capability span {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  line-height: 1.45;
}

/* Process */
.dg2-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.dg2-process-step {
  min-height: 230px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dg2-process-step b {
  color: var(--dg2-gold);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
}

.dg2-process-step h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 1.6vw, 27px);
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 900;
}

.dg2-process-step p {
  margin: 18px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.55;
}

/* Pricing */
.dg2-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.dg2-price-card {
  min-height: 330px;
  padding: clamp(26px, 3vw, 40px);
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.11);
  background:
    radial-gradient(circle at 20% 0%, rgba(214,169,61,.12), transparent 40%),
    linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.02));
  display: flex;
  flex-direction: column;
}

.dg2-price-card--featured {
  border-color: rgba(214,169,61,.34);
  box-shadow:
    0 0 0 1px rgba(214,169,61,.08),
    0 26px 80px rgba(0,0,0,.22),
    0 0 34px rgba(214,169,61,.07);
}

.dg2-price-card b {
  color: var(--dg2-gold);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
}

.dg2-price-card h3 {
  margin: 28px 0 0;
  color: #fff;
  font-size: clamp(30px, 2.6vw, 46px);
  line-height: 1.02;
  text-transform: uppercase;
  font-weight: 900;
}

.dg2-price-card p {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.64);
  font-size: 14px;
  line-height: 1.65;
}

.dg2-price-card strong {
  display: block;
  margin-top: auto;
  padding-top: 36px;
  color: #fff;
  font-size: clamp(34px, 3vw, 54px);
  line-height: 1;
  font-weight: 900;
}

.dg2-price-card small {
  display: block;
  margin-top: 14px;
  color: rgba(255,255,255,.46);
  font-size: 12px;
  line-height: 1.45;
}


/* Responsive */
@media (max-width: 1180px) {
  .dg2-hero,
  .dg2-portfolio-head {
    grid-template-columns: 1fr;
  }

  .dg2-hero-lab {
    min-height: 540px;
  }

  .dg2-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .dg2-hero-lab {
    min-height: auto;
    display: grid;
    gap: 12px;
  }

  .dg2-logo-mock,
  .dg2-logo-mock--hero-main,
  .dg2-logo-mock--hero-wide,
  .dg2-logo-mock--hero-small,
  .dg2-logo-mock--hero-card {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-height: 220px;
    height: 220px;
    transform: none;
    animation: none;
    display: flex;
  }

  .dg2-capabilities,
  .dg2-process,
  .dg2-price-grid {
    grid-template-columns: 1fr;
  }

  .dg2-price-card h3 {
    font-size: clamp(28px, 9vw, 40px);
  }
}

/* =========================================================
   GRAPHIC DESIGN – BRAND BOOK + MOCKUP SECTIONS
   ========================================================= */

.dg3-shell{
  width:min(1280px, calc(100% - 48px));
  margin:0 auto;
}

.dg3-shell--mockup{
  display:grid;
  grid-template-columns:minmax(0, 1.08fr) minmax(320px, .92fr);
  gap:28px;
  align-items:stretch;
}

.dg3-brandbook-section,
.dg3-mockup-section{
  position:relative;
  padding:40px 0 10px;
}

.dg3-kicker{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 16px;
  color:#ff7a00;
  font-size:12px;
  line-height:1;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.dg3-kicker::before{
  content:"";
  width:28px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg, #ff7a00 0%, rgba(255,122,0,.3) 100%);
}

.dg3-title{
  margin:0;
  color:#fff;
  font-family:"Poppins", sans-serif;
  font-weight:900;
  letter-spacing:-0.045em;
  text-transform:uppercase;
  line-height:.94;
}

.dg3-title--wide{
  max-width:1100px;
  font-size:clamp(40px, 7vw, 86px);
}

.dg3-copy{
  color:rgba(255,255,255,.78);
  font-size:16px;
  line-height:1.8;
}

.dg3-copy p{
  margin:0 0 18px;
}

.dg3-copy p:last-child{
  margin-bottom:0;
}

.dg3-copy--wide{
  max-width:none;
  margin:22px 0 0;
}

.dg3-brandbook-visual{
  position:relative;
  min-height:540px;
  margin-top:34px;
}

.dg3-brandbook-card{
  position:absolute;
  border-radius:28px;
  background:rgba(244,239,228,.92);
  box-shadow:
    0 28px 60px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.55);
  color:#111;
  overflow:hidden;
}

.dg3-brandbook-card--front{
  z-index:2;
  width:min(760px, 90%);
  left:5%;
  top:32px;
  padding:42px 38px 34px;
  transform:rotate(-3deg);
}

.dg3-brandbook-card--back{
  z-index:1;
  width:min(640px, 84%);
  right:6%;
  top:58px;
  padding:42px 34px 34px;
  transform:rotate(4deg);
  opacity:.88;
  background:rgba(244,239,228,.82);
}

.dg3-brandbook-mini{
  display:block;
  margin-bottom:22px;
  color:#b07b13;
  font-size:13px;
  line-height:1;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.dg3-brandbook-card h3{
  margin:0 0 18px;
  max-width:560px;
  font-family:"Poppins", sans-serif;
  font-size:clamp(40px, 5.2vw, 78px);
  line-height:.94;
  font-weight:900;
  letter-spacing:-0.05em;
  text-transform:uppercase;
  color:#0b0c10;
}

.dg3-brandbook-card--back h3{
  max-width:460px;
  color:rgba(17,17,17,.88);
}

.dg3-brandbook-card p{
  max-width:520px;
  margin:0 0 22px;
  color:rgba(17,17,17,.72);
  font-size:17px;
  line-height:1.75;
}

.dg3-brandbook-lines{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.dg3-brandbook-lines span{
  display:block;
  height:8px;
  border-radius:999px;
  background:rgba(24,24,24,.12);
}

.dg3-brandbook-lines span:nth-child(1){ width:52%; }
.dg3-brandbook-lines span:nth-child(2){ width:68%; }
.dg3-brandbook-lines span:nth-child(3){ width:60%; }

.dg3-brandbook-palette{
  display:flex;
  gap:12px;
  margin-top:28px;
}

.dg3-brandbook-palette span{
  width:74px;
  height:46px;
  border-radius:12px;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);
}

.dg3-brandbook-palette .is-black{ background:#0b0d11; }
.dg3-brandbook-palette .is-gold{ background:#d9af43; }
.dg3-brandbook-palette .is-ivory{ background:#efe5ce; }
.dg3-brandbook-palette .is-orange{ background:#ff7600; }

/* ---------- 1. Brand book: manje preklapanja, čitljivije kartice ---------- */

.dz-page--graphic .dg3-brandbook-visual {
  min-height: auto !important;
  margin-top: 44px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 18px;
  align-items: stretch;
}

.dz-page--graphic .dg3-brandbook-card,
.dz-page--graphic .dg3-brandbook-card--front,
.dz-page--graphic .dg3-brandbook-card--back {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  width: 100% !important;
  min-height: 430px;
  opacity: 1 !important;
}

.dz-page--graphic .dg3-brandbook-card--front {
  transform: rotate(-1.5deg) !important;
  z-index: 2;
}

.dz-page--graphic .dg3-brandbook-card--back {
  transform: rotate(1.5deg) !important;
  z-index: 1;
  background: rgba(244,239,228,.84);
}

.dz-page--graphic .dg3-brandbook-card h3 {
  max-width: 100%;
  font-size: clamp(36px, 4.2vw, 66px);
  line-height: .95;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.dz-page--graphic .dg3-brandbook-card--back h3 {
  color: rgba(17,17,17,.86);
}

/* =========================================================
   Graphic design final corrections
   Primena identiteta + Portfolio mockup images
========================================================= */

/* Primena identiteta: stabilno, jedno ispod drugog */
.dz-page--graphic .dgf-application-section {
  position: relative;
  padding: clamp(62px, 7vw, 110px) 0;
}

.dz-page--graphic .dgf-application-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.dz-page--graphic .dgf-application-head {
  max-width: 1120px;
  margin-bottom: 38px;
}

.dz-page--graphic .dgf-application-head .dz-title {
  max-width: 1040px;
}

.dz-page--graphic .dgf-application-text {
  max-width: 940px;
  margin-top: 26px;
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.8;
}

.dz-page--graphic .dgf-application-text p {
  margin: 0 0 18px;
}

.dz-page--graphic .dgf-application-text p:last-child {
  margin-bottom: 0;
}

.dz-page--graphic .dgf-application-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.dz-page--graphic .dgf-application-stage {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(214,169,61,.15), transparent 34%),
    radial-gradient(circle at 86% 78%, rgba(54,231,255,.08), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,.072), rgba(255,255,255,.024));
}

.dz-page--graphic .dgf-application-stage-text {
  position: relative;
  z-index: 4;
  padding: clamp(30px, 5vw, 56px);
  max-width: 760px;
}

.dz-page--graphic .dgf-application-stage-text h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4.6vw, 72px);
  line-height: .96;
  letter-spacing: -.035em;
  text-transform: uppercase;
  font-weight: 900;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.dz-page--graphic .dgf-application-stage-text p {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 15px;
  line-height: 1.65;
}

/* CSS mockup u Primena identiteta, bez slika */
.dz-page--graphic .dgf-paper {
  position: absolute;
  right: 42px;
  bottom: -56px;
  width: 410px;
  min-height: 480px;
  padding: 34px;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  color: #111;
  transform: rotate(4deg);
  box-shadow: 0 36px 110px rgba(0,0,0,.38);
}

.dz-page--graphic .dgf-paper::before {
  content: "";
  display: block;
  width: 140px;
  height: 22px;
  border-radius: 999px;
  background: #111;
  margin-bottom: 46px;
}

.dz-page--graphic .dgf-paper span {
  display: block;
  height: 8px;
  margin: 12px 0;
  border-radius: 999px;
  background: rgba(0,0,0,.13);
}

.dz-page--graphic .dgf-paper span:nth-child(1) { width: 90%; }
.dz-page--graphic .dgf-paper span:nth-child(2) { width: 74%; }
.dz-page--graphic .dgf-paper span:nth-child(3) { width: 84%; }
.dz-page--graphic .dgf-paper span:nth-child(4) { width: 58%; }

.dz-page--graphic .dgf-card-stack {
  position: absolute;
  left: 42px;
  bottom: 56px;
  width: 320px;
  height: 190px;
  z-index: 5;
}

.dz-page--graphic .dgf-business-card {
  position: absolute;
  inset: 0;
  padding: 24px;
  border-radius: 22px;
  background: #111;
  color: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.32);
}

.dz-page--graphic .dgf-business-card:first-child {
  transform: rotate(-8deg) translate(-18px, 10px);
  background: #f4ead2;
  color: #111;
}

.dz-page--graphic .dgf-business-card:last-child {
  transform: rotate(3deg);
}

.dz-page--graphic .dgf-business-card strong {
  display: block;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 900;
}

.dz-page--graphic .dgf-business-card span {
  display: block;
  margin-top: 44px;
  opacity: .64;
  font-size: 12px;
  line-height: 1.5;
}

.dz-page--graphic .dgf-application-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.dz-page--graphic .dgf-application-item {
  min-height: 190px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 20% 0%, rgba(214,169,61,.10), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.02));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dz-page--graphic .dgf-application-item b {
  color: #d6a93d;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
}

.dz-page--graphic .dgf-application-item h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(19px, 1.5vw, 26px);
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 900;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.dz-page--graphic .dgf-application-item p {
  margin: 14px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.6;
}

/* Portfolio identiteta: ovde idu nove mockup slike */
.dz-page--graphic .dgf-portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 46px;
}

.dz-page--graphic .dgf-portfolio-mockup {
  position: relative;
  min-height: 300px;
  grid-column: span 4;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow:
    0 28px 90px rgba(0,0,0,.30),
    0 0 38px rgba(214,169,61,.035);
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.dz-page--graphic .dgf-portfolio-mockup:hover {
  transform: translateY(-5px);
  border-color: rgba(214,169,61,.34);
  box-shadow:
    0 34px 115px rgba(0,0,0,.42),
    0 0 48px rgba(214,169,61,.09);
}

.dz-page--graphic .dgf-portfolio-mockup img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.dz-page--graphic .dgf-portfolio-mockup--large {
  grid-column: span 6;
  min-height: 430px;
}

.dz-page--graphic .dgf-portfolio-caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  background: rgba(0,0,0,.34);
  backdrop-filter: blur(12px);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .dz-page--graphic .dgf-application-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dz-page--graphic .dgf-portfolio-mockup,
  .dz-page--graphic .dgf-portfolio-mockup--large,
  .dz-page--graphic .dgf-portfolio-mockup--wide,
  .dz-page--graphic .dgf-portfolio-mockup--tall {
    grid-column: span 6;
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .dz-page--graphic .dgf-application-shell {
    width: min(100%, calc(100% - 28px));
  }

  .dz-page--graphic .dgf-application-stage {
    min-height: 660px;
  }

  .dz-page--graphic .dgf-paper {
    width: calc(100% - 44px);
    right: 22px;
  }

  .dz-page--graphic .dgf-card-stack {
    left: 22px;
    width: calc(100% - 44px);
  }

  .dz-page--graphic .dgf-application-list {
    grid-template-columns: 1fr;
  }

  .dz-page--graphic .dgf-portfolio-gallery {
    grid-template-columns: 1fr;
  }

  .dz-page--graphic .dgf-portfolio-mockup,
  .dz-page--graphic .dgf-portfolio-mockup--large,
  .dz-page--graphic .dgf-portfolio-mockup--wide,
  .dz-page--graphic .dgf-portfolio-mockup--tall {
    grid-column: span 1;
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .dz-page--graphic .dgf-portfolio-mockup img {
    min-height: 0;
    height: 100%;
  }
}

/* =========================================================
   Graphic design portfolio gallery - final crop/fill polish
========================================================= */

/* Portfolio grid: slike moraju da pune kartice */
.dz-page--graphic .dgf-portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 46px;
  align-items: stretch;
}

/* Osnovna kartica */
.dz-page--graphic .dgf-portfolio-mockup {
  position: relative;
  grid-column: span 4;
  min-height: 330px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.035);
  box-shadow:
    0 26px 80px rgba(0,0,0,.30),
    0 0 34px rgba(214,169,61,.035);
  cursor: zoom-in;
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

/* Slike u gridu seku se planski i pune prostor */
.dz-page--graphic .dgf-portfolio-mockup img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover !important;
  object-position: center center;
  padding: 0 !important;
  transform: scale(1.001);
  transition:
    transform .45s ease,
    filter .35s ease;
}

/* Hover */
.dz-page--graphic .dgf-portfolio-mockup:hover {
  transform: translateY(-5px);
  border-color: rgba(214,169,61,.34);
  box-shadow:
    0 34px 110px rgba(0,0,0,.42),
    0 0 48px rgba(214,169,61,.09);
}

.dz-page--graphic .dgf-portfolio-mockup:hover img {
  transform: scale(1.045);
  filter: brightness(1.05) contrast(1.03);
}

/* Caption tekst ne treba preko slika */
.dz-page--graphic .dgf-portfolio-caption {
  display: none !important;
}

/* Horizontal portfolio cards only */
.dz-page--graphic .dgf-portfolio-mockup--large {
  grid-column: span 6;
  min-height: 430px;
}

/* Fino podešavanje konkretnih slika ako neka ima bitan logo gore/dole */
.dz-page--graphic .dgf-portfolio-mockup:nth-child(1) img {
  object-position: center center;
}

.dz-page--graphic .dgf-portfolio-mockup:nth-child(2) img {
  object-position: center center;
}

.dz-page--graphic .dgf-portfolio-mockup:nth-child(3) img {
  object-position: center center;
}

.dz-page--graphic .dgf-portfolio-mockup:nth-child(4) img {
  object-position: center center;
}

.dz-page--graphic .dgf-portfolio-mockup:nth-child(5) img,
.dz-page--graphic .dgf-portfolio-mockup:nth-child(6) img,
.dz-page--graphic .dgf-portfolio-mockup:nth-child(7) img,
.dz-page--graphic .dgf-portfolio-mockup:nth-child(8) img,
.dz-page--graphic .dgf-portfolio-mockup:nth-child(9) img,
.dz-page--graphic .dgf-portfolio-mockup:nth-child(10) img,
.dz-page--graphic .dgf-portfolio-mockup:nth-child(11) img,
.dz-page--graphic .dgf-portfolio-mockup:nth-child(12) img {
  object-position: center center;
}

/* Popup mora da prikazuje celu sliku */
.dgf-lightbox__image {
  display: block;
  width: 100%;
  max-height: 92vh;
  object-fit: contain !important;
}

/* Tablet */
@media (max-width: 1180px) {
  .dz-page--graphic .dgf-portfolio-mockup,
  .dz-page--graphic .dgf-portfolio-mockup--large {
    grid-column: span 6;
    min-height: 360px;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .dz-page--graphic .dgf-portfolio-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dz-page--graphic .dgf-portfolio-mockup,
  .dz-page--graphic .dgf-portfolio-mockup--large {
    grid-column: span 1;
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .dz-page--graphic .dgf-portfolio-mockup img {
    min-height: 0;
    height: 100%;
  }
}

/* 3. Lightbox popup za portfolio mockup slike */
.dgf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(18px);
}

.dgf-lightbox.is-open {
  display: flex;
}

.dgf-lightbox__inner {
  position: relative;
  width: min(1180px, 100%);
  max-height: 92vh;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(circle at 20% 0%, rgba(214,169,61,.12), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  box-shadow:
    0 40px 140px rgba(0,0,0,.65),
    0 0 60px rgba(214,169,61,.08);
}

.dgf-lightbox__image {
  display: block;
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
}

.dgf-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(0,0,0,.56);
  color: #fff;
  font-size: 30px;
  line-height: 42px;
  text-align: center;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}

.dgf-lightbox__close:hover {
  background: rgba(255,102,0,.88);
  border-color: rgba(255,255,255,.34);
  transform: rotate(90deg);
}

@media (max-width: 760px) {
  .dz-page--graphic .dgf-card-stack {
    left: auto !important;
    right: 22px !important;
    bottom: 48px !important;
    width: min(300px, calc(100% - 70px)) !important;
  }

  .dz-page--graphic .dgf-paper {
    right: 22px !important;
    width: calc(100% - 44px) !important;
  }

  .dgf-lightbox {
    padding: 14px;
  }

  .dgf-lightbox__inner {
    border-radius: 22px;
  }

  .dgf-lightbox__close {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    font-size: 28px;
    line-height: 38px;
  }
}

/* =========================================================
   Graphic Design — Primena identiteta mobile/tablet fix
   dgf-paper minimalan na manjim ekranima
========================================================= */

@media (max-width: 991px) {
  .dz-page--graphic .dgf-application-stage {
    min-height: auto !important;
    padding-bottom: 360px !important;
  }

  .dz-page--graphic .dgf-application-stage-text {
    position: relative !important;
    z-index: 10 !important;
    max-width: 100% !important;
    padding-bottom: 0 !important;
  }

  .dz-page--graphic .dgf-application-stage-text p {
    max-width: 100% !important;
  }

  .dz-page--graphic .dgf-paper {
    right: 22px !important;
    bottom: -70px !important;
    width: min(360px, 78%) !important;
    min-height: 340px !important;
    padding: 26px !important;
    opacity: .82 !important;
    transform: rotate(3deg) !important;
    z-index: 2 !important;
  }

  .dz-page--graphic .dgf-card-stack {
    right: 36px !important;
    left: auto !important;
    bottom: 42px !important;
    width: min(280px, 64%) !important;
    height: 160px !important;
    z-index: 4 !important;
  }
}

@media (max-width: 640px) {
  .dz-page--graphic .dgf-application-stage {
    padding-bottom: 300px !important;
  }

  .dz-page--graphic .dgf-application-stage-text {
    padding: 28px 22px 0 !important;
  }

  .dz-page--graphic .dgf-application-stage-text h2 {
    font-size: clamp(34px, 10vw, 52px) !important;
    line-height: .98 !important;
  }

  .dz-page--graphic .dgf-application-stage-text p {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  .dz-page--graphic .dgf-paper {
    right: 12px !important;
    bottom: -64px !important;
    width: min(320px, 72%) !important;
    min-height: 270px !important;
    padding: 22px !important;
    opacity: .72 !important;
  }

  .dz-page--graphic .dgf-paper::before {
    width: 110px !important;
    height: 16px !important;
    margin-bottom: 34px !important;
  }

  .dz-page--graphic .dgf-paper span {
    height: 6px !important;
    margin: 10px 0 !important;
  }

  .dz-page--graphic .dgf-card-stack {
    right: 18px !important;
    bottom: 34px !important;
    width: min(250px, 66%) !important;
    height: 138px !important;
  }

  .dz-page--graphic .dgf-business-card {
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .dz-page--graphic .dgf-business-card strong {
    font-size: 17px !important;
  }

  .dz-page--graphic .dgf-business-card span {
    margin-top: 28px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 460px) {
  .dz-page--graphic .dgf-application-stage {
    padding-bottom: 260px !important;
  }

  .dz-page--graphic .dgf-paper {
    width: 68% !important;
    min-height: 230px !important;
    opacity: .58 !important;
  }

  .dz-page--graphic .dgf-card-stack {
    width: 64% !important;
    height: 124px !important;
    bottom: 28px !important;
  }
}


/* =========================================================
   GRAPHIC DESIGN — restore final approved layout after split
   MUST stay at the end of this file
========================================================= */

/* Brand book: on tablets and small laptops the two cards must stack, not squeeze side-by-side */
@media (max-width: 1180px) {
  body .dz-page.dz-page--graphic .dg3-brandbook-visual {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    min-height: auto !important;
    margin-top: 32px !important;
  }

  body .dz-page.dz-page--graphic .dg3-brandbook-card,
  body .dz-page.dz-page--graphic .dg3-brandbook-card--front,
  body .dz-page.dz-page--graphic .dg3-brandbook-card--back {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    padding: 30px 26px 28px !important;
    transform: none !important;
    opacity: 1 !important;
  }

  body .dz-page.dz-page--graphic .dg3-brandbook-card h3 {
    max-width: 100% !important;
    font-size: clamp(32px, 7.2vw, 58px) !important;
    line-height: 1 !important;
    letter-spacing: -0.035em !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  body .dz-page.dz-page--graphic .dg3-brandbook-card p {
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  body .dz-page.dz-page--graphic .dg3-brandbook-lines {
    max-width: 320px !important;
  }

  body .dz-page.dz-page--graphic .dg3-brandbook-palette {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 560px) {
  body .dz-page.dz-page--graphic .dg3-brandbook-card,
  body .dz-page.dz-page--graphic .dg3-brandbook-card--front,
  body .dz-page.dz-page--graphic .dg3-brandbook-card--back {
    padding: 24px 20px 22px !important;
    border-radius: 24px !important;
  }

  body .dz-page.dz-page--graphic .dg3-brandbook-card h3 {
    font-size: clamp(28px, 9vw, 44px) !important;
  }

  body .dz-page.dz-page--graphic .dg3-brandbook-mini {
    font-size: 11px !important;
    letter-spacing: .16em !important;
  }
}

/* Poslovna primena: desktop/laptop brand card must sit on the right over the white paper */
@media (min-width: 992px) {
  body .dz-page.dz-page--graphic .dgf-application-stage {
    position: relative !important;
    min-height: 620px !important;
    overflow: hidden !important;
  }

  body .dz-page.dz-page--graphic .dgf-application-stage-text {
    position: relative !important;
    z-index: 10 !important;
    max-width: 56% !important;
  }

  body .dz-page.dz-page--graphic .dgf-application-stage-text p {
    max-width: 560px !important;
  }

  body .dz-page.dz-page--graphic .dgf-paper {
    position: absolute !important;
    left: auto !important;
    right: 46px !important;
    top: auto !important;
    bottom: -54px !important;
    width: min(420px, 36vw) !important;
    min-height: 480px !important;
    opacity: .94 !important;
    transform: rotate(4deg) !important;
    z-index: 2 !important;
  }

  body .dz-page.dz-page--graphic .dgf-card-stack {
    position: absolute !important;
    left: auto !important;
    right: clamp(80px, 10vw, 190px) !important;
    top: auto !important;
    bottom: 74px !important;
    width: 320px !important;
    height: 190px !important;
    z-index: 7 !important;
  }

  body .dz-page.dz-page--graphic .dgf-business-card {
    position: absolute !important;
    inset: 0 !important;
  }

  body .dz-page.dz-page--graphic .dgf-business-card:first-child {
    transform: rotate(-7deg) translate(-26px, 18px) !important;
  }

  body .dz-page.dz-page--graphic .dgf-business-card:last-child {
    transform: rotate(2deg) !important;
  }
}

@media (min-width: 992px) and (max-width: 1280px) {
  body .dz-page.dz-page--graphic .dgf-application-stage-text {
    max-width: 54% !important;
  }

  body .dz-page.dz-page--graphic .dgf-paper {
    right: 30px !important;
    width: 370px !important;
    min-height: 430px !important;
  }

  body .dz-page.dz-page--graphic .dgf-card-stack {
    right: 72px !important;
    width: 285px !important;
    height: 168px !important;
    bottom: 70px !important;
  }

  body .dz-page.dz-page--graphic .dgf-business-card {
    padding: 21px !important;
  }

  body .dz-page.dz-page--graphic .dgf-business-card strong {
    font-size: 18px !important;
  }

  body .dz-page.dz-page--graphic .dgf-business-card span {
    margin-top: 34px !important;
    font-size: 11px !important;
  }
}
/* Graphic design pricing polish */
.dz-page--graphic .dg2-price-card b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .04em;
}

.dz-page--graphic .dg2-price-card h3 {
  margin-top: 0;
  margin-bottom: 18px;
}

.dz-page--graphic .dg2-price-card p {
  margin-bottom: 34px;
}

.dz-page--graphic .dg2-price-card strong {
  display: block;
  margin-top: auto;
  margin-bottom: 18px;
}

.dz-page--graphic .dg2-rate-note {
  margin-top: 28px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 128, 0, .34);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 128, 0, .14), transparent 34%),
    rgba(255, 255, 255, .055);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .24);
  backdrop-filter: blur(14px);
}

.dz-page--graphic .dg2-rate-note p {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
}

@media (max-width: 767px) {
  .dz-page--graphic .dg2-price-card b {
    margin-bottom: 14px;
  }

  .dz-page--graphic .dg2-price-card h3 {
    margin-bottom: 14px;
  }

  .dz-page--graphic .dg2-price-card p {
    margin-bottom: 26px;
  }

  .dz-page--graphic .dg2-rate-note {
    padding: 20px;
    border-radius: 20px;
  }

  .dz-page--graphic .dg2-rate-note p {
    font-size: 15px;
  }
}