/* =========================================================
   DNN HERO SECTION 27 — CONTACT AZ MANAGED IT
   Advanced Floating Grid + Cyan Pulse
   Author: AZ Managed IT
   Version: v20251110-contact-hero-evolved
   ========================================================= */

.dnn-hero-s27 {
  --ink: #e8edf4;
  --muted: #cbd3de;
  --accent: #00bfff;
  --accent-dark: #00ace6;
  --bg: #0F0F0F;

  position: relative;
  background: var(--bg) !important;
  border-top: 1px solid #111;
  overflow: hidden;
  width: 100%;
  height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-family: "Segoe UI", system-ui, Roboto, Arial, sans-serif;
}

/* ===== SERVER GRID BACKGROUND ===== */
.servergrid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(0,191,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,191,255,0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridFloatDiagonal 70s ease-in-out infinite alternate;
  transform-origin: center;
  will-change: background-position, transform;
}

@keyframes gridFloatDiagonal {
  0% {
    background-position: 0 0, 0 0;
    transform: translate(0, 0) scale(1);
  }
  25% {
    background-position: 60px 60px, 60px 60px;
    transform: translate(10px, 10px) scale(1.02);
  }
  50% {
    background-position: 120px 120px, 120px 120px;
    transform: translate(20px, 20px) scale(1.04);
  }
  75% {
    background-position: 60px 60px, 60px 60px;
    transform: translate(8px, 8px) scale(1.02);
  }
  100% {
    background-position: 0 0, 0 0;
    transform: translate(0, 0) scale(1);
  }
}

/* ===== ANGLED OVERLAY (Gradient Darkness) ===== */
.dnn-hero-s27::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.85) 40%,
    rgba(0, 191, 255, 0.04) 100%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
  mix-blend-mode: multiply;
}

/* ===== CYAN GLOW LAYER ===== */
.servergrid-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 35%, rgba(0,191,255,0.18), transparent 45%),
    radial-gradient(circle at 75% 65%, rgba(0,191,255,0.14), transparent 50%);
  mix-blend-mode: screen;
  opacity: 0.6;
  animation: glowPulse 24s ease-in-out infinite, glowDrift 40s ease-in-out infinite alternate;
}

@keyframes glowDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15px, -15px) scale(1.08); }
  100% { transform: translate(-10px, 10px) scale(1); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.55; filter: brightness(1); }
  50% { opacity: 0.75; filter: brightness(1.15); }
}

/* ===== GRID CONTENT ===== */
.dnn-hero-s27__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 1100px) {
  .dnn-hero-s27__grid {
    grid-template-columns: 1fr;
    text-align: center;
    height: auto;
    padding: 0 28px;
  }
}

/* ===== TEXT SECTION ===== */
.dnn-hero-s27__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 3;
}
@media (max-width: 1100px) {
  .dnn-hero-s27__text {
    align-items: center;
    text-align: center;
  }
}

.eyebrow {
  margin: 0 0 8px;
  color: #9dcaf8;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(0,191,255,0.25);
  background: rgba(0,191,255,0.08);
  border-radius: 4px;
}
.dnn-hero-title {
  margin: 0 0 14px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.015em;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  line-height: 1.2;
}
.hero-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 24px;
}

/* ===== CTA GROUP ===== */
.cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 12px;
}

.dnn-hero-s27__cta {
  display: inline-block;
  background: var(--accent);
  color: #000 !important;
  font-weight: 800;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 2px solid #000;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.dnn-hero-s27__cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

/* ===== SERVICE AREAS BUTTON ===== */
.cta-service {
  background: transparent !important;
  border: 1px solid #777;
  color: #bbb !important;
}
.cta-service:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  transform: translateY(-2px);
}

/* ===== MSP LOGO BOX ===== */
.dnn-wheel {
  position: relative;
  justify-self: center;
  width: min(34vw, 320px);
  aspect-ratio: 1/1;
}
@media (max-width: 700px) {
  .dnn-wheel { width: min(80vw, 260px); margin: 0 auto; }
}
.dnn-wheel__center {
  display: grid;
  place-items: center;
  pointer-events: none;
}
.dnn-msp {
  display: grid;
  place-items: center;
  gap: .25rem;
  padding: 10px 16px;
  background: rgba(15, 20, 25, 0.85);
  border: 1px solid rgba(200, 210, 224, 0.25);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06),
              0 10px 22px rgba(0, 0, 0, 0.28);
}
.dnn-msp__big {
  font-weight: 900;
  letter-spacing: .14em;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--accent);
}
.dnn-msp__small {
  font-weight: 700;
  color: #cbd6e6;
  font-size: clamp(.72rem, 1.3vw, .85rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .85;
}

/* ===== CONTACT CHIPS ===== */
.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  margin-top: 10px;
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: rgba(15, 25, 40, 0.85);
  border: 1px solid rgba(120, 160, 210, 0.4);
  color: #a9d9ff;
  padding: 6px 12px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  backdrop-filter: blur(5px) saturate(150%);
}
.contact-chip:hover {
  background: rgba(30, 50, 70, 0.9);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
@media (max-width: 700px) {
  .contact-chips {
    justify-content: center;
    gap: 8px;
  }
}
