.mj-container, .container { width: min(1180px, 94vw); margin: 0 auto; }
.mj-main { min-height: 60vh; padding: 0 0 40px; }
.mj-header { position: sticky; top: 0; z-index: 50; background: #f7162a; }
.mj-brandbar { background: #f7162a; color: #fff; }
.mj-brand-inner { min-height: 74px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
.mj-logo { display: inline-flex; align-items: center; text-decoration: none; }
.mj-logo img { height: 56px; width: auto; }
.mj-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.mj-phone-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 48px;
  padding: 8px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
}
.mj-phone-link:hover { background: rgba(255,255,255,.18); }
.mj-phone-link-label {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .82;
}
.mj-phone-link-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
}
.mj-navrow { background: #f7162a; border-top: 1px solid rgba(255,255,255,.45); }
.mj-navrow-inner { min-height: 46px; display: flex; align-items: center; justify-content: center; }
.mj-nav { display: flex; align-items: center; justify-content: center; gap: 22px; }
.mj-nav > a, .mj-dropdown > summary { text-decoration: none; font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .2px; color: #fff; padding: 6px 0; list-style: none; cursor: pointer; }
.mj-nav > a:hover, .mj-dropdown > summary:hover { opacity: .86; }
.mj-dropdown { position: relative; padding-bottom: 14px; margin-bottom: -14px; }
.mj-dropdown > summary { display: block; }
.mj-dropdown > summary::-webkit-details-marker { display: none; }
.mj-dropdown > summary::marker { content: ""; }
.mj-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 16px;
}
.mj-dropdown-menu { position: absolute; left: 0; top: 100%; min-width: 220px; border: 1px solid var(--mj-line); background: #fff; border-radius: 10px; box-shadow: 0 14px 24px rgba(12,30,48,.14); padding: 8px; display: none; z-index: 20; }
.mj-dropdown[open] .mj-dropdown-menu { display: block; }
.mj-dropdown-menu a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.mj-dropdown-menu a:hover { background: #f3f8fd; }
.mj-mobile-toggle { display: none; border: 1px solid rgba(255,255,255,.6); color: #fff; background: transparent; border-radius: 8px; width: 36px; height: 36px; cursor: pointer; }
.mj-offcanvas { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 84vw); background: #fff; border-left: 1px solid var(--mj-line); z-index: 60; transform: translateX(101%); transition: transform .2s ease; }
.mj-offcanvas.is-open { transform: translateX(0); }
.mj-offcanvas-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--mj-line); }
.mj-offcanvas-head button { border: 1px solid var(--mj-line); background: #fff; border-radius: 8px; width: 32px; height: 32px; cursor: pointer; }
.mj-offcanvas-nav { display: grid; gap: 4px; padding: 12px; }
.mj-offcanvas-nav a { text-decoration: none; padding: 10px 12px; border-radius: 8px; font-weight: 600; }
.mj-offcanvas-nav a:hover { background: #edf4fb; }
.mj-offcanvas-backdrop { position: fixed; inset: 0; background: rgba(10,20,30,.45); z-index: 55; }
.mj-site-footer { background: #f7162a; color: #fff; padding: 44px 0 26px; }
.mj-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .85fr; gap: 28px; align-items: start; }
.mj-footer-brand img { height: 50px; width: auto; margin-bottom: 20px; }
.mj-footer-company { font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.mj-footer-contact-item { font-size: 14px; font-weight: 600; line-height: 1.45; margin-bottom: 14px; }
.mj-footer-contact-label { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .82; }
.mj-footer-col { min-width: 0; }
.mj-footer-title { margin: 0 0 12px; font-size: 15px; font-weight: 700; text-transform: uppercase; }
.mj-footer-link { display: block; text-decoration: none; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.5; margin-bottom: 4px; }
.mj-footer-link:hover { opacity: .88; }
.mj-footer-credit {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  text-align: right;
}
.mj-footer-credit a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .08em;
}
.mj-footer-credit a:hover {
  opacity: .9;
}
@media (max-width: 1040px) {
  .mj-brand-inner { grid-template-columns: auto 1fr; min-height: 70px; gap: 14px; }
  .mj-btn-fb { display: none; }
  .mj-actions { gap: 6px; flex-wrap: wrap; }
  .mj-phone-link {
    min-height: 40px;
    padding: 6px 10px;
    border-radius: 12px;
  }
  .mj-phone-link-label { font-size: 9px; }
  .mj-phone-link-value { font-size: 16px; }
  .mj-btn-white {
    display: inline-flex;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
  }
  .mj-nav { display: none; }
  .mj-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .mj-navrow { display: none; }
  .mj-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .mj-logo img { height: 48px; }
  .mj-actions { justify-content: flex-end; gap: 5px; }
  .mj-phone-link { padding: 6px 9px; }
  .mj-phone-link-label { display: none; }
  .mj-phone-link-value { font-size: 15px; }
  .mj-btn-white {
    min-height: 30px;
    padding: 5px 8px;
    font-size: 11px;
  }
  .mj-footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .mj-footer-title { font-size: 15px; }
  .mj-footer-link { font-size: 14px; }
  .mj-footer-contact-item { font-size: 14px; }
  .mj-footer-credit {
    align-items: flex-end;
    flex-direction: column;
  }
}
@media (max-width: 640px) {
  .mj-brand-inner { gap: 10px; }
  .mj-logo img { height: 42px; }
  .mj-actions { gap: 4px; }
  .mj-phone-link {
    min-height: 34px;
    padding: 5px 8px;
    border-radius: 10px;
  }
  .mj-phone-link-value { font-size: 13px; }
  .mj-btn-white {
    min-height: 28px;
    padding: 4px 7px;
    font-size: 10px;
  }
}
