:root{--mic-navy:#0B1F3A;--mic-orange:#FF6600;--mic-dark:#101827;--mic-text:#293241;--mic-muted:#6f7784;--mic-line:#e7ebf0;--mic-soft:#f7f9fb;--shadow-soft:0 16px 45px rgba(11,31,58,.08);--shadow-card:0 22px 60px rgba(11,31,58,.10);--container:1680px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--mic-text);font-family:Futura,"Trebuchet MS",Arial,sans-serif;line-height:1.5}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.mic-container{width:min(var(--container),calc(100% - 64px));margin-inline:auto}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 30px;background:var(--mic-orange);color:#fff;border:1px solid var(--mic-orange);border-radius:3px;font-weight:800;font-size:15px;box-shadow:0 10px 24px rgba(255,102,0,.18);transition:.2s}.btn:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(255,102,0,.24)}.btn--outline{background:#fff;color:var(--mic-orange);box-shadow:none;min-height:46px}.mic-topbar{background:var(--mic-navy);color:#fff;font-size:13px}.mic-topbar__inner{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:24px;opacity:.92}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid var(--mic-line);backdrop-filter:blur(12px)}.site-header__inner{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:36px}.site-logo img,.custom-logo{display:block;width:174px;height:auto}.primary-nav{display:flex;align-items:center;gap:44px}.primary-menu{display:flex;align-items:center;gap:42px;list-style:none;padding:0;margin:0;color:var(--mic-navy);font-size:15px;font-weight:800}.primary-menu a{position:relative;display:inline-flex;align-items:center;min-height:56px}.primary-menu li:first-child a:after,.primary-menu .current-menu-item>a:after{content:"";position:absolute;left:0;right:0;bottom:11px;height:2px;background:var(--mic-orange)}.btn--header{min-height:48px;padding-inline:24px}.nav-toggle{display:none;width:44px;height:44px;border:1px solid var(--mic-line);background:#fff;border-radius:6px;padding:10px}.nav-toggle span:not(.screen-reader-text){display:block;height:2px;margin:5px 0;background:var(--mic-navy)}.hero{overflow:hidden;border-bottom:1px solid var(--mic-line)}.hero__inner{min-height:610px;display:grid;grid-template-columns:540px minmax(0,1fr);align-items:center;gap:58px}.hero h1{margin:0 0 30px;color:var(--mic-navy);font-size:clamp(58px,5vw,90px);line-height:.94;letter-spacing:-.035em;font-weight:900}.hero p{margin:0 0 34px;color:var(--mic-text);font-size:clamp(17px,1.3vw,22px);line-height:1.65}.hero-dots{display:flex;gap:18px;margin-top:36px}.hero-dots span{width:12px;height:12px;border-radius:99px;background:#cbd3dc}.hero-dots span:first-child{background:var(--mic-orange)}.hero__visual{position:relative;min-height:520px}.hero__visual img{position:absolute;inset:0 -60px 0 0;width:calc(100% + 60px);height:100%;object-fit:cover;object-position:center;opacity:.92}.hero__visual:before{content:"";position:absolute;inset:0 auto 0 -1px;width:42%;z-index:1;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.7) 55%,rgba(255,255,255,0) 100%)}.hero-line{position:absolute;z-index:3;left:2%;right:0;bottom:90px;width:92%;height:260px;fill:none;stroke:var(--mic-orange);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.hero-line--thin{opacity:.45;stroke-width:2}.section{padding:clamp(56px,5vw,86px) 0}.section-title{text-align:center;margin:0 0 48px}.section-title h2{margin:0;color:var(--mic-navy);font-size:clamp(34px,3vw,48px);line-height:1.1;font-weight:900;letter-spacing:-.02em}.section-title p{margin:14px auto 0;max-width:720px;color:var(--mic-muted);font-size:17px}.section-title span{display:block;width:54px;height:3px;margin:20px auto 0;background:var(--mic-orange)}.services{background:linear-gradient(180deg,#fff 0%,#fafbfc 100%)}.services-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:26px}.service-card{min-height:285px;padding:40px 26px 34px;background:#fff;border:1px solid var(--mic-line);border-radius:8px;text-align:center;box-shadow:var(--shadow-soft);transition:.2s}.service-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-card)}.service-card img{display:block;width:74px;height:74px;object-fit:contain;margin:0 auto 24px}.service-card h3{margin:0 0 16px;color:var(--mic-navy);font-size:18px;font-weight:900}.service-card p{margin:0 auto;max-width:230px;color:#384354;font-size:15px;line-height:1.6}.service-card--navy{background:var(--mic-navy);border-color:var(--mic-navy);color:#fff}.service-card--navy h3,.service-card--navy p{color:#fff}.service-card--navy p{opacity:.86}.process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:70px;row-gap:28px}.process-step{position:relative;display:grid;grid-template-columns:78px 1fr;gap:20px;align-items:start}.process-step:not(:last-child):after{content:"";position:absolute;top:36px;left:calc(100% + 8px);width:48px;border-top:2px dotted var(--mic-navy)}.process-step:not(:last-child):before{content:"";position:absolute;top:31px;left:calc(100% + 50px);width:10px;height:10px;border-top:2px solid var(--mic-navy);border-right:2px solid var(--mic-navy);transform:rotate(45deg)}.process-number{width:72px;height:72px;border:2px solid #ffd4c0;color:var(--mic-orange);background:#fff;border-radius:50%;display:grid;place-items:center;font-size:24px;font-weight:900}.process-step h3{margin:4px 0 8px;color:var(--mic-navy);font-size:18px;font-weight:900}.process-step p{margin:0;color:#455064;font-size:14px;line-height:1.6}.experts{background:linear-gradient(180deg,#fff 0%,#f8fafc 100%)}.experts-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:24px}.expert-card{position:relative;overflow:hidden;background:#fff;border:1px solid var(--mic-line);border-radius:8px;box-shadow:var(--shadow-soft);transition:.2s;cursor:pointer}.expert-card:hover,.expert-card.is-active{transform:translateY(-2px);border-color:var(--mic-orange);box-shadow:0 20px 55px rgba(255,102,0,.12)}.expert-card.is-active:before{content:"";position:absolute;left:-7px;top:50%;width:13px;height:13px;border-radius:50%;background:var(--mic-orange);box-shadow:0 0 0 5px #fff;z-index:4}.expert-card__toggle{position:absolute;top:16px;right:16px;z-index:3;width:34px;height:34px;border:1px solid var(--mic-line);border-radius:50%;background:#fff;color:var(--mic-navy);font-size:21px;font-weight:800;cursor:pointer}.expert-card img{display:block;width:100%;height:200px;object-fit:cover;object-position:center 20%}.expert-card__body{padding:24px 24px 28px}.expert-card h3{margin:0 0 8px;color:var(--mic-navy);font-size:20px;font-weight:900}.expert-card p{margin:0;color:var(--mic-orange);font-size:15px;line-height:1.45;font-weight:800}.mini-line{display:block;width:34px;height:2px;margin:18px 0;background:var(--mic-orange)}.chips{display:flex;flex-wrap:wrap;gap:9px}.chips span{display:inline-flex;align-items:center;min-height:28px;padding:4px 12px;border:1px solid #dce3ec;border-radius:99px;background:#fff;color:var(--mic-navy);font-size:12px;font-weight:700}.expert-detail{position:relative;margin-top:40px;padding:22px;display:grid;grid-template-columns:430px 560px minmax(0,1fr);gap:0;background:#fff;border:2px solid var(--mic-orange);border-radius:14px;overflow:hidden;box-shadow:0 24px 70px rgba(11,31,58,.08)}.expert-detail[hidden]{display:none}.expert-detail:before{content:"";position:absolute;left:-7px;top:52px;width:13px;height:13px;background:var(--mic-orange);border-radius:50%;box-shadow:0 0 0 5px #fff;z-index:4}.expert-detail__close{position:absolute;right:22px;top:20px;z-index:4;width:34px;height:34px;border:1px solid var(--mic-line);border-radius:50%;background:#fff;color:var(--mic-navy);cursor:pointer}.expert-detail__photo img{width:100%;height:100%;min-height:520px;object-fit:cover;border-radius:7px 0 0 7px}.expert-detail__summary{padding:40px 42px 34px;background:var(--mic-navy);color:#fff;display:flex;flex-direction:column;justify-content:space-between}.expert-detail__summary h3{margin:0 0 8px;color:#fff;font-size:clamp(32px,3vw,48px);line-height:1.05;font-weight:900}.expert-detail__summary header p{margin:0;color:var(--mic-orange);font-size:18px;line-height:1.45;font-weight:900}.expert-detail__summary header:after{content:"";display:block;width:56px;height:3px;margin:22px 0 26px;background:var(--mic-orange)}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px 26px}.summary-grid article{display:grid;grid-template-columns:34px 1fr;column-gap:13px}.summary-grid span{width:28px;height:28px;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(255,255,255,.08);color:var(--mic-orange);display:grid;place-items:center;font-size:12px;font-weight:900}.summary-grid strong{color:#fff;font-size:12px;text-transform:uppercase;letter-spacing:.06em;line-height:1.35;margin-bottom:7px}.summary-grid p{grid-column:2;margin:0;color:rgba(255,255,255,.78);font-size:13px;line-height:1.5}.expert-detail__summary .btn{align-self:flex-start;min-width:260px;margin-top:28px}.expert-detail__list{padding:36px 38px 30px;background:#fff;display:flex;flex-direction:column;justify-content:center}.expert-detail__list article{display:grid;grid-template-columns:48px 190px 1fr;gap:18px;align-items:start;padding:22px 0;border-bottom:1px solid var(--mic-line)}.expert-detail__list article:first-child{padding-top:0}.detail-icon{width:42px;height:42px;color:var(--mic-orange);border:1px solid #e0e6ee;border-radius:50%;display:grid;place-items:center;font-weight:900}.expert-detail__list strong{color:var(--mic-navy);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;line-height:1.35}.expert-detail__list p{margin:0;color:#273140;font-size:14px;line-height:1.55}.vcard-link{display:inline-flex;align-items:center;gap:10px;margin-top:24px;color:var(--mic-navy);font-weight:900}.vcard-link small{color:var(--mic-muted)}.case-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.case-card{overflow:hidden;display:grid;grid-template-columns:190px 1fr;min-height:168px;background:var(--mic-navy);border:1px solid #dce3ec;border-radius:8px;box-shadow:0 18px 45px rgba(11,31,58,.10)}.case-card img{width:190px;height:168px;object-fit:cover}.case-card>div{padding:24px;background:var(--mic-navy);color:#fff;display:flex;flex-direction:column;justify-content:center}.case-card h3{margin:0 0 12px;color:#fff;font-size:20px;font-weight:900}.case-card p{margin:0 0 18px;color:rgba(255,255,255,.82);font-size:14px;line-height:1.55}.case-card a{color:var(--mic-orange);font-weight:900;font-size:14px}.center-button{margin:36px 0 0;text-align:center}.site-footer{background:var(--mic-navy);color:#fff}.site-footer__main{padding:58px 0;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:70px}.footer-brand img{width:170px;margin-bottom:22px}.site-footer h3{margin:0 0 18px;color:#fff;font-size:16px}.site-footer p,.site-footer li,.site-footer a{color:rgba(255,255,255,.84);font-size:15px;line-height:1.65}.footer-menu{display:grid;gap:9px;padding:0;margin:0;list-style:none}.social-links{display:flex;gap:14px}.social-links a{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--mic-navy);font-weight:900}.site-footer__bottom{background:#071526;color:rgba(255,255,255,.78);font-size:13px}.site-footer__bottom .mic-container{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:24px}.content-card{max-width:900px;margin:0 auto;padding:50px;border:1px solid var(--mic-line);border-radius:10px}
@media(max-width:1400px){:root{--container:1180px}.primary-menu{gap:26px}.hero__inner{grid-template-columns:430px minmax(0,1fr)}.services-grid{grid-template-columns:repeat(3,1fr)}.experts-grid{grid-template-columns:repeat(4,1fr)}.expert-detail{grid-template-columns:360px minmax(0,1fr)}.expert-detail__list{grid-column:1/-1}.case-card{grid-template-columns:160px 1fr}.case-card img{width:160px}}
@media(max-width:1100px){.mic-topbar{display:none}.nav-toggle{display:block;margin-left:auto}.site-header__inner{min-height:76px;flex-wrap:wrap}.site-logo img,.custom-logo{width:135px}.primary-nav{display:none;width:100%;padding:10px 0 22px;align-items:stretch;flex-direction:column;gap:18px}body.nav-open .primary-nav{display:flex}.primary-menu{align-items:stretch;flex-direction:column;gap:0}.primary-menu a{min-height:44px}.btn--header{align-self:flex-start}.hero__inner{min-height:auto;padding:60px 0 0;grid-template-columns:1fr;gap:35px}.hero__visual{min-height:420px;margin-inline:calc((100vw - min(var(--container), calc(100vw - 64px))) / -2)}.hero__visual img{inset:0;width:100%}.process-grid{grid-template-columns:repeat(2,1fr)}.process-step:before,.process-step:after{display:none}.experts-grid{grid-template-columns:repeat(3,1fr)}.case-grid{grid-template-columns:1fr}.case-card{grid-template-columns:220px 1fr}.case-card img{width:220px}.site-footer__main{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.mic-container{width:min(100% - 36px,var(--container))}.section{padding:48px 0}.hero h1{font-size:50px}.hero p{font-size:16px}.hero__visual{min-height:300px}.hero-line{bottom:45px;width:96%}.services-grid,.process-grid,.experts-grid{grid-template-columns:1fr}.service-card{min-height:auto}.expert-card{display:grid;grid-template-columns:130px 1fr}.expert-card img{height:100%;min-height:180px}.expert-card__body{padding:22px}.expert-detail{grid-template-columns:1fr;padding:16px}.expert-detail__photo img{min-height:320px;border-radius:7px 7px 0 0}.expert-detail__summary{padding:30px 24px}.summary-grid{grid-template-columns:1fr}.expert-detail__list{padding:28px 20px}.expert-detail__list article{grid-template-columns:44px 1fr}.expert-detail__list p,.expert-detail__list .chips{grid-column:2}.case-card{grid-template-columns:1fr}.case-card img{width:100%;height:220px}.site-footer__main{grid-template-columns:1fr;gap:34px}.site-footer__bottom .mic-container{flex-direction:column;align-items:flex-start;padding:16px 0}}
@media(max-width:480px){.expert-card{grid-template-columns:1fr}.expert-card img{min-height:220px}.btn{width:100%}.case-card img{height:190px}}


/* === Hero slider + responsive overlay === */
.hero-slider {
  position: relative;
  min-height: clamp(560px, 62vw, 760px);
  overflow: hidden;
  border-bottom: 1px solid var(--mic-line);
  background: var(--mic-navy);
}

.hero-slider__track {
  position: relative;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.018);
  transition:
    opacity .75s ease,
    visibility .75s ease,
    transform 1.15s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide__image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 7s ease;
  filter: saturate(1.02) contrast(1.02);
}

.hero-slide.is-active .hero-slide__image img {
  transform: scale(1.0);
}

.hero-slide__image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.86) 30%, rgba(255,255,255,.34) 58%, rgba(255,255,255,.03) 100%),
    linear-gradient(180deg, rgba(11,31,58,.02) 0%, rgba(11,31,58,.18) 100%);
}

.hero-slide__image::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: -90px;
  bottom: -110px;
  width: 420px;
  height: 420px;
  background: rgba(255,102,0,.10);
  clip-path: polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  transform: rotate(18deg);
}

.hero-slide__inner {
  position: relative;
  z-index: 3;
  min-height: clamp(560px, 62vw, 760px);
  display: flex;
  align-items: center;
}

.hero-slider .hero__copy {
  max-width: 610px;
  transform: translateY(18px);
  opacity: 0;
  transition:
    opacity .55s ease .18s,
    transform .55s ease .18s;
}

.hero-slide.is-active .hero__copy {
  opacity: 1;
  transform: translateY(0);
}

.hero-kicker {
  margin: 0 0 18px !important;
  color: var(--mic-orange) !important;
  font-size: 14px !important;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-slider .hero-line {
  left: auto;
  right: 2%;
  bottom: 90px;
  width: min(760px, 52vw);
  opacity: .95;
  transform: translateX(25px);
  transition: transform .8s ease .25s, opacity .8s ease .25s;
}

.hero-slide.is-active .hero-line {
  transform: translateX(0);
}

.hero-slider__controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  pointer-events: none;
}

.hero-arrow,
.hero-dots button {
  pointer-events: auto;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(11,31,58,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--mic-navy);
  display: grid;
  place-items: center;
  font-size: 30px;
  line-height: 1;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.hero-arrow:hover {
  background: var(--mic-orange);
  color: #fff;
  transform: translateY(-1px);
}

.hero-slider .hero-dots {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-slider .hero-dots button {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(11,31,58,.26);
  transition: width .2s ease, background .2s ease;
}

.hero-slider .hero-dots button.is-active {
  width: 34px;
  border-radius: 999px;
  background: var(--mic-orange);
}

/* Old hero visual block is no longer used in the slider layout */
.hero-slider .hero__visual {
  display: none;
}

@media (max-width: 1100px) {
  .hero-slider,
  .hero-slide__inner {
    min-height: 620px;
  }

  .hero-slide__image::before {
    background:
      linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.76) 46%, rgba(255,255,255,.18) 100%),
      linear-gradient(180deg, rgba(11,31,58,.06) 0%, rgba(11,31,58,.24) 100%);
  }

  .hero-slider .hero-line {
    width: min(640px, 76vw);
    right: -8%;
    bottom: 86px;
  }
}

@media (max-width: 760px) {
  .hero-slider,
  .hero-slide__inner {
    min-height: 620px;
  }

  .hero-slide__inner {
    align-items: center;
    padding: 70px 0 94px;
  }

  .hero-slide__image img {
    object-position: 62% center;
  }

  .hero-slide__image::before {
    background:
      linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.80) 46%, rgba(255,255,255,.38) 78%, rgba(255,255,255,.12) 100%),
      linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(11,31,58,.18) 100%);
  }

  .hero-slider .hero__copy {
    max-width: 86%;
  }

  .hero-slider h1 {
    font-size: clamp(46px, 13vw, 68px);
  }

  .hero-slider .hero-line {
    width: 92vw;
    right: -32vw;
    bottom: 78px;
    opacity: .55;
  }

  .hero-slider__controls {
    bottom: 24px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-slider,
  .hero-slide__inner {
    min-height: 590px;
  }

  .hero-slider .hero__copy {
    max-width: 100%;
  }

  .hero-kicker {
    font-size: 12px !important;
  }

  .hero-slider p {
    font-size: 15px;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
  }
}


/* === Admin/CPT version refinements === */
.hero-slider h1,
.hero-slider .hero-title {
  margin: 0 0 30px;
  color: var(--mic-navy);
  font-size: clamp(58px, 5vw, 90px);
  line-height: .94;
  letter-spacing: -.035em;
  font-weight: 900;
}

.hero-slide--slide {
  transform: translateX(44px) scale(1.012);
}

.hero-slide--slide.is-active {
  transform: translateX(0) scale(1);
}

.hero-slide--zoom {
  transform: scale(1.06);
}

.hero-slide--zoom.is-active {
  transform: scale(1);
}

.hero-slide--fade {
  transform: scale(1.018);
}

.hero-slide--fade.is-active {
  transform: scale(1);
}

.site-footer h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 16px;
}

.error-404,
.page-content-layout,
.single-content-layout {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 82px);
  border: 1px solid var(--mic-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.error-404 h1,
.page-content-layout h1,
.single-content-layout h1 {
  margin-top: 0;
  color: var(--mic-navy);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
}

.single-hero-image {
  margin: 0 0 34px;
  overflow: hidden;
  border-radius: 10px;
}

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

@media (max-width: 760px) {
  .hero-slider h1,
  .hero-slider .hero-title {
    font-size: clamp(46px, 13vw, 68px);
  }

  .error-404,
  .page-content-layout,
  .single-content-layout {
    padding: 30px 22px;
  }
}


/* === Client requested refinements v1.5.0 === */

/* Header: remove top strip and make the main menu band dark */
.mic-topbar {
  display: none !important;
}

.site-header {
  background: var(--mic-navy) !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  backdrop-filter: none !important;
}

.site-header__inner {
  min-height: 86px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 8px 14px;
  border-radius: 4px;
}

.site-logo img,
.site-logo .custom-logo {
  width: 164px;
}

.primary-menu,
.primary-menu a {
  color: #fff !important;
}

.nav-toggle {
  background: transparent !important;
  border-color: rgba(255,255,255,.30) !important;
}

.nav-toggle span:not(.screen-reader-text) {
  background: #fff !important;
}

/* Slider: arrows removed, dots are enough */
.hero-arrow {
  display: none !important;
}

.hero-slider__controls {
  justify-content: center;
}

/* Services: all cards use the dark brand panel */
.service-card,
.service-card.service-card--navy {
  background: var(--mic-navy) !important;
  border-color: var(--mic-navy) !important;
  color: #fff !important;
}

.service-card h3,
.service-card p,
.service-card.service-card--navy h3,
.service-card.service-card--navy p {
  color: #fff !important;
}

.service-card p {
  opacity: .86;
}

/* Process arrows should be orange */
.process-step:not(:last-child)::after {
  border-top-color: var(--mic-orange) !important;
}

.process-step:not(:last-child)::before {
  border-top-color: var(--mic-orange) !important;
  border-right-color: var(--mic-orange) !important;
}

/* Expert plus icons: rounded squares like the graphic proposal */
.expert-card__toggle {
  border-radius: 7px !important;
  border: 1px solid rgba(255,102,0,.35) !important;
  background: #fff !important;
  color: var(--mic-orange) !important;
  box-shadow: 0 8px 20px rgba(11,31,58,.08);
}

.expert-card.is-active .expert-card__toggle,
.expert-card:hover .expert-card__toggle {
  background: var(--mic-orange) !important;
  color: #fff !important;
}

/* Open expert detail: remove inner white gutters inside the orange border */
.expert-detail {
  padding: 0 !important;
  gap: 0 !important;
}

.expert-detail__photo img {
  border-radius: 12px 0 0 12px !important;
}

.expert-detail__summary {
  border-radius: 0 !important;
}

.expert-detail__list {
  border-radius: 0 12px 12px 0 !important;
}

.expert-detail__close {
  top: 18px !important;
  right: 18px !important;
}

@media (max-width: 1100px) {
  .primary-nav {
    background: var(--mic-navy);
  }
}

@media (max-width: 760px) {
  .expert-detail {
    padding: 0 !important;
  }

  .expert-detail__photo img {
    border-radius: 12px 12px 0 0 !important;
  }

  .expert-detail__list {
    border-radius: 0 0 12px 12px !important;
  }
}


/* === Interactive refinements v1.6.0 === */

/* Custom logo: remove the fallback logo frame when user uploads their own logo */
body.wp-custom-logo .site-logo {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.wp-custom-logo .site-logo .custom-logo {
  width: auto;
  max-width: 210px;
  max-height: 74px;
  object-fit: contain;
}

/* Menu hover interactions */
.primary-menu a {
  transition: color .22s ease, transform .22s ease, opacity .22s ease;
}

.primary-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  height: 2px;
  background: var(--mic-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}

.primary-menu li:first-child a::after,
.primary-menu .current-menu-item > a::after {
  transform: scaleX(1);
}

.primary-menu a:hover,
.primary-menu a:focus-visible {
  color: var(--mic-orange) !important;
  transform: translateY(-2px);
}

.primary-menu a:hover::after,
.primary-menu a:focus-visible::after {
  transform: scaleX(1);
}

.primary-menu a:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
.expert-card__toggle:focus-visible,
.hero-dots button:focus-visible {
  outline: 2px solid var(--mic-orange);
  outline-offset: 4px;
}

.btn--header {
  position: relative;
  overflow: hidden;
}

.btn--header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.22) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .55s ease;
}

.btn--header:hover::before,
.btn--header:focus-visible::before {
  transform: translateX(120%);
}

/* Expert card interactions */
.expert-card {
  cursor: pointer;
}

.expert-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,102,0,0) 0%, rgba(255,102,0,.08) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.expert-card:hover::after,
.expert-card.is-active::after {
  opacity: 1;
}

.expert-card img {
  transition: transform .45s ease, filter .45s ease;
}

.expert-card:hover img,
.expert-card.is-active img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.03);
}

.expert-card__body {
  position: relative;
  z-index: 2;
}

.expert-card__toggle {
  transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.expert-card:hover .expert-card__toggle {
  transform: rotate(90deg) scale(1.04);
}

.expert-card.is-active .expert-card__toggle {
  transform: rotate(45deg);
}

/* Expert detail switch animation */
.expert-detail {
  transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease;
}

.expert-detail.is-switching {
  opacity: .16;
  transform: translateY(14px) scale(.992);
}

.expert-detail.is-revealed {
  animation: micExpertReveal .38s ease both;
}

.expert-detail__photo img,
.expert-detail__summary,
.expert-detail__list {
  transition: opacity .28s ease, transform .28s ease;
}

.expert-detail.is-switching .expert-detail__photo img,
.expert-detail.is-switching .expert-detail__summary,
.expert-detail.is-switching .expert-detail__list {
  opacity: .35;
  transform: translateY(8px);
}

@keyframes micExpertReveal {
  from {
    opacity: .2;
    transform: translateY(18px) scale(.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  .primary-menu a:hover,
  .primary-menu a:focus-visible {
    transform: translateX(4px);
  }
}


/* === Header logo + editable bottom footer menu v1.7.0 === */

/* Header container is intentionally wider so the logo is not pushed too far inward on large monitors. */
.site-header > .mic-container.site-header__inner {
  width: min(1820px, calc(100% - 48px));
}

body.wp-custom-logo .site-logo {
  justify-content: flex-start !important;
  margin-left: 0 !important;
  min-width: 0 !important;
}

body.wp-custom-logo .site-logo .custom-logo {
  display: block;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Editable footer bottom menu */
.footer-bottom-nav {
  margin-left: auto;
}

.footer-bottom-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-bottom-menu li + li::before {
  content: "|";
  margin-right: 18px;
  color: rgba(255,255,255,.45);
}

.footer-bottom-menu a {
  color: rgba(255,255,255,.78);
  transition: color .2s ease;
}

.footer-bottom-menu a:hover,
.footer-bottom-menu a:focus-visible {
  color: var(--mic-orange);
}

@media (max-width: 760px) {
  .site-header > .mic-container.site-header__inner {
    width: min(100% - 28px, var(--container));
  }

  .footer-bottom-nav {
    margin-left: 0;
  }

  .footer-bottom-menu {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .footer-bottom-menu li + li::before {
    margin-right: 14px;
  }
}


/* === Logo placement fix v1.8.0 === */

/*
 * WordPress custom logo outputs its own .custom-logo-link <a>.
 * The header now uses a neutral .site-logo wrapper so the custom logo no longer
 * sits after an empty nested anchor and therefore no longer jumps to the right.
 */
.site-header > .mic-container.site-header__inner {
  width: min(100% - 48px, var(--container)) !important;
}

.site-logo {
  flex: 0 0 auto;
  margin-left: 0 !important;
}

.site-logo,
.site-logo a,
.site-logo__fallback {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.site-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 !important;
  padding: 0 !important;
}

.site-logo .custom-logo,
.site-logo img {
  display: block;
  margin: 0 !important;
}

body.wp-custom-logo .site-logo {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.wp-custom-logo .site-logo .custom-logo {
  width: auto !important;
  max-width: 210px;
  max-height: 74px;
  object-fit: contain;
}

@media (max-width: 760px) {
  .site-header > .mic-container.site-header__inner {
    width: min(100% - 28px, var(--container)) !important;
  }
}


/* === Process steps up to 6 items v1.9.0 === */
.process-grid {
  grid-template-columns: repeat(var(--process-columns, 4), minmax(0, 1fr));
}

.process-grid--count-1 { --process-columns: 1; }
.process-grid--count-2 { --process-columns: 2; }
.process-grid--count-3 { --process-columns: 3; }
.process-grid--count-4 { --process-columns: 4; }
.process-grid--count-5 { --process-columns: 5; }
.process-grid--count-6 { --process-columns: 6; }

.process-grid--count-5 .process-step,
.process-grid--count-6 .process-step {
  padding-inline: 6px;
}

.process-grid--count-5 .process-step h3,
.process-grid--count-6 .process-step h3 {
  font-size: clamp(18px, 1.18vw, 23px);
}

.process-grid--count-5 .process-step p,
.process-grid--count-6 .process-step p {
  font-size: 14px;
}

@media (max-width: 1280px) {
  .process-grid--count-5,
  .process-grid--count-6 {
    --process-columns: 3;
    row-gap: 52px;
  }

  .process-grid--count-5 .process-step:nth-child(3)::after,
  .process-grid--count-5 .process-step:nth-child(3)::before,
  .process-grid--count-6 .process-step:nth-child(3)::after,
  .process-grid--count-6 .process-step:nth-child(3)::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .process-grid,
  .process-grid--count-1,
  .process-grid--count-2,
  .process-grid--count-3,
  .process-grid--count-4,
  .process-grid--count-5,
  .process-grid--count-6 {
    --process-columns: 1;
  }

  .process-step::after,
  .process-step::before {
    display: none !important;
  }
}


/* === Expandable services + refined process arrows v2.0.0 === */
.service-card {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
}

.service-card__button {
  width: 100%;
  min-height: 285px;
  padding: 40px 26px 28px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.service-card__button:disabled {
  cursor: default;
}

.service-card__button img {
  display: block;
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin: 0 auto 24px;
}

.service-card .service-card__button h3 {
  margin: 0;
  color: #fff !important;
  font-size: 18px;
  font-weight: 900;
}

.service-card__line {
  display: block;
  width: 34px;
  height: 2px;
  margin: 17px auto 16px;
  background: var(--mic-orange);
  transition: width .24s ease, opacity .24s ease;
}

.service-card .service-card__button p {
  margin: 0 auto;
  max-width: 230px;
  color: #fff !important;
  font-size: 15px;
  line-height: 1.6;
  opacity: .86;
}

.service-card__hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: var(--mic-orange);
  font-size: 13px;
  font-weight: 900;
}

.service-card__hint::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255,102,0,.55);
  border-radius: 5px;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.service-card--expandable:hover .service-card__line,
.service-card.is-open .service-card__line {
  width: 54px;
}

.service-card.is-open .service-card__hint::after {
  content: "×";
  transform: rotate(90deg);
  background: var(--mic-orange);
  color: #fff;
}

.service-card__extra {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  transition: grid-template-rows .35s ease, opacity .28s ease;
}

.service-card.is-open .service-card__extra {
  grid-template-rows: 1fr;
  opacity: 1;
}

.service-card__extra-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 26px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  line-height: 1.68;
  text-align: left;
}

.service-card.is-open .service-card__extra-inner {
  padding-bottom: 30px;
}

.service-card__extra-inner p {
  margin: 0 0 14px !important;
  max-width: none !important;
  color: rgba(255,255,255,.86) !important;
  font-size: 14px !important;
  line-height: 1.68 !important;
}

.service-card__extra-inner p:last-child {
  margin-bottom: 0 !important;
}

/*
 * Process arrow refinement: create a small gap between the dotted line and arrow head.
 */
.process-step:not(:last-child)::after {
  left: calc(100% + 8px) !important;
  width: 39px !important;
}

.process-step:not(:last-child)::before {
  left: calc(100% + 55px) !important;
}

/* Keep the 5/6 step responsive correction using the same refined arrow positions */
.process-grid--count-5 .process-step:not(:last-child)::after,
.process-grid--count-6 .process-step:not(:last-child)::after {
  width: 34px !important;
}

.process-grid--count-5 .process-step:not(:last-child)::before,
.process-grid--count-6 .process-step:not(:last-child)::before {
  left: calc(100% + 49px) !important;
}

@media (max-width: 1280px) {
  .process-grid--count-5 .process-step:nth-child(3)::after,
  .process-grid--count-5 .process-step:nth-child(3)::before,
  .process-grid--count-6 .process-step:nth-child(3)::after,
  .process-grid--count-6 .process-step:nth-child(3)::before {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .service-card__button {
    min-height: auto;
    padding: 34px 22px 26px;
  }

  .service-card__extra-inner {
    padding-inline: 22px;
  }
}


/* === Services desktop detail panel + cases visibility option v2.1.0 === */
.service-card.is-active {
  transform: translateY(-4px);
  border-color: var(--mic-orange) !important;
  box-shadow: 0 22px 44px rgba(11,31,58,.18);
}

.services-detail-panel {
  position: relative;
  margin: 34px auto 0;
  max-width: 980px;
  padding: 36px 42px 34px;
  border: 1px solid rgba(255,102,0,.38);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255,102,0,.08), rgba(255,102,0,0) 38%),
    #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.services-detail-panel[hidden] {
  display: none !important;
}

.services-detail-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--mic-orange);
}

.services-detail-panel__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,102,0,.32);
  border-radius: 7px;
  background: #fff;
  color: var(--mic-orange);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.services-detail-panel__inner {
  max-width: 820px;
}

.services-detail-panel__inner h3 {
  margin: 0 0 18px;
  color: var(--mic-navy);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 900;
}

.services-detail-panel__inner h3::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 16px;
  background: var(--mic-orange);
}

.services-detail-panel__inner p {
  margin: 0 0 15px;
  color: #384354;
  font-size: 16px;
  line-height: 1.75;
}

@media (min-width: 761px) {
  .services-grid {
    align-items: start;
  }

  .service-card.is-open .service-card__hint::after {
    content: "×";
  }
}

@media (max-width: 760px) {
  .services-detail-panel {
    display: none !important;
  }
}


/* === Services expanding card layout v2.2.0 === */

/*
 * Desktop behavior:
 * The active service card expands to two grid columns.
 * Other cards keep their original height and naturally reflow around it.
 */
.services-grid {
  align-items: start !important;
}

.service-card {
  height: auto;
  transition:
    grid-column .28s ease,
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

@media (min-width: 761px) {
  .service-card.is-open {
    grid-column: span 2;
  }

  .service-card.is-open .service-card__button {
    min-height: 285px;
    display: grid;
    grid-template-columns: 190px 1fr;
    grid-template-areas:
      "icon title"
      "icon line"
      "icon text"
      "icon hint";
    align-items: center;
    column-gap: 26px;
    text-align: left;
  }

  .service-card.is-open .service-card__button img {
    grid-area: icon;
    width: 104px;
    height: 104px;
    margin: 0 auto;
  }

  .service-card.is-open .service-card__button h3 {
    grid-area: title;
    margin-top: 0;
    font-size: clamp(21px, 1.6vw, 28px);
  }

  .service-card.is-open .service-card__line {
    grid-area: line;
    margin: 16px 0;
  }

  .service-card.is-open .service-card__button p {
    grid-area: text;
    max-width: 520px;
    margin: 0;
  }

  .service-card.is-open .service-card__hint {
    grid-area: hint;
    justify-content: flex-start;
    margin-top: 20px;
  }

  .service-card__extra {
    display: grid !important;
    grid-template-rows: 0fr;
    opacity: 0;
    border-top: 1px solid rgba(255,255,255,.12);
    transition: grid-template-rows .35s ease, opacity .28s ease;
  }

  .service-card.is-open .service-card__extra {
    grid-template-rows: 1fr;
    opacity: 1;
  }

  .service-card.is-open .service-card__extra-inner {
    padding: 0 34px 34px;
    column-count: 2;
    column-gap: 34px;
  }

  .service-card.is-open .service-card__extra-inner p {
    break-inside: avoid;
  }
}

/* Disable the previous desktop panel solution */
.services-detail-panel {
  display: none !important;
}

/* Mobile keeps the card accordion behavior from the previous version */
@media (max-width: 760px) {
  .service-card.is-open {
    grid-column: auto;
  }

  .service-card.is-open .service-card__extra-inner {
    column-count: 1;
  }
}


/* === Services full-row expansion v2.3.0 === */
/*
 * Desktop:
 * An opened service takes the full grid row. Cards after it naturally continue
 * on the next row. The detail is shown inside the same dark card.
 */
@media (min-width: 981px) {
  .service-card.is-open {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    align-items: stretch;
    min-height: 360px;
    overflow: hidden;
    transform: translateY(-5px);
    animation: micServiceFullRow .34s cubic-bezier(.2,.8,.2,1) both;
  }

  .service-card.is-open .service-card__button {
    min-height: 0 !important;
    height: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 44px 34px !important;
    text-align: center !important;
    border-right: 1px solid rgba(255,255,255,.13);
  }

  .service-card.is-open .service-card__button img {
    width: 104px !important;
    height: 104px !important;
    margin: 0 auto 24px !important;
  }

  .service-card.is-open .service-card__button h3 {
    margin: 0 !important;
    font-size: clamp(24px, 2vw, 34px) !important;
    line-height: 1.15;
  }

  .service-card.is-open .service-card__line {
    width: 58px;
    margin: 18px auto 18px !important;
  }

  .service-card.is-open .service-card__button p {
    max-width: 270px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .service-card.is-open .service-card__hint {
    justify-content: center !important;
    margin-top: 24px !important;
  }

  .service-card.is-open .service-card__extra {
    display: grid !important;
    grid-template-rows: 1fr !important;
    opacity: 1 !important;
    border-top: 0 !important;
  }

  .service-card.is-open .service-card__extra-inner {
    display: block;
    min-height: 0;
    padding: 48px 56px 48px !important;
    column-count: 2;
    column-gap: 44px;
    text-align: left;
    animation: micServiceContentReveal .36s ease .08s both;
  }

  .service-card.is-open .service-card__extra-inner p {
    break-inside: avoid;
    margin-bottom: 16px !important;
  }
}

/* Tablet / small desktop: full row, but stacked inside for readability */
@media (min-width: 761px) and (max-width: 980px) {
  .service-card.is-open {
    grid-column: 1 / -1;
    display: block !important;
    animation: micServiceFullRow .34s cubic-bezier(.2,.8,.2,1) both;
  }

  .service-card.is-open .service-card__button {
    min-height: auto !important;
    display: block !important;
    padding: 38px 30px 28px !important;
    text-align: center !important;
  }

  .service-card.is-open .service-card__button img {
    width: 92px !important;
    height: 92px !important;
    margin: 0 auto 22px !important;
  }

  .service-card.is-open .service-card__line {
    margin: 17px auto 16px !important;
  }

  .service-card.is-open .service-card__button p {
    max-width: 620px !important;
    margin: 0 auto !important;
  }

  .service-card.is-open .service-card__hint {
    justify-content: center !important;
  }

  .service-card.is-open .service-card__extra-inner {
    column-count: 1 !important;
    padding: 0 34px 34px !important;
  }
}

@keyframes micServiceFullRow {
  from {
    opacity: .72;
    transform: translateY(14px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(-5px) scale(1);
  }
}

@keyframes micServiceContentReveal {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Active cards not opened should not visually compete with the full-row card. */
.service-card.is-active:not(.is-open) {
  transform: none;
}


/* === Services: closed cards first row, opened card second row v2.4.0 === */
@media (min-width: 981px) {
  .services-grid.services-grid--has-open {
    grid-template-columns: repeat(var(--services-closed-count, 4), minmax(0, 1fr)) !important;
    align-items: start !important;
  }

  .services-grid.services-grid--has-open .service-card {
    order: 1;
    animation: micServiceCardsReflow .28s ease both;
  }

  .services-grid.services-grid--has-open .service-card.is-open {
    order: 2;
    grid-column: 1 / -1 !important;
  }

  .services-grid.services-grid--has-open .service-card:not(.is-open) .service-card__button {
    min-height: 285px;
  }

  .services-grid.services-grid--has-open .service-card:not(.is-open) {
    transform: none;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .services-grid.services-grid--has-open .service-card {
    order: 1;
  }

  .services-grid.services-grid--has-open .service-card.is-open {
    order: 2;
    grid-column: 1 / -1 !important;
  }
}

@keyframes micServiceCardsReflow {
  from {
    opacity: .78;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* === Services slower reflow + one-row closed cards on desktop v2.5.0 === */
.service-card {
  transition:
    grid-column .62s cubic-bezier(.16, 1, .3, 1),
    transform .52s cubic-bezier(.16, 1, .3, 1),
    box-shadow .52s ease,
    border-color .52s ease,
    opacity .52s ease !important;
}

.service-card__extra {
  transition:
    grid-template-rows .68s cubic-bezier(.16, 1, .3, 1),
    opacity .52s ease !important;
}

@media (min-width: 761px) {
  .services-grid.services-grid--has-open {
    /*
     * Closed service cards stay in one row when there is enough desktop/tablet width.
     * With 5 services and 1 opened card this produces 4 equal columns in the first row.
     */
    grid-template-columns: repeat(var(--services-closed-count, 4), minmax(0, 1fr)) !important;
    column-gap: clamp(16px, 2vw, 26px);
    row-gap: 30px;
  }

  .services-grid.services-grid--has-open .service-card {
    order: 1;
    animation: micServiceCardsReflowSlow .58s cubic-bezier(.16, 1, .3, 1) both !important;
  }

  .services-grid.services-grid--has-open .service-card.is-open {
    order: 2;
    grid-column: 1 / -1 !important;
    animation: micServiceFullRowSlow .68s cubic-bezier(.16, 1, .3, 1) both !important;
  }

  .services-grid.services-grid--has-open .service-card:not(.is-open) {
    min-width: 0;
  }

  .services-grid.services-grid--has-open .service-card:not(.is-open) .service-card__button {
    min-height: 285px;
    padding-inline: clamp(16px, 1.7vw, 26px);
  }

  .services-grid.services-grid--has-open .service-card:not(.is-open) .service-card__button h3 {
    font-size: clamp(16px, 1.05vw, 18px);
  }

  .services-grid.services-grid--has-open .service-card:not(.is-open) .service-card__button p {
    font-size: clamp(13px, .9vw, 15px);
  }
}

/* On narrow tablets the one-row layout could be too tight, so switch to two columns. */
@media (min-width: 761px) and (max-width: 860px) {
  .services-grid.services-grid--has-open {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@keyframes micServiceCardsReflowSlow {
  0% {
    opacity: .65;
    transform: translateY(18px) scale(.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes micServiceFullRowSlow {
  0% {
    opacity: .68;
    transform: translateY(22px) scale(.982);
  }
  100% {
    opacity: 1;
    transform: translateY(-5px) scale(1);
  }
}

@media (min-width: 981px) {
  .service-card.is-open .service-card__extra-inner {
    animation: micServiceContentRevealSlow .72s cubic-bezier(.16, 1, .3, 1) .16s both !important;
  }
}

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


/* === Expanded service card text balance v2.6.0 === */
@media (min-width: 981px) {
  .service-card.is-open {
    min-height: 300px !important;
    grid-template-columns: minmax(250px, 330px) minmax(0, 1fr) !important;
  }

  .service-card.is-open .service-card__button {
    padding: 40px 34px !important;
  }

  .service-card.is-open .service-card__button img {
    width: 96px !important;
    height: 96px !important;
    margin-bottom: 24px !important;
  }

  .service-card.is-open .service-card__button h3 {
    margin-bottom: 0 !important;
    font-size: clamp(25px, 2vw, 35px) !important;
  }

  /*
   * In the expanded card, the short subtitle and orange divider are redundant.
   * The full text on the right carries the content, so this keeps the card lower
   * and visually tighter.
   */
  .service-card.is-open .service-card__line,
  .service-card.is-open .service-card__button p {
    display: none !important;
  }

  .service-card.is-open .service-card__hint {
    margin-top: 28px !important;
  }

  .service-card.is-open .service-card__extra-inner {
    padding: 42px 56px 42px !important;
    font-size: clamp(16.5px, 1.05vw, 18px) !important;
    line-height: 1.78 !important;
  }

  .service-card.is-open .service-card__extra-inner p {
    font-size: clamp(16.5px, 1.05vw, 18px) !important;
    line-height: 1.78 !important;
    margin-bottom: 18px !important;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .service-card.is-open .service-card__line,
  .service-card.is-open .service-card__button p {
    display: none !important;
  }

  .service-card.is-open .service-card__button h3 {
    font-size: clamp(24px, 3.4vw, 32px) !important;
  }

  .service-card.is-open .service-card__extra-inner,
  .service-card.is-open .service-card__extra-inner p {
    font-size: 16.5px !important;
    line-height: 1.75 !important;
  }
}


/* === Services equal closed-card heights + mobile detail spacing v2.7.0 === */
@media (min-width: 761px) {
  .services-grid {
    align-items: stretch !important;
  }

  .service-card:not(.is-open) {
    height: 100%;
    display: flex !important;
    flex-direction: column;
  }

  .service-card:not(.is-open) .service-card__button {
    height: 100%;
    min-height: 285px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .service-card:not(.is-open) .service-card__button img {
    flex: 0 0 auto;
  }

  .service-card:not(.is-open) .service-card__button p {
    flex: 0 0 auto;
  }

  .service-card:not(.is-open) .service-card__hint {
    margin-top: auto;
    padding-top: 22px;
  }

  .services-grid.services-grid--has-open {
    align-items: stretch !important;
  }

  .services-grid.services-grid--has-open .service-card:not(.is-open) {
    height: 100%;
  }
}

@media (max-width: 760px) {
  .service-card.is-open .service-card__extra-inner {
    padding-top: 22px !important;
  }
}


/* === Mobile menu redesign + sane anchor active states v2.9.0 === */

/* Desktop/tablet default: underline only on hover, focus, real current page, or JS-selected section. */
.primary-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  height: 2px;
  background: var(--mic-orange);
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: left center;
  transition: opacity .22s ease, transform .22s ease;
}

.primary-menu li:first-child > a::after,
.primary-menu .current-menu-item > a::after {
  opacity: 0 !important;
  transform: scaleX(.35) !important;
}

.primary-menu a:hover::after,
.primary-menu a:focus-visible::after,
.primary-menu a.is-current-section::after,
.primary-menu li:not(.menu-item-type-custom).current-menu-item > a:not([href*="#"])::after {
  opacity: 1 !important;
  transform: scaleX(1) !important;
}

@media (max-width: 1100px) {
  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 45;
    background:
      radial-gradient(circle at 85% 12%, rgba(255,102,0,.18), rgba(255,102,0,0) 28%),
      rgba(11,31,58,.48);
    backdrop-filter: blur(3px);
    animation: micMenuBackdropIn .34s ease both;
  }

  .site-header {
    z-index: 90;
  }

  .site-header__inner {
    position: relative;
  }

  .nav-toggle {
    position: relative;
    z-index: 92;
    display: inline-grid !important;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-left: auto;
    padding: 0;
    border: 1px solid rgba(11,31,58,.13);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(11,31,58,.10);
    transition: background .24s ease, border-color .24s ease, box-shadow .24s ease, transform .24s ease;
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255,102,0,.35);
    box-shadow: 0 16px 34px rgba(11,31,58,.14);
  }

  .nav-toggle span:not(.screen-reader-text) {
    position: absolute;
    width: 22px;
    height: 2px;
    margin: 0;
    border-radius: 99px;
    background: var(--mic-navy);
    transition: transform .28s cubic-bezier(.16,1,.3,1), opacity .22s ease, background .22s ease;
  }

  .nav-toggle span:not(.screen-reader-text):nth-child(1) {
    transform: translateY(-7px);
  }

  .nav-toggle span:not(.screen-reader-text):nth-child(2) {
    transform: translateY(0);
  }

  .nav-toggle span:not(.screen-reader-text):nth-child(3) {
    transform: translateY(7px);
  }

  body.nav-open .nav-toggle {
    background: var(--mic-orange);
    border-color: var(--mic-orange);
  }

  body.nav-open .nav-toggle span:not(.screen-reader-text) {
    background: #fff;
  }

  body.nav-open .nav-toggle span:not(.screen-reader-text):nth-child(1) {
    transform: rotate(45deg);
  }

  body.nav-open .nav-toggle span:not(.screen-reader-text):nth-child(2) {
    opacity: 0;
    transform: scaleX(.25);
  }

  body.nav-open .nav-toggle span:not(.screen-reader-text):nth-child(3) {
    transform: rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    z-index: 91;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: flex !important;
    width: auto !important;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background:
      linear-gradient(135deg, rgba(255,102,0,.10), rgba(255,102,0,0) 38%),
      rgba(11,31,58,.98);
    box-shadow: 0 26px 70px rgba(11,31,58,.36);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px) scale(.98);
    transform-origin: top right;
    transition:
      opacity .28s ease,
      visibility .28s ease,
      transform .38s cubic-bezier(.16,1,.3,1);
  }

  body.nav-open .primary-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .primary-menu {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    color: #fff;
  }

  .primary-menu li {
    opacity: 0;
    transform: translateY(-6px);
  }

  body.nav-open .primary-menu li {
    animation: micMobileMenuItemIn .42s cubic-bezier(.16,1,.3,1) both;
  }

  body.nav-open .primary-menu li:nth-child(1) { animation-delay: .04s; }
  body.nav-open .primary-menu li:nth-child(2) { animation-delay: .08s; }
  body.nav-open .primary-menu li:nth-child(3) { animation-delay: .12s; }
  body.nav-open .primary-menu li:nth-child(4) { animation-delay: .16s; }
  body.nav-open .primary-menu li:nth-child(5) { animation-delay: .20s; }
  body.nav-open .primary-menu li:nth-child(6) { animation-delay: .24s; }
  body.nav-open .primary-menu li:nth-child(7) { animation-delay: .28s; }

  .primary-menu a {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    color: #fff;
    background: rgba(255,255,255,.045);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -.01em;
    transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
  }

  .primary-menu a::before {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: var(--mic-orange);
    box-shadow: 0 0 0 5px rgba(255,102,0,.12);
    opacity: .75;
    transition: opacity .22s ease, transform .22s ease;
  }

  .primary-menu a::after {
    content: "→" !important;
    position: static !important;
    display: inline-block;
    width: auto !important;
    height: auto !important;
    margin-left: auto;
    background: none !important;
    color: currentColor;
    opacity: .38 !important;
    transform: translateX(-5px) !important;
    transition: opacity .22s ease, transform .22s ease !important;
  }

  .primary-menu a:hover,
  .primary-menu a:focus-visible,
  .primary-menu a.is-current-section {
    color: var(--mic-navy);
    background: #fff;
    border-color: #fff;
    transform: translateX(3px);
  }

  .primary-menu a:hover::before,
  .primary-menu a:focus-visible::before,
  .primary-menu a.is-current-section::before {
    opacity: 1;
    transform: scale(1.12);
  }

  .primary-menu a:hover::after,
  .primary-menu a:focus-visible::after,
  .primary-menu a.is-current-section::after {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }

  .primary-menu .current-menu-item > a,
  .primary-menu li:first-child > a {
    text-decoration: none !important;
  }

  .btn--header {
    width: 100%;
    min-height: 54px;
    justify-content: center;
    border-radius: 14px;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(255,102,0,.24);
    opacity: 0;
    transform: translateY(-6px);
  }

  body.nav-open .btn--header {
    animation: micMobileMenuItemIn .42s cubic-bezier(.16,1,.3,1) .30s both;
  }
}

@media (max-width: 520px) {
  .primary-nav {
    left: -4px;
    right: -4px;
    padding: 14px;
    border-radius: 18px;
  }

  .primary-menu a,
  .btn--header {
    min-height: 52px;
    border-radius: 13px;
    font-size: 15px;
  }
}

@keyframes micMobileMenuItemIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes micMenuBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/* === Menu readability, expert vCard button, softer services reflow v3.0.0 === */

/* Fix mobile active item contrast: navy text on white active background. */
@media (max-width: 1100px) {
  .primary-menu a.is-current-section,
  .primary-menu .current-menu-item > a,
  .primary-menu .current_page_item > a {
    color: var(--mic-navy) !important;
    background: #fff !important;
    border-color: #fff !important;
  }

  .primary-menu a.is-current-section::after,
  .primary-menu .current-menu-item > a::after,
  .primary-menu .current_page_item > a::after {
    color: var(--mic-navy) !important;
  }

  .primary-menu a.is-current-section::before,
  .primary-menu .current-menu-item > a::before,
  .primary-menu .current_page_item > a::before {
    opacity: 1 !important;
    transform: scale(1.12);
  }
}

/* Branded vCard button in the expert detail card. */
.vcard-link {
  width: 100%;
  margin-top: 24px !important;
  padding: 14px 16px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 13px !important;
  border: 1px solid rgba(255,102,0,.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,102,0,.10), rgba(255,102,0,0) 52%),
    #fff;
  color: var(--mic-navy) !important;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(11,31,58,.07);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.vcard-link:hover,
.vcard-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--mic-orange);
  box-shadow: 0 18px 38px rgba(255,102,0,.14);
}

.vcard-link__icon {
  position: relative;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--mic-orange);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}

.vcard-link__icon::before,
.vcard-link__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #fff;
  border-radius: 99px;
  transform: translate(-50%, -50%);
}

.vcard-link__icon::before {
  width: 15px;
  height: 2px;
}

.vcard-link__icon::after {
  width: 2px;
  height: 15px;
}

.vcard-link small {
  display: inline-block;
  margin-left: 4px;
  color: var(--mic-muted) !important;
  font-weight: 800;
}

/*
 * Softer services effect:
 * - closed cards no longer scale/stretch during reflow
 * - only the opened card and its content fade/slide gently
 */
.services-grid.services-grid--has-open .service-card:not(.is-open) {
  animation: none !important;
  transform: none !important;
  transition:
    opacity .28s ease,
    box-shadow .28s ease,
    border-color .28s ease !important;
}

.services-grid.services-grid--has-open .service-card:not(.is-open) .service-card__button {
  transition: none !important;
}

.services-grid.services-grid--has-open .service-card.is-open {
  animation: micServiceOpenSoft .46s cubic-bezier(.16, 1, .3, 1) both !important;
  transition:
    box-shadow .38s ease,
    border-color .38s ease,
    opacity .38s ease !important;
}

@media (min-width: 981px) {
  .service-card.is-open .service-card__extra-inner {
    animation: micServiceContentSoft .52s cubic-bezier(.16, 1, .3, 1) .08s both !important;
  }
}

@keyframes micServiceOpenSoft {
  0% {
    opacity: .78;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

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


/* === vCard hover refinement + staged service opening v3.1.0 === */

/* Less glow on the expert vCard hover state. */
.vcard-link:hover,
.vcard-link:focus-visible {
  transform: translateY(-1px) !important;
  border-color: rgba(255,102,0,.62) !important;
  box-shadow: 0 8px 18px rgba(11,31,58,.08) !important;
  background:
    linear-gradient(135deg, rgba(255,102,0,.07), rgba(255,102,0,0) 52%),
    #fff !important;
}

/*
 * Staged service opening:
 * .is-opening = the selected card has moved to the second full-width row,
 * but the long detail text is still hidden.
 * .is-open = the long detail text fades in after the reflow.
 */
.services-grid.services-grid--has-open .service-card.is-opening {
  order: 2;
  grid-column: 1 / -1 !important;
  animation: micServiceMoveOnly .42s cubic-bezier(.16, 1, .3, 1) both !important;
  transition:
    box-shadow .34s ease,
    border-color .34s ease,
    opacity .34s ease !important;
}

.services-grid.services-grid--has-open .service-card.is-opening .service-card__extra {
  display: grid !important;
  grid-template-rows: 0fr !important;
  opacity: 0 !important;
  pointer-events: none;
}

.services-grid.services-grid--has-open .service-card.is-opening .service-card__extra-inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

@media (min-width: 981px) {
  .service-card.is-opening {
    min-height: 300px !important;
    grid-template-columns: minmax(250px, 330px) minmax(0, 1fr) !important;
  }

  .service-card.is-opening,
  .service-card.is-open {
    display: grid !important;
    grid-template-columns: minmax(250px, 330px) minmax(0, 1fr) !important;
    align-items: stretch;
  }

  .service-card.is-opening .service-card__button,
  .service-card.is-open .service-card__button {
    min-height: 0 !important;
    height: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 34px !important;
    text-align: center !important;
    border-right: 1px solid rgba(255,255,255,.13);
  }

  .service-card.is-opening .service-card__button img,
  .service-card.is-open .service-card__button img {
    width: 96px !important;
    height: 96px !important;
    margin: 0 auto 24px !important;
  }

  .service-card.is-opening .service-card__button h3,
  .service-card.is-open .service-card__button h3 {
    margin: 0 !important;
    font-size: clamp(25px, 2vw, 35px) !important;
    line-height: 1.15;
  }

  .service-card.is-opening .service-card__line,
  .service-card.is-opening .service-card__button p,
  .service-card.is-open .service-card__line,
  .service-card.is-open .service-card__button p {
    display: none !important;
  }

  .service-card.is-opening .service-card__hint,
  .service-card.is-open .service-card__hint {
    justify-content: center !important;
    margin-top: 28px !important;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .services-grid.services-grid--has-open .service-card.is-opening {
    order: 2;
    grid-column: 1 / -1 !important;
  }

  .service-card.is-opening .service-card__line,
  .service-card.is-opening .service-card__button p {
    display: none !important;
  }

  .service-card.is-opening .service-card__extra {
    grid-template-rows: 0fr !important;
    opacity: 0 !important;
  }
}

@keyframes micServiceMoveOnly {
  from {
    opacity: .86;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(-3px);
  }
}


/* === Services no-stretch desktop expansion v3.2.0 === */
/*
 * The desktop expanded service is now a separate grid item. The clicked compact
 * card is hidden before the detail appears, so no long text can stretch the card
 * in its original position.
 */
.service-expanded-card[hidden] {
  display: none !important;
}

@media (min-width: 761px) {
  .services-grid.services-grid--desktop-expanded {
    grid-template-columns: repeat(var(--services-closed-count, 4), minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }

  .services-grid.services-grid--desktop-expanded > .service-card--expandable {
    order: 1;
    animation: none !important;
    transform: none !important;
  }

  .services-grid.services-grid--desktop-expanded > .service-card--expandable[hidden] {
    display: none !important;
  }

  .services-grid.services-grid--desktop-expanded > .service-card--expandable:not([hidden]) {
    display: flex !important;
  }

  .services-grid.services-grid--desktop-expanded > .service-card--expandable:not([hidden]) .service-card__button {
    height: 100%;
    min-height: 285px;
  }

  .service-expanded-card {
    order: 2;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
    min-height: 300px;
    overflow: hidden;
    border: 1px solid rgba(255,102,0,.70);
    border-radius: 8px;
    background: var(--mic-navy);
    color: #fff;
    box-shadow: 0 18px 45px rgba(11,31,58,.12);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .34s ease, transform .34s cubic-bezier(.16, 1, .3, 1), box-shadow .34s ease;
  }

  .service-expanded-card.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .service-expanded-card__intro {
    min-height: 300px;
    padding: 40px 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,.13);
    text-align: center;
  }

  .service-expanded-card__intro img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin: 0 auto 24px;
  }

  .service-expanded-card__intro h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 2vw, 35px);
    line-height: 1.15;
    font-weight: 900;
  }

  .service-expanded-card__close {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mic-orange);
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
  }

  .service-expanded-card__close span:last-child {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,102,0,.55);
    border-radius: 5px;
    line-height: 1;
  }

  .service-expanded-card__content {
    padding: 42px 56px;
    column-count: 2;
    column-gap: 44px;
    color: rgba(255,255,255,.90);
    font-size: clamp(16.5px, 1.05vw, 18px);
    line-height: 1.78;
    animation: micServiceContentNoStretch .42s cubic-bezier(.16, 1, .3, 1) .05s both;
  }

  .service-expanded-card__content p {
    break-inside: avoid;
    margin: 0 0 18px;
    color: rgba(255,255,255,.90);
    font-size: inherit;
    line-height: inherit;
  }
}

/* On narrow tablets keep the separate detail, but stack it for readability. */
@media (min-width: 761px) and (max-width: 980px) {
  .services-grid.services-grid--desktop-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .service-expanded-card {
    grid-template-columns: 1fr;
  }

  .service-expanded-card__intro {
    min-height: auto;
    padding: 38px 30px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.13);
  }

  .service-expanded-card__content {
    column-count: 1;
    padding: 30px 34px 34px;
  }
}

/* Mobile keeps the original accordion in the tapped card. */
@media (max-width: 760px) {
  .service-expanded-card {
    display: none !important;
  }
}

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


/* === Softer service switch transition v3.3.0 === */
@media (min-width: 761px) {
  .service-card.is-fading-out {
    pointer-events: none;
    animation: micServiceSelectedFadeOut .18s ease both !important;
  }

  .services-grid.services-grid--soft-switch > .service-card--expandable:not([hidden]) {
    will-change: transform, opacity;
  }

  .service-expanded-card {
    opacity: 0;
    transform: translateY(18px) scale(.985);
    transition:
      opacity .48s ease,
      transform .56s cubic-bezier(.16, 1, .3, 1),
      box-shadow .38s ease !important;
  }

  .service-expanded-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .service-expanded-card__content {
    animation: micServiceExpandedContentSoft .62s cubic-bezier(.16, 1, .3, 1) .12s both !important;
  }
}

@keyframes micServiceSelectedFadeOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  to {
    opacity: .18;
    transform: translateY(8px) scale(.975);
    filter: blur(.2px);
  }
}

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


/* === Pure fade service switching v3.4.0 === */
@media (min-width: 761px) {
  .services-grid {
    transition: opacity .22s ease, transform .22s ease, filter .22s ease;
  }

  .services-grid.services-grid--fade-out {
    opacity: .22;
    transform: translateY(4px);
    filter: blur(.15px);
    pointer-events: none;
  }

  .services-grid.services-grid--fade-in {
    animation: micServicesPureFadeIn .42s ease both;
  }

  .services-grid.services-grid--desktop-expanded > .service-card--expandable:not([hidden]) {
    animation: none !important;
    transform: none !important;
  }

  .service-card.is-fading-out,
  .services-grid.services-grid--desktop-expanded .service-card.is-fading-out {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .service-expanded-card {
    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity .36s ease,
      transform .42s cubic-bezier(.16, 1, .3, 1),
      box-shadow .32s ease !important;
  }

  .service-expanded-card.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .service-expanded-card__content {
    animation: micServicePureContentFade .46s ease .04s both !important;
  }
}

@keyframes micServicesPureFadeIn {
  from {
    opacity: .22;
    transform: translateY(4px);
    filter: blur(.15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

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


/* === Softer non-white service fade v3.5.0 === */
@media (min-width: 761px) {
  .services-grid {
    transition:
      opacity .18s ease,
      transform .22s cubic-bezier(.16, 1, .3, 1),
      filter .18s ease !important;
  }

  .services-grid.services-grid--fade-out {
    /*
     * Earlier fade went too close to the white page background.
     * Keep the cards mostly visible so the transition feels like a soft dim,
     * not a white flash.
     */
    opacity: .72 !important;
    transform: translateY(2px) !important;
    filter: none !important;
    pointer-events: none;
  }

  .services-grid.services-grid--fade-in {
    animation: micServicesSoftFadeInNoWhite .34s ease both !important;
  }

  .service-expanded-card {
    opacity: .86;
    transform: translateY(6px);
    transition:
      opacity .34s ease,
      transform .40s cubic-bezier(.16, 1, .3, 1),
      box-shadow .30s ease !important;
  }

  .service-expanded-card.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .service-expanded-card__content {
    animation: micServiceContentSoftNoWhite .38s ease .03s both !important;
  }
}

@keyframes micServicesSoftFadeInNoWhite {
  from {
    opacity: .72;
    transform: translateY(2px);
    filter: none;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: none;
  }
}

@keyframes micServiceContentSoftNoWhite {
  from {
    opacity: .72;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* === Clear visual target for expanded service detail v3.6.0 === */
@media (min-width: 761px) {
  .service-expanded-card {
    position: relative;
    overflow: visible;
  }

  .service-expanded-card__marker {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: -17px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }

  .service-expanded-card__marker span {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--mic-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(255,102,0,.20);
  }

  .service-expanded-card__marker span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 12px;
    height: 12px;
    background: var(--mic-orange);
    transform: translateX(-50%) rotate(45deg);
    border-radius: 2px;
  }

  .service-expanded-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    top: -1px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--mic-orange), transparent);
    opacity: .72;
    transform: scaleX(.55);
    transform-origin: center;
    transition: transform .46s cubic-bezier(.16, 1, .3, 1), opacity .36s ease;
  }

  .service-expanded-card.is-visible::before {
    transform: scaleX(1);
    opacity: 1;
  }

  .service-expanded-card.is-attention {
    animation: micServiceDetailAttention .86s ease both;
  }

  .service-expanded-card.is-attention .service-expanded-card__marker span {
    animation: micServiceMarkerPulse .86s ease both;
  }

  .services-grid.services-grid--desktop-expanded .service-card--expandable:not([hidden]) .service-card__hint {
    color: rgba(255,255,255,.72);
  }

  .services-grid.services-grid--desktop-expanded .service-card--expandable:not([hidden]):hover {
    border-color: rgba(255,102,0,.62) !important;
    box-shadow: 0 16px 34px rgba(255,102,0,.10);
  }
}

@media (max-width: 760px) {
  .service-expanded-card__marker {
    display: none !important;
  }
}

@keyframes micServiceDetailAttention {
  0% {
    box-shadow: 0 18px 45px rgba(11,31,58,.12);
    border-color: rgba(255,102,0,.70);
  }
  42% {
    box-shadow: 0 24px 54px rgba(255,102,0,.20);
    border-color: var(--mic-orange);
  }
  100% {
    box-shadow: 0 18px 45px rgba(11,31,58,.12);
    border-color: rgba(255,102,0,.70);
  }
}

@keyframes micServiceMarkerPulse {
  0% {
    transform: translateY(-3px) scale(.96);
  }
  42% {
    transform: translateY(0) scale(1.04);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}


/* === Mobile hero decorative arrow fix v3.7.0 === */
.hero-slider .hero__copy {
  position: relative;
  z-index: 3;
}

.hero-slider .hero-line {
  pointer-events: none;
}

@media (max-width: 760px) {
  /*
   * The orange decorative arrow/line in the slider can overlap the CTA button
   * on small screens. On mobile the text and CTA are more important, so the
   * decorative line is hidden.
   */
  .hero-slider .hero-line {
    display: none !important;
  }

  .hero-slide__inner {
    padding-bottom: 112px !important;
  }

  .hero-slider__controls {
    bottom: 22px !important;
  }
}
