.realization-detail-hero {
  position: relative;
  overflow: visible;
  display: grid !important;
  grid-template-columns: minmax(0, 1.28fr) minmax(350px, .72fr) !important;
  align-items: center;
  gap: clamp(32px, 4vw, 70px) !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 650px;
  margin: 0 !important;
  padding: 52px max(28px, calc((100vw - 1320px) / 2)) 76px !important;
  border-radius: 0 0 34px 34px;
  background: #14231c;
  box-shadow: 0 24px 65px rgba(22,43,31,.16);
}

.realization-hero-background {
  position: absolute !important;
  z-index: 0 !important;
  inset: 0;
  overflow: hidden;
  border-radius: 0 0 34px 34px;
  background: linear-gradient(135deg, #30443a, #15231d);
}

.realization-hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(15px);
  transform: scale(1.055);
  opacity: .78;
}

.realization-detail-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 0 0 34px 34px;
  background: linear-gradient(90deg, rgba(7,18,12,.32), rgba(11,25,17,.18), rgba(7,18,12,.35));
  box-shadow: inset 0 -70px 90px rgba(4,14,8,.2);
}

.realization-hero-main,
.realization-detail-copy {
  position: relative;
  z-index: 2;
}

.realization-back {
  margin-bottom: 20px !important;
  border-color: rgba(255,255,255,.38) !important;
  background: rgba(248,255,249,.9) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.2) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.realization-cover {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 40 / 27;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 20px;
  background: #e3e8e5;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}

.realization-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: none;
}

.realization-detail-copy {
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 27px;
  color: #fff;
  background: linear-gradient(145deg, rgba(13,34,24,.9), rgba(8,24,17,.8));
  box-shadow: 0 24px 65px rgba(0,0,0,.3);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.realization-detail-copy .realizations-kicker,
.realization-fact b {
  color: #a8e0a6 !important;
}

.realization-detail-copy h1 {
  margin: 8px 0 13px !important;
  color: #91d490;
  font-weight: 800;
  line-height: 1.02;
  text-shadow: 0 4px 22px rgba(0,0,0,.2);
}

.realization-detail-copy .realization-lead {
  margin-bottom: 0;
  color: rgba(255,255,255,.84);
}

.realization-facts {
  position: absolute;
  z-index: 4;
  left: 50%;
  right: auto;
  width: min(80%, 1056px);
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px;
  margin: 0 !important;
  transform: translate(-50%, 52%);
}

.realization-fact {
  min-height: 96px;
  padding: 18px 20px !important;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(145deg, rgba(22,48,34,.96), rgba(11,31,21,.94)) !important;
  box-shadow: 0 14px 35px rgba(7,25,15,.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.realization-fact b { color: #4c963b !important; }
.realization-fact span { color: #fff; }
.realization-story {
  position: relative;
  z-index: 2;
  margin-top: 0 !important;
  padding-top: 105px !important;
  background: #fff;
}

.realization-offer,
.realization-gallery {
  position: relative;
  z-index: 2;
  background: #fff;
}

.realization-gallery-grid {
  display: block !important;
  columns: 4 240px;
  column-gap: 14px;
}

.realization-gallery-grid img {
  display: block;
  width: 100%;
  height: 280px !important;
  margin: 0 0 14px;
  aspect-ratio: auto !important;
  object-fit: cover;
  break-inside: avoid;
  border-radius: 12px;
  cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease;
}

.realization-gallery-grid img:nth-child(6n + 1) { height: 390px !important; }
.realization-gallery-grid img:nth-child(6n + 2) { height: 230px !important; }
.realization-gallery-grid img:nth-child(6n + 3) { height: 320px !important; }
.realization-gallery-grid img:nth-child(6n + 4) { height: 205px !important; }
.realization-gallery-grid img:nth-child(6n + 5) { height: 350px !important; }
.realization-gallery-grid img:nth-child(6n + 6) { height: 265px !important; }

.realization-gallery-grid img:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 14px 34px rgba(24,33,43,.2);
}

@media (max-width: 900px) {
  .realization-detail-hero {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    min-height: 0;
    padding: 38px 20px 78px !important;
    border-radius: 0 0 24px 24px;
  }

  .realization-hero-main,
  .realization-detail-copy {
    width: min(680px, 100%);
    margin: auto;
  }

  .realization-detail-copy h1 { font-size: clamp(36px, 11vw, 52px) !important; }

  .realization-facts {
    left: 50%;
    right: auto;
    width: calc(100% - 40px);
    grid-template-columns: 1fr 1fr !important;
  }

  .realization-story {
    margin-top: 0 !important;
    padding-top: 170px !important;
  }
}

@media (max-width: 480px) {
  .realizations-hero {
    padding: 48px 18px 38px;
  }

  .realizations-hero h1 {
    margin: 8px 0 12px;
    font-size: 34px;
  }

  .realizations-hero p {
    font-size: 15px;
    line-height: 1.55;
  }

  .realizations-list {
    width: calc(100% - 24px);
    padding: 28px 0 48px;
  }

  .realization-card-body { padding: 18px; }
  .realization-card h2 { font-size: 22px; }

  .realization-detail-hero {
    gap: 20px !important;
    padding: 24px 14px 64px !important;
    border-radius: 0 0 18px 18px;
  }

  .realization-back {
    margin-bottom: 12px !important;
    padding: 7px 11px 7px 7px !important;
    font-size: 12px !important;
  }

  .realization-back::before {
    width: 26px !important;
    height: 26px !important;
    font-size: 15px !important;
  }

  .realization-cover { border-radius: 14px; }

  .realization-detail-copy {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .realization-detail-copy .realizations-kicker {
    font-size: 10px;
    letter-spacing: .13em;
  }

  .realization-detail-copy h1 {
    margin: 6px 0 9px !important;
    font-size: clamp(30px, 10vw, 39px) !important;
  }

  .realization-detail-copy .realization-lead {
    font-size: 14px;
    line-height: 1.45;
  }

  .realization-facts {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 0;
    width: calc(100% - 20px);
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
    margin: 0 !important;
    transform: translate(-50%, 52%);
  }

  .realization-fact {
    min-height: 78px;
    padding: 11px 12px !important;
    border-radius: 9px;
  }

  .realization-fact b {
    margin-bottom: 4px;
    font-size: 9px !important;
    line-height: 1.2;
  }

  .realization-fact span {
    font-size: 13px;
    line-height: 1.25;
  }

  .realization-story {
    margin-top: 0 !important;
    padding-top: 135px !important;
  }

  .realization-story h2,
  .realization-offer h2,
  .realization-gallery h2 {
    font-size: 25px !important;
  }

  .realization-description {
    font-size: 15px;
    line-height: 1.65;
  }

  .realization-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: dense;
    grid-auto-rows: 70px;
    gap: 9px;
    columns: auto;
  }

  .realization-gallery-grid img {
    width: 100%;
    height: 100% !important;
    margin: 0;
  }

  .realization-gallery-grid img:nth-child(6n + 1) { grid-row: span 4; }
  .realization-gallery-grid img:nth-child(6n + 2) { grid-row: span 2; }
  .realization-gallery-grid img:nth-child(6n + 3) { grid-row: span 3; }
  .realization-gallery-grid img:nth-child(6n + 4) { grid-row: span 2; }
  .realization-gallery-grid img:nth-child(6n + 5) { grid-row: span 4; }
  .realization-gallery-grid img:nth-child(6n + 6) { grid-row: span 3; }
}
