.gallery-hero {
  padding: 14px 0 28px;
  background: #081223;
}

.gallery-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr)
    minmax(290px, 0.75fr);
  gap: 42px;
  align-items: center;
  min-height: 440px;
  padding: 50px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: radial-gradient(
      circle at 88% 12%,
      rgba(255, 138, 0, 0.2),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      #081223 0%,
      #101d31 100%
    );
  box-shadow: 0 18px 45px rgba(8, 18, 35, 0.22);
}

.gallery-hero-main {
  max-width: 780px;
}

.gallery-hero-kicker,
.gallery-hero-info-label {
  display: inline-flex;
  color: #ffad42;
  font-size: 0.79rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.055em;
}

.gallery-hero-kicker {
  margin-bottom: 13px;
}

.gallery-hero-main h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.gallery-hero-main > p {
  max-width: 700px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.7;
}

.gallery-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.gallery-hero-actions .btn {
  margin: 0;
  justify-content: center;
}

.gallery-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.gallery-hero-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  line-height: 1.35;
}

.gallery-hero-info {
  display: grid;
  min-width: 0;
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.15);
}

.gallery-hero-info-label {
  margin-bottom: 10px;
}

.gallery-hero-info > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.gallery-hero-info > div:last-child {
  border-bottom: 0;
}

.gallery-hero-info strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
}

.gallery-hero-info span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .gallery-hero-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 30px;
  }

  .gallery-hero-info {
    max-width: 680px;
  }
}

@media (max-width: 600px) {
  .gallery-hero {
    padding-bottom: 22px;
  }

  .gallery-hero-card {
    min-height: 0;
    padding: 34px 18px 24px;
    border-radius: 18px;
  }

  .gallery-hero-main h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .gallery-hero-main > p {
    font-size: 1rem;
  }

  .gallery-hero-actions {
    flex-direction: column;
  }

  .gallery-hero-actions .btn {
    width: 100%;
  }

  .gallery-hero-pills {
    flex-direction: column;
  }

  .gallery-hero-pills span {
    justify-content: center;
    text-align: center;
  }

  .gallery-hero-info {
    padding: 20px 17px;
  }
}

.realizations {
  padding: 14px 0;
}

.realizations-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.realizations-head {
  display: grid;
  grid-template-columns: 170px
    minmax(300px, 0.9fr)
    minmax(350px, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 26px;
}

.realizations-kicker {
  color: #b45309;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.realizations-head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.6vw, 2.3rem);
  line-height: 1.15;
  text-wrap: balance;
}

.realizations-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.realizations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.realization-item {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
}

.realization-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #081223;
}

.realization-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease,
    opacity 0.25s ease;
}

.realization-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      transparent 48%,
      rgba(8, 18, 35, 0.72) 100%
    );
  content: "";
  pointer-events: none;
}

.realization-zoom {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 11px;
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(8, 18, 35, 0.84);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.3;
  pointer-events: none;
}

.realization-item figcaption {
  display: flex;
  min-height: 78px;
  flex-direction: column;
  gap: 4px;
  padding: 14px 15px;
  border-top: 1px solid var(--line);
}

.realization-item figcaption strong {
  color: #081223;
  font-size: 0.92rem;
  line-height: 1.4;
}

.realization-item figcaption span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.realizations-footnote {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.realization-image:focus-visible {
  outline: 3px solid #ff8a00;
  outline-offset: -3px;
}

@media (hover: hover) {
  .realization-item {
    transition: transform 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .realization-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 138, 0, 0.42);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.1);
  }

  .realization-item:hover img {
    transform: scale(1.045);
    opacity: 0.92;
  }
}

@media (max-width: 1050px) {
  .realizations-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 950px) {
  .realizations-head {
    grid-template-columns: 150px 1fr;
  }

  .realizations-head p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .realizations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .realizations-card {
    padding: 24px 18px;
  }

  .realizations-head {
    display: block;
    margin-bottom: 20px;
  }

  .realizations-kicker {
    display: inline-flex;
    margin-bottom: 10px;
  }

  .realizations-head h2 {
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .realizations-grid {
    grid-template-columns: 1fr;
  }

  .realization-image {
    aspect-ratio: 16 / 11;
  }
}

.gallery-details {
  padding: 14px 0;
}

.gallery-details-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.gallery-details-head {
  display: grid;
  grid-template-columns: 170px
    minmax(300px, 0.9fr)
    minmax(350px, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 25px;
}

.gallery-details-kicker {
  color: #b45309;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.gallery-details-head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.6vw, 2.3rem);
  line-height: 1.15;
  text-wrap: balance;
}

.gallery-details-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.gallery-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-detail {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 23px 21px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(
      145deg,
      #fff 0%,
      #f8f9fb 100%
    );
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
}

.gallery-detail-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #ff8a00;
  color: #111;
  font-size: 0.82rem;
  font-weight: 900;
}

.gallery-detail h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.4;
}

.gallery-detail p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.62;
}

.gallery-detail a {
  margin-top: auto;
  color: #b45309;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.45;
}

.gallery-detail a:hover {
  color: #081223;
}

.gallery-details-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 19px;
  padding: 20px 22px;
  border-left: 5px solid #ff8a00;
  border-radius: 14px;
  background: rgba(255, 138, 0, 0.07);
}

.gallery-details-note > div:first-child {
  display: flex;
  max-width: 790px;
  flex-direction: column;
  gap: 5px;
}

.gallery-details-note span {
  color: var(--muted);
  line-height: 1.55;
}

.gallery-details-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-details-actions .btn {
  margin: 0;
  justify-content: center;
}

@media (hover: hover) {
  .gallery-detail {
    transition: transform 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .gallery-detail:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 138, 0, 0.42);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.09);
  }
}

@media (max-width: 950px) {
  .gallery-details-head {
    grid-template-columns: 150px 1fr;
  }

  .gallery-details-head p {
    grid-column: 1 / -1;
  }

  .gallery-details-note {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 800px) {
  .gallery-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .gallery-details-card {
    padding: 24px 18px;
  }

  .gallery-details-head {
    display: block;
    margin-bottom: 20px;
  }

  .gallery-details-kicker {
    display: inline-flex;
    margin-bottom: 10px;
  }

  .gallery-details-head h2 {
    margin-bottom: 12px;
  }

  .gallery-detail {
    padding: 20px 18px;
  }

  .gallery-details-note {
    padding: 18px 16px;
  }

  .gallery-details-actions {
    width: 100%;
    flex-direction: column;
  }

  .gallery-details-actions .btn {
    width: 100%;
  }
}