/* ========================================================
   PAGE-SPECIFIC LAYOUTS
   ======================================================== */

/* ========== HERO (Homepage) ========== */

.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  text-align: center;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: hero-zoom 16s ease-out forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* .pen-faithful overlay — light at top/bottom, dark band centered for legibility */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.03) 0%,
      rgba(0, 0, 0, 0.06) 20%,
      rgba(0, 0, 0, 0.56) 35%,
      rgba(0, 0, 0, 0.65) 50%,
      rgba(0, 0, 0, 0.56) 65%,
      rgba(0, 0, 0, 0.06) 80%,
      rgba(0, 0, 0, 0.03) 100%);
}

.hero__inner {
  width: 100%;
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-16);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-6);
  animation: hero-fade-up 1s var(--ease-out-expo) both;
}

.hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 150, 55, 0.3);
}

.hero__title {
  font-size: clamp(32px, 5.4vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 820px;
  margin-bottom: var(--sp-4);
  animation: hero-fade-up 1.1s 0.12s var(--ease-out-expo) both;
}

.hero__title em {
  font-style: normal;
  color: inherit;
}

.hero__lead {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  max-width: 640px;
  margin: 0 auto var(--sp-6);
  animation: hero-fade-up 1.2s 0.24s var(--ease-out-expo) both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  animation: hero-fade-up 1.3s 0.36s var(--ease-out-expo) both;
}

.hero__meta {
  position: absolute;
  bottom: var(--sp-12);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - var(--sp-12));
  max-width: var(--container);
  padding: var(--sp-5) var(--sp-6);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  animation: hero-fade-up 1.4s 0.48s var(--ease-out-expo) both;
  z-index: 2;
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid rgba(0, 150, 55, 0.6);
  padding-left: var(--sp-4);
}

.hero__meta-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.hero__meta-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.hero__meta-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero__scroll {
  position: absolute;
  bottom: var(--sp-4);
  right: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  animation: hero-fade-up 1.6s 0.7s var(--ease-out-expo) both;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6));
  animation: scroll-line 2.4s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50%      { transform: scaleY(1); transform-origin: top; }
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  .hero__meta {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
    padding: var(--sp-4);
  }
  .hero__meta-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .hero__scroll { display: none; }
}

@media (max-width: 576px) {
  .hero__meta { display: none; }
}

/* ========== SPLIT WITH STATS (Naslovna "Pouzdan partner") ========== */

.split-with-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}

@media (max-width: 992px) {
  .split-with-stats { grid-template-columns: 1fr; gap: var(--sp-8); }
}

.split-with-stats__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.split-with-stats__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-with-stats__badge {
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-4);
  background: var(--white);
  border: 1px solid var(--smoke);
  padding: var(--sp-3) var(--sp-4);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  box-shadow: var(--shadow-sm);
}

.split-with-stats__badge-mark {
  width: 36px;
  height: 36px;
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.split-with-stats__badge strong {
  display: block;
  font-size: 13px;
  color: var(--charcoal);
  font-weight: 700;
}

.split-with-stats__badge small {
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--smoke);
}

@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
}

.stat-mini {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-mini strong {
  font-size: 30px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-mini span {
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ========== SERVICE GRID ========== */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

@media (max-width: 992px) { .svc-grid { grid-template-columns: 1fr; } }

/* ========== PRODUCT IMAGE GRID (Naslovna Hunter section) ========== */

.prod-img-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

@media (max-width: 992px) { .prod-img-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .prod-img-grid { grid-template-columns: 1fr; } }

/* ========== TRUST BAND ========== */

.trust-band {
  background: var(--white);
  border-bottom: 1px solid var(--smoke);
  padding: var(--sp-8) 0;
}

.trust-band__grid {
  display: grid;
  grid-template-columns: 1.4fr 3fr;
  gap: var(--sp-12);
  align-items: center;
}

.trust-band__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.trust-band__partner {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 8px 14px;
  background: var(--pale-gray);
  border: 1px solid var(--smoke);
  width: fit-content;
}

.trust-band__partner-mark {
  width: 32px;
  height: 32px;
  background: var(--charcoal);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

.trust-band__partner-text {
  display: flex;
  flex-direction: column;
}

.trust-band__partner-text strong {
  font-size: 13px;
  color: var(--charcoal);
}

.trust-band__partner-text small {
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-band__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

@media (max-width: 992px) {
  .trust-band__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .trust-band__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== SEGMENT CARDS ========== */

.segments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

@media (max-width: 992px) {
  .segments { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .segments { grid-template-columns: 1fr; }
}

.segment {
  position: relative;
  display: block;
  height: 460px;
  overflow: hidden;
  background: var(--charcoal);
  text-decoration: none;
  color: var(--white);
  isolation: isolate;
}

.segment__img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo),
              filter var(--t-slow) var(--ease-out-quart);
}

.segment::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 28, 60, 0.85) 100%);
  z-index: 0;
  transition: background var(--t-slow) var(--ease-out-quart);
}

.segment:hover .segment__img {
  transform: scale(1.08);
}

.segment:hover::after {
  background: linear-gradient(180deg, rgba(0, 80, 40, 0.2) 0%, rgba(0, 50, 100, 0.92) 100%);
}

.segment__body {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--sp-3);
}

.segment__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: auto;
}

.segment__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin: 0;
  transform: translateY(36px);
  transition: transform var(--t-slow) var(--ease-out-expo);
}

.segment__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(24px);
  transition: max-height var(--t-slow) var(--ease-out-expo),
              opacity var(--t-slow) var(--ease-out-expo),
              transform var(--t-slow) var(--ease-out-expo);
}

.segment__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: var(--sp-3);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow) var(--ease-out-expo),
              transform var(--t-slow) var(--ease-out-expo);
}

.segment__cta::after {
  content: "→";
  display: inline-block;
  transition: transform var(--t-base) var(--ease-out-quart);
}

.segment:hover .segment__title { transform: translateY(0); }
.segment:hover .segment__desc {
  opacity: 1;
  max-height: 100px;
  transform: translateY(0);
}
.segment:hover .segment__cta {
  opacity: 1;
  transform: translateY(0);
}
.segment:hover .segment__cta::after {
  transform: translateX(4px);
}

/* ========== HUNTER FEATURE SPLIT ========== */

.hunter-feature {
  background: var(--navy-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hunter-feature::before {
  content: "HUNTER";
  position: absolute;
  bottom: -90px;
  right: -40px;
  font-size: 280px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.025);
  letter-spacing: -0.05em;
  z-index: -1;
  pointer-events: none;
}

.hunter-feature__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-12);
  align-items: center;
}

.hunter-feature__title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: var(--sp-6);
}

.hunter-feature__title em {
  font-style: normal;
  color: #5DD49A;
}

.hunter-feature__desc {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--sp-8);
}

.hunter-feature__products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.hunter-prod {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: background var(--t-base) var(--ease-out-quart),
              border-color var(--t-base) var(--ease-out-quart),
              transform var(--t-base) var(--ease-out-quart);
}

.hunter-prod:hover {
  background: rgba(0, 150, 55, 0.1);
  border-color: rgba(0, 150, 55, 0.4);
  transform: translateY(-3px);
}

.hunter-prod__icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 150, 55, 0.18);
  color: #5DD49A;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hunter-prod__icon svg { width: 20px; height: 20px; }

.hunter-prod__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.hunter-prod__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 992px) {
  .hunter-feature__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
}

/* ========== EXPLAINER (interactive diagram) ========== */

.explainer {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--sp-12);
  align-items: stretch;
}

.explainer__visual {
  position: relative;
  background: linear-gradient(180deg, #87CEEB 0%, #B5DEEC 40%, #6B7E5C 65%, #3E5840 100%);
  height: 480px;
  overflow: hidden;
}

.explainer__visual::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: repeating-linear-gradient(
    -8deg,
    rgba(0, 0, 0, 0.04) 0px,
    rgba(0, 0, 0, 0.04) 4px,
    transparent 4px,
    transparent 12px
  );
}

.explainer__visual::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: -8px;
  right: -8px;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 80, 40, 0.4) 100%);
}

.explainer__dot {
  position: absolute;
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  border: 2px solid var(--green);
  cursor: pointer;
  z-index: 4;
  transition: transform var(--t-base) var(--ease-out-quart),
              box-shadow var(--t-base) var(--ease-out-quart);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--green);
}

.explainer__dot::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid var(--green);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--t-base);
}

.explainer__dot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(0, 150, 55, 0.4);
  border-radius: 50%;
  animation: dot-pulse 2s ease-out infinite;
}

@keyframes dot-pulse {
  0%   { opacity: 0.6; transform: scale(0.8); }
  100% { opacity: 0; transform: scale(1.6); }
}

.explainer__dot:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 20px rgba(0, 150, 55, 0.3);
}

.explainer__dot.is-active {
  background: var(--green);
  color: var(--white);
  transform: scale(1.15);
}

.explainer__dot.is-active::before { opacity: 1; }

.explainer__panels {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.explainer__panel {
  display: none;
  animation: panel-fade 0.5s var(--ease-out-expo);
}

.explainer__panel.is-active { display: block; }

@keyframes panel-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.explainer__panel-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.explainer__panel-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: var(--sp-4);
}

.explainer__panel-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate);
}

@media (max-width: 992px) {
  .explainer {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .explainer__visual { height: 360px; }
}

/* ========== CASE STUDY ========== */

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.case {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
}

.case__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out-expo);
}

.case:hover .case__img { transform: scale(1.06); }

.case__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 40%, rgba(0, 28, 60, 0.92) 100%);
}

.case__body {
  position: absolute;
  inset: 0;
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.case__meta {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.case__chip {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.case__title {
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.case__sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--sp-5);
}

.case__stats {
  display: flex;
  gap: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.case__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.case__stat-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.case__stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .case-grid { grid-template-columns: 1fr; }
  .case { height: 380px; }
}

/* ========== BEFORE / AFTER SLIDER ========== */

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  background: var(--charcoal);
}

.ba-slider__before,
.ba-slider__after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-slider__after {
  z-index: 2;
  clip-path: inset(0 0 0 50%);
}

.ba-slider__label {
  position: absolute;
  top: var(--sp-4);
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 3;
  pointer-events: none;
}

.ba-slider__label--before { left: var(--sp-4); }
.ba-slider__label--after { right: var(--sp-4); }

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  z-index: 3;
  transform: translateX(-2px);
  pointer-events: none;
}

.ba-slider__handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.ba-slider__handle::after {
  content: "⇆";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: var(--green);
  font-weight: 800;
}

/* ========== SPLIT FEATURE (Zeleni zidovi page: image + text) ========== */

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}

@media (max-width: 992px) {
  .split-feature { grid-template-columns: 1fr; gap: var(--sp-8); }
}

.split-feature--reverse .split-feature__media { order: 2; }

@media (max-width: 992px) {
  .split-feature--reverse .split-feature__media { order: 0; }
}

.split-feature__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--smoke);
}

.split-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out-expo);
}

.split-feature:hover .split-feature__media img {
  transform: scale(1.04);
}

.split-feature__title {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--sp-4);
  line-height: 1.15;
}

.split-feature__desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  margin-bottom: var(--sp-5);
  max-width: 520px;
}

/* ========== POLIEXT SPLIT ========== */

.poliext-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--smoke);
}

@media (max-width: 768px) {
  .poliext-split { grid-template-columns: 1fr; }
}

.poliext-side {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.poliext-side__img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}

.poliext-side::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.poliext-side:hover .poliext-side__img {
  transform: scale(1.08);
}

.poliext-side__body {
  position: relative;
  z-index: 1;
  padding: var(--sp-8);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.poliext-side__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

.poliext-side__title {
  font-size: 30px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.poliext-side__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 420px;
  margin: 0;
}

.poliext-side__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: gap var(--t-base) var(--ease-out-quart);
}

.poliext-side__link::after { content: "→"; }
.poliext-side:hover .poliext-side__link { gap: var(--sp-3); }

/* ========== NEWS GRID ========== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

@media (max-width: 992px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--smoke);
  text-decoration: none;
  color: var(--charcoal);
  transition: transform var(--t-base) var(--ease-out-quart),
              box-shadow var(--t-base) var(--ease-out-quart),
              border-color var(--t-base) var(--ease-out-quart);
  overflow: hidden;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--smoke);
}

.news-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--smoke);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}

.news-card:hover .news-card__media img { transform: scale(1.05); }

.news-card__body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}

.news-card__date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green);
  text-transform: uppercase;
}

.news-card__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--charcoal);
}

.news-card__excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
  flex: 1;
}

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-top: var(--sp-2);
}

/* ========== CTA BANNER (pre-footer) ========== */

.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--brand-blue) 100%);
  color: var(--white);
  padding: var(--sp-21) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.18) 0%, transparent 60%);
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}

.cta-banner__title {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--white);
  margin-bottom: var(--sp-4);
}

.cta-banner__sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
  max-width: 540px;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.cta-banner__phone {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: var(--sp-6);
  text-align: center;
}

.cta-banner__phone-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--sp-3);
}

.cta-banner__phone-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  display: block;
  text-decoration: none;
  margin-bottom: var(--sp-2);
}

.cta-banner__phone-hours {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 768px) {
  .cta-banner__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
}

/* ========== PAGE HEADER (subpage hero) ========== */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + var(--sp-21)) 0 var(--sp-21);
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 50, 100, 0.92) 0%, rgba(0, 28, 60, 0.78) 100%);
}

.page-hero__crumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--sp-4);
}

.page-hero__crumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--t-base);
}

.page-hero__crumb a:hover { color: var(--white); }

.page-hero__crumb span:last-child { color: var(--white); }

.page-hero__title {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--white);
  margin-bottom: var(--sp-4);
  line-height: 1.1;
  max-width: 800px;
}

.page-hero__lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  max-width: 660px;
}

/* ========== REFERENCE CATEGORY GRID (3x2 by mockup) ========== */

.ref-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

@media (max-width: 992px) { .ref-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .ref-cat-grid { grid-template-columns: 1fr; } }

.ref-cat-grid .ref { aspect-ratio: 4 / 3; }

/* ========== REFERENCE GRID ========== */

.ref-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

@media (max-width: 992px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .ref-grid { grid-template-columns: 1fr; } }

.ref {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--charcoal);
}

.ref__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}

.ref:hover .ref__img { transform: scale(1.08); }

.ref__body {
  position: absolute;
  inset: 0;
  padding: var(--sp-5);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 28, 60, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}

.ref__cat {
  display: inline-block;
  width: fit-content;
  padding: 3px 8px;
  background: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}

.ref__title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--white);
}

.ref__meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  opacity: 0;
  max-height: 0;
  transition: opacity var(--t-slow) var(--ease-out-quart),
              max-height var(--t-slow) var(--ease-out-quart);
}

.ref:hover .ref__meta {
  opacity: 1;
  max-height: 50px;
}

/* ========== PRODUCT GRID (Hunter) ========== */

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

@media (max-width: 992px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .prod-grid { grid-template-columns: 1fr; } }

.prod {
  position: relative;
  background: var(--white);
  border: 1px solid var(--smoke);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: transform var(--t-base) var(--ease-out-quart),
              box-shadow var(--t-base) var(--ease-out-quart),
              border-color var(--t-base) var(--ease-out-quart);
  overflow: hidden;
}

.prod::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-out-quart);
}

.prod:hover::before { transform: scaleX(1); }

.prod:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 70, 135, 0.18);
}

.prod__icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 70, 135, 0.08);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  transition: background var(--t-base) var(--ease-out-quart),
              color var(--t-base) var(--ease-out-quart);
}

.prod:hover .prod__icon {
  background: var(--navy);
  color: var(--white);
}

.prod__icon svg { width: 28px; height: 28px; }

.prod__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.prod__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
  flex: 1;
}

.prod__feat {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: var(--sp-3);
}

.prod__feat span {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  background: var(--pale-gray);
  color: var(--slate);
  letter-spacing: 0.04em;
}

/* ========== KONTAKT SPLIT (info + map per mockup) ========== */

.kontakt-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-12);
  align-items: start;
}

@media (max-width: 992px) {
  .kontakt-split { grid-template-columns: 1fr; gap: var(--sp-8); }
}

.kontakt-info__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-top: var(--sp-2);
}

.kontakt-info__list li {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.kontakt-info__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(0, 150, 55, 0.1);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.kontakt-info__icon svg { width: 18px; height: 18px; }

.kontakt-info__list strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 2px;
}

.kontakt-info__list span,
.kontakt-info__list a {
  font-size: 16px;
  color: var(--charcoal);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--t-base);
}

.kontakt-info__list a:hover { color: var(--green); }

.kontakt-map {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--smoke);
  overflow: hidden;
  border: 1px solid var(--smoke);
}

.kontakt-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========== KONTAKT SPLIT (legacy) ========== */

.kontakt-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

@media (max-width: 992px) {
  .kontakt-grid { grid-template-columns: 1fr; }
}

.kontakt-form-wrap {
  background: var(--white);
  border: 1px solid var(--smoke);
  padding: var(--sp-8);
  box-shadow: var(--shadow-sm);
}

.kontakt-form-wrap h3 {
  margin-bottom: var(--sp-2);
}

.kontakt-form-wrap p {
  margin-bottom: var(--sp-6);
  color: var(--slate);
}

[data-success] {
  display: none;
  margin-top: var(--sp-5);
  padding: var(--sp-5);
  background: rgba(13, 151, 72, 0.08);
  border-left: 4px solid var(--success);
  color: var(--charcoal);
}

[data-success].is-show { display: block; }

[data-success] strong {
  color: var(--success);
  display: block;
  margin-bottom: var(--sp-2);
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.team-card {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--smoke);
  background: var(--white);
  align-items: center;
  transition: border-color var(--t-base) var(--ease-out-quart),
              box-shadow var(--t-base) var(--ease-out-quart);
}

.team-card:hover {
  border-color: rgba(0, 70, 135, 0.2);
  box-shadow: var(--shadow-sm);
}

.team-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--navy));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.team-card__role {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 2px;
}

.team-card__name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-card__contact {
  font-size: 13px;
  color: var(--slate);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.team-card__contact a {
  color: var(--slate);
  text-decoration: none;
  transition: color var(--t-base);
}

.team-card__contact a:hover { color: var(--navy); }

/* ========== ALATNICA — 3-image gallery (Alatnica mockup) ========== */

.alatnica-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-12);
}

@media (max-width: 768px) {
  .alatnica-gallery { grid-template-columns: 1fr; }
}

.alatnica-gallery__item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--smoke);
  position: relative;
}

.alatnica-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo),
              filter var(--t-base);
  filter: saturate(0.92);
}

.alatnica-gallery__item:hover img {
  transform: scale(1.04);
  filter: saturate(1);
}

/* ========== ALATNICA — process + gallery ========== */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  position: relative;
}

@media (max-width: 992px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .process { grid-template-columns: 1fr; } }

.process__step {
  background: var(--white);
  border: 1px solid var(--smoke);
  padding: var(--sp-6);
  position: relative;
  transition: transform var(--t-base) var(--ease-out-quart),
              box-shadow var(--t-base) var(--ease-out-quart);
}

.process__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.process__num {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: rgba(0, 150, 55, 0.16);
  margin-bottom: var(--sp-2);
  display: block;
}

.process__title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.process__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--sp-3);
  height: 540px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}

.gallery__item:nth-child(1) { grid-row: span 2; }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}

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

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
}

.gallery__caption {
  position: absolute;
  left: var(--sp-4);
  bottom: var(--sp-4);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 1;
}

@media (max-width: 992px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
    height: auto;
  }
  .gallery__item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
}
