/* ==========================================================================
   Elets Resources – components: case cards, toolbar, spotlight, CTA band,
   detail extras, site header (mega menu + drawer) and footer.
   Loaded after custom.css.
   ========================================================================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Case card ---------- */
.case-col { display: flex; margin-bottom: 30px; }
.case-card {
  position: relative; display: flex; flex-direction: column; width: 100%;
  background: #fff; border-radius: 18px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20,20,43,.04), 0 8px 24px rgba(20,20,43,.06);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease, opacity .6s ease;
}
.case-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 3;
  background: linear-gradient(90deg, var(--brand), #ff6b81); transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.case-card:hover, .case-card:focus-within { transform: translateY(-8px); border-color: #f3c6cd; box-shadow: 0 24px 48px rgba(20,20,43,.14); }
.case-card:hover::before, .case-card:focus-within::before { transform: scaleX(1); }
.case-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #f0f0f5; }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.case-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,14,40,.35)); opacity: 0; transition: opacity .35s ease; }
.case-card:hover .case-card__media img { transform: scale(1.06); }
.case-card:hover .case-card__media::after { opacity: 1; }
.case-card__sector {
  position: absolute; left: 14px; top: 14px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; color: #fff; background: rgba(20,14,40,.78); backdrop-filter: blur(6px);
}
.case-card__sector--governance { background: rgba(37, 56, 140, .9); }
.case-card__sector--education { background: rgba(14, 122, 95, .92); }
.case-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 20px; }
.case-card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.case-card__meta .fa { color: var(--brand); margin-right: 6px; }
.case-card__title { font-size: 19px; font-weight: 700; line-height: 1.35; margin: 0 0 10px; }
.case-card__title a { color: var(--ink); text-decoration: none; }
.case-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 4; } /* whole card is clickable */
.case-card:hover .case-card__title a { color: var(--brand); }
.case-card__excerpt { font-size: 15px; line-height: 1.6; color: var(--body); margin: 0 0 18px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.case-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px dashed var(--line); }
.case-card__cta { font-size: 14px; font-weight: 700; color: var(--ink); }
.case-card__arrow {
  width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #fdecef; color: var(--brand); transition: background .3s ease, color .3s ease, transform .3s ease;
}
.case-card:hover .case-card__arrow { background: var(--brand); color: #fff; transform: rotate(-45deg); }

/* ---------- Toolbar ---------- */
.case-toolbar { background: var(--bg-soft); padding: 26px 0 0; }
.case-toolbar__inner { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.case-search { position: relative; flex: 1 1 320px; margin: 0; }
.case-search .fa { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.case-search input {
  width: 100%; height: 52px; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 0 20px 0 46px;
  font-size: 15px; box-shadow: var(--shadow-sm); transition: border-color .2s ease, box-shadow .2s ease;
}
.case-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(228,29,55,.12); }
.case-sort { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.case-sort select { height: 52px; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 0 18px; font-size: 14px; box-shadow: var(--shadow-sm); cursor: pointer; }
.case-count { margin: 0 0 0 auto; font-size: 14px; color: var(--muted); font-weight: 600; }
.case-grid { padding-top: 30px !important; }
.case-empty { text-align: center; padding: 60px 20px; background: #fff; border-radius: 18px; border: 1px dashed #d9d9e6; }
.case-empty .fa { font-size: 34px; color: var(--brand); margin-bottom: 12px; }
.case-empty h3 { font-size: 22px; font-weight: 700; }
.case-empty p { color: var(--muted); }
.case-empty .btn-ghost { background: #fff; cursor: pointer; }

/* ---------- Spotlight ---------- */
.case-feature {
  display: grid; grid-template-columns: 1.15fr 1fr; margin-bottom: 36px; border-radius: 22px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(20,20,43,.10);
}
.case-feature__media { position: relative; min-height: 340px; background: #f0f0f5; }
.case-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-feature__body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; gap: 14px;
  background: radial-gradient(120% 120% at 100% 0%, #fff1f3 0%, #fff 55%); }
.case-feature__tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); background: #fdecef; padding: 6px 12px; border-radius: 999px; }
.case-feature h2 { font-size: 30px; font-weight: 800; line-height: 1.2; margin: 0; }
.case-feature h2 a { color: var(--ink); }
.case-feature h2 a:hover { color: var(--brand); }
.case-feature p { font-size: 16px; line-height: 1.7; margin: 0; color: var(--body); }
.case-feature .case-card__meta { margin: 0; }
.case-feature .casestudybtn { align-self: flex-start; margin-top: 6px !important; }

/* ---------- Partner strip & filters ---------- */
.partner-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 18px 0; }
.partner-strip .container { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; justify-content: center; }
.partner-strip p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.partner-strip ul { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; justify-content: center; }
.partner-strip li { font-size: 17px; font-weight: 800; color: #9b9bb0; letter-spacing: -.01em; transition: color .2s ease; }
.partner-strip li:hover { color: var(--ink); }
.case-filter-bar { border-bottom: 0 !important; background: var(--bg-soft) !important; padding: 26px 0 0 !important; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 80px; background: var(--bg-soft); }
.cta-band__inner {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 44px 48px; border-radius: 24px; color: #fff;
  background: linear-gradient(120deg, #1b1a33 0%, #3a1630 55%, var(--brand) 120%);
  box-shadow: 0 24px 60px rgba(27,26,51,.25);
}
.cta-band__inner::after { content: ""; position: absolute; right: -80px; top: -120px; width: 300px; height: 300px; border-radius: 50%; border: 50px solid rgba(255,255,255,.06); pointer-events: none; }
.cta-band .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #ffb3bd; }
.cta-band h2 { color: #fff; font-size: 28px; font-weight: 800; margin: 6px 0 8px; }
.cta-band p { color: rgba(255,255,255,.78); margin: 0; max-width: 560px; }
.body-inner .cta-band .casestudybtn { position: relative; z-index: 1; background: #fff !important; color: var(--brand) !important; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.body-inner .cta-band .casestudybtn:hover { color: var(--brand-dark) !important; }

/* ---------- Detail extras ---------- */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 2000; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), #ff6b81); }
.glance { margin: 0 0 36px; padding: 22px 26px; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.glance h2 { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
.glance dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; }
.glance dl > div { padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); }
.glance dt { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.glance dt .fa { color: var(--brand); margin-right: 6px; }
.glance dd { margin: 4px 0 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.share-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; }
.share-row > span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.share-btn {
  width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-size: 16px; padding: 0;
}
.share-btn svg { width: 16px; height: 16px; }
.share-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.share-btn[data-share="linkedin"]:hover { background: #0a66c2; border-color: #0a66c2; }
.share-btn[data-share="whatsapp"]:hover { background: #25d366; border-color: #25d366; }
.share-btn.is-done { background: #1a7f37; border-color: #1a7f37; color: #fff; }
.casestudybtn .fa-arrow-right { transition: transform .2s ease; }
.casestudybtn:hover .fa-arrow-right { transform: translateX(4px); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.case-card.reveal.is-in:hover { transform: translateY(-8px); }

@media (max-width: 991px) {
  .case-feature { grid-template-columns: 1fr; }
  .case-feature__media { min-height: 0; aspect-ratio: 16 / 9; }
  .case-feature__body { padding: 28px 26px; }
  .case-feature h2 { font-size: 24px; }
  .glance dl { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .case-count { margin: 0; width: 100%; }
  .case-sort { flex: 1; } .case-sort select { flex: 1; }
  .cta-band__inner { padding: 32px 24px; }
  .cta-band h2 { font-size: 22px; }
  .partner-strip li { font-size: 15px; }
}

/* ==========================================================================
   Site header
   ========================================================================== */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 3000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.site-header { position: sticky; top: 0; z-index: 1500; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(20,20,43,.10); }
.topbar { background: var(--navy); color: #c9c9db; font-size: 13px; max-height: 44px; overflow: hidden; transition: max-height .3s ease; }
.site-header.is-scrolled .topbar { max-height: 0; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; }
.topbar p { margin: 0; color: #c9c9db; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar p .fa { color: #ff6b81; margin-right: 6px; }
.topbar__links { display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.topbar__links a { color: #c9c9db; display: inline-flex; align-items: center; gap: 6px; }
.topbar__links a:hover { color: #fff; }
.topbar__social { display: flex; gap: 12px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.15); }
.topbar__social svg { width: 14px; height: 14px; }
.mainbar { border-bottom: 1px solid var(--line); }
.mainbar__inner { display: flex; align-items: center; gap: 24px; height: 78px; transition: height .3s ease; }
.site-header.is-scrolled .mainbar__inner { height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }
.brand__tag { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); padding: 5px 10px; border-radius: 999px; background: #fdecef; }
.mainnav { flex: 1; display: flex; align-items: center; justify-content: center; }
.mainnav__head, .mainnav__cta { display: none !important; }
.menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.menu > li { position: relative; }
.menu__link {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 0; background: transparent;
  border-radius: 10px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink) !important; cursor: pointer; white-space: nowrap;
}
.menu__link > .fa:first-child { color: var(--muted); font-size: 14px; transition: color .2s ease; }
.menu__link .caret { font-size: 13px; color: var(--muted); transition: transform .25s ease; }
.menu__link:hover, .has-drop.is-open > .menu__link, .menu__link.is-active { background: #fdecef; color: var(--brand) !important; }
.menu__link:hover > .fa, .has-drop.is-open > .menu__link > .fa, .menu__link.is-active > .fa { color: var(--brand); }
.has-drop.is-open > .menu__link .caret { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 12px); left: 50%; min-width: 250px; padding: 10px; z-index: 10;
  background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(20,20,43,.16);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-drop.is-open > .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 992px) {
  .has-drop:hover > .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-drop:hover > .menu__link { background: #fdecef; color: var(--brand) !important; }
  .has-drop:hover > .menu__link > .fa { color: var(--brand); }
  .has-drop:hover > .menu__link .caret { transform: rotate(180deg); }
}
.drop__list { margin: 0; padding: 0; list-style: none; }
.drop__list a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: 15px; }
.drop__list a .fa { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-soft); color: var(--brand); font-size: 14px; transition: background .2s ease, color .2s ease; }
.drop__list a:hover { background: var(--bg-soft); color: var(--brand); }
.drop__list a:hover .fa { background: var(--brand); color: #fff; }
.mega { width: 720px; padding: 22px; }
.mega__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 8px 14px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.mega__head strong { font-size: 15px; color: var(--ink); }
.mega__head span { font-size: 13px; color: var(--muted); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mega__item { border-radius: 14px; padding: 10px; transition: background .2s ease; }
.mega__item:hover { background: var(--bg-soft); }
.mega__main { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.mega__main strong { display: block; font-size: 15px; }
.mega__main small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega__main:hover strong { color: var(--brand); }
.mega__icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #fdecef, #ffe0e5); color: var(--brand); font-size: 18px; transition: background .2s ease, color .2s ease; }
.mega__item:hover .mega__icon { background: var(--brand); color: #fff; }
.mega__sub { display: flex; gap: 6px; margin: 8px 0 0 54px; }
.mega__sub a { font-size: 12px; font-weight: 600; color: var(--body); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.mega__sub a:hover { border-color: var(--brand); color: var(--brand); }
.mainbar__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; white-space: nowrap;
  background: var(--brand); color: #fff !important; font-weight: 700; font-size: 14px; box-shadow: 0 8px 20px rgba(228,29,55,.28);
}
.btn-cta:hover, .btn-cta.is-active { background: var(--brand-dark); color: #fff !important; transform: translateY(-1px); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 0 12px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
.burger span:nth-child(2) { width: 70%; }
.nav-overlay { position: fixed; inset: 0; background: rgba(15,14,30,.55); z-index: 1400; backdrop-filter: blur(2px); }
body.nav-open { overflow: hidden; }

@media (max-width: 1199px) { .menu__link { padding: 0 10px; font-size: 14px; } .menu__link > .fa:first-child { display: none; } }
@media (max-width: 991px) {
  .topbar p { display: none; }
  .topbar__inner { justify-content: center; }
  .burger { display: inline-flex; }
  .mainbar__actions .btn-cta span { display: none; }
  .mainbar__actions .btn-cta { width: 46px; padding: 0; justify-content: center; }
  .mainnav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); z-index: 1600; background: #fff;
    flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 18px; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: -20px 0 60px rgba(0,0,0,.2);
  }
  body.nav-open .mainnav { transform: none; }
  .mainnav__head { display: flex !important; justify-content: space-between; align-items: center; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
  .mainnav__head span { font-weight: 800; font-size: 18px; color: var(--ink); }
  .mainnav__close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; }
  .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu__link { width: 100%; height: 50px; font-size: 16px; }
  .menu__link > .fa:first-child { display: inline-block; width: 18px; }
  .menu__link .caret { margin-left: auto; }
  .drop, .mega { position: static; width: auto; min-width: 0; transform: none !important; box-shadow: none; border: 0; padding: 4px 0 8px 10px;
    display: none; opacity: 1; visibility: visible; background: transparent; }
  .has-drop.is-open > .drop { display: block; }
  .mega__head { display: none; }
  .mega__grid { grid-template-columns: 1fr; }
  .mainnav__cta { display: inline-flex !important; justify-content: center; margin-top: 16px; }
}
@media (max-width: 575px) {
  .topbar { display: none; }
  .brand img { height: 40px; }
  .brand__tag { display: none; }
  .mainbar__inner { height: 66px; }
}

/* ==========================================================================
   Site footer
   ========================================================================== */
.site-footer { background: #121127; color: #a9a9c2; padding: 72px 0 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--brand), #ff6b81, var(--brand)); }
.site-footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.4fr; gap: 36px; padding-bottom: 50px; }
.site-footer__brand img { height: 52px; width: auto; margin-bottom: 18px; }
.site-footer__brand p { font-size: 14px; line-height: 1.7; color: #a9a9c2; margin-bottom: 20px; max-width: 300px; }
.site-footer__social { display: flex; gap: 10px; }
.social {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08);
}
.social:hover { transform: translateY(-3px); color: #fff; }
.social--facebook:hover { background: #1877f2; } .social--x:hover { background: #000; }
.social--linkedin:hover { background: #0a66c2; } .social--youtube:hover { background: #ff0000; }
.site-footer__col h3, .site-footer__subscribe h3 { color: #fff; font-size: 15px; font-weight: 700; margin: 6px 0 18px; }
.site-footer__col ul { margin: 0; padding: 0; list-style: none; }
.site-footer__col li { margin-bottom: 10px; }
.site-footer__col a { color: #a9a9c2; font-size: 14px; display: inline-flex; align-items: center; }
.site-footer__col a::before { content: "\f105"; font-family: 'FontAwesome'; width: 0; overflow: hidden; color: var(--brand); transition: width .2s ease, margin .2s ease; }
.site-footer__col a:hover { color: #fff; }
.site-footer__col a:hover::before { width: 10px; margin-right: 4px; }
.site-footer__subscribe { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 24px; align-self: start; }
.site-footer__subscribe .mega__icon { margin-bottom: 12px; }
.site-footer__subscribe h3 { margin: 0 0 8px; }
.site-footer__subscribe p { font-size: 14px; line-height: 1.6; margin-bottom: 16px; color: #a9a9c2; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); }
.site-footer__bottom p { margin: 0; font-size: 13px; color: #8e8ea8; }
.site-footer__top-link { font-size: 13px; font-weight: 600; color: #c9c9db; }
.site-footer__top-link:hover { color: #fff; }
.site-footer__top-link .fa { margin-left: 6px; }
@media (max-width: 1199px) {
  .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .site-footer__subscribe { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 18px; align-items: center; }
  .site-footer__subscribe .mega__icon { margin: 0; grid-row: span 2; }
  .site-footer__subscribe p { margin: 0; }
  .site-footer__subscribe .btn-cta { grid-row: 1 / span 2; grid-column: 3; }
}
@media (max-width: 767px) {
  .site-footer { padding-top: 54px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__subscribe { display: block; }
  .site-footer__subscribe .mega__icon { margin-bottom: 12px; }
  .site-footer__bottom { justify-content: center; text-align: center; }
}

/* Fixes */
.case-feature__media { background: #fff; }
.case-feature__media img { object-fit: contain; padding: 18px; }
@media (max-width: 991px) {
  /* backdrop-filter would make the header the containing block of the fixed drawer */
  .site-header { backdrop-filter: none; background: #fff; }
}

.menu__link:focus:not(:focus-visible), .burger:focus:not(:focus-visible) { outline: none; }

/* ---------- Header: no shrinking on scroll ----------
   The header keeps a fixed height; the 40px top bar scrolls away because the
   sticky offset is -40px, so only the main bar stays pinned. Nothing above the
   content changes size, so the page no longer jumps or flickers. */
.site-header { top: -40px; }
.site-header .topbar,
.site-header.is-scrolled .topbar { max-height: none; height: 40px; transition: none; }
.mainbar__inner,
.site-header.is-scrolled .mainbar__inner { height: 78px; transition: none; }
.brand, .mainbar__actions, .menu > li { flex-shrink: 0; }
.mainnav { min-width: 0; }

/* Give the menu room on mid-size screens instead of squeezing it */
@media (max-width: 1199px) {
  .brand__tag { display: none; }
  .mainbar__inner { gap: 14px; }
  .menu { gap: 2px; }
  .menu__link { padding: 0 9px; }
}
@media (min-width: 992px) and (max-width: 1099px) {
  .mainbar__actions .btn-cta span { display: none; }
  .mainbar__actions .btn-cta { width: 46px; padding: 0; justify-content: center; }
}
@media (max-width: 575px) {
  .site-header { top: 0; }
  .mainbar__inner,
  .site-header.is-scrolled .mainbar__inner { height: 66px; }
}
