/* ================================================================
   TMG Sologic Service Pages — The Mantua Group Pty Ltd
   Scoped to .tmg-page — safe to run alongside other TMG plugins
================================================================ */

:root {
  --tp-black:  #000000;
  --tp-white:  #ffffff;
  --tp-grey1:  #f7f7f7;
  --tp-grey2:  #e0e0e0;
  --tp-grey3:  #cccccc;
  --tp-grey4:  #888888;
  --tp-grey5:  #444444;
}

.tmg-page * { box-sizing: border-box; margin: 0; padding: 0; }
.tmg-page {
  font-family: 'Lato', 'Arial', sans-serif;
  color: var(--tp-black);
  background: var(--tp-white);
  max-width: 1100px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Hero */
.tmg-hero { display: grid; grid-template-columns: 1fr 340px; background: var(--tp-black); color: var(--tp-white); }
.tmg-hero-content { padding: 52px 48px 44px; }
.tmg-hero-panel { background: #111; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 30px; border-left: 1px solid #222; }
.tmg-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #888; margin-bottom: 14px; }
.tmg-hero h1 { font-size: clamp(28px,4vw,46px); font-weight: 900; line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 18px; }
.tmg-hero h1 span { color: #666; }
.tmg-hero-lead { font-size: 15px; font-weight: 300; color: #ccc; line-height: 1.65; max-width: 580px; }
.tmg-stat-block { text-align: center; padding: 20px 0; border-bottom: 1px solid #222; width: 100%; }
.tmg-stat-block:last-child { border-bottom: none; }
.tmg-stat-num { font-size: 40px; font-weight: 900; color: var(--tp-white); line-height: 1; }
.tmg-stat-label { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #666; margin-top: 6px; }

/* Section label */
.tmg-body { padding: 0 48px; }
.tmg-section-label { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #888; border-top: 2px solid var(--tp-black); padding-top: 10px; margin: 44px 0 16px; }

/* Cards */
.tmg-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 1px solid var(--tp-grey2); margin-top: 4px; }
.tmg-card { padding: 28px 24px; border-right: 1px solid var(--tp-grey2); border-bottom: 1px solid var(--tp-grey2); transition: background .15s; }
.tmg-card:hover { background: var(--tp-grey1); }
.tmg-card-num { font-size: 38px; font-weight: 900; color: var(--tp-grey2); line-height: 1; margin-bottom: 10px; }
.tmg-card-title { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--tp-black); margin-bottom: 8px; line-height: 1.2; }
.tmg-card-body { font-size: 13px; font-weight: 300; color: #555; line-height: 1.6; }

/* Two-col */
.tmg-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--tp-grey2); margin-top: 4px; }
.tmg-col { padding: 30px 28px; }
.tmg-col:first-child { border-right: 1px solid var(--tp-grey2); }
.tmg-col h3 { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding-bottom: 10px; border-bottom: 2px solid var(--tp-black); margin-bottom: 14px; }
.tmg-col ul { list-style: none; padding: 0; }
.tmg-col ul li { font-size: 13px; font-weight: 300; color: #333; padding: 6px 0 6px 18px; border-bottom: 1px solid var(--tp-grey1); position: relative; line-height: 1.5; }
.tmg-col ul li::before { content: '—'; position: absolute; left: 0; color: #aaa; }

/* Steps */
.tmg-steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; border: 1px solid var(--tp-grey2); margin-top: 4px; counter-reset: step; }
.tmg-step { background: var(--tp-grey1); border-right: 1px solid var(--tp-grey2); padding: 20px 16px; }
.tmg-step:last-child { border-right: none; }
.tmg-step::before { counter-increment: step; content: counter(step); font-size: 1.6rem; font-weight: 900; color: var(--tp-grey2); line-height: 1; display: block; margin-bottom: 8px; }
.tmg-step-title { font-size: .82rem; font-weight: 700; color: var(--tp-black); margin-bottom: 6px; }
.tmg-step-desc { font-size: .78rem; color: var(--tp-grey5); line-height: 1.5; }

/* Table */
.tmg-table { width: 100%; border-collapse: collapse; margin-top: 4px; font-size: 13px; }
.tmg-table th { background: var(--tp-black); color: var(--tp-white); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 10px 12px; text-align: left; border: 1px solid #333; }
.tmg-table td { padding: 9px 12px; border: 1px solid var(--tp-grey2); vertical-align: top; font-weight: 300; color: #333; line-height: 1.5; }
.tmg-table tr:nth-child(even) td { background: var(--tp-grey1); }
.tmg-table td:first-child { font-weight: 700; color: var(--tp-black); }
.tmg-check { color: var(--tp-black); font-weight: 700; font-size: 15px; }
.tmg-dash { color: var(--tp-grey3); }

/* Notice */
.tmg-notice { border-left: 4px solid var(--tp-black); background: var(--tp-grey1); padding: 18px 22px; margin-top: 4px; }
.tmg-notice-title { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.tmg-notice p { font-size: 13px; font-weight: 300; color: #444; line-height: 1.6; }

/* Credentials */
.tmg-credentials { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--tp-grey2); margin-top: 4px; }
.tmg-cred { padding: 20px 18px; border-right: 1px solid var(--tp-grey2); text-align: center; }
.tmg-cred:last-child { border-right: none; }
.tmg-cred-val { font-size: 28px; font-weight: 900; color: var(--tp-black); line-height: 1; }
.tmg-cred-lbl { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tp-grey4); margin-top: 5px; }

/* Bullets */
.tmg-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--tp-grey2); margin-top: 4px; }
.tmg-bullet-item { padding: 12px 16px 12px 36px; border-right: 1px solid var(--tp-grey2); border-bottom: 1px solid var(--tp-grey2); font-size: 13px; font-weight: 300; color: #333; position: relative; line-height: 1.5; }
.tmg-bullet-item::before { content: '✓'; position: absolute; left: 14px; color: var(--tp-black); font-weight: 700; font-size: 11px; }

/* Contact */
.tmg-contact { background: var(--tp-black); color: var(--tp-white); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: 40px 48px; margin-top: 4px; flex-wrap: wrap; }
.tmg-contact h3 { font-size: 26px; font-weight: 900; text-transform: uppercase; margin-bottom: 8px; }
.tmg-contact p { font-size: 13px; font-weight: 300; color: #bbb; line-height: 1.6; max-width: 500px; }
.tmg-contact-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.tmg-btn { display: inline-block; background: var(--tp-white); color: var(--tp-black) !important; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 13px 30px; text-decoration: none !important; border: 2px solid var(--tp-white); transition: background .18s, color .18s; white-space: nowrap; }
.tmg-btn:hover { background: transparent; color: var(--tp-white) !important; }
.tmg-phone { font-size: 15px; font-weight: 600; color: #bbb; letter-spacing: .06em; }

/* Related */
.tmg-related { margin-top: 32px; padding-bottom: 8px; }
.tmg-related-label { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #888; border-top: 2px solid var(--tp-black); padding-top: 10px; margin-bottom: 14px; }
.tmg-related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--tp-grey2); }
.tmg-related-item { display: block; padding: 18px 16px; border-right: 1px solid var(--tp-grey2); text-decoration: none !important; transition: background .15s; }
.tmg-related-item:last-child { border-right: none; }
.tmg-related-item:hover { background: var(--tp-grey1); }
.tmg-related-title { font-size: 13px; font-weight: 700; color: var(--tp-black); margin-bottom: 4px; }
.tmg-related-desc { font-size: 11.5px; font-weight: 300; color: var(--tp-grey4); }

/* Footer */
.tmg-footer { border-top: 1px solid var(--tp-grey2); padding: 16px 0 6px; margin-top: 28px; font-size: 11px; color: #aaa; font-weight: 300; line-height: 1.7; }

@media(max-width:960px){
  .tmg-hero { grid-template-columns: 1fr; }
  .tmg-hero-panel { display: none; }
  .tmg-cards { grid-template-columns: 1fr 1fr; }
  .tmg-credentials { grid-template-columns: repeat(2,1fr); }
  .tmg-contact { grid-template-columns: 1fr; padding: 32px 24px; }
  .tmg-related-grid { grid-template-columns: repeat(2,1fr); }
  .tmg-two-col { grid-template-columns: 1fr; }
  .tmg-steps { grid-template-columns: 1fr 1fr; }
}
@media(max-width:600px){
  .tmg-hero h1 { font-size: 1.9rem; }
  .tmg-cards { grid-template-columns: 1fr; }
  .tmg-bullets { grid-template-columns: 1fr; }
  .tmg-related-grid { grid-template-columns: 1fr 1fr; }
  .tmg-steps { grid-template-columns: 1fr; }
  .tmg-body { padding: 0 20px; }
  .tmg-hero-content { padding: 36px 20px 30px; }
}
