/*
Theme Name: Astra Child
Template: astra
*/

/* ===== MMI-WS Global CSS ===== */

:root {
  --black: #0a0a0a;
  --charcoal: #111416;
  --steel: #161c20;
  --silver: #9ca3af;
  --silver-light: #d1d5db;
  --white: #f0f4f8;
  --blue: #1a7fc4;
  --blue-bright: #2d9de0;
  --blue-ice: #4db8e8;
}

/* ===== GLOBAL ===== */

body,
.ast-site-content-wrap,
#page,
.site {
  background-color: #0a0a0a !important;
  color: #d1d5db !important;
  cursor: crosshair;
}

h1, h2, h3, h4, h5, h6,
.entry-title, .ast-blog-post-title {
  color: #f0f4f8 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

a { color: #4db8e8 !important; }
a:hover { color: #2d9de0 !important; }

.ast-button,
.wp-block-button__link,
button[type="submit"] {
  background: #1a7fc4 !important;
  color: #f0f4f8 !important;
  border: none !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.ast-button:hover,
.wp-block-button__link:hover {
  background: #2d9de0 !important;
}

/* ===== HEADER ===== */

.site-header,
#masthead,
.ast-primary-header-bar {
  position: fixed !important;
  top: 0;
  width: 100%;
  z-index: 999;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95), transparent) !important;
  border-bottom: 1px solid rgba(26,127,196,0.15) !important;
  padding: 8px 0 !important;
}

.main-navigation a,
.ast-header-break-point .main-navigation a,
#site-navigation a {
  color: #9ca3af !important;
}
.main-navigation a:hover,
#site-navigation a:hover {
  color: #f0f4f8 !important;
}
.main-navigation .current-menu-item > a,
#site-navigation .current-menu-item > a {
  color: #f0f4f8 !important;
}

.site-title, .ast-site-title,
.site-description, .ast-site-description {
  display: none !important;
}

/* ===== FOOTER ===== */

.site-footer,
#colophon {
  background-color: #0a0a0a !important;
  border-top: 1px solid #1e2a32 !important;
  color: #9ca3af !important;
}

/* ===== PAGE ===== */

.entry-header, .page-header, .ast-page-title {
  display: none !important;
}

#page {
  padding-top: 0 !important;
}

/* ===== HERO SECTION ===== */

.mmi-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 60px 80px;
  position: relative;
  overflow: hidden;
}

.mmi-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.35) brightness(0.55);
}

.mmi-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(10,10,10,0.93) 30%, rgba(10,10,10,0.45) 65%, rgba(10,10,10,0.6) 100%),
    linear-gradient(to bottom, rgba(10,10,10,0.5) 0%, transparent 15%, transparent 80%, rgba(10,10,10,0.8) 100%);
}

.mmi-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.mmi-hero-kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 6px;
  color: #4db8e8 !important;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  top: 5px;
  z-index: 3;
  animation: mmiFadeUp 0.8s ease 0.2s both;
}

.mmi-hero-kicker::before {
  content: '';
  width: 40px; height: 1px;
  background: #4db8e8;
  flex-shrink: 0;
}

.mmi-hero-headline {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: clamp(72px, 10vw, 140px) !important;
  line-height: 0.9 !important;
  letter-spacing: -1px !important;
  margin-bottom: 32px;
  max-width: 720px;
  position: relative;
  z-index: 3;
  animation: mmiFadeUp 0.8s ease 0.4s both;
  text-transform: uppercase;
}

.mmi-hero-headline .mmi-accent {
  color: #4db8e8 !important;
  display: block;
}

.mmi-hero-headline .mmi-outline {
  -webkit-text-stroke: 1px rgba(255,255,255,0.25);
  color: transparent !important;
  display: block;
}

.mmi-hero-headline span:not(.mmi-accent):not(.mmi-outline) {
  display: block;
  color: #f0f4f8;
}

.mmi-hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #9ca3af !important;
  max-width: 420px;
  margin-bottom: 48px;
  position: relative;
  z-index: 3;
  animation: mmiFadeUp 0.8s ease 0.6s both;
}

.mmi-hero-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 3;
  animation: mmiFadeUp 0.8s ease 0.8s both;
}

.mmi-btn-primary {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: #1a7fc4 !important;
  color: #f0f4f8 !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none !important;
  clip-path: polygon(0 0, 92% 0, 100% 25%, 100% 100%, 8% 100%, 0 75%);
  transition: background 0.2s;
}

.mmi-btn-primary:hover {
  background: #2d9de0 !important;
  color: #f0f4f8 !important;
}

.mmi-btn-ghost {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9ca3af !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.mmi-btn-ghost:hover { color: #f0f4f8 !important; }

.mmi-hero-stats {
  position: absolute;
  right: 60px; bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 3;
  animation: mmiFadeUp 0.8s ease 1s both;
}

.mmi-stat { text-align: right; }

.mmi-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  color: #4db8e8;
  line-height: 1;
}

.mmi-stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: #9ca3af;
  text-transform: uppercase;
}

.mmi-hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  color: #9ca3af;
  text-transform: uppercase;
  z-index: 3;
  animation: mmiFadeUp 1s ease 1.2s both;
}

.mmi-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, #4db8e8, transparent);
  animation: mmiScrollPulse 2s ease infinite;
}

/* ===== MARQUEE ===== */

.mmi-marquee-strip {
  background: #1a7fc4;
  padding: 16px 0;
  overflow: hidden;
}

.mmi-marquee-track {
  display: flex;
  gap: 60px;
  animation: mmiMarquee 25s linear infinite;
  white-space: nowrap;
}

.mmi-marquee-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.7) !important;
  display: flex;
  align-items: center;
  gap: 60px;
  flex-shrink: 0;
  text-decoration: none !important;
}

.mmi-marquee-item::after { content: '◆'; font-size: 8px; opacity: 0.4; }

/* ===== ANIMATIONS ===== */

@keyframes mmiFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mmiScrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes mmiMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== PAGE HERO (inner pages) ===== */

.page-hero {
  padding: 120px 60px 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(26,127,196,0.15);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.breadcrumb {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 4px; color: #9ca3af;
  text-transform: uppercase; margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
}
.breadcrumb a {
  color: #9ca3af !important;
  text-decoration: none !important;
}
.breadcrumb a:hover { color: #f0f4f8 !important; }
.breadcrumb-sep { color: #161c20; }
.page-headline {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: clamp(60px, 9vw, 120px) !important;
  line-height: 0.9 !important;
  letter-spacing: -1px !important;
  max-width: 700px;
  position: relative; z-index: 2;
}
.page-headline .accent { color: #4db8e8 !important; }
.page-subtitle {
  font-size: 16px; line-height: 1.7; color: #9ca3af !important;
  max-width: 500px; margin-top: 28px; position: relative; z-index: 2;
}

/* ===== SECTION SHARED ===== */

.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 5px; color: #4db8e8 !important;
  text-transform: uppercase; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.section-tag::before { content: ''; width: 24px; height: 1px; background: #4db8e8; }
.section-headline {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: clamp(36px, 4vw, 56px) !important;
  line-height: 1 !important;
  margin-bottom: 28px;
}
.body-text {
  font-size: 16px; line-height: 1.8; color: #9ca3af !important; margin-bottom: 20px;
}

/* ===== MISSION ===== */

.mission {
  padding: 100px 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  background: #111416;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  width: 100%; max-width: none !important; box-sizing: border-box;
}
.mission-values { display: flex; flex-direction: column; gap: 2px; }
.value-row {
  background: #161c20; padding: 24px 28px;
  display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: center;
  border-left: 3px solid transparent; transition: border-color 0.3s;
}
.value-row:hover { border-color: #4db8e8; }
.value-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; color: #4db8e8; opacity: 0.5; line-height: 1;
}
.value-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 4px; color: #f0f4f8 !important;
}
.value-desc { font-size: 14px; color: #9ca3af !important; line-height: 1.5; }

/* ===== CAPABILITIES ===== */

.capabilities {
  padding: 100px 60px; background: #0a0a0a;
  width: 100%; max-width: none !important; box-sizing: border-box;
}
.capabilities-header { margin-bottom: 60px; display: flex; justify-content: space-between; align-items: flex-end; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.cap-card {
  background: #111416; padding: 40px 32px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  position: relative; overflow: hidden;
}
.cap-card:hover { border-color: #4db8e8; background: #161c20; }
.cap-icon {
  width: 48px; height: 48px;
  border: 1px solid rgba(77,184,232,0.3);
  display: grid; place-items: center; margin-bottom: 24px;
}
.cap-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 12px; color: #f0f4f8 !important;
}
.cap-desc { font-size: 15px; color: #9ca3af !important; line-height: 1.7; }

/* ===== CERTIFICATIONS ===== */

.certifications {
  padding: 80px 60px; background: #111416;
  border-top: 1px solid rgba(26,127,196,0.15);
  width: 100%; max-width: none !important; box-sizing: border-box;
}
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 48px; }
.cert-card { background: #161c20; padding: 36px 28px; text-align: center; transition: background 0.3s; }
.cert-card:hover { background: #0a0a0a; }
.cert-badge {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px; color: #4db8e8; letter-spacing: 2px; margin-bottom: 12px;
}
.cert-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 8px; color: #f0f4f8 !important;
}
.cert-desc { font-size: 12px; color: #9ca3af !important; line-height: 1.5; }

/* ===== CONTACT ===== */

.contact-body {
  padding: 100px 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
  background: #0a0a0a;
  width: 100%; max-width: none !important; box-sizing: border-box;
  margin-top: 0; padding-top: 60px;
}
.contact-headline {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: clamp(36px, 4vw, 56px) !important;
  line-height: 1 !important; margin-bottom: 24px;
}
.contact-text {
  font-size: 16px; line-height: 1.8; color: #9ca3af !important; margin-bottom: 48px;
}
.contact-details { display: flex; flex-direction: column; gap: 2px; }
.contact-item {
  background: #111416; padding: 24px 28px;
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center;
  border-left: 3px solid transparent; transition: border-color 0.3s;
}
.contact-item:hover { border-color: #4db8e8; }
.contact-icon { display: grid; place-items: center; opacity: 0.7; }
.contact-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: #4db8e8 !important; margin-bottom: 4px;
}
.contact-value { font-size: 15px; color: #d1d5db !important; }
.inquiry-note {
  background: #111416; padding: 48px;
  border-left: 3px solid #1a7fc4;
  position: sticky; top: 100px;
}
.note-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 4px; color: #4db8e8 !important;
  text-transform: uppercase; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.note-tag::before { content: ''; width: 20px; height: 1px; background: #4db8e8; }
.note-title {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 32px !important; letter-spacing: 1px; margin-bottom: 20px; line-height: 1 !important;
}
.note-text { font-size: 15px; line-height: 1.8; color: #9ca3af !important; margin-bottom: 32px; }
.note-checklist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.check-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: #9ca3af !important; line-height: 1.5; }
.check-mark {
  width: 16px; height: 16px; border: 1px solid #4db8e8;
  display: grid; place-items: center; flex-shrink: 0; margin-top: 2px;
}
.note-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 32px; background: #1a7fc4 !important; color: #f0f4f8 !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  text-decoration: none !important; transition: background 0.2s;
  clip-path: polygon(0 0, 92% 0, 100% 25%, 100% 100%, 8% 100%, 0 75%);
}
.note-cta:hover { background: #2d9de0 !important; color: #f0f4f8 !important; }
.note-disclaimer { margin-top: 20px; font-size: 11px; color: rgba(255,255,255,0.2) !important; line-height: 1.6; }

/* ===== PRODUCTS ===== */

.products-page { background: #0a0a0a; }

.products-filter {
  padding: 40px 60px 0;
  display: flex; gap: 8px; flex-wrap: wrap;
}

.filter-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  padding: 10px 24px; background: transparent;
  border: 1px solid rgba(77,184,232,0.2);
  color: #9ca3af !important; cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
  background: #1a7fc4; border-color: #1a7fc4;
  color: #f0f4f8 !important;
}

.products-grid {
  padding: 40px 60px 100px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  width: 100%; max-width: none !important; box-sizing: border-box;
}

.product-card {
  background: #111416;
  display: flex; flex-direction: column;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

.product-card:hover { border-color: #4db8e8; }

.product-card-img {
  position: relative; overflow: hidden;
  height: 220px; background: #161c20;
}

.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(30%);
  transition: filter 0.3s;
}

.product-card:hover .product-card-img img { filter: grayscale(0%); }

.product-card-placeholder {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    45deg, #161c20, #161c20 10px,
    #1a2028 10px, #1a2028 20px
  );
}

.product-card-cat {
  position: absolute; top: 16px; left: 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: #4db8e8 !important; background: rgba(10,10,10,0.8);
  padding: 4px 10px;
}

.product-card-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }

.product-card-title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 18px !important; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: #f0f4f8 !important; margin-bottom: 12px;
  line-height: 1.3 !important;
}

.product-card-desc {
  font-size: 14px; line-height: 1.7;
  color: #9ca3af !important; flex: 1; margin-bottom: 24px;
}

.product-card-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: #4db8e8 !important; text-decoration: none !important;
  display: flex; align-items: center; gap: 8px;
  transition: gap 0.2s;
}

.product-card-link:hover { gap: 12px; }

.products-page .page-hero { padding-top: 160px; }

/* ===== SINGLE SYSTEM ===== */

.single-system { background: #0a0a0a; }

.system-cat-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: #4db8e8 !important; border: 1px solid rgba(77,184,232,0.3);
  padding: 6px 16px; margin-bottom: 24px;
}

.system-body {
  padding: 80px 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
  background: #111416;
  width: 100%; max-width: none !important; box-sizing: border-box;
}

.system-image img {
  width: 100%; height: auto;
  display: block;
}

.system-specs { display: flex; flex-direction: column; gap: 24px; }

.specs-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; line-height: 2;
  color: #9ca3af !important;
  white-space: pre-line;
}

.system-overview {
  padding: 80px 60px;
  background: #0a0a0a;
  width: 100%; max-width: none !important; box-sizing: border-box;
}

.system-overview-text {
  font-size: 16px; line-height: 1.9;
  color: #9ca3af !important;
  max-width: 800px;
}

.system-footer-cta {
  padding: 60px;
  display: flex; align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: #111416;
}

.system-back-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: #9ca3af !important; text-decoration: none !important;
  transition: color 0.2s;
}

.system-back-link:hover { color: #f0f4f8 !important; }

/* ===== ABOUT — PAGE ID ===== */

.page-id-46 .page-hero {
  padding-top: 90px;
  width: 100%; max-width: none !important; box-sizing: border-box;
}
.page-id-46 .entry-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}

/* ===== CUSTOM FOOTER ===== */

.mmi-footer {
  background: #0a0a0a !important;
  border-top: 1px solid rgba(26,127,196,0.2) !important;
  padding: 60px 60px 0 !important;
}

.mmi-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mmi-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo-img {
  height: 36px !important;
  width: auto !important;
  opacity: 0.85;
}

.footer-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: #f0f4f8;
  letter-spacing: 3px;
}

.mmi-footer-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: #4a5568 !important;
  text-transform: uppercase;
  line-height: 1.6;
  margin: 0;
}

.mmi-footer-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.mmi-footer-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9ca3af !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.mmi-footer-nav a:hover { color: #f0f4f8 !important; }
.mmi-footer-nav a.active { color: #f0f4f8 !important; }

.mmi-footer-sister {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.mmi-footer-sister-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #4db8e8 !important;
}

.mmi-footer-sister-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f0f4f8 !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.mmi-footer-sister-link:hover { color: #4db8e8 !important; }

.mmi-footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: #4a5568 !important;
  text-transform: uppercase;
}

/* ===== RESPONSIVE — MOBILE ===== */

@media (max-width: 900px) {

  body { overflow-x: hidden; }

  /* HERO */
  .mmi-hero {
    padding: 140px 24px 48px;
    min-height: auto;
    justify-content: flex-start;
  }
  .mmi-hero .mmi-hero-stats {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    flex-direction: row !important;
    gap: 32px;
    margin-top: 40px;
  }
  .mmi-stat { text-align: left; }
  .mmi-stat-num { font-size: 32px; }
  .mmi-hero-scroll { display: none; }

  /* תיקון ריק תחתית */
  #page { min-height: 0 !important; }
  #content,
  .site-content,
  .ast-container,
  .entry-content,
  .ast-article-post,
  .ast-page-builder-template {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
  }

  /* MOBILE NAVIGATION */
  .ast-header-break-point .main-navigation,
  .ast-mobile-popup-drawer,
  .ast-mobile-nav-wrap {
    position: fixed !important;
    top: 100px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #0a0a0a !important;
    z-index: 998 !important;
    padding: 8px 24px 24px !important;
    border-top: 1px solid rgba(26,127,196,0.2) !important;
  }
  .ast-header-break-point .main-navigation .menu-item a,
  .ast-header-break-point .main-navigation a {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 16px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding: 8px 0 !important;
    display: block !important;
    color: #9ca3af !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  }
  .ast-header-break-point .main-navigation a:hover {
    color: #f0f4f8 !important;
  }
  .ast-header-break-point .main-navigation .menu-item,
  .ast-header-break-point .main-navigation li {
    padding: 0 !important;
    margin: 0 !important;
  }
  .ast-close-btn {
    position: fixed !important;
    top: 24px !important;
    right: 16px !important;
    left: auto !important;
    z-index: 9999 !important;
  }

  /* PAGE HERO */
  .page-hero { padding: 140px 24px 60px; }
  .page-hero::after { display: none; }
  .breadcrumb { flex-wrap: wrap; }

  /* ABOUT — MISSION */
  .mission {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px;
  }

  /* ABOUT — CAPABILITIES */
  .capabilities { padding: 60px 24px; }
  .cap-grid { grid-template-columns: 1fr; }

  /* ABOUT — CERTIFICATIONS */
  .certifications { padding: 60px 24px; }
  .cert-grid { grid-template-columns: 1fr 1fr; }

  /* CONTACT */
  .contact-body { grid-template-columns: 1fr !important; }

  /* PRODUCTS */
  .products-page .page-hero { padding-top: 140px !important; }
  .products-layout {
    flex-direction: column;
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
    padding: 24px 24px 60px;
  }
  .products-filter { padding: 24px 24px 0; }

  /* SINGLE PRODUCT */
  .system-body {
    grid-template-columns: 1fr !important;
    padding: 48px 24px;
  }
  .system-image img { width: 100%; height: auto; }
  .system-overview { padding: 48px 24px; }
  .system-footer-cta {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 40px 24px;
  }

  /* FOOTER */
  .mmi-footer { padding: 48px 24px 0; }
  .mmi-footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .mmi-footer-brand { align-items: center; }
  .mmi-footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
  }
  .mmi-footer-sister { align-items: center; }
  .mmi-footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 24px 0;
  }
}

/* ===== LANGUAGE SWITCHER ===== */

li.lang-item {
  margin: 0 !important;
  padding: 0 !important;
}

li.lang-item a.menu-link {
  font-size: 0 !important;
  padding: 6px 14px !important;
  color: #9ca3af !important;
  background: none !important;
  text-decoration: none !important;
  display: block !important;
  border: 1px solid rgba(26,127,196,0.2) !important;
  transition: background 0.2s, color 0.2s !important;
  line-height: 1 !important;
}

li.lang-item.lang-item-en a.menu-link::after {
  content: 'EN';
  font-size: 11px;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 2px;
}

li.lang-item.lang-item-fr a.menu-link::after {
  content: 'FR';
  font-size: 11px;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 2px;
}

li.lang-item.lang-item-fr a.menu-link {
  border-left: none !important;
}

li.lang-item.current-lang a.menu-link {
  background: #1a7fc4 !important;
  color: #f0f4f8 !important;
}
li.lang-item {
  align-self: center !important;
}
#ast-mobile-site-navigation li.lang-item a.menu-link {
  font-size: 0 !important;
  padding: 15px 20px !important;
}
/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .mmi-hero {
    padding: 120px 28px 60px;
    min-height: 100svh;
  }
  .mmi-hero-stats {
    position: static;
    flex-direction: row;
    gap: 32px;
    margin-top: 40px;
  }
  .mmi-stat { text-align: left; }
  .mmi-hero-scroll { display: none; }
}
/* Home — full width override */
body.home .site-content,
body.home .content-area,
body.home article,
body.home .entry-content {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}
/* Full-bleed breakout */
.mmi-hero,
.mmi-marquee-strip {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

body.home { overflow-x: hidden; }

.mmi-hero-headline span {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0.9 !important;
}

/* Sister site — Coming Soon */
.mmi-coming-soon {
  cursor: default;
  position: relative;
}
.mmi-coming-soon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #1a7fc4;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.mmi-coming-soon:hover::after {
  opacity: 1;
}
@media (hover: none) {
  .mmi-coming-soon::after {
    display: none;
  }
}
