/* Stranica: Usluge / Stepeništa */
.stairs-page { overflow-x: hidden; }

.stairs-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 110px;
  background:
    radial-gradient(circle at 76% 17%, rgba(69, 145, 245, .14), transparent 27%),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}
.stairs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: linear-gradient(rgba(8,43,93,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(8,43,93,.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, #000, transparent 86%);
}
.stairs-hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  top: -240px;
  left: -170px;
  border-radius: 50%;
  background: rgba(22,112,234,.08);
  filter: blur(4px);
}
.stairs-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(470px, 1.09fr);
  gap: 72px;
  align-items: center;
}
.stairs-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.stairs-breadcrumbs a:hover { color: var(--blue-600); }
.stairs-hero-copy h1 {
  max-width: 650px;
  margin: 13px 0 22px;
  font-size: clamp(51px, 6vw, 78px);
  line-height: .99;
  letter-spacing: -.055em;
}
.stairs-hero-copy h1 span { color: var(--blue-600); }
.stairs-hero-lead {
  max-width: 620px;
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.8;
}
.stairs-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 23px; margin-top: 32px; }
.stairs-text-link { color: var(--blue-800); font-size: 13px; font-weight: 800; }
.stairs-text-link span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.stairs-text-link:hover span { transform: translateY(4px); }
.stairs-hero-points { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 24px; margin-top: 35px; }
.stairs-hero-points div { display: flex; align-items: center; gap: 9px; color: #34465e; font-size: 12px; }
.stairs-hero-points span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--blue-700); background: var(--blue-100); font-weight: 900; }

.stairs-hero-visual { position: relative; min-height: 570px; }
.stairs-hero-main,
.stairs-hero-secondary {
  position: absolute;
  overflow: hidden;
  border: 8px solid #fff;
  background: linear-gradient(135deg, #e9eef5, #f8fafc);
  box-shadow: 0 34px 80px rgba(18, 49, 86, .18);
}
.stairs-hero-main { inset: 0 58px 35px 0; border-radius: 36px; }
.stairs-hero-main::after,
.stairs-hero-secondary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(5,21,41,.48)); pointer-events: none; }
.stairs-hero-main img,
.stairs-hero-secondary img { width: 100%; height: 100%; object-fit: cover; }
.stairs-image-label,
.stairs-hero-secondary span { position: absolute; z-index: 2; left: 22px; bottom: 20px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #fff; background: rgba(5,22,43,.35); backdrop-filter: blur(8px); font-size: 11px; font-weight: 800; }
.stairs-hero-secondary { width: 265px; height: 205px; right: 0; bottom: 0; z-index: 3; border-width: 6px; border-radius: 25px; }
.stairs-hero-secondary span { left: 14px; bottom: 13px; }
.stairs-hero-badge { position: absolute; z-index: 4; right: 9px; top: 27px; display: flex; align-items: center; gap: 11px; max-width: 245px; padding: 15px 17px; border: 1px solid rgba(255,255,255,.74); border-radius: 18px; color: #fff; background: linear-gradient(135deg, rgba(8,43,93,.94), rgba(22,112,234,.91)); box-shadow: 0 20px 45px rgba(5,35,76,.2); }
.stairs-hero-badge > span { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.12); font-size: 22px; }
.stairs-hero-badge strong,
.stairs-hero-badge small { display: block; }
.stairs-hero-badge strong { font-size: 13px; }
.stairs-hero-badge small { margin-top: 2px; color: rgba(255,255,255,.7); font-size: 10px; }

.stairs-trust { position: relative; z-index: 4; margin-top: -43px; }
.stairs-trust-grid { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: #fff; box-shadow: var(--shadow-md); }
.stairs-trust-grid article { position: relative; display: flex; align-items: center; gap: 15px; padding: 25px; }
.stairs-trust-grid article:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 24%; width: 1px; height: 52%; background: var(--line); }
.stairs-trust-grid article > span { color: #cdd9e7; font-size: 24px; font-weight: 800; }
.stairs-trust-grid strong,
.stairs-trust-grid small { display: block; }
.stairs-trust-grid strong { color: var(--ink); font-size: 13px; }
.stairs-trust-grid small { margin-top: 3px; color: var(--muted); font-size: 10px; }

.stairs-section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 65px; align-items: end; margin-bottom: 42px; }
.stairs-section-heading h2 { max-width: 720px; margin: 9px 0 0; font-size: clamp(36px,4.5vw,56px); line-height: 1.08; letter-spacing: -.04em; }
.stairs-section-heading > p { max-width: 510px; justify-self: end; margin: 0; color: var(--muted); font-size: 15px; }

.stairs-types-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.stairs-type-card { overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease; }
.stairs-type-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.stairs-type-image { position: relative; height: 335px; overflow: hidden; background: linear-gradient(135deg,#e7edf4,#f8fafc); }
.stairs-type-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,21,41,.45)); }
.stairs-type-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.stairs-type-card:hover .stairs-type-image img { transform: scale(1.05); }
.stairs-type-image > span { position: absolute; z-index: 2; left: 22px; bottom: 20px; padding: 8px 13px; border-radius: 999px; color: #fff; background: rgba(5,24,48,.52); backdrop-filter: blur(8px); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.stairs-type-content { position: relative; padding: 31px; }
.stairs-type-number { position: absolute; top: 25px; right: 28px; color: #e2eaf3; font-size: 34px; font-weight: 800; }
.stairs-type-content h3 { margin: 0 0 12px; font-size: 27px; }
.stairs-type-content > p { max-width: 570px; margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.stairs-type-content ul { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.stairs-type-content li { position: relative; padding-left: 23px; color: #3c506a; font-size: 12px; font-weight: 700; }
.stairs-type-content li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-600); font-weight: 900; }
.stairs-card-link { padding: 0; border: 0; color: var(--blue-700); background: transparent; font-size: 12px; font-weight: 800; }
.stairs-card-link span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.stairs-card-link:hover span { transform: translateX(5px); }

.stairs-specs-section { background: var(--soft); }
.stairs-specs-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: center; }
.stairs-specs-copy h2 { margin: 9px 0 17px; font-size: clamp(36px,4.4vw,54px); line-height: 1.1; letter-spacing: -.04em; }
.stairs-specs-copy > p { margin: 0 0 25px; color: var(--muted); }
.stairs-specs-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.stairs-specs-cards article { display: flex; align-items: center; gap: 18px; min-height: 170px; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.stairs-spec-wide { grid-column: 1/-1; }
.stairs-spec-icon { width: 52px; height: 52px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 16px; color: var(--blue-700); background: var(--blue-100); font-size: 24px; }
.stairs-specs-cards small,
.stairs-specs-cards strong,
.stairs-specs-cards p { display: block; }
.stairs-specs-cards small { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.stairs-specs-cards strong { margin: 4px 0 2px; color: var(--blue-800); font-size: 29px; line-height: 1.15; }
.stairs-specs-cards p { margin: 0; color: var(--muted); font-size: 11px; }

.stairs-materials-section { background: #fff; }
.stairs-material-list { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.stairs-material { position: relative; overflow: hidden; min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border-radius: 24px; color: #fff; box-shadow: var(--shadow-sm); isolation: isolate; transition: transform .3s ease, box-shadow .3s ease; }
.stairs-material::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--material-bg); }
.stairs-material::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,17,32,.02), rgba(5,17,32,.77)); }
.stairs-material:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.stairs-material > span { position: absolute; top: 17px; right: 18px; color: rgba(255,255,255,.62); font-size: 20px; font-weight: 800; }
.stairs-material strong { font-size: 17px; }
.stairs-material small { margin-top: 4px; color: rgba(255,255,255,.68); font-size: 10px; }
.stairs-material-cream { --material-bg: linear-gradient(135deg,#bda47f,#eee1c4 48%,#9c815f); }
.stairs-material-black { --material-bg: radial-gradient(circle at 30% 25%,#575757 0 2px,transparent 3px),linear-gradient(135deg,#090a0b,#383a3e); background-size: 23px 23px,auto; }
.stairs-material-galaxy { --material-bg: radial-gradient(circle,#dfbd6b 0 2px,transparent 3px),linear-gradient(135deg,#111217,#32343d); background-size: 28px 28px,auto; }
.stairs-material-rossa { --material-bg: linear-gradient(135deg,#9f7f69,#d6c0ac 45%,#806251); }
.stairs-material-bianco { --material-bg: linear-gradient(135deg,#777c80,#d1d1cf 45%,#6d7277); }
.stairs-material-action { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 18px; background: #f8fbff; }
.stairs-material-action p { margin: 0; color: var(--text); font-size: 13px; font-weight: 700; }
.stairs-material-action a { color: var(--blue-700); font-size: 12px; font-weight: 800; }

.stairs-gallery-section { background: var(--soft); }
.stairs-gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.stairs-gallery-heading h2 { margin: 9px 0 0; font-size: clamp(36px,4.4vw,54px); line-height: 1.1; letter-spacing: -.04em; }
.stairs-gallery-tabs { display: flex; gap: 9px; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.stairs-gallery-tabs button { min-height: 42px; padding: 9px 15px; border: 0; border-radius: 11px; color: var(--text); background: transparent; font-size: 12px; font-weight: 800; }
.stairs-gallery-tabs button span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 7px; padding: 0 5px; border-radius: 999px; color: var(--muted); background: #edf2f8; font-size: 9px; }
.stairs-gallery-tabs button.active { color: #fff; background: linear-gradient(135deg,var(--blue-600),var(--blue-700)); box-shadow: 0 8px 18px rgba(22,112,234,.2); }
.stairs-gallery-tabs button.active span { color: var(--blue-800); background: #fff; }
.stairs-gallery-panel[hidden] { display: none; }
.stairs-gallery-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: 235px; gap: 14px; }
.stairs-gallery-item { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 20px; background: linear-gradient(135deg,#dfe7f0,#f8fafc); box-shadow: var(--shadow-sm); }
.stairs-gallery-item::before { content: "Fotografija stepeništa"; position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; color: #8b9bb0; font-size: 11px; font-weight: 800; text-align: center; }
.stairs-gallery-item img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .35s ease; }
.stairs-gallery-item:hover img { transform: scale(1.055); filter: brightness(.84); }
.stairs-gallery-featured { grid-column: span 2; grid-row: span 2; }
.stairs-gallery-zoom { position: absolute; right: 15px; bottom: 15px; z-index: 2; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; color: #fff; background: rgba(5,26,51,.5); backdrop-filter: blur(8px); font-size: 21px; opacity: 0; transform: translateY(8px); transition: .25s ease; }
.stairs-gallery-item:hover .stairs-gallery-zoom { opacity: 1; transform: translateY(0); }
.stairs-gallery-item.image-missing .stairs-gallery-zoom { display: none; }

.stairs-process-section { background: #fff; }
.stairs-process-panel { display: grid; grid-template-columns: .7fr 1.3fr; gap: 58px; padding: 50px; border-radius: 34px; color: #fff; background: linear-gradient(135deg,#071d3b,#0a4da9); box-shadow: var(--shadow-md); }
.stairs-process-panel .section-label { color: #91c3ff; }
.stairs-process-intro h2 { margin: 9px 0 15px; font-size: clamp(34px,4vw,48px); line-height: 1.1; }
.stairs-process-intro p { margin: 0; color: rgba(255,255,255,.64); }
.stairs-process-list { display: grid; gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 23px; background: rgba(255,255,255,.12); }
.stairs-process-list article { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px; background: rgba(5,26,53,.7); transition: background .25s ease; }
.stairs-process-list article:hover { background: rgba(21,91,182,.46); }
.stairs-process-list article > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #9dcaff; font-size: 11px; font-weight: 800; }
.stairs-process-list h3 { margin: 0 0 4px; font-size: 15px; }
.stairs-process-list p { margin: 0; color: rgba(255,255,255,.61); font-size: 11px; }

.stairs-faq-section { background: var(--soft); }
.stairs-faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 75px; }
.stairs-faq-intro h2 { margin: 9px 0 15px; font-size: clamp(36px,4.2vw,52px); line-height: 1.1; letter-spacing: -.04em; }
.stairs-faq-intro p { margin: 0 0 24px; color: var(--muted); }
.stairs-faq-list { display: grid; gap: 12px; }
.stairs-faq-list details { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.stairs-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; color: var(--ink); font-size: 13px; font-weight: 800; cursor: pointer; list-style: none; }
.stairs-faq-list summary::-webkit-details-marker { display: none; }
.stairs-faq-list summary span { color: var(--blue-600); font-size: 21px; transition: transform .25s ease; }
.stairs-faq-list details[open] summary span { transform: rotate(45deg); }
.stairs-faq-list details p { margin: 0; padding: 0 22px 22px; color: var(--muted); font-size: 12px; }

.stairs-cta-section { padding: 0 0 100px; background: var(--soft); }
.stairs-cta-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 45px; padding: 49px 52px; border-radius: 34px; color: #fff; background: linear-gradient(135deg,#072b5e,#0c66d8); box-shadow: var(--shadow-md); }
.stairs-cta-panel::before { content: ""; position: absolute; width: 340px; height: 340px; right: 110px; top: -250px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.stairs-cta-panel::after { content: ""; position: absolute; width: 210px; height: 210px; right: -75px; bottom: -145px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.stairs-cta-panel > * { position: relative; z-index: 2; }
.stairs-cta-panel .section-label { color: #a1ceff; }
.stairs-cta-panel h2 { max-width: 780px; margin: 9px 0 8px; font-size: clamp(33px,4vw,48px); line-height: 1.1; }
.stairs-cta-panel p { margin: 0; color: rgba(255,255,255,.68); }

.stairs-lightbox { width: min(1100px,calc(100% - 30px)); max-height: calc(100vh - 30px); padding: 0; border: 0; border-radius: 22px; overflow: hidden; color: #fff; background: #071426; box-shadow: 0 30px 100px rgba(0,0,0,.4); }
.stairs-lightbox::backdrop { background: rgba(2,11,23,.86); backdrop-filter: blur(7px); }
.stairs-lightbox figure { margin: 0; display: grid; grid-template-rows: minmax(0,1fr) auto; min-height: min(760px,calc(100vh - 80px)); }
.stairs-lightbox img { width: 100%; height: 100%; max-height: calc(100vh - 100px); object-fit: contain; background: #050e1c; }
.stairs-lightbox figcaption { padding: 13px 60px; color: rgba(255,255,255,.7); text-align: center; font-size: 12px; }
.stairs-lightbox-close,
.stairs-lightbox-nav { position: absolute; z-index: 3; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; color: #fff; background: rgba(5,20,39,.66); backdrop-filter: blur(8px); }
.stairs-lightbox-close { top: 14px; right: 14px; width: 43px; height: 43px; font-size: 25px; }
.stairs-lightbox-nav { top: 50%; width: 50px; height: 50px; transform: translateY(-50%); font-size: 36px; }
.stairs-lightbox-prev { left: 17px; }
.stairs-lightbox-next { right: 17px; }

@media (max-width: 1100px) {
  .stairs-hero-grid { grid-template-columns: .9fr 1.1fr; gap: 42px; }
  .stairs-hero-visual { min-height: 510px; }
  .stairs-trust-grid { grid-template-columns: repeat(2,1fr); }
  .stairs-trust-grid article:nth-child(2)::after { display: none; }
  .stairs-trust-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stairs-material-list { grid-template-columns: repeat(3,1fr); }
  .stairs-gallery-grid { grid-template-columns: repeat(3,1fr); }
  .stairs-specs-grid,
  .stairs-faq-grid { gap: 45px; }
}

@media (max-width: 860px) {
  .stairs-hero { padding-top: 52px; }
  .stairs-hero-grid { grid-template-columns: 1fr; }
  .stairs-hero-copy { max-width: 700px; }
  .stairs-hero-visual { min-height: 590px; }
  .stairs-section-heading,
  .stairs-specs-grid,
  .stairs-process-panel,
  .stairs-faq-grid { grid-template-columns: 1fr; }
  .stairs-section-heading { gap: 17px; }
  .stairs-section-heading > p { justify-self: start; }
  .stairs-types-grid { grid-template-columns: 1fr; }
  .stairs-material-list { grid-template-columns: repeat(2,1fr); }
  .stairs-gallery-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 230px; }
  .stairs-process-panel { gap: 30px; padding: 38px; }
  .stairs-cta-panel { grid-template-columns: 1fr; }
  .stairs-cta-panel .button { justify-self: start; }
}

@media (max-width: 600px) {
  .stairs-hero { padding: 38px 0 78px; }
  .stairs-breadcrumbs { margin-bottom: 23px; }
  .stairs-hero-copy h1 { font-size: 48px; }
  .stairs-hero-lead { font-size: 16px; }
  .stairs-hero-points { grid-template-columns: 1fr; }
  .stairs-hero-actions { align-items: stretch; }
  .stairs-hero-actions .button { width: 100%; }
  .stairs-text-link { width: 100%; text-align: center; }
  .stairs-hero-visual { min-height: 455px; }
  .stairs-hero-main { inset: 0 24px 38px 0; border-width: 6px; border-radius: 26px; }
  .stairs-hero-secondary { width: 185px; height: 145px; }
  .stairs-hero-badge { top: 18px; right: 0; max-width: 205px; padding: 12px; }
  .stairs-hero-badge > span { display: none; }
  .stairs-trust-grid { grid-template-columns: 1fr; }
  .stairs-trust-grid article { padding: 19px 21px; }
  .stairs-trust-grid article:not(:last-child) { border-bottom: 1px solid var(--line); }
  .stairs-trust-grid article::after { display: none !important; }
  .stairs-section-heading h2,
  .stairs-gallery-heading h2 { font-size: 39px; }
  .stairs-type-image { height: 250px; }
  .stairs-type-content { padding: 24px; }
  .stairs-specs-cards { grid-template-columns: 1fr; }
  .stairs-spec-wide { grid-column: auto; }
  .stairs-specs-cards article { min-height: 140px; padding: 21px; }
  .stairs-material-list { grid-template-columns: 1fr; }
  .stairs-material { min-height: 205px; }
  .stairs-material-action { align-items: flex-start; flex-direction: column; }
  .stairs-gallery-heading { align-items: flex-start; flex-direction: column; }
  .stairs-gallery-tabs { width: 100%; }
  .stairs-gallery-tabs button { flex: 1; }
  .stairs-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 255px; }
  .stairs-gallery-featured { grid-column: auto; grid-row: auto; }
  .stairs-process-panel { padding: 26px 21px; border-radius: 25px; }
  .stairs-process-list article { grid-template-columns: 40px 1fr; padding: 18px; }
  .stairs-faq-list summary { padding: 17px 18px; }
  .stairs-faq-list details p { padding: 0 18px 19px; }
  .stairs-cta-panel { padding: 34px 25px; border-radius: 25px; }
  .stairs-lightbox-nav { width: 42px; height: 42px; }
  .stairs-lightbox-prev { left: 8px; }
  .stairs-lightbox-next { right: 8px; }
}
