/* ============================================================================
   BRIT GMBH / MANAGED IT & SUPPORT – INDEPENDENT PAGE DESIGN

   Scope: .mi-page only. Other company and product pages remain unchanged.
   Brand palette is inherited from site.css (#84B413 BRIT green).

   BLOCKS
   01 Hero & service principles
   02 Editorial introduction
   03 Asymmetric service landscape
   04 Support process / operations photography
   05 Flexible collaboration models
   06 Why BRIT / editorial statement
   07 FAQ
   08 Final contact CTA
   09 Responsive & reduced motion

   No icon fonts or emoji. Icons use the shared inline SVG sprite.
   Animation: the shared individual-pages.js reveals [data-reveal].
   ============================================================================ */

/* 00 | PAGE TOKENS ---------------------------------------------------------- */
.mi-page {
  --mi-forest: #13271e;
  --mi-ink: #15271c;
  --mi-lime: #84B413;
  --mi-leaf: #a8cf55;
  --mi-paper: #f6f8f1;
  --mi-muted: #4b5c51;
  color: var(--mi-ink);
  isolation: isolate;
}
.mi-page .mi-section { padding: clamp(78px, 8vw, 132px) 0; position: relative; }
.mi-page .mi-section h2 {
  font-size: clamp(2.55rem, 4.05vw, 4.9rem);
  line-height: 1.09;
  letter-spacing: -.055em;
}
.mi-page .mi-section h2 em { color: #6e9514; }
.mi-page .eyebrow { font-size: .69rem; }
.mi-page .icon { display: inline-block; }
.mi-page .mi-breadcrumb a:hover { color: var(--mi-leaf); }
.mi-page a:focus-visible, .mi-page summary:focus-visible { outline: 3px solid #84b413; outline-offset: 4px; }

/* 01 | HERO ----------------------------------------------------------------- */
.mi-hero {
  color: #fff;
  background:
    radial-gradient(ellipse 60% 85% at 0% 120%, rgba(132,180,19,.15), transparent 72%),
    linear-gradient(112deg,#10231b 0%, #173126 100%);
  overflow: hidden;
}
.mi-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
  padding-top: clamp(65px, 6vw, 100px);
  padding-bottom: clamp(72px, 7vw, 110px);
  min-height: 660px;
}
.mi-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: #bdcdbf;
  font-size: .77rem;
  margin-bottom: 41px;
}
.mi-breadcrumb>span:last-child { color: #fff; }
.mi-hero .eyebrow { color: #b2d968; }
.mi-hero h1 {
  font-size: clamp(3.35rem, 5.05vw, 6.25rem);
  line-height: 1.035;
  letter-spacing: -.065em;
  margin: 24px 0 26px;
  max-width: 790px;
  overflow-wrap: break-word;
}
.mi-hero h1 span { display: block; color: #b3dc65; }
.mi-hero-lead {
  font-size: clamp(1.02rem, 1.24vw, 1.25rem);
  line-height: 1.82;
  max-width: 650px;
  color: #ccd9ce;
}
.mi-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.mi-hero .btn { min-height: 54px; }
.mi-hero .btn-light-outline { border-color: #89a08c; }
.mi-hero-meta {
  margin-top: 38px;
  display: flex;
  gap: 11px;
  align-items: center;
  color: #abbfac;
  letter-spacing: .04em;
  font-size: .75rem;
  font-weight: 650;
}
.mi-small-line { width: 33px; height: 2px; background: var(--mi-lime); flex: 0 0 auto; }
.mi-hero-visual { align-self: stretch; position: relative; display: flex; align-items: center; min-width: 0; }
.mi-hero-photo {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(450px, 38vw, 570px);
  margin: 0;
  background: #294636;
  overflow: hidden;
  border-radius: 135px 16px 16px 16px;
  box-shadow: 0 45px 95px rgba(0,0,0,.23);
}
.mi-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(6,24,12,.4),transparent 45%); pointer-events: none; }
.mi-hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 48% 40%;
  transition: transform 700ms cubic-bezier(.18,.65,.2,1);
}
.mi-hero-visual:hover img { transform: scale(1.035); }
.mi-hero-photo figcaption { position: absolute; z-index: 1; bottom: 26px; left: 27px; letter-spacing: .12em; color: #fff; font-size: .65rem; font-weight: 800; }
.mi-hero-tag {
  position: absolute;
  z-index: 2;
  bottom: 15px;
  right: -16px;
  display: flex;
  gap: 15px;
  align-items: center;
  max-width: 310px;
  padding: 17px 20px;
  border-radius: 12px;
  color: #17301b;
  background: #eaf5d4;
  box-shadow: 0 15px 45px rgba(0,0,0,.25);
  font-size: .79rem;
  line-height: 1.5;
}
.mi-hero-tag strong { display: block; font-weight: 850; }
.mi-hero-tag .icon { width: 26px; height: 26px; color: #62940b; flex: 0 0 26px; }
.mi-hero-bottom {
  border-top: 1px solid rgba(255,255,255,.21);
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 30px;
  padding: 23px 0 27px;
}
.mi-hero-bottom>div { display: flex; align-items: center; gap: 13px; font-size: .88rem; font-weight: 700; color: #d6e1d7; }
.mi-hero-bottom .icon { color: #b2d869; width: 22px; height: 22px; }

/* 02 | EDITORIAL INTRO ------------------------------------------------------ */
.mi-intro { background: #fff; }
.mi-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px,9vw,140px); align-items: start; }
.mi-intro h2 { margin: 21px 0 0; max-width: 640px; }
.mi-intro-text { border-top: 3px solid var(--mi-lime); padding-top: 26px; }
.mi-intro-text>p { font-size: clamp(1.03rem,1.25vw,1.2rem); line-height: 1.86; color: var(--mi-muted); margin: 0 0 21px; }
.mi-intro-note {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 32px;
  padding: 20px 23px;
  border-radius: 10px;
  background: #eff5e8;
  color: #304a2e;
  line-height: 1.6;
  font-weight: 740;
}
.mi-intro-note .icon { color: #699b14; flex: 0 0 24px; margin-top: 2px; }

/* 03 | ASYMMETRIC SERVICES ------------------------------------------------- */
.mi-services { background: #f0f4eb; }
.mi-section-top { display: grid; grid-template-columns: 1.28fr .72fr; gap: 8%; align-items: end; margin-bottom: 42px; }
.mi-section-top h2 { max-width: 770px; margin: 18px 0 0; }
.mi-section-top>p { max-width: 380px; font-size: 1.08rem; line-height: 1.8; margin: 0; }
.mi-service-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 15px; }
.mi-service-card {
  position: relative;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 290px;
  padding: 29px 30px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid #dce5d6;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.mi-service-card:hover { transform: translateY(-5px); border-color: #a7c778; box-shadow: 0 17px 32px rgba(23,47,20,.08); }
.mi-service-ink { display: flex; justify-content: space-between; align-items: start; gap: 17px; margin-bottom: 31px; }
.mi-card-number { font-size: .67rem; letter-spacing: .13em; font-weight: 800; color: #698e3e; }
.mi-card-icon { display: grid; place-items: center; height: 42px; width: 42px; flex: 0 0 42px; border-radius: 10px; background: #edf5df; color: #649014; }
.mi-card-icon .icon { width: 23px; height: 23px; }
.mi-service-card h3 { font-size: clamp(1.36rem,1.75vw,1.9rem); line-height: 1.2; letter-spacing: -.044em; margin: 0 0 13px; }
.mi-service-card p { color: #4c5d50; line-height: 1.76; margin-bottom: 0; font-size: .95rem; }
.mi-inline-link { margin-top: auto; display: inline-flex; gap: 10px; align-items: center; color: #5b870c; font-weight: 800; font-size: .84rem; padding-top: 23px; align-self: flex-start; }
.mi-inline-link .icon { width: 18px; height: 18px; }
.mi-inline-link:hover { color: #3e6500; }
.mi-service-card--lead {
  grid-column: span 8;
  min-height: 365px;
  color: #fff;
  background:
    linear-gradient(95deg,#152b20 6%,#162e24f2 52%,#162e2430 100%),
    url('../images/editorial/managed-support-hero.webp') 77% 37% / cover no-repeat;
  border-color: #1c3828;
}
.mi-service-card--lead h3 { max-width: 550px; font-size: clamp(2.0rem,2.65vw,3.05rem); }
.mi-service-card--lead p { max-width: 520px; color: #d9e5d8; }
.mi-service-card--lead .mi-card-number,.mi-service-card--lead .mi-inline-link { color: #c6ea80; }
.mi-service-card--lead .mi-card-icon { background: rgba(170,217,93,.2); color: #c6ec82; }
.mi-service-card--lead .mi-service-card-copy { max-width: 65%; margin-top: auto; }
.mi-service-card--accent { background: #e5efda; }
.mi-service-card--wide { grid-column: span 12; display: grid; grid-template-columns: 170px 1fr auto; align-items: center; min-height: 190px; gap: 35px; }
.mi-service-card--wide .mi-service-ink { margin: 0; flex-direction: column; }
.mi-service-card--wide h3 { margin: 0 0 12px; }
.mi-service-card--wide p { max-width: 650px; }
.mi-service-card--wide .mi-inline-link { margin: 0; white-space: nowrap; padding: 0; }
.mi-card-more { position: absolute; bottom: 23px; right: 26px; display: grid; place-items: center; border: 1px solid #d7e1d2; border-radius: 50%; width: 38px; height: 38px; color: #709b21; }
.mi-card-more .icon { width: 18px; height: 18px; }
.mi-card-more:hover { background: #e7f3d4; }

/* 04 | SERVICE PROCESS ----------------------------------------------------- */
.mi-operations { background: #fff; overflow: hidden; }
.mi-operations-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(38px,8vw,125px); align-items: center; }
.mi-operations h2 { margin: 20px 0 22px; max-width: 680px; }
.mi-operations h2 em { color: #699714; }
.mi-operations-copy>p { color: #4d5e52; line-height: 1.85; font-size: 1.07rem; max-width: 600px; }
.mi-ops-points { margin-top: 29px; border-top: 1px solid #d3dfd0; }
.mi-ops-points>div { display: grid; grid-template-columns: 52px 1fr; padding: 17px 0; border-bottom: 1px solid #d3dfd0; gap: 15px; }
.mi-ops-points>div>span { color: #709c21; font-weight: 800; font-size: .82rem; letter-spacing: .08em; padding-top: 2px; }
.mi-ops-points strong { font-size: 1.1rem; letter-spacing: -.03em; }
.mi-ops-points p { color: #526456; font-size: .91rem; line-height: 1.6; margin: 5px 0 0; }
.mi-operations-media { position: relative; align-self: stretch; display: flex; align-items: center; min-width: 0; }
.mi-operations-media>img { width: 100%; height: min(630px,100%); min-height: 515px; object-fit: cover; object-position: center; border-radius: 13px 150px 13px 13px; }
.mi-operations-overlay { position: absolute; bottom: clamp(25px,4vw,55px); left: -26px; color: #fff; background: #173124ed; border-left: 5px solid var(--mi-lime); border-radius: 6px 12px 12px 6px; padding: 20px 26px; max-width: 280px; box-shadow: 0 20px 40px rgba(0,0,0,.17); }
.mi-operations-overlay span { display: block; color: #b1d77c; font-size: .66rem; font-weight: 800; letter-spacing: .12em; margin-bottom: 10px; }
.mi-operations-overlay strong { font-size: 1.4rem; line-height: 1.22; letter-spacing: -.04em; }

/* 05 | FLEXIBLE COLLABORATION --------------------------------------------- */
.mi-collaboration { background: #eaf0e2; }
.mi-collab-heading { margin-bottom: 38px; }
.mi-collab-heading h2 { max-width: 900px; margin: 18px 0 24px; }
.mi-collab-heading>p { font-size: 1.07rem; max-width: 750px; line-height: 1.75; }
.mi-collab-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.mi-option { padding: clamp(28px,3.2vw,50px); background: #fff; border: 1px solid #d5dfcb; border-radius: 15px; }
.mi-option-label { display: inline-block; padding: 8px 12px; border: 1px solid #b9cfa2; border-radius: 30px; color: #547b19; font-size: .69rem; letter-spacing: .09em; font-weight: 800; text-transform: uppercase; }
.mi-option h3 { margin: 30px 0 17px; font-size: clamp(1.95rem,2.45vw,2.75rem); line-height: 1.17; max-width: 600px; }
.mi-option>p { color: #526253; max-width: 560px; font-size: 1.02rem; line-height: 1.76; }
.mi-option ul { padding: 0; list-style: none; margin: 29px 0 0; display: grid; gap: 12px; }
.mi-option li { position: relative; padding-left: 23px; line-height: 1.6; font-weight: 650; font-size: .94rem; }
.mi-option li:before { content: ''; position: absolute; top: .57em; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--mi-lime); }
.mi-option--highlight { color: #fff; background: #183427; border-color: #183427; }
.mi-option--highlight .mi-option-label { color: #c0e57a; border-color: #63834e; }
.mi-option--highlight>p { color: #c4d6c6; }
.mi-option--highlight li:before { background: #b1d966; }
.mi-collab-footnote { margin: 22px 0 0; color: #5e705c; font-size: .82rem; }

/* 06 | WHY BRIT ------------------------------------------------------------ */
.mi-value { background: #183025; color: #fff; }
.mi-value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
.mi-value .eyebrow { color: #b3dc6e; }
.mi-value h2 { margin: 20px 0 0; max-width: 700px; }
.mi-value h2 em { color: #b4dc72; }
.mi-value-copy>p { font-size: 1.12rem; line-height: 1.83; color: #c3d4c5; }
.mi-value-list { display: grid; gap: 16px; margin: 26px 0 30px; }
.mi-value-list>div { display: flex; align-items: flex-start; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 14px; font-weight: 650; }
.mi-value-list .icon { width: 20px; height: 20px; color: #b0d96d; flex: 0 0 20px; margin-top: 2px; }
.mi-value .text-link { color: #b6db79; border-bottom-color: #759c56; white-space: normal; }

/* 07 | FAQ ------------------------------------------------------------------ */
.mi-faq { background: #f8faf4; }
.mi-faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8%; }
.mi-faq h2 { margin: 19px 0 22px; }
.mi-faq-grid>div:first-child>p { font-size: 1.08rem; line-height: 1.8; max-width: 470px; }
.mi-faq-list { border-top: 1px solid #d7e0d1; }
.mi-faq-list details { border-bottom: 1px solid #d7e0d1; }
.mi-faq-list summary { display: flex; gap: 24px; align-items: center; justify-content: space-between; list-style: none; padding: 24px 4px; cursor: pointer; font-size: 1.08rem; font-weight: 780; line-height: 1.5; }
.mi-faq-list summary::-webkit-details-marker { display: none; }
.mi-faq-list summary .icon { color: #65910a; width: 20px; height: 20px; transition: transform .22s; }
.mi-faq-list details[open] summary .icon { transform: rotate(180deg); }
.mi-faq-list details p { padding: 0 50px 25px 4px; font-size: .96rem; line-height: 1.75; margin: 0; }

/* 08 | FINAL CONTACT -------------------------------------------------------- */
.mi-contact { padding: 55px 0; background: #bce27d; }
.mi-contact-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 35px; }
.mi-contact-inner span { font-size: .69rem; color: #416711; font-weight: 850; letter-spacing: .13em; }
.mi-contact-inner h2 { max-width: 890px; margin: 16px 0 0; line-height: 1.13; font-size: clamp(1.9rem,3vw,3.4rem); letter-spacing: -.05em; }
.mi-contact-inner .btn { background: #173024; color: white; white-space: nowrap; }
.mi-contact-inner .btn:hover { background: #2c5134; }

/* 09 | RESPONSIVE DESIGN --------------------------------------------------- */
@media(max-width: 1140px) {
  .mi-hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 38px; }
  .mi-hero h1 { font-size: clamp(3.1rem,5.5vw,5.2rem); }
  .mi-service-card--lead .mi-service-card-copy { max-width: 74%; }
  .mi-service-card--wide { grid-template-columns: 130px 1fr; }
  .mi-service-card--wide .mi-inline-link { grid-column: 2; }
}
@media(max-width: 980px) {
  .mi-hero-grid, .mi-intro-grid, .mi-operations-grid, .mi-value-grid, .mi-faq-grid { grid-template-columns: 1fr; gap: 35px; }
  .mi-hero-grid { min-height: 0; padding-top: 58px; padding-bottom: 55px; }
  .mi-hero h1 { max-width: 790px; }
  .mi-hero-visual { max-width: 780px; width: 100%; }
  .mi-hero-photo { height: 455px; }
  .mi-section-top { grid-template-columns: 1fr; gap: 20px; }
  .mi-section-top>p { max-width: 740px; }
  .mi-service-card { grid-column: span 6; }
  .mi-service-card--lead { grid-column: span 12; }
  .mi-service-card--wide { grid-column: span 12; }
  .mi-service-card--lead .mi-service-card-copy { max-width: 68%; }
  .mi-operations-media>img { max-height: 520px; }
  .mi-collab-options { grid-template-columns: 1fr; }
  .mi-contact-inner { grid-template-columns: 1fr; }
  .mi-contact-inner .btn { justify-self: start; }
}
@media(max-width: 640px) {
  .mi-page .mi-section { padding: 70px 0; }
  .mi-hero-grid { padding-top: 46px; padding-bottom: 43px; }
  .mi-breadcrumb { margin-bottom: 26px; }
  .mi-hero h1 { font-size: clamp(3rem,10vw,4.65rem); }
  .mi-hero-photo { height: 345px; border-radius: 85px 13px 13px 13px; }
  .mi-hero-tag { bottom: 8px; right: 0; max-width: 245px; padding: 12px 15px; }
  .mi-hero-photo figcaption { left: 17px; bottom: 20px; }
  .mi-hero-bottom { gap: 12px; grid-template-columns: 1fr; }
  .mi-hero-bottom>div { font-size: .84rem; }
  .mi-actions .btn { width: 100%; }
  .mi-service-card,.mi-service-card--lead,.mi-service-card--wide { grid-column: span 12; min-height: 0; padding: 26px 24px; }
  .mi-service-card--lead { min-height: 430px; background-position: 58% center; }
  .mi-service-card--lead .mi-service-card-copy { max-width: 100%; }
  .mi-service-card--lead { background-image: linear-gradient(0deg, #13291fe8 0%, #13291fd9 58%, #13291f40 100%), url('../images/editorial/managed-support-hero.webp'); }
  .mi-service-card--wide { display: flex; align-items: flex-start; gap: 0; }
  .mi-service-card--wide .mi-service-ink { width: 100%; flex-direction: row; margin-bottom: 31px; }
  .mi-service-card--wide .mi-inline-link { padding-top: 23px; }
  .mi-operations-media>img { min-height: 390px; border-radius: 13px 90px 13px 13px; }
  .mi-operations-overlay { left: 9px; bottom: 15px; }
  .mi-option { padding: 30px 26px; }
  .mi-contact-inner h2 { font-size: 2.2rem; }
  .mi-contact-inner .btn { max-width: 100%; white-space: normal; }
}
@media(prefers-reduced-motion: reduce) {
  .mi-page *, .mi-page *::before, .mi-page *::after { transition-duration: .01ms!important; animation-duration: .01ms!important; }
}
