.mj-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 999px; border: 1px solid transparent; font-size: 14px; font-weight: 600; letter-spacing: .2px; padding: 9px 15px; cursor: pointer; }
.mj-btn-primary { background: linear-gradient(180deg, var(--mj-accent), #e29d00); color: #2d1f00; box-shadow: 0 8px 14px rgba(226,157,0,.25); }
.mj-btn-ghost { background: #fff; border-color: var(--mj-line); color: #1f3a52; width: 36px; height: 36px; padding: 0; border-radius: 10px; }
.mj-btn-white { background: #fff; border-color: #fff; border-radius: 0; color: #f7162a; text-transform: lowercase; font-weight: 700; min-height: 44px; padding: 10px 16px; }
.mj-btn-fb { border-radius: 999px; color: #f7162a; font-weight: 700; }
.mj-btn-hero { border-radius: 0; background: #ff4a3d; color: #fff; border-color: #ff4a3d; padding: 14px 30px; text-transform: uppercase; font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 999px; border: 1px solid transparent; font-size: 14px; font-weight: 600; letter-spacing: .2px; padding: 9px 15px; cursor: pointer; }
.btn-primary { background: linear-gradient(180deg, var(--mj-accent), #e29d00); color: #2d1f00; box-shadow: 0 8px 14px rgba(226,157,0,.25); }
.btn-soft { background: #f5f9fd; border-color: var(--mj-line); color: #1f3a52; }
.mj-panel, .panel { background: var(--mj-surface); border: 1px solid var(--mj-line); border-radius: 14px; box-shadow: 0 10px 22px rgba(14,33,52,.08); padding: 18px; }
.mj-flash { border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; }
.mj-flash-ok { background: #edf8f1; color: #1f603f; border: 1px solid #c9e6d5; }
.mj-flash-err { background: #fef1f1; color: #852f2f; border: 1px solid #f4cccc; }
.mj-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: #122b42;
  color: #fff;
  height: 560px;
  margin-bottom: 0;
}
.mj-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/img/hero.jpg') center/cover no-repeat;
  z-index: 0;
}
.mj-hero-track {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
}
.mj-hero-slide { display: none; min-height: 560px; background-size: cover; background-position: center; }
.mj-hero-slide { height: 560px; }
.mj-hero-slide { background-image: url('/assets/img/hero.jpg'); }
.mj-hero-slide.is-active { display: block; }
.mj-hero-fallback { background-image: url('/assets/img/hero.jpg'); }
.mj-hero-overlay { height: 560px; width: min(1180px, 94vw); margin: 0 auto; position: relative; }
.mj-hero-content {
  width: min(54vw, 690px);
  height: 560px;
  background:
    radial-gradient(circle at 25% 90%, rgba(31,169,226,.55), transparent 42%),
    radial-gradient(circle at 80% 100%, rgba(156,106,244,.45), transparent 45%),
    linear-gradient(135deg, rgba(22,40,68,.86), rgba(28,35,66,.84));
  padding: 70px 68px 70px 68px;
  overflow: hidden;
}
.mj-hero-kicker { display: inline-block; font-size: 13px; letter-spacing: .22px; text-transform: uppercase; font-weight: 600; opacity: .92; margin-bottom: 16px; }
.mj-hero h1 { color: #f6f8fb; max-width: 520px; margin-bottom: 20px; text-transform: uppercase; font-size: 36px; line-height: 1.12; }
.mj-hero p { color: #dfe6f3; max-width: 500px; margin: 0 0 10px; font-size: 18px; line-height: 1.55; }
.mj-hero-aux { color: #dfe6f3; font-size: 16px; font-weight: 600; margin: 20px 0 34px; }
.mj-hero-dots { display: flex; gap: 10px; margin-top: 74px; }
.mj-hero-dot { width: 13px; height: 13px; border-radius: 999px; border: 2px solid #ff4a4a; background: transparent; cursor: pointer; }
.mj-hero-dot.is-active { background: #ff3b3b; }
.mj-services-section {
  position: relative;
  background: #ececec;
  padding: 70px 0 40px;
  overflow: hidden;
}
.mj-services-section::before {
  content: "";
  position: absolute;
  left: -48px;
  top: 44%;
  width: 320px;
  height: 200px;
  background: linear-gradient(145deg, rgba(205,205,205,.42), rgba(225,225,225,.14));
  clip-path: polygon(0 42%, 95% 0, 43% 100%);
  pointer-events: none;
}
.mj-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px 26px;
  position: relative;
  z-index: 1;
}
.mj-service-card { text-align: center; }
.mj-service-image {
  display: block;
  width: 242px;
  height: 242px;
  margin: 0 auto 22px;
  border-radius: 999px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.mj-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mj-service-one { background-image: linear-gradient(135deg, rgba(218,223,230,.55), rgba(182,192,205,.35)), url('/assets/img/hero.jpg'); }
.mj-service-two { background-image: linear-gradient(135deg, rgba(88,198,236,.46), rgba(12,71,127,.35)), url('/assets/img/hero.jpg'); }
.mj-service-three { background-image: linear-gradient(135deg, rgba(127,226,83,.52), rgba(28,141,52,.30)), url('/assets/img/hero.jpg'); }
.mj-service-four { background-image: linear-gradient(135deg, rgba(41,43,50,.40), rgba(13,13,16,.28)), url('/assets/img/hero.jpg'); }
.mj-service-five { background-image: linear-gradient(135deg, rgba(255,172,67,.40), rgba(31,86,139,.32)), url('/assets/img/hero.jpg'); }
.mj-service-six { background-image: linear-gradient(135deg, rgba(255,153,176,.42), rgba(254,209,73,.34)), url('/assets/img/hero.jpg'); }
.mj-service-card h3 {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.25;
  color: #f71828;
  font-weight: 700;
}
.mj-service-btn {
  display: inline-block;
  min-width: 112px;
  padding: 12px 18px;
  text-decoration: none;
  background: #f71828;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .2px;
}
.mj-section { margin: 22px 0; }
.mj-grid-3, .grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mj-grid-2, .grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mj-card-link { text-decoration: none; display: block; border: 1px solid var(--mj-line); border-radius: 12px; background: #fff; padding: 18px 14px; font-weight: 700; color: #123f66; }
.mj-news-grid, .mj-categories-grid { display: grid; gap: 12px; }
.mj-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mj-categories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mj-news-card { background: #fff; border: 1px solid var(--mj-line); border-radius: 12px; padding: 14px; }
.mj-news-card a { text-decoration: none; color: #15486e; font-weight: 700; }
.mj-team-list { margin: 0; padding-left: 18px; }
.mj-team-list li { margin-bottom: 7px; }
.mj-downloads-list { margin: 0; padding-left: 18px; }
.mj-form-stack { display: grid; gap: 10px; }
.mj-field { width: 100%; border: 1px solid var(--mj-line); border-radius: 10px; padding: 10px; font: inherit; color: inherit; background: #fff; }
.mj-field-textarea { min-height: 120px; resize: vertical; }
.field { width: 100%; border: 1px solid var(--mj-line); border-radius: 10px; padding: 10px; font: inherit; color: inherit; background: #fff; }
.field-textarea { min-height: 120px; resize: vertical; }
.search-input { width: 100%; border: 1px solid var(--mj-line); border-radius: 10px; padding: 10px; font: inherit; color: inherit; background: #fff; }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; background: #111; color: #fff; padding: 14px; border-radius: 8px; z-index: 80; }
.cookie-inner { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-accept { color: #9ecbff; margin-right: 8px; text-decoration: none; }
.cookie-reject { color: #ffb4b4; text-decoration: none; }
.mj-newsletter-panel-wrap { background: #ececec; padding: 0 0 34px; }
.mj-newsletter-visual { position: relative; margin-bottom: 54px; }
.mj-newsletter-bg {
  height: 402px;
  background-image:
    linear-gradient(120deg, rgba(21,21,29,.20), rgba(18,18,24,.14)),
    url('/assets/img/hero.jpg');
  background-size: cover;
  background-position: center;
}
.mj-newsletter-overlay-card {
  position: absolute;
  left: max(4vw, calc(50% - 590px));
  top: -34px;
  width: min(500px, 88vw);
  min-height: 500px;
  background:
    radial-gradient(circle at 75% 30%, rgba(245,131,165,.48), transparent 44%),
    radial-gradient(circle at 20% 90%, rgba(233,114,52,.42), transparent 40%),
    linear-gradient(145deg, rgba(66,38,111,.92), rgba(199,57,113,.86));
  padding: 92px 54px;
  color: #fff;
  box-shadow: 0 20px 34px rgba(37,20,55,.22);
}
.mj-newsletter-overlay-card h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 40px;
  text-transform: uppercase;
  line-height: 1.18;
}
.mj-newsletter-overlay-card p { margin: 0 0 28px; font-size: 18px; color: #f7eaf4; line-height: 1.6; }
.mj-newsletter-more {
  display: inline-block;
  text-decoration: none;
  background: #f7162a;
  color: #fff;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
}
.mj-newsletter-plane {
  position: absolute;
  right: 12%;
  bottom: -56px;
  width: 230px;
  height: 150px;
  background: linear-gradient(145deg, #fdfdfd, #d8d8d8);
  clip-path: polygon(0 44%, 100% 66%, 33% 100%, 58% 73%);
  filter: drop-shadow(0 10px 14px rgba(21,21,21,.18));
  transform: rotate(21deg);
}
.mj-newsletter-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.mj-newsletter-heading {
  color: #f7162a;
  text-transform: uppercase;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.12;
  margin-top: 8px;
}
.mj-newsletter-form { display: grid; gap: 16px; }
.mj-newsletter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mj-newsletter-input {
  width: 100%;
  border: 1px solid #d3d3d3;
  background: #efefef;
  border-radius: 0;
  padding: 14px 16px;
  font: inherit;
}
.mj-newsletter-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.mj-newsletter-consent { font-size: 13px; font-weight: 500; color: #444; }
.mj-newsletter-submit {
  border: 0;
  background: #f7162a;
  color: #fff;
  font-weight: 700;
  padding: 14px 28px;
  cursor: pointer;
}
@media (max-width: 960px) {
  .mj-grid-2, .mj-grid-3, .grid-2, .grid-3, .mj-news-grid, .mj-categories-grid { grid-template-columns: 1fr; }
  .mj-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; }
  .mj-service-image { width: 200px; height: 200px; }
  .mj-service-card h3 { font-size: 18px; }
  .mj-service-btn { font-size: 14px; }
  .mj-hero, .mj-hero-slide, .mj-hero-overlay { height: 420px; }
  .mj-hero-content { width: 100%; height: 420px; padding: 38px 24px; }
  .mj-hero h1 { font-size: 36px; }
  .mj-hero p { font-size: 16px; }
  .mj-hero-dots { margin-top: 30px; }
  .mj-newsletter-bg { height: 320px; }
  .mj-newsletter-overlay-card {
    position: relative;
    left: auto;
    top: auto;
    width: min(94vw, 620px);
    min-height: 0;
    padding: 34px 26px;
    margin: -100px auto 0;
  }
  .mj-newsletter-overlay-card h3 { font-size: 28px; }
  .mj-newsletter-overlay-card p { font-size: 16px; }
  .mj-newsletter-plane { display: none; }
  .mj-newsletter-form-grid { grid-template-columns: 1fr; gap: 18px; }
  .mj-newsletter-heading { font-size: 34px; }
  .mj-newsletter-row { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .mj-services-grid { grid-template-columns: 1fr; }
  .mj-service-card h3 { font-size: 18px; }
  .mj-service-btn { font-size: 14px; }
}
