.cimrts-page .container {
  max-width: 1320px;
}

.cimrts-hero {
  position: relative;
}

.cimrts-poem {
  position: absolute;
  top: 52%;
  right: clamp(5%, 8vw, 10%);
  max-width: min(380px, 36vw);
  color: #fff;
  font-size: clamp(13px, 1.15vw, 18px);
  line-height: 2;
  letter-spacing: 0.1em;
}

.cimrts-poem p {
  margin: 0;
}

.cimrts-poem img {
  position: absolute;
  width: 14px;
  height: auto;
}

.cimrts-poem img:first-of-type {
  left: -20px;
  top: -14px;
}

.cimrts-poem img:last-of-type {
  right: -20px;
  bottom: -14px;
}

.cimrts-hero-actions {
  position: absolute;
  right: clamp(5%, 8vw, 10%);
  bottom: 12%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.cimrts-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #0e7aff, #15c4ff);
  box-shadow: 0 14px 32px rgba(14, 122, 255, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cimrts-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(14, 122, 255, 0.4);
}

.cimrts-section {
  padding: 72px 0;
  color: #fff;
  background: linear-gradient(180deg, #050f22 0%, #0c2347 48%, #050f22 100%);
}

.cimrts-section-head {
  margin-bottom: 36px;
  text-align: center;
}

.cimrts-section-head h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 14px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.cimrts-section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #15c4ff, transparent);
}

.cimrts-features {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto 36px;
}

.cimrts-section--data .cimrts-features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  max-width: 1080px;
}

.cimrts-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(21, 196, 255, 0.16);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(14, 122, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 100%);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cimrts-feature-item:hover {
  border-color: rgba(21, 196, 255, 0.32);
  background: linear-gradient(90deg, rgba(14, 122, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.cimrts-feature-mark {
  position: relative;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border: 2px solid #15c4ff;
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(21, 196, 255, 0.45);
}

.cimrts-feature-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  background: #15c4ff;
}

.cimrts-feature-item p {
  margin: 0;
  flex: 1;
  font-size: clamp(13px, 0.9vw, 15px);
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.cimrts-gallery-frame {
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid rgba(21, 196, 255, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8, 30, 62, 0.55) 0%, rgba(4, 16, 36, 0.75) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 48px rgba(0, 0, 0, 0.2);
}

.cimrts-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}

.cimrts-gallery img {
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.cimrts-gallery img:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(14, 122, 255, 0.22);
}

.cimrts-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cimrts-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.cimrts-lightbox__img {
  width: 82vw;
  height: 78vh;
  max-width: none;
  max-height: none;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  transform: scale(0.98);
  transition: transform 0.25s ease;
}

.cimrts-lightbox.is-open .cimrts-lightbox__img {
  transform: scale(1);
}

.cimrts-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.2s ease;
}

.cimrts-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 991px) {
  .cimrts-poem {
    position: static;
    max-width: none;
    margin: 0;
    padding: 28px 24px 12px;
    background: linear-gradient(180deg, rgba(6, 20, 42, 0.55), rgba(6, 20, 42, 0.82));
  }

  .cimrts-hero-actions {
    position: static;
    justify-content: flex-end;
    padding: 0 24px 28px;
    background: rgba(6, 20, 42, 0.82);
  }

  .cimrts-section {
    padding: 56px 0;
  }

  .cimrts-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cimrts-section--data .cimrts-features {
    grid-template-columns: 1fr;
  }

  .cimrts-feature-item {
    padding: 12px 14px;
  }

  .cimrts-feature-item p {
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .cimrts-gallery {
    grid-template-columns: 1fr;
  }

  .cimrts-btn {
    width: 100%;
  }
}
