/* Strictly scoped (.glh-*) styles for native integration on the original Framer Motion homepage.
   Zero rules touch body, html, headings, or any original Next.js/Tailwind class. */

.glh-wrap {
  margin-top: 1.5rem;
}

.glh-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(13, 15, 18, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.35rem;
}

@media (min-width: 768px) {
  .glh-card {
    padding: 1.75rem;
  }
}

.glh-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.glh-eyebrow {
  font-family: var(--font-jetbrains), ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0, 240, 255, 0.85);
}

.glh-sub {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #8a96a8;
  max-width: 44rem;
}

.glh-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 240, 255, 0.32);
  background: rgba(0, 240, 255, 0.08);
  padding: 0.55rem 0.95rem;
  font-family: var(--font-jetbrains), ui-monospace, monospace;
  font-size: 12px;
  color: #00f0ff;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.glh-cta-link:hover {
  background: #00f0ff;
  color: #0d0f12;
  border-color: #00f0ff;
}

.glh-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.glh-pill {
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.42rem 0.85rem;
  font-size: 12.5px;
  color: rgba(232, 237, 243, 0.78);
  cursor: pointer;
  transition: all 0.16s ease;
}

.glh-pill:hover {
  border-color: rgba(0, 240, 255, 0.4);
  color: #ffffff;
}

.glh-pill.glh-active {
  border-color: rgba(0, 240, 255, 0.55);
  background: rgba(0, 240, 255, 0.12);
  color: #00f0ff;
}

.glh-dist-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1.15rem;
}

@media (min-width: 640px) {
  .glh-dist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .glh-dist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.glh-dist-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.62rem 0.9rem;
  font-size: 13.5px;
  color: rgba(232, 237, 243, 0.88);
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.glh-dist-link:hover {
  border-color: rgba(0, 240, 255, 0.42);
  background: rgba(0, 240, 255, 0.07);
  color: #ffffff;
}

.glh-dist-meta {
  font-family: var(--font-jetbrains), ui-monospace, monospace;
  font-size: 11px;
  color: rgba(138, 150, 168, 0.82);
  white-space: nowrap;
}

.glh-dist-link:hover .glh-dist-meta {
  color: #00f0ff;
}

.glh-svc-bar {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.glh-svc-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.42rem 0.8rem;
  font-size: 12.5px;
  color: rgba(232, 237, 243, 0.85);
  text-decoration: none;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.glh-svc-tag:hover {
  border-color: rgba(0, 240, 255, 0.45);
  color: #00f0ff;
}

/* Subtle, quiet Articles & News section matching original site sections */
.glh-art-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 2.25rem;
}

@media (min-width: 1024px) {
  .glh-art-layout {
    grid-template-columns: 1.65fr 1fr;
  }
}

.glh-art-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .glh-art-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.glh-art-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(13, 15, 18, 0.56);
  backdrop-filter: blur(12px);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.glh-art-card:hover {
  border-color: rgba(0, 240, 255, 0.36);
  transform: translateY(-2px);
}

.glh-art-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glh-art-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.glh-art-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--font-jetbrains), ui-monospace, monospace;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.45);
}

.glh-art-title {
  margin-top: 0.6rem;
  font-family: var(--font-unbounded), var(--font-manrope), sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: #f0f4f8;
}

.glh-art-excerpt {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #8a96a8;
}

.glh-art-more {
  margin-top: 0.9rem;
  font-family: var(--font-jetbrains), ui-monospace, monospace;
  font-size: 11.5px;
  color: #00f0ff;
}

.glh-news-item {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.glh-news-item:first-child {
  padding-top: 0;
}

.glh-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.glh-news-title {
  margin-top: 0.25rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(232, 237, 243, 0.92);
  transition: color 0.16s ease;
}

.glh-news-item:hover .glh-news-title {
  color: #00f0ff;
}

.glh-news-summary {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #8a96a8;
}

.glh-hidden {
  display: none !important;
}

.glh-footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.9rem;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  color: rgba(138, 150, 168, 0.78);
}

.glh-footer-bar a {
  color: rgba(232, 237, 243, 0.68);
  text-decoration: none;
  transition: color 0.16s ease;
}

.glh-footer-bar a:hover {
  color: #00f0ff;
}

/* Ad-free Yandex Maps JS API 2.1 integration in #contacts */
.glh-ymap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #101419;
}

.glh-ymap [class*="ground-pane"] {
  filter: invert(0.92) hue-rotate(180deg) saturate(0.75) brightness(0.92) contrast(1.02);
}

.glh-ymap [class*="gotoymaps"],
.glh-ymap [class*="gototaxi"],
.glh-ymap [class*="gototech"],
.glh-ymap [class*="copyright__promo"],
.glh-ymap [class*="promo"] {
  display: none !important;
}

.glh-ymap [class*="copyrights-pane"] {
  opacity: 0.45;
  filter: invert(0.9);
}

.glh-ymap-pin {
  position: relative;
  width: 42px;
  height: 42px;
  margin-left: -21px;
  margin-top: -42px;
  cursor: pointer;
  filter: drop-shadow(0 6px 14px rgba(0, 240, 255, 0.45));
  transition: transform 0.18s ease;
}

.glh-ymap-pin:hover {
  transform: scale(1.08);
}

.glh-ymap-balloon {
  font-family: var(--font-manrope), system-ui, sans-serif;
  color: #0d0f12;
  padding: 2px 4px;
  line-height: 1.45;
}

.glh-ymap-balloon strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.glh-ymap-balloon a {
  color: #0077b6;
  font-weight: 600;
  text-decoration: none;
}

.glh-ymap-overlay {
  z-index: 10 !important;
}
