/*
 * Majmr sector pages (tech / marketing / events). Loaded after majmr-home.css,
 * which provides the tokens, header, loader, reveals, steps and panels.
 * Each page sets --c (its sector color) on <body>, and <html data-sector> for the accent.
 */

/* ---------- page hero: full-bleed sector photo ---------- */
.mj-page-hero {
  position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden;
  padding: 180px 0 90px; background: var(--mj-darker); isolation: isolate;
}
.mj-page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mj-page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(26, 23, 24, 0.95) 0%, rgba(26, 23, 24, 0.45) 55%, rgba(26, 23, 24, 0.25) 100%);
}
.mj-page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c); }
.mj-crumbs { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0 0 28px; font-size: 15px; color: #CFCAC7; }
.mj-crumbs a { color: #CFCAC7; }
.mj-crumbs a:hover { color: #fff; }
.mj-crumbs li + li::before { content: "/"; margin-left: 10px; opacity: 0.6; }
.mj-page-hero .mj-page-title { color: #fff; font-size: clamp(46px, 7vw, 96px); line-height: 1.15; margin-bottom: 22px; }
.mj-page-hero .mj-page-lead { color: #E6E3E1; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.8; max-width: 620px; margin: 0; }

/* ---------- services: sticky photo + editorial list ---------- */
.mj-services-img { position: sticky; top: 120px; border-radius: var(--mj-radius); overflow: hidden; }
.mj-services-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.mj-service-list { list-style: none; padding: 0; margin: 0; border-bottom: 1px solid var(--mj-border); }
.mj-service-list li { padding: 36px 0; border-top: 1px solid var(--mj-border); }
.mj-service-list h3 { color: var(--mj-text); font-size: 26px; margin-bottom: 12px; transition: color 0.3s ease; }
.mj-service-list li:hover h3 { color: var(--c); }
.mj-service-list p { font-size: 17px; line-height: 1.8; margin: 0; max-width: 560px; }
.mj-tags { display: block; direction: ltr; text-align: right; margin-top: 16px; color: var(--mj-text-muted); font-size: 14px; letter-spacing: 0.5px; }
.mj-audience { display: flex; gap: 8px; align-items: baseline; margin-top: 12px; font-size: 15px; color: var(--mj-text-muted); }
.mj-audience strong { color: var(--mj-text); font-weight: 700; }
.mj-audience strong::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 8px; background: var(--c); }
@media (max-width: 991px) { .mj-services-img { position: static; } .mj-services-img img { aspect-ratio: 16 / 10; } }

/* ---------- why us: photo band with five points ---------- */
.mj-why { position: relative; padding: var(--mj-space) 0; overflow: hidden; isolation: isolate; }
.mj-why > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mj-why::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(26, 23, 24, 0.86); }
.mj-why .mj-title { color: #fff; }
.mj-why .mj-head-text { color: #D9D5D2; }
.mj-why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.mj-why-grid li { padding: 26px 24px 8px; border-right: 1px solid rgba(255, 255, 255, 0.16); }
.mj-why-grid li:first-child { border-right: 0; padding-right: 0; }
.mj-why-grid h3 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.mj-why-grid h3::before { content: ""; display: block; width: 28px; height: 3px; background: var(--c); margin-bottom: 18px; }
.mj-why-grid p { color: #D9D5D2; font-size: 15px; line-height: 1.8; margin: 0; }
@media (max-width: 1199px) {
  .mj-why-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .mj-why-grid li, .mj-why-grid li:first-child { border-right: 0; padding: 20px 0 0; }
  .mj-why-grid li { padding-left: 24px; }
}
@media (max-width: 575px) { .mj-why-grid { grid-template-columns: 1fr; } }

/* ---------- highlight figure (marketing: goals achieved) ---------- */
.mj-highlight { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--mj-border); }
.mj-highlight-num { direction: ltr; color: var(--mj-text); font-size: clamp(56px, 7vw, 96px); font-weight: 300; line-height: 1; }
.mj-highlight-num span { color: var(--mj-text-muted); font-size: 0.45em; }
.mj-highlight p { max-width: 360px; margin: 0; font-size: 17px; line-height: 1.8; }

/* ---------- other sectors ---------- */
.mj-others .mj-panels { height: 440px; }
@media (max-width: 991px) { .mj-others .mj-panels { height: auto; } .mj-others .mj-panel { min-height: 320px; } }
