/* =========================================================
   Managed IT Services — Gold on Black, polished, responsive
   ========================================================= */

:root {
  /* Palette */
  --bg: #000;
  --bg-2: #050505;
  --text: #fff;
  --muted: #cfd2d8;
  --muted-2: #dfe3ea;
  --gold: #FFD700;
  --gold-2: #ffec8b;
  --border: #1a1a1a;

  /* Layout */
  --wrap: 1200px;

  /* Depth & effects */
  --ring: 0 0 0 3px color-mix(in oklab, var(--gold) 38%, transparent);
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  --shadow-1: 0 10px 28px -16px color-mix(in oklab, var(--gold) 55%, transparent);
  --shadow-2: 0 16px 44px -12px color-mix(in oklab, var(--gold) 26%, transparent);
  --shadow-soft: 0 22px 70px -30px rgba(0, 0, 0, .7);
}

/* Utilities */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1rem;
}

::selection {
  background: color-mix(in oklab, var(--gold) 30%, #111);
  color: #111;
}

/* =========================
   HERO
   ========================= */
.mi-hero {
  position: relative;
  background: #000;
  color: var(--text);
  padding: clamp(2rem, 5vw, 3rem) 0 2rem;
  padding-top: 150px;
  overflow: hidden;
  isolation: isolate;
}

.mi-hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: -30%;
  pointer-events: none;
  z-index: 0;
}

.mi-hero .hero-bg::before {
  content: "";
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(40% 35% at 20% 30%, color-mix(in oklab, var(--gold) 20%, transparent) 0, transparent 60%),
    radial-gradient(45% 40% at 80% 70%, color-mix(in oklab, var(--gold-2) 16%, transparent) 0, transparent 70%);
  filter: blur(60px);
  opacity: .22;
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
  padding: .35rem .6rem;
  border-radius: .6rem;
  color: #111;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: var(--shadow-1);
}

.mi-hero h1 {
  margin: .6rem 0 .4rem;
  font-size: clamp(1.9rem, 2.2vw + 1rem, 2.8rem);
  letter-spacing: -.01em;
}

.mi-hero .lead {
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  gap: .6rem .8rem;
  flex-wrap: wrap;
  color: #e8ebf2;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: .8rem;
  padding: .45rem .6rem;
}

.hero-points li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.5 10.3L3.8 7.6l-1 1 3.7 3.7 6.7-6.7-1-1z'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.5 10.3L3.8 7.6l-1 1 3.7 3.7 6.7-6.7-1-1z'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* =========================
   SUBNAV
   ========================= */
.mi-subnav {
  position: sticky;
  top: 70px;
  z-index: 10;
  background: rgba(0, 0, 0, .9);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.mi-subnav .wrap {
  display: block;
}

.mi-subnav ul {
  display: flex;
  gap: .6rem;
  padding: .6rem 1rem;
  list-style: none;
  margin: 0;
  overflow: auto;
  scrollbar-width: none;
}

.mi-subnav a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  padding: .55rem .8rem;
  border: 1px solid var(--border);
  border-radius: .7rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  transition: border-color .2s ease, color .2s ease, transform .18s ease, background .2s ease;
}

.mi-subnav a:hover,
.mi-subnav a[aria-current="true"] {
  color: var(--gold);
  border-color: color-mix(in oklab, var(--gold) 40%, var(--border));
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255, 215, 0, .08), rgba(255, 255, 255, .02));
}

/* =========================
   GRID
   ========================= */
.mi-grid {
  background: #000;
  color: #fff;
  padding: 1.2rem 0 2.2rem;
}

.mi-grid .wrap {
  position: relative;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.2rem);
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (max-width:900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  min-width: 0;
}

.svc {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: .6rem;
  padding: clamp(1rem, 1.4vw, 1.25rem);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .25s ease;
  box-shadow: var(--shadow-soft);
  backdrop-filter: saturate(120%) blur(3px);
}

.svc::after {
  /* subtle golden inside edge on hover */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--gold) 28%, transparent), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
  /* never block clicks */
}

.svc:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--gold) 40%, var(--border));
  box-shadow: var(--shadow-2);
}

.svc:hover::after {
  opacity: 1;
}

.svc:focus-within {
  box-shadow: var(--ring);
}

/* Icon tile — refined, no sweeping sheen */
.icon {
  --i: 46px;
  width: var(--i);
  height: var(--i);
  display: grid;
  place-items: center;
  border-radius: .9rem;
   background:
    radial-gradient(120% 110% at 18% 14%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(145deg, color-mix(in oklab, var(--gold) 85%, #fff 10%), color-mix(in oklab, var(--gold-2) 80%, #fff 12%));
  color: #111;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--gold) 44%, transparent);
}

.icon svg {
  width: 62%;
  height: 62%;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .25)) drop-shadow(0 0 6px rgba(0, 0, 0, .25));
}

.svc h3 {
  font-size: 1.06rem;
  letter-spacing: .1px;
  margin: 0;
}

.desc {
  color: var(--muted-2);
  line-height: 1.55;
}

.bullets {
  list-style: none;
  margin: .1rem 0 0;
  padding: 0;
  color: #c9ccd2;
  display: grid;
  gap: .28rem;
}

.bullets li {
  display: grid;
  grid-template-columns: 14px 1fr;
  align-items: start;
  column-gap: .5rem;
}

.bullets li::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: .25rem;
  border-radius: 3px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.5 10.3L3.8 7.6l-1 1 3.7 3.7 6.7-6.7-1-1z'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.5 10.3L3.8 7.6l-1 1 3.7 3.7 6.7-6.7-1-1z'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* Inline callout inside cards */
.callout {
  margin-top: .35rem;
  padding: .6rem .7rem;
  background: var(--card-bg);
  border: 1px dashed color-mix(in oklab, var(--gold) 40%, var(--border));
  border-radius: .8rem;
  color: #eaeef5;
}

/* “More” link */
.more {
  align-self: end;
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .2px;
  border-bottom: 1px dashed transparent;
}

.more::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-left: .2rem;
  transition: transform .18s ease;
}

.more:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.more:hover::after {
  transform: translateX(2px) rotate(-45deg);
}

/* =========================
   BAND (Why choose)
   ========================= */
.mi-band {
  border-block: 1px solid var(--border);
  background: var(--bg-2);
  color: #fff;
}

.mi-band .band {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
}

.mi-band h2 {
  margin: 0;
  font-size: 1.25rem;
}

.mi-band .muted {
  color: #cfd2d8;
  margin: .25rem 0 0;
}

.badges {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .6rem;
  border-radius: .6rem;
  font-weight: 700;
  color: #111;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: var(--shadow-1);
}

/* =========================
   CTA
   ========================= */
.mi-cta {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  color: #fff;
}

.mi-cta .cta {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.4rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
}

.mi-cta h2 {
  margin: 0;
  font-size: 1.4rem;
}

.mi-cta p {
  margin: .25rem 0 0;
  color: #cfd2d8;
}

.cta-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

/* =========================
   Buttons (consistent across anchors)
   ========================= */
a.btn,
.btn:link,
.btn:visited {
  color: inherit;
  text-decoration: none;
}

.btn {
  --btn-bg: #0e0e0e;
  --btn-fg: #fff;
  --btn-bd: #232323;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .88rem 1.12rem;
  border-radius: .95rem;
  border: 1px solid var(--btn-bd);
  color: var(--btn-fg);
  font-weight: 800;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
  will-change: transform;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #111;
  border-color: transparent;
  box-shadow: 0 12px 36px -12px color-mix(in oklab, var(--gold) 58%, transparent);
}

.btn-primary:link,
.btn-primary:visited {
  color: #111;
}

/* ensure black text */
.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
}

.btn-ghost {
  background: #0e0e0e;
  color: #fff;
}

.btn-ghost:hover {
  border-color: color-mix(in oklab, var(--gold) 40%, #232323);
  box-shadow: var(--ring);
}

.btn-link {
  background: transparent;
  border: none;
  color: #fff;
  text-decoration: underline dotted rgba(255, 255, 255, .4);
  text-underline-offset: 4px;
}

.btn-link:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

/* =========================
   A11y utils
   ========================= */
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
}

/* =========================
   Motion respect
   ========================= */
@media (prefers-reduced-motion:reduce) {

  .btn,
  .svc,
  .mi-subnav a,
  .more::after {
    transition: none !important;
  }
}

/* Optional progressive enhancement */
@supports(backdrop-filter: blur(4px)) {

  .svc,
  .mi-band .band,
  .mi-cta .cta {
    backdrop-filter: blur(4px) saturate(120%);
  }
}