/* ================================
   AZ Managed IT – Footer (LIGHT)
   File: tsc-footer.css
   ================================ */

/* ---------- THEME TOKENS ---------- */
.aperture-footer--light {
  --bg: #0f0f0f; /* dark base instead of light */
  --ink: #e8edf4;
  --muted: #a9b5c5;
  --link: #00bfff;
  --ring: #22314c;
  --chip: #0e2936;
  --chip-bg: #ffffff;

  /* Layout / width */
  --container: 1400px;
  --gutter: 20px;

  /* Typography scale for footer */
  --fz-link: 1.0625rem; /* ≈17px */
  --fz-body: 1.2rem; /* ≈19px */
  --fz-h4: 1.15rem; /* section labels */
  --lh-body: 1.85;

  position: relative;
  isolation: isolate;
  background-color: var(--bg) !important;
  background-image: url("https://azmanagedit.com/Portals/0/point.png");
  background-repeat: repeat;
  background-position: top center;
  background-size: auto;
  color: var(--ink) !important;
  border-top: 1px solid #111 !important;
  -webkit-font-smoothing: antialiased;
  padding: 48px var(--gutter) 0 !important;
  z-index: 1;
}

/* Remove default decorative gradient overlay */
.aperture-footer--light::before {
  content: none !important;
}

/* ---------- LAYOUT ---------- */
.aperture-footer .aperture-container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: block;
}

.aperture-footer .footer-grid {
  display: grid;
  row-gap: 28px;
  column-gap: 28px;
  grid-template-columns: 240px repeat(3, minmax(160px, 1fr)) 320px;
  align-items: start;
  justify-items: start;
  width: 100%;
}

@media (max-width: 1100px) {
  .aperture-footer .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}
@media (max-width: 720px) {
  .aperture-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- BRAND ---------- */
.aperture-footer .brand-wrap a {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  text-decoration: none !important;
  color: inherit !important;
}

.aperture-footer .brand-wrap .mark {
  width: 42px !important;
  height: 42px !important;
  display: block;
  background: transparent !important;
}
.aperture-footer .brand-wrap .mark
  :where(rect, circle, path, polygon)[fill]:not([fill="#00bfff"]) {
  fill: transparent !important;
}

.aperture-footer .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.aperture-footer .brand-title {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.2px;
  color: var(--ink);
}
.aperture-footer .brand-tag {
  margin-top: 4px;
  font-size: 12px;
  color: #00bfff;
  font-weight: 700;
}
.aperture-footer .brand-copy {
  margin-top: 12px;
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  color: var(--muted);
  max-width: 38ch;
}

/* ---------- CHIPS ---------- */
.aperture-footer .chips {
  margin-top: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.aperture-footer .chip {
  display: inline-block;
  background: var(--chip-bg);
  color: var(--chip);
  border: 1px solid var(--ring);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none !important;
}

/* ---------- COLUMNS ---------- */
.aperture-footer .col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.aperture-footer .col h4 {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: var(--fz-h4);
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd700;
  white-space: nowrap;
}
.aperture-footer .col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aperture-footer .col li {
  margin: 6px 0;
}

/* ---------- LINKS (no hover effects) ---------- */
.aperture-footer .col a {
  color: var(--ink) !important;
  text-decoration: none !important;
  font: 600 var(--fz-link) / var(--lh-body) "Segoe UI", sans-serif;
  position: relative;
}
.aperture-footer .col a::after {
  content: none;
}
.aperture-footer .col a:hover,
.aperture-footer .col a:focus,
.aperture-footer .col a:focus-visible {
  color: var(--ink) !important;
  transform: none;
  text-shadow: none;
  outline: none;
}

/* ---------- CTA (MSP Glass Style) ---------- */
.aperture-footer aside.col {
  align-items: flex-end;
}
.aperture-footer .social {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin: 0 0 8px;
}
.aperture-footer .social a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--ring) !important;
  display: grid !important;
  place-items: center;
  color: #e8edf4 !important;
  background: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.aperture-footer .social a:hover,
.aperture-footer .social a:focus-visible {
  color: #e8edf4 !important;
  border-color: var(--ring) !important;
  background: #0f172a !important;
  transform: none;
  outline: none;
}

/* MSP glass effect from dnn-hero-s2 */
.aperture-footer .cta-card {
  background: rgba(15, 20, 25, 0.85);
  border: 1px solid rgba(200, 210, 224, 0.25);
  border-radius: 10px;
  padding: 20px 24px;
  min-height: 148px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 22px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  backdrop-filter: blur(8px) saturate(150%);
}
.aperture-footer .cta-title {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
}
.aperture-footer .cta-sub {
  font-size: var(--fz-body);
  color: var(--muted);
  line-height: var(--lh-body);
}
.aperture-footer .cta-actions {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap;
  margin-top: auto;
}
.aperture-footer .btn-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(120, 160, 210, 0.35);
  background: rgba(15, 25, 40, 0.65);
  color: #a9d9ff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.06);
  transition: all 0.25s ease-in-out;
  backdrop-filter: blur(5px) saturate(150%);
}
.aperture-footer .btn-chip:hover,
.aperture-footer .btn-chip:focus-visible {
  background: rgba(30, 50, 70, 0.85);
  border-color: var(--link);
  color: var(--link);
  transform: translateY(-2px);
  outline: none;
}
.aperture-footer .btn-chip .ico {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
}

/* ---------- DNN Footer Pane ---------- */
.aperture-footer #FooterPane {
  margin-top: 18px;
}

/* ---------- LEGAL ROW ---------- */
.aperture-footer .footer-legal {
  --band: 100px;
  position: relative;
  margin-top: 38px;
  font-size: 0.95rem;
  line-height: 1.25;
  color: #e8edf4 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  overflow: visible;
}
.aperture-footer .footer-legal::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #1e1e1e;
  z-index: 0;
  pointer-events: none;
}
.aperture-footer .footer-legal::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  height: var(--band);
  width: 100vw;
  background: url("https://www.gskill.com/styles/images/common/menu-bg.png")
    left bottom / auto 100% repeat-x;
  z-index: 1;
  pointer-events: none;
}
.aperture-footer .footer-legal .inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 20px 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.aperture-footer .legal-left,
.aperture-footer .legal-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.aperture-footer .footer-legal a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700;
}
.aperture-footer .footer-legal a:hover,
.aperture-footer .footer-legal a:focus-visible {
  color: #ffffff !important;
  text-decoration: none;
  outline: none;
}

/* ---------- Utilities ---------- */
.aperture-footer,
.aperture-footer * {
  box-sizing: border-box;
}
.aperture-footer svg {
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  display: block;
}
.aperture-footer {
  overflow-x: clip;
}
html,
body {
  overflow-x: hidden;
}
/* --- MSP Glass Style for Footer Chips --- */
.aperture-footer .chip {
  background: rgba(15, 25, 40, 0.65) !important;
  color: #a9d9ff !important;
  border: 1px solid rgba(120, 160, 210, 0.35) !important;
  border-radius: 6px !important;
  padding: 10px 18px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  letter-spacing: 0.015em !important;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(5px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(5px) saturate(150%) !important;
  transition: all 0.25s ease-in-out !important;
}

.aperture-footer .chip:hover {
  background: rgba(30, 50, 70, 0.85) !important;
  border-color: #00bfff !important;
  color: #00bfff !important;
  transform: translateY(-2px);
}
