/* ================================================================
   TMG AvSim Service Page — The Mantua Group Pty Ltd
   All rules scoped to .tmg-av to prevent theme conflicts
================================================================ */

.tmg-av {
  --rc-white:   #FFFFFF;
  --rc-black:   #111111;
  --rc-grey1:   #F4F4F4;
  --rc-grey2:   #E8E8E8;
  --rc-grey3:   #CCCCCC;
  --rc-grey4:   #888888;
  --rc-grey5:   #555555;
  --rc-accent:  #111111;
  --rc-rule:    #DDDDDD;

  font-family: 'Lato', sans-serif;
  color: var(--rc-black);
  background: var(--rc-white);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
  box-sizing: border-box;
  line-height: 1.65;
}

.tmg-av *, .tmg-av *::before, .tmg-av *::after {
  box-sizing: border-box;
}

/* ── Hero ──────────────────────────────────────────────── */
.tmg-av-hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  padding: 52px 0 52px;
  border-bottom: 2px solid var(--rc-black);
  margin-bottom: 56px;
}

.tmg-av-hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rc-grey4);
  margin-bottom: 14px;
}

.tmg-av-hero h1 {
  font-family: 'Lato', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--rc-black);
  margin: 0 0 10px;
}

.tmg-av-hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--rc-grey5);
  margin-bottom: 28px;
  line-height: 1.6;
}

.tmg-av-hero-bullets {
  list-style: none;
  padding: 0; margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.tmg-av-hero-bullets li {
  font-size: .88rem;
  color: var(--rc-grey5);
  padding-left: 18px;
  position: relative;
}

.tmg-av-hero-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--rc-black);
  font-weight: 700;
}

.tmg-av-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.tmg-av-btn {
  display: inline-block;
  padding: 11px 26px;
  font-family: 'Lato', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background .15s, color .15s, border-color .15s;
  cursor: pointer;
  border: 2px solid var(--rc-black);
}

.tmg-av-btn-primary {
  background: var(--rc-black);
  color: var(--rc-white);
}

.tmg-av-btn-primary:hover {
  background: var(--rc-grey5);
  border-color: var(--rc-grey5);
  color: var(--rc-white);
}

.tmg-av-btn-outline {
  background: transparent;
  color: var(--rc-black);
}

.tmg-av-btn-outline:hover {
  background: var(--rc-black);
  color: var(--rc-white);
}

/* Hero badge panel */
.tmg-av-hero-panel {
  background: var(--rc-grey1);
  border: 1px solid var(--rc-grey2);
  border-top: 4px solid var(--rc-black);
  border-radius: 2px;
  padding: 32px 28px;
}

.tmg-av-hero-panel-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rc-grey4);
  margin-bottom: 20px;
}

.tmg-av-standards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tmg-av-standard-tag {
  display: inline-block;
  background: var(--rc-white);
  border: 1px solid var(--rc-grey2);
  border-left: 3px solid var(--rc-black);
  padding: 8px 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  color: var(--rc-grey5);
  border-radius: 1px;
}

/* ── Section headings ────────────────────────────────── */
.tmg-av-section {
  margin-bottom: 56px;
}

.tmg-av-section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rc-grey4);
  margin-bottom: 10px;
}

.tmg-av-section h2 {
  font-family: 'Lato', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--rc-black);
  margin: 0 0 8px;
  letter-spacing: -.01em;
}

.tmg-av-section-intro {
  font-size: .95rem;
  color: var(--rc-grey5);
  max-width: 660px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.tmg-av-divider {
  border: none;
  border-top: 1px solid var(--rc-rule);
  margin: 0 0 36px;
}

/* ── Feature cards ───────────────────────────────────── */
.tmg-av-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tmg-av-card {
  background: var(--rc-grey1);
  border: 1px solid var(--rc-grey2);
  border-top: 3px solid var(--rc-black);
  border-radius: 2px;
  padding: 28px 24px;
}

.tmg-av-card-icon {
  font-size: 1.4rem;
  margin-bottom: 14px;
  line-height: 1;
}

.tmg-av-card h3 {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--rc-black);
  margin: 0 0 10px;
  letter-spacing: .01em;
}

.tmg-av-card p {
  font-size: .875rem;
  color: var(--rc-grey5);
  line-height: 1.65;
  margin: 0;
}

/* ── Credentials strip ──────────────────────────────── */
.tmg-av-credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rc-grey2);
  border: 1px solid var(--rc-grey2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 56px;
}

.tmg-av-cred {
  background: var(--rc-white);
  padding: 28px 22px;
  text-align: center;
}

.tmg-av-cred-num {
  font-family: 'Lato', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--rc-black);
  line-height: 1;
  margin-bottom: 6px;
}

.tmg-av-cred-lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rc-grey4);
  line-height: 1.4;
}

/* ── Standards compliance bar ───────────────────────── */
.tmg-av-standards-bar {
  background: var(--rc-black);
  color: var(--rc-white);
  border-radius: 2px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.tmg-av-standards-bar-lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rc-grey3);
  flex-shrink: 0;
  min-width: 110px;
}

.tmg-av-std-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tmg-av-std-tag {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 2px;
  padding: 4px 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .7rem;
  color: var(--rc-white);
  letter-spacing: .06em;
}

/* ── Two-col layout ─────────────────────────────────── */
.tmg-av-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.tmg-av-two-col h3 {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rc-black);
  margin: 0 0 10px;
}

.tmg-av-two-col p {
  font-size: .9rem;
  color: var(--rc-grey5);
  line-height: 1.7;
  margin: 0 0 18px;
}

/* ── Contact section ────────────────────────────────── */
.tmg-av-contact {
  background: var(--rc-grey1);
  border: 1px solid var(--rc-grey2);
  border-top: 4px solid var(--rc-black);
  border-radius: 2px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.tmg-av-contact h2 {
  font-family: 'Lato', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--rc-black);
  margin: 0 0 12px;
}

.tmg-av-contact-intro {
  font-size: .9rem;
  color: var(--rc-grey5);
  line-height: 1.7;
  margin-bottom: 24px;
}

.tmg-av-contact-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tmg-av-contact-item {
  border-left: 2px solid var(--rc-black);
  padding-left: 14px;
}

.tmg-av-contact-item-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rc-grey4);
  margin-bottom: 4px;
}

.tmg-av-contact-item-value {
  font-size: .88rem;
  color: var(--rc-black);
  font-weight: 400;
  line-height: 1.5;
}

.tmg-av-contact-item-value a {
  color: var(--rc-black);
  text-decoration: none;
  border-bottom: 1px solid var(--rc-grey3);
  transition: border-color .15s;
}

.tmg-av-contact-item-value a:hover {
  border-color: var(--rc-black);
}

/* ── Related services strip ─────────────────────────── */
.tmg-av-related {
  border-top: 1px solid var(--rc-rule);
  padding-top: 36px;
}

.tmg-av-related-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rc-grey4);
  margin-bottom: 20px;
}

.tmg-av-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tmg-av-related-item {
  display: block;
  text-decoration: none;
  background: var(--rc-white);
  border: 1px solid var(--rc-grey2);
  border-radius: 2px;
  padding: 18px 16px;
  transition: border-color .15s, background .15s;
}

.tmg-av-related-item:hover {
  border-color: var(--rc-black);
  background: var(--rc-grey1);
}

.tmg-av-related-item-title {
  font-family: 'Lato', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--rc-black);
  margin-bottom: 5px;
}

.tmg-av-related-item-desc {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .6rem;
  color: var(--rc-grey4);
  letter-spacing: .04em;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 960px) {
  .tmg-av-hero         { grid-template-columns: 1fr; }
  .tmg-av-hero-panel   { display: none; }
  .tmg-av-cards        { grid-template-columns: 1fr 1fr; }
  .tmg-av-credentials  { grid-template-columns: repeat(2, 1fr); }
  .tmg-av-contact      { grid-template-columns: 1fr; padding: 32px 24px; }
  .tmg-av-related-grid { grid-template-columns: repeat(2, 1fr); }
  .tmg-av-two-col      { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 600px) {
  .tmg-av-hero h1      { font-size: 1.9rem; }
  .tmg-av-cards        { grid-template-columns: 1fr; }
  .tmg-av-hero-bullets { grid-template-columns: 1fr; }
  .tmg-av-credentials  { grid-template-columns: repeat(2, 1fr); }
  .tmg-av-related-grid { grid-template-columns: 1fr 1fr; }
}
