/* AMIC sitewide Figma spec-match — recurring cross-page fixes.
 * Figma canvas tN8ZftPfIVdZqJTbwuqjee / 816:5871. Staging only
 * (guarded in amic-sitewide-qc.php: dev_amici / amici.anoram.com, all pages).
 * Covers Home, About, Products, Infrastructure, CSR, Contact.
 * Rollback: delete amic-sitewide-qc.php + amic-sitewide-qc.css from mu-plugins.
 */

/* 1. Display numbers + hero/footer watermark ("since 1971", 452+/254+/379+ counters):
 * live uses Manrope Alt w700 with negative letter-spacing; Figma = Lato 900, ls 0. */
.special-text,
.elementor-counter-number {
  font-family: "Lato", sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

/* 2. Section eyebrow labels ("About AMIC Forging Limited", "Vision & Values", etc.):
 * live renders Manrope 18/400 lh~34; Figma = Lato 18/400, lh ~21.6 (1.2), ls 0.
 * Colour left per-section (#386FB3 / #878787 as designed). */
.industrium-subheading {
  font-family: "Lato", sans-serif !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
}

/* 3. Headings: remove the global negative letter-spacing (Figma = 0 everywhere).
 * Size is left alone — .industrium-heading is used at 20/46/60px, so no blanket resize.
 * Covers both the section-head wrapper (.industrium-heading) and the Elementor heading
 * widgets (.elementor-heading-title), which carry the theme's negative tracking too. */
.industrium-heading,
.elementor-heading-title,
.elementor-icon-box-title,
.elementor-icon-box-description {
  letter-spacing: 0 !important;
}

/* 3b. Global footer (Elementor footer template — same element ids on every page).
 * Figma: brand "AMIC Forging Limited" 23px / lh 27.6; description 18px / lh 23.4;
 * "since 1971" watermark 82.6px; "© 2026…" copyright lh 23.4 (so it stays one line). */
.elementor-element-ee4a503 .elementor-heading-title {
  font-size: 23px !important;
  line-height: 27.6px !important;
}
.elementor-element-f354dc0 .elementor-heading-title,
.elementor-element-3f5aa2e .elementor-heading-title {
  line-height: 23.4px !important;
}
.elementor-element-2ba7fc5.special-text,
.elementor-element-2ba7fc5 .special-text {
  font-size: 82.6px !important;
}
/* "© 2026 AMIC Forging Limited. All rights reserved." wraps to 2 lines in a 368px
 * column; Figma is one line (~423px). Let the copyright column size to its content. */
.elementor-element-b1ca9f1,
.elementor-element-a8e13d6,
.elementor-element-3f5aa2e {
  width: auto !important;
  max-width: none !important;
}
.elementor-element-3f5aa2e .elementor-heading-title {
  white-space: nowrap !important;
}

/* 4. "Contact Us" CTA buttons: Figma Lato 18 / 700 / #000; live 14 / 500-600 / #17262F.
 * Scoped to the contact-us links so the (already-correct) form Submit button is untouched. */
a.industrium-button[href*="contact-us"] .industrium-button-text {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #000000 !important;
}
/* All button labels ("Explore More", "Contact Us", etc.): Figma is title-case with
 * line-height 21.6. The theme uppercases primary buttons and sets lh 30/38.57px. */
.industrium-button .industrium-button-text {
  text-transform: none !important;
  line-height: 21.6px !important;
}

/* 5. Primary nav (desktop >=1365): Figma 18 / #121C22 + #386FB3 active-page highlight.
 * Live (amic-staging-menu.css, loaded earlier) sets 16px / #1F2531 with no active colour. */
@media (min-width: 1365px) {
  header.header:is(.header-position-above, .sticky-header) .header-menu-container .main-menu > li > a {
    font-size: 18px !important;
    line-height: 21.6px !important;
    color: #121C22 !important;
  }
  header.header:is(.header-position-above, .sticky-header) .header-menu-container .main-menu > li.current-menu-item > a,
  header.header:is(.header-position-above, .sticky-header) .header-menu-container .main-menu > li.current_page_item > a,
  header.header:is(.header-position-above, .sticky-header) .header-menu-container .main-menu > li.current-menu-ancestor > a {
    color: #386FB3 !important;
  }
}
