
/* ==============================================================
   RENA V42 — map, particles and typography stability
   ============================================================= */

/* Headings and animated word wrappers must never clip glyphs. */
.display,
.split-title,
.heading-shimmer-v33,
.heading-shimmer-v37,
.inner-hero h1,
.catalog-hero h1,
.product-summary h1,
.section-heading h2,
.related h2,
.related-section h2,
.ai-intro-v22 h1 {
  max-width: 100% !important;
  overflow: visible !important;
  clip-path: none !important;
  contain: none !important;
  line-height: 1.06 !important;
  padding-top: .045em !important;
  padding-bottom: .16em !important;
  margin-bottom: -.02em !important;
  text-wrap: balance;
}

.display .word,
.display .word i,
.split-title .word,
.split-title .word i,
.heading-shimmer-v33 .word,
.heading-shimmer-v33 .word i,
.heading-shimmer-v37 .word,
.heading-shimmer-v37 .word i {
  overflow: visible !important;
  clip-path: none !important;
  contain: none !important;
  padding-top: .04em !important;
  padding-bottom: .15em !important;
  margin-top: -.04em !important;
  margin-bottom: -.15em !important;
}

.display .word,
.split-title .word {
  margin-right: .065em !important;
}

.related .section-heading,
.related-section .section-heading,
.related > div:first-child,
.related-section > div:first-child {
  overflow: visible !important;
  padding-top: 8px !important;
  padding-bottom: 10px !important;
}

/* Remove the quote block from the clients page completely. */
body[data-page="clients"] .testimonial-band {
  display: none !important;
}

/* Real interactive map instead of a decorative drawing. */
.office-location-card-v38 {
  overflow: hidden !important;
  border-radius: 28px !important;
}

.office-location-card-v38__visual {
  position: relative;
  min-height: 430px !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  background: #0a1811 !important;
  border: 1px solid rgba(216,236,167,.12) !important;
}

.office-location-card-v38__visual iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 430px !important;
  display: block !important;
  border: 0 !important;
  filter: saturate(.78) contrast(1.03) brightness(.91);
}

.office-map-overlay-v42 {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border: 1px solid rgba(216,236,167,.19);
  border-radius: 18px;
  background: rgba(6,17,12,.88);
  color: #eef4e4;
  box-shadow: 0 18px 40px rgba(0,0,0,.32);
  backdrop-filter: blur(14px);
}

.office-map-overlay-v42 strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 1.2;
}

.office-map-overlay-v42 span {
  display: block;
  color: #aebcaf;
  font-size: 12px;
  line-height: 1.4;
}

.office-map-overlay-v42 a {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  background: #d8eca7;
  color: #102016;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

/* Subtle diagonal line particles across the whole site. */
.line-particles-v42 {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.line-particles-v42 i {
  position: absolute;
  left: -18vw;
  top: var(--top);
  width: var(--length);
  height: 1px;
  opacity: var(--opacity);
  background: linear-gradient(90deg, transparent, rgba(216,236,167,.58), transparent);
  transform: rotate(22deg);
  filter: blur(.15px);
  animation: lineParticleV42 var(--duration) linear var(--delay) infinite;
  will-change: transform;
}

.line-particles-v42 i::after {
  content: "";
  position: absolute;
  right: 10%;
  top: -1px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(216,236,167,.58);
  box-shadow: 0 0 9px rgba(216,236,167,.2);
}

@keyframes lineParticleV42 {
  from { transform: translate3d(-10vw,-10vh,0) rotate(22deg); }
  to   { transform: translate3d(138vw,78vh,0) rotate(22deg); }
}

@media (max-width: 760px) {
  .display,
  .split-title,
  .heading-shimmer-v33,
  .heading-shimmer-v37,
  .inner-hero h1,
  .catalog-hero h1,
  .product-summary h1,
  .section-heading h2,
  .related h2,
  .related-section h2,
  .ai-intro-v22 h1 {
    line-height: 1.08 !important;
    padding-bottom: .18em !important;
  }

  .office-location-card-v38__visual,
  .office-location-card-v38__visual iframe {
    min-height: 390px !important;
  }

  .office-map-overlay-v42 {
    left: 10px;
    right: 10px;
    bottom: 10px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 13px;
  }

  .office-map-overlay-v42 a {
    width: 100%;
  }

  .line-particles-v42 i:nth-child(n+7) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .line-particles-v42 { display: none !important; }
}
