/* Metroplace IT Solutions: styles for hand-built sections and the mobile menu.
   Brand from the Jimdo theme: Poppins headings, Roboto copy, #323335 text, #dee4ec panel, #5e78a0 accent, black buttons.
   Layout rule: one centered axis. Section heads and short copy are centered; spacing, not boxes, separates content. */
:root {
  --mp-ink: #323335;
  --mp-muted: #5a5d63;
  --mp-panel: #dee4ec;
  --mp-accent: #5e78a0;
  --mp-accent-dark: #475d80;
  --mp-line: #d7dde6;
  --mp-white: #ffffff;
  --mp-black: #000000;
  --mp-space: 104px;
}

.mp-page { color: var(--mp-ink); font-family: Roboto, sans-serif; font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.mp-page *, .mp-page *::before, .mp-page *::after { box-sizing: border-box; }
.mp-page h1, .mp-page h2, .mp-page h3 { margin: 0; font-family: Poppins, sans-serif; color: inherit; }
.mp-page h1 { font-size: 60px; font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; }
.mp-page h2 { font-size: 38px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.mp-page h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.mp-page p { margin: 0; }
.mp-page a:not(.mp-btn) { color: var(--mp-accent-dark); text-underline-offset: 3px; }
.mp-page a:focus-visible, .mp-btn:focus-visible, .mp-burger:focus-visible { outline: 3px solid var(--mp-accent); outline-offset: 3px; }

.mp-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.mp-section { padding: var(--mp-space) 0; background: var(--mp-white); }
.mp-section.mp-flush { padding-top: 0; } /* white section directly after another white one */
.mp-panel { background: var(--mp-panel); }

/* Centered heading block used by every section */
.mp-head { max-width: 680px; margin: 0 auto; text-align: center; }
.mp-head p { margin-top: 18px; font-size: 20px; color: var(--mp-muted); }
.mp-head + * { margin-top: 56px; }

/* Buttons */
.mp-btn { display: inline-block; padding: 15px 30px; border: 2px solid var(--mp-black); border-radius: 5px; background: var(--mp-black); color: var(--mp-white); font-family: Poppins, sans-serif; font-weight: 600; font-size: 16px; line-height: 1.3; text-align: center; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.mp-btn:hover { background: #2b2b2b; border-color: #2b2b2b; color: var(--mp-white); }
.mp-btn-light { background: transparent; border-color: rgba(255, 255, 255, .8); color: var(--mp-white); }
.mp-btn-light:hover { background: var(--mp-white); border-color: var(--mp-white); color: var(--mp-black); }
.mp-btn-outline { padding: 11px 22px; background: transparent; color: var(--mp-black); font-size: 15px; }
.mp-btn-outline:hover { background: var(--mp-black); color: var(--mp-white); }
.mp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

/* Hero: photo under a dark overlay, everything centered; the stats sit on its lower edge */
.mp-hero { position: relative; padding: 128px 0 0; color: var(--mp-white); text-align: center; background: #000 center / cover no-repeat; }
.mp-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .72), rgba(0, 0, 0, .8)); }
.mp-hero .mp-container { position: relative; }
.mp-hero h1 { max-width: 860px; margin: 0 auto; }
.mp-hero .mp-lead { max-width: 640px; margin: 24px auto 0; font-size: 20px; color: rgba(255, 255, 255, .86); }
.mp-hero-plain { padding-bottom: 112px; }
.mp-hero-plain h1 { font-size: 52px; }

.mp-stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 880px; margin: 88px auto 0; padding: 32px 0 40px; border-top: 1px solid rgba(255, 255, 255, .22); }
.mp-stats div + div { border-left: 1px solid rgba(255, 255, 255, .22); }
.mp-stat-num { display: block; font-family: Poppins, sans-serif; font-weight: 700; font-size: 44px; line-height: 1.1; color: var(--mp-white); }
.mp-stat-label { display: block; max-width: 220px; margin: 8px auto 0; padding: 0 12px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .78); }

/* Plain grids: no boxes, centered items, a short accent rule marks each item */
.mp-grid { display: grid; gap: 56px 48px; }
.mp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.mp-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-left: auto; margin-right: auto; }
.mp-item { text-align: center; }
.mp-item::before { content: ""; display: block; width: 32px; height: 3px; margin: 0 auto 20px; background: var(--mp-accent); border-radius: 2px; }
.mp-item p { margin-top: 10px; font-size: 17px; color: var(--mp-muted); }
.mp-page .mp-more { margin-top: 48px; text-align: center; font-family: Poppins, sans-serif; font-weight: 600; font-size: 16px; }

/* Numbered steps: the only real sequence on the page */
.mp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-right: 0; margin-bottom: 0; margin-left: 0; padding: 0; list-style: none; counter-reset: mp-step; }
.mp-steps li { counter-increment: mp-step; text-align: center; }
.mp-steps li::before { content: counter(mp-step); display: block; margin-bottom: 14px; font-family: Poppins, sans-serif; font-weight: 700; font-size: 44px; line-height: 1; color: var(--mp-accent); }
.mp-steps p { margin-top: 10px; font-size: 17px; color: var(--mp-muted); }

/* Foundation: short centered paragraph with inline links */
.mp-divider { max-width: 880px; margin: 0 auto var(--mp-space); border: 0; border-top: 1px solid var(--mp-line); }
.mp-inline-links { margin-top: 20px !important; font-size: 17px; }
.mp-inline-links a { white-space: normal; }

/* Final call to action */
.mp-cta { background: var(--mp-accent-dark); color: var(--mp-white); }
.mp-cta .mp-head p { color: var(--mp-white); }
.mp-cta a:focus-visible, .mp-hero a:focus-visible { outline-color: var(--mp-white); }

.mp-audio { width: 100%; max-width: 560px; margin-top: 32px; }

/* AI Solutions page: one centered reading column, services separated by space and a hairline */
.mp-column { max-width: 700px; margin: 0 auto; }
.mp-service { padding: 64px 0; border-top: 1px solid var(--mp-line); }
.mp-service:first-child { padding-top: 0; border-top: 0; }
.mp-service:last-child { padding-bottom: 0; }
.mp-service h2 { font-size: 30px; }
.mp-service > p { margin-top: 14px; }
.mp-service ul { margin: 20px 0 0; padding-left: 22px; color: var(--mp-muted); }
.mp-service li { margin-bottom: 8px; padding-left: 4px; }
.mp-service li::marker { color: var(--mp-accent); }
.mp-for { margin-top: 20px !important; color: var(--mp-ink); }
.mp-for strong { font-family: Poppins, sans-serif; font-weight: 600; }
.mp-service .mp-btn { margin-top: 28px; }

/* Header: room for the longer call-to-action button */
.S7q2B { flex-basis: auto !important; }
.S7q2B .pSsxA { padding: 10px 18px; font-family: Poppins, sans-serif; font-weight: 600; font-size: 15px; line-height: 1.3; }

/* Mobile menu (replaces Jimdo's script-driven menu) */
.mp-burger { display: none; align-self: center; flex-shrink: 0; width: 44px; height: 44px; margin-left: 12px; padding: 10px; border: 0; border-radius: 5px; background: transparent; cursor: pointer; }
.mp-burger span { display: block; height: 2px; margin: 5px 0; background: var(--mp-ink); transition: transform .2s, opacity .2s; }
.mp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mp-menu-cta { display: block; margin: 8px 20px 0; }

@media (prefers-reduced-motion: reduce) {
  .mp-btn, .mp-burger span { transition: none; }
}

@media (max-width: 1100px) {
  .kqI0W { display: none !important; }
  .mp-burger { display: block; }
  .DyyGf { align-items: center; padding-right: 12px; }
  #mp-mobile-menu { height: auto !important; max-height: calc(100vh - 72px); overflow-y: auto; background: var(--mp-panel) !important; box-shadow: 0 12px 24px rgba(0, 0, 0, .12); }
  #mp-mobile-menu.mp-open { width: 100%; max-width: 100%; }
  #mp-mobile-menu .bEi0A { width: 100%; padding: 16px 0 8px; }
  #mp-mobile-menu .sTnOy { margin: 8px 0 24px; }
  #mp-mobile-menu a.d6OwN { display: block; padding: 12px 20px; font-size: 18px; }
  .mp-page h1 { font-size: 50px; }
}

@media (max-width: 1100px) and (min-width: 701px) {
  .S7q2B { margin-left: auto; margin-right: 0; }
}

@media (max-width: 900px) {
  :root { --mp-space: 84px; }
  .mp-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .mp-steps { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
}

@media (max-width: 700px) {
  :root { --mp-space: 64px; }
  .S7q2B { display: none !important; }
  .mp-page { font-size: 17px; }
  .mp-page h1, .mp-hero-plain h1 { font-size: 36px; }
  .mp-page h2 { font-size: 28px; }
  .mp-service h2 { font-size: 25px; }
  .mp-head p, .mp-hero .mp-lead { font-size: 18px; }
  .mp-head + * { margin-top: 40px; }
  .mp-hero { padding-top: 48px; }
  .mp-hero-plain { padding-bottom: 72px; }
  .mp-stats { grid-template-columns: 1fr; margin-top: 32px; padding: 4px 0 16px; }
  .mp-stats div { padding: 10px 0; }
  .mp-stats div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
  .mp-stat-num { font-size: 38px; }
  .mp-grid-3, .mp-grid-2, .mp-steps { grid-template-columns: 1fr; gap: 44px; }
  .mp-service { padding: 48px 0; }
  .mp-actions .mp-btn { width: 100%; }
}

/* Headings that link out (AI Receptionist -> AnswerHQ) */
.mp-page a.mp-heading-link { color: inherit; text-decoration: underline; text-decoration-color: var(--mp-accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.mp-page a.mp-heading-link:hover { color: var(--mp-accent-dark); }

/* Hero value statements (text instead of numbers) */
.mp-values .mp-stat-num { font-size: 21px; font-weight: 600; line-height: 1.3; padding: 0 12px; }
.mp-values .mp-stat-label { margin-top: 6px; }
@media (max-width: 700px) { .mp-values .mp-stat-num { font-size: 19px; } }
