/* ==========================================================================
   Maniro — Contact Us Page / Hero
   Premium, industrial hero: full-bleed transmission-tower backdrop,
   breadcrumb, big title, short placeholder text. The info cards sit
   below with their own top spacing (see contact-info.css).
   ========================================================================== */

.contact-hero {
  position: relative;
  overflow: hidden;
  padding-block: 132px 96px;
  background: #0b1622;
  isolation: isolate;
}

[data-theme="dark"] .contact-hero {
  background: #070d14;
}

/* ---------- Background layers ---------- */
.contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  color: #eaf3fb;
}

.contact-hero-bg .pylon-grid {
  fill: #ffffff;
  opacity: 0.05;
}

.contact-hero-bg .pylon-line {
  stroke: currentColor;
  stroke-opacity: 0.55;
}

.contact-hero-bg .pylon-cable {
  stroke: currentColor;
  stroke-opacity: 0.22;
}

.contact-hero-bg .pylon-node {
  fill: var(--color-sky);
}

.contact-hero-bg .pylon-glow-a,
.contact-hero-bg .pylon-glow-b {
  transform-origin: center;
  animation: contact-glow-pulse 9s ease-in-out infinite;
}

.contact-hero-bg .pylon-glow-a {
  fill: url(#contactGlowA);
}

.contact-hero-bg .pylon-glow-b {
  fill: url(#contactGlowB);
  animation-delay: -4.5s;
}

/* Slow, subtle breathing glow — a quiet premium touch, not a distraction.
   Disabled automatically for reduced-motion users (see base/style.css). */
@keyframes contact-glow-pulse {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}

/* Dark gradient scrim so text stays legible over the illustration */
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 14, 22, 0.92) 0%,
    rgba(8, 14, 22, 0.72) 42%,
    rgba(8, 14, 22, 0.94) 100%
  );
  pointer-events: none;
}

/* Fine grid texture on top, for an engineering-blueprint feel */
.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
}

/* ---------- Breadcrumb ---------- */
.contact-hero .breadcrumb {
  display: block;
  text-align: center;
  margin: 0 0 32px;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.contact-hero .breadcrumb a {
  color: rgba(234, 243, 251, 0.6);
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease);
}

.contact-hero .breadcrumb a:hover {
  color: var(--color-sky);
}

.contact-hero .breadcrumb a:focus-visible {
  outline: 2px solid var(--color-sky);
  outline-offset: 3px;
}

.contact-hero .breadcrumb-sep {
  margin-inline: 8px;
  color: rgba(234, 243, 251, 0.28);
}

.contact-hero .breadcrumb-current {
  color: #eaf3fb;
  font-weight: 600;
}

/* ---------- Header text ---------- */
.contact-hero-header {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.contact-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 7px 18px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.08);
  color: var(--color-sky);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-hero-eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-sky);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
}

.contact-hero-title {
  margin: 0 0 20px;
  font-size: clamp(40px, 6.8vw, 80px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: normal;
  color: #ffffff;
  text-wrap: balance;
}

.contact-hero-text {
  max-width: 540px;
  margin-inline: auto;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(234, 243, 251, 0.72);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .contact-hero {
    padding-block: 112px 88px;
  }
}

@media (max-width: 760px) {
  .contact-hero {
    padding-block: 100px 80px;
  }

  .contact-hero .breadcrumb {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding-block: 88px 72px;
  }

  .contact-hero .breadcrumb {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .contact-hero-eyebrow {
    font-size: 11.5px;
    padding: 6px 14px;
  }

  .contact-hero-text {
    font-size: 15.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero-bg .pylon-glow-a,
  .contact-hero-bg .pylon-glow-b {
    animation: none;
  }
}
