/* =========================================================
   ThinkEzIT — Managed IT Services page
   Page-specific components only; shared layout/tokens live
   in styles.css.
   ========================================================= */

/* ---------- Hero ---------- */
.mg-hero { padding: 64px 0 88px; background: var(--ink-2); }
.mg-hero__grid { max-width: 720px; }
.mg-hero .breadcrumb { margin-bottom: 18px; }
.mg-hero h1 { color: var(--on-dark); font-size: clamp(2rem, 3.6vw, 2.8rem); }

.mg-float { animation: mg-float 5s ease-in-out infinite; }
@keyframes mg-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .mg-float { animation: none; }
}

/* ---------- Comparison ---------- */
.mg-compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
.mg-compare__col { border-radius: var(--radius); padding: 32px; }
.mg-compare__col h3 { font-size: 1.1rem; margin-bottom: 20px; }
.mg-compare__col ul { display: flex; flex-direction: column; gap: 16px; }
.mg-compare__col li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.96rem; }
.mg-compare__col--old { background: var(--ink-2); }
.mg-compare__col--old h3 { color: var(--accent-soft); }
.mg-compare__col--old li { color: var(--on-dark); }
.mg-compare__col--old .mg-x { background: var(--line-dark); color: var(--accent-soft); }
.mg-compare__col--new { background: var(--cta); }
.mg-compare__col--new h3 { color: #fff; }
.mg-compare__col--new li { color: #fff; }
.mg-compare__col--new .mg-check { background: #fff; color: var(--cta); }
.mg-x, .mg-check {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; margin-top: 1px;
}
.mg-x { background: var(--accent-tint); color: var(--accent); }
.mg-check { background: var(--cta); color: #fff; }
.mg-check--lg { width: 28px; height: 28px; font-size: 0.9rem; }

.mg-included { background: var(--ink-2); }

/* ---------- Bento ---------- */
.mg-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 18px; }
.mg-bento__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 26px; display: flex; flex-direction: column; gap: 8px;
  grid-column: span 2;
}
.mg-bento__card--lg { grid-column: span 2; grid-row: span 1; padding: 32px; }
.mg-bento__card:nth-child(1), .mg-bento__card:nth-child(2) { grid-column: span 2; }
.mg-bento__card:nth-child(n+3) { grid-column: span 1.333; }
.mg-bento__icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 6px;
  background: linear-gradient(155deg, var(--cta) 0%, var(--cta-deep) 100%); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px -10px rgba(221,98,38,0.55);
  animation: mg-icon-bob 3.2s ease-in-out infinite;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
}
.mg-bento__icon svg { width: 22px; height: 22px; }
.mg-bento__card:hover .mg-bento__icon { animation-play-state: paused; transform: scale(1.15) rotate(-8deg); }
.mg-bento__card:nth-child(1) .mg-bento__icon { animation-delay: 0s; }
.mg-bento__card:nth-child(2) .mg-bento__icon { animation-delay: 0.25s; }
.mg-bento__card:nth-child(3) .mg-bento__icon { animation-delay: 0.5s; }
.mg-bento__card:nth-child(4) .mg-bento__icon { animation-delay: 0.75s; }
.mg-bento__card:nth-child(5) .mg-bento__icon { animation-delay: 1s; }
.mg-bento__card:nth-child(6) .mg-bento__icon { animation-delay: 1.25s; }
@keyframes mg-icon-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
  .mg-bento__icon { animation: none; }
}
.mg-bento__card h3 { font-size: 1.02rem; margin-bottom: 0; color: var(--ink); }
.mg-included .mg-bento__card p { margin: 0; color: var(--ink-2); font-size: 0.9rem; }

/* ---------- Signs checklist ---------- */
.mg-signs__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.mg-checklist { display: flex; flex-direction: column; gap: 18px; }
.mg-checklist li { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }

/* ---------- Closing CTA ---------- */
.mg-cta { background: var(--cta); padding: 64px 0; }
.mg-cta h2 { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .mg-hero__grid { grid-template-columns: 1fr; }
  .mg-panel { order: -1; }
  .mg-compare__grid { grid-template-columns: 1fr; }
  .mg-bento { grid-template-columns: repeat(2, 1fr); }
  .mg-bento__card, .mg-bento__card:nth-child(1), .mg-bento__card:nth-child(2), .mg-bento__card:nth-child(n+3) { grid-column: span 1; }
  .mg-signs__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .mg-bento { grid-template-columns: 1fr; }
}
