/* ==========================================================================
   MK Food Safety & Operational Excellence — brand override layer.

   Loaded AFTER the vendor main.css so it wins on specificity/order. We keep the
   Bexon template's structure and component CSS, and only re-skin it to the logo
   palette:  navy #01265A (trust / headers / footer / dark bands)  +
             green #58862C (accent / buttons / icons / highlights).

   The template is ~99% tokenised (var(--tj-color-theme-primary) used 287x), so
   re-pointing the :root tokens recolours almost everything. The rest is a small
   set of targeted rules below.
   ========================================================================== */

:root {
  /* Accent → brand green */
  --tj-color-theme-primary: #58862c;
  --tj-color-theme-primary-2: #4a7325;
  --tj-color-border-5: rgba(88, 134, 44, 0.18);

  /* Dark / trust surfaces → brand navy */
  --tj-color-heading-primary: #01265a;
  --tj-color-theme-dark: #01265a;
  --tj-color-theme-dark-2: #021c44;
  --tj-color-theme-dark-3: #3a4a5a;
  --tj-color-theme-bg-3: #062a5e;

  /* Light neutrals */
  --tj-color-theme-bg: #eef2f7;
  --tj-color-theme-bg-2: #e7eef6;
  --tj-color-grey-1: #f5f7fa;
  --tj-color-text-body: #4a5562;
  --tj-color-border-1: #d7dde6;
}

/* A couple of hardcoded teal/dark spots the tokens don't reach */
.tj-slider-item { background-color: #01265a; }

/* Brand colour helpers */
:root {
  --mk-navy: #01265a;
  --mk-navy-2: #02224f;
  --mk-green: #58862c;
  --mk-green-2: #4a7325;
}

/* ------------------------------------------------------------------ Header */
/* Header behaves like the original demo: the absolute (top) header is a floating
   SEMI-TRANSPARENT navy overlay on the first section (the navy hero / navy
   page-banner provides the backdrop white text needs). The visible bar in
   main.css is `.header-wrapper` (painted white at 0,3,0) — recolour it there. */
.header-area,
.header-area.header-1 {
  background-color: transparent;
  box-shadow: none;
}
.header-area.header-1.header-absolute {
  top: 22px;
}
.tj-slider-section.mk-hero {
  margin-top: 22px;
}
.tj-page-header {
  margin-top: 22px;
}
.header-area.header-1 .header-wrapper {
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-radius: 14px;
}
/* Drop the gap that pushed the first section below the header, so it overlays. */
.space-for-header {
  padding-top: 0;
}
/* Sticky (scroll-up) header floats over normal content → solid navy, flush top.
   Placed AFTER the translucent rule so it wins for the sticky instance. */
.header-area.sticky .header-wrapper {
  background-color: var(--mk-navy);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-radius: 0 0 12px 12px;
}
.header-area.sticky {
  box-shadow: 0 8px 28px rgba(1, 38, 90, 0.28);
}
.header-area .mainmenu > ul > li > a { color: #ffffff; }
.header-area .mainmenu > ul > li > a:hover,
.header-area .mainmenu > ul > li.active > a { color: var(--mk-green); }
.header-area .header-search .search,
.header-area .header-search .search_close_btn { color: #ffffff; }
.header-area .menu_bar span { background-color: #ffffff; }

/* Brand wordmark lockup in the logo slot */
.site_logo .logo.mk-logo,
.hamburger_logo .logo.mk-logo,
.footer-logo .logo.mk-logo { display: inline-flex; align-items: center; gap: 11px; max-width: none; }
.mk-logo { display: inline-flex; align-items: center; gap: 11px; }
.mk-logo .mk-logo-mark { height: 42px; width: auto; flex: 0 0 auto; }
.mk-logo .mk-logo-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.12; }
.mk-logo .mk-logo-name {
  font-family: var(--tj-ff-heading);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #ffffff;
}
.mk-logo .mk-logo-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--mk-green);
}
@media (max-width: 575px) {
  .mk-logo .mk-logo-text { display: none; }
}
/* Light wordmark on dark surfaces already (footer keeps white name/green sub) */
.mk-logo--footer .mk-logo-name { color: #ffffff; }

/* --------------------------------------------------------------- Buttons */
.tj-primary-btn { background-color: var(--mk-green); }
.tj-primary-btn:hover { background-color: var(--mk-navy); }
/* secondary/ghost button used for the hero's "View Services" CTA */
.tj-primary-btn.btn-outline {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.65);
}
.tj-primary-btn.btn-outline:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--mk-navy);
}
.tj-primary-btn.btn-outline .btn-text span,
.tj-primary-btn.btn-outline .btn-icon i { color: #ffffff; }
.tj-primary-btn.btn-outline:hover .btn-text span,
.tj-primary-btn.btn-outline:hover .btn-icon i { color: var(--mk-navy); }

/* --------------------------------------------------------------- Footer */
.tj-footer-section.footer-1 { background-color: var(--mk-navy); }
.tj-footer-section.footer-1 .footer-text p,
.tj-footer-section.footer-1 .widget-nav-menu ul li a,
.tj-footer-section.footer-1 .copyright-text p,
.tj-footer-section.footer-1 .footer-contact ul li a { color: rgba(255, 255, 255, 0.78); }
.tj-footer-section.footer-1 .footer-widget .title,
.tj-footer-section.footer-1 .widget-subscribe .title { color: #ffffff; }
.tj-footer-section.footer-1 .widget-nav-menu ul li a:hover,
.tj-footer-section.footer-1 .footer-contact ul li a:hover { color: var(--mk-green); }
.tj-footer-section.footer-1 .copyright-content-area,
.tj-footer-section.footer-1 .tj-copyright-area { border-color: rgba(255, 255, 255, 0.12); }
.tj-footer-section.footer-1 .social-links ul li a {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}
.tj-footer-section.footer-1 .social-links ul li a:hover {
  background-color: var(--mk-green);
  border-color: var(--mk-green);
}
.tj-footer-section.footer-1 .subscribe-form input {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}
.tj-footer-section.footer-1 .subscribe-form input::placeholder { color: rgba(255, 255, 255, 0.55); }
.tj-footer-section.footer-1 .subscribe-form label { color: rgba(255, 255, 255, 0.7); }

/* ----------------------------------------------------------- Hero (Hero2) */
.mk-hero .slider-bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(1, 38, 90, 0.92) 0%, rgba(1, 38, 90, 0.62) 48%, rgba(1, 38, 90, 0.28) 100%);
}
.mk-hero .tj-slider-item .slider-wrapper { position: relative; padding: 220px 0 150px; }
.mk-hero .slider-content { position: relative; z-index: 2; max-width: 760px; }
.mk-hero .slider-title,
.mk-hero .slider-desc { color: #ffffff; }
.mk-hero .slider-content .slider-title {
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: -1.4px;
}
.mk-hero .slider-title span { color: var(--mk-green); }
.mk-hero .slider-desc { max-width: 620px; opacity: 0.92; }
.mk-hero .slider-btn { display: inline-flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* Hero eyebrow — small uppercase tagline above the headline */
.mk-hero .mk-hero-eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mk-green);
}
.mk-hero .mk-hero-eyebrow span { color: #ffffff; font-weight: 700; }

/* Hero closing value line — punchy accent line above the CTAs */
.mk-hero .mk-hero-valueline {
  margin: 30px 0 4px;
  font-family: var(--tj-ff-heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
}

/* Hero experience badge — translucent grayscale circle (à la Bexon "Explore
   More"), pinned to the right of the hero, level with the standards tags. */
.mk-hero-badge {
  position: absolute;
  right: 0;
  top: 58%;
  transform: translateY(-50%);
  z-index: 2;
  width: 184px;
  height: 184px;
  border-radius: 50%;
  padding: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}
.mk-hero-badge .mk-hero-badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 18px 16px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.3);
}
.mk-hero-badge .tji-award { color: rgba(255, 255, 255, 0.85); font-size: 24px; line-height: 1; }
.mk-hero-badge .mk-hero-badge-num {
  margin-top: 6px;
  font-family: var(--tj-ff-heading);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
}
.mk-hero-badge .mk-hero-badge-text {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.32;
  color: rgba(255, 255, 255, 0.82);
}

/* Hero trust badges */
.mk-trust-badges {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.mk-trust-badges .mk-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
}
.mk-trust-badges .mk-badge i { color: var(--mk-green); font-size: 15px; }

/* ----------------------------------------- Generic icon-card sections (MK) */
.mk-section { padding: 110px 0; position: relative; }
.mk-section.mk-section--tight { padding: 90px 0; }
.mk-section--light { background-color: var(--mk-navy); }
.mk-section--neutral { background-color: #f5f7fa; }

/* Why-choose / feature card recolour (uses template .choose-box) */
.choose-box .choose-icon i { color: var(--mk-green); }

/* "Why Choose MK" navy trust band — copy + two-column differentiators list */
.mk-why .desc { color: rgba(255, 255, 255, 0.8); }
.mk-why .desc + .desc { margin-top: 16px; }
.mk-why-btn { margin-top: 30px; }
.mk-why .mk-why-list { margin-bottom: 0; }
.mk-why .mk-why-list li {
  color: rgba(255, 255, 255, 0.9);
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 16px;
  padding-right: 18px;
  line-height: 1.5;
}
.mk-why .mk-why-list li i { color: var(--mk-green); font-size: 13px; margin-top: 7px; }
@media (max-width: 991px) {
  /* Right-hand list drops below the copy → give it breathing room */
  .mk-why .col-lg-7 { margin-top: 14px; }
}
@media (max-width: 767px) {
  .mk-why .mk-why-list li { margin-bottom: 13px; padding-right: 0; }
}

/* Service icon cards (Services page + home) */
.mk-icard {
  height: 100%;
  background: #ffffff;
  border: 1px solid #e7ecf3;
  border-radius: 16px;
  padding: 36px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.mk-icard:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(1, 38, 90, 0.12);
  border-color: rgba(88, 134, 44, 0.4);
}
.mk-icard .mk-icard-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(88, 134, 44, 0.1);
  color: var(--mk-green);
  font-size: 28px;
  margin-bottom: 22px;
}
.mk-icard h4 { color: var(--mk-navy); margin-bottom: 12px; font-size: 21px; }
.mk-icard h4 a { color: inherit; }
.mk-icard h4 a:hover { color: var(--mk-green); }
.mk-icard p { margin: 0 0 18px; color: var(--tj-color-text-body); }
.mk-icard .mk-icard-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--mk-green);
}
.mk-icard .mk-icard-link i { transition: transform 0.25s ease; }
.mk-icard:hover .mk-icard-link i { transform: translateX(4px); }

/* Process — numbered steps */
.mk-process .mk-step {
  height: 100%;
  position: relative;
  background: #ffffff;
  border: 1px solid #e7ecf3;
  border-radius: 16px;
  padding: 40px 28px 32px;
  text-align: center;
}
.mk-process .mk-step-num {
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mk-navy);
  color: #ffffff;
  font-weight: 800;
  font-size: 22px;
}
.mk-process .mk-step-icon { color: var(--mk-green); font-size: 30px; margin-bottom: 14px; }
.mk-process .mk-step h4 { color: var(--mk-navy); font-size: 20px; margin-bottom: 10px; }
.mk-process .mk-step p { color: var(--tj-color-text-body); margin: 0; font-size: 15px; }
.mk-process .mk-step-connector { display: none; }
@media (min-width: 992px) {
  .mk-process .mk-step::after {
    content: "";
    position: absolute;
    top: 70px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--mk-green) 0 6px, transparent 6px 12px);
  }
  .mk-process .col-lg-3:last-child .mk-step::after { display: none; }
}

/* Industries cards */
.mk-industry {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  border: 1px solid #e7ecf3;
  border-radius: 14px;
  padding: 24px 26px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.mk-industry:hover { border-color: rgba(88, 134, 44, 0.45); box-shadow: 0 16px 36px rgba(1, 38, 90, 0.1); }
.mk-industry .mk-industry-icon {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--mk-navy);
  color: #ffffff;
  font-size: 26px;
}
.mk-industry h5 { color: var(--mk-navy); margin: 0 0 4px; font-size: 18px; }
.mk-industry p { color: var(--tj-color-text-body); margin: 0; font-size: 14px; }

/* Regulatory & standards expertise — centered pill strip on a light band */
.mk-standards .mk-standards-lead { max-width: 680px; margin: -6px auto 0; }
.mk-standards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 920px;
  margin: 44px auto 0;
}
.mk-standard-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mk-navy);
  background: #ffffff;
  border: 1px solid #dbe3ee;
  box-shadow: 0 4px 14px rgba(1, 38, 90, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mk-standard-pill i { color: var(--mk-green); font-size: 13px; }
.mk-standard-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 134, 44, 0.5);
  box-shadow: 0 10px 24px rgba(1, 38, 90, 0.1);
}
@media (max-width: 767px) {
  .mk-standards-grid { gap: 9px; margin-top: 32px; }
  .mk-standard-pill { font-size: 13px; padding: 9px 15px; }
}

/* "Who We Work With" — centered icon tiles (client profiles / scenarios) */
.mk-who-tile {
  height: 100%;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e7ecf3;
  border-radius: 16px;
  padding: 32px 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.mk-who-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(88, 134, 44, 0.45);
  box-shadow: 0 16px 36px rgba(1, 38, 90, 0.1);
}
.mk-who-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(88, 134, 44, 0.1);
  color: var(--mk-green);
  font-size: 26px;
}
.mk-who-tile h5 {
  color: var(--mk-navy);
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .mk-who-tile { padding: 26px 18px; }
  .mk-who-icon { width: 56px; height: 56px; font-size: 23px; margin-bottom: 14px; }
}

/* Generic ListSection — shared heading lead + checklist spacing */
.mk-listsec-lead { max-width: 720px; margin: -6px auto 0; }
.mk-listsec-cols { max-width: 940px; margin: 44px auto 0; }
.mk-listsec .list-items { margin-bottom: 0; }
.mk-listsec .list-items li {
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 15px;
  padding-right: 22px;
  line-height: 1.5;
  font-size: 16px;
  color: var(--tj-color-text-body);
}
.mk-listsec .list-items li i { color: var(--mk-green); font-size: 13px; margin-top: 7px; }
/* Icon cards in a ListSection are title-only → drop the trailing heading margin */
.mk-listsec .mk-icard h4 { margin-bottom: 0; }
/* Dark band variant (navy): white heading copy + list text */
.mk-section--light .desc { color: rgba(255, 255, 255, 0.82); }
.mk-listsec--dark .list-items li { color: rgba(255, 255, 255, 0.9); }
@media (max-width: 767px) {
  .mk-listsec-cols { margin-top: 30px; }
  .mk-listsec .list-items li { padding-right: 0; margin-bottom: 12px; font-size: 15px; }
}

/* Section eyebrow + accent word already green via tokens; ensure on dark too */
.mk-section--light .sec-title,
.mk-section--light .sec-title.text-white { color: #ffffff; }
.mk-section--light .sub-title { color: var(--mk-green); }

/* Testimonial: role-only attribution (no fabricated faces) */
.testimonial-item .author-img.mk-initial {
  background: rgba(88, 134, 44, 0.12);
  color: var(--mk-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
}

/* Page banner → navy wash over the food-plant photo */
.tj-page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 38, 90, 0.86), rgba(1, 38, 90, 0.78));
  z-index: 0;
}
.tj-page-header > .container { position: relative; z-index: 1; }
.tj-page-header .tj-page-title,
.tj-page-header .tj-page-link span,
.tj-page-header .tj-page-link a { color: #ffffff; }
.tj-page-header .tj-page-link a:hover { color: var(--mk-green); }

/* Contact section (navy) — light info column */
.mk-contact-info .mk-contact-lead { color: rgba(255, 255, 255, 0.82); margin: 8px 0 28px; max-width: 460px; }
.mk-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.mk-contact-list li { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, 0.9); }
.mk-contact-list li a { color: rgba(255, 255, 255, 0.9); }
.mk-contact-list li a:hover { color: var(--mk-green); }
.mk-contact-list .icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--mk-green);
  font-size: 18px;
}

/* Reassurance note under contact form */
.mk-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
  font-size: 14px;
  color: var(--tj-color-text-body);
}
.mk-note i { color: var(--mk-green); font-size: 18px; margin-top: 2px; }

/* ==========================================================================
   Mobile refinements — menu visibility, tighter edges, smaller type.
   ========================================================================== */

/* --- Off-canvas mobile menu links ---------------------------------------
   Our React MobileMenu renders `.mobile_menu .mainmenu` markup (NOT the vendor's
   legacy meanmenu.js `.mean-nav` markup), so the template's white-link rule
   `.hamburger_menu .mean-nav ul li a { color:white }` never matched — the links
   inherited the dark body colour and were near-invisible on the navy panel
   (see the rebrand screenshot). Re-style the markup we actually render. */
.hamburger_menu .mobile_menu .mainmenu ul { margin: 0; padding: 0; list-style: none; }
.hamburger_menu .mobile_menu .mainmenu > ul > li {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.hamburger_menu .mobile_menu .mainmenu li a {
  display: block;
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 14px 0;
  transition: color 0.25s ease;
}
.hamburger_menu .mobile_menu .mainmenu li a:hover,
.hamburger_menu .mobile_menu .mainmenu li.active > a { color: var(--mk-green); }
.hamburger_menu .mobile_menu .mainmenu .mean-expand {
  position: absolute;
  top: 7px;
  right: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
}
.hamburger_menu .mobile_menu .mainmenu .mean-expand:hover {
  background: var(--mk-green);
  border-color: var(--mk-green);
}
.hamburger_menu .mobile_menu .mainmenu .sub-menu { padding-left: 14px; }
.hamburger_menu .mobile_menu .mainmenu .sub-menu li { border-bottom: 0; }
.hamburger_menu .mobile_menu .mainmenu .sub-menu a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 11px 0;
}
.hamburger_menu .mobile_menu .mainmenu .sub-menu .badge { margin-left: 8px; }

/* Light up the contact info + socials block at the foot of the panel too */
.hamburger-infos .contact-item a,
.hamburger-infos .contact-item .text { color: rgba(255, 255, 255, 0.9); }
.hamburger-infos .contact-item .icon { color: var(--mk-green); }
.hamburger-infos .contact-item a:hover .text { color: var(--mk-green); }

/* Trim the off-canvas panel padding on the smallest screens */
@media (max-width: 575px) {
  .hamburger_wrapper { padding: 28px 22px; }
}

/* --- Tablet & down: lighter vertical rhythm ------------------------------ */
@media (max-width: 991px) {
  .mk-section { padding: 76px 0; }
  .mk-section.mk-section--tight { padding: 62px 0; }

  /* Badge no longer fits beside the copy → flow it below, left-aligned */
  .mk-hero-badge {
    position: static;
    transform: none;
    margin: 40px 0 0;
    width: 168px;
    height: 168px;
  }
  .mk-hero-badge .mk-hero-badge-num { font-size: 23px; }
}

/* --- Phones (≤767): tighter edges + smaller type ------------------------- */
@media (max-width: 767px) {
  /* Pull content closer to the screen edges (was ~12px container gutter) */
  .container,
  .container-fluid { padding-left: 16px; padding-right: 16px; }

  .mk-section { padding: 56px 0; }
  .mk-section.mk-section--tight { padding: 46px 0; }

  /* Hero: less top push, smaller headline/body/badges */
  .header-area.header-1.header-absolute { top: 12px; }
  .tj-slider-section.mk-hero { margin-top: 12px; }
  .tj-page-header { margin-top: 12px; }
  .mk-hero .tj-slider-item .slider-wrapper { padding: 130px 0 90px; }
  .tj-slider-item .slider-content .slider-title {
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -1px;
  }
  .tj-slider-item .slider-content .slider-desc { font-size: 15px; }
  .mk-hero .mk-hero-eyebrow { font-size: 11px; letter-spacing: 0.12em; gap: 5px 8px; margin-bottom: 14px; }
  .mk-hero .mk-hero-valueline { font-size: 15px; margin-top: 24px; }
  .mk-trust-badges { gap: 8px; margin-top: 26px; }
  .mk-trust-badges .mk-badge { font-size: 12px; padding: 7px 13px; }
  .mk-hero-badge { margin-top: 32px; width: 150px; height: 150px; }
  .mk-hero-badge .mk-hero-badge-num { font-size: 21px; }
  .mk-hero-badge .mk-hero-badge-text { font-size: 10px; }

  /* Section headings a notch smaller */
  .sec-heading .sec-title { font-size: 28px; line-height: 1.2; }

  /* Cards: less internal padding so copy isn't doubly inset from the edge */
  .mk-icard { padding: 26px 22px; }
  .mk-icard h4 { font-size: 19px; }
  .mk-icard .mk-icard-icon { width: 56px; height: 56px; font-size: 24px; margin-bottom: 18px; }
  .mk-process .mk-step { padding: 32px 22px 26px; }
  .mk-process .mk-step h4 { font-size: 18px; }
  .mk-industry { padding: 18px; gap: 14px; }
  .mk-industry .mk-industry-icon { width: 50px; height: 50px; font-size: 22px; }
}

/* --- Small phones (≤575): one more step down ----------------------------- */
@media (max-width: 575px) {
  .container,
  .container-fluid { padding-left: 14px; padding-right: 14px; }
  .tj-slider-item .slider-content .slider-title { font-size: 32px; }
  .sec-heading .sec-title { font-size: 24px; }
  .mk-icard { padding: 24px 20px; }
}
