/* Version 2 — footer. Layout (1440px): 1064px row with a top rule; link
   columns 80px apart (16px/500 headings, 16px/500 links, 10px between), the contact column on the right, then a bottom
   row with the logo left and the copyright right. Background: a band of small "+" marks along the bottom . Copy: Crysmed New/Content (Footer). */
.foot2 { position: relative; overflow: hidden; isolation: isolate; padding: 0 15px; background: #fff; font-family: var(--v2-sans); color: var(--ink-900); }
.foot2__in { width: min(100%, 1064px); margin: 0 auto; padding: var(--sec-y) 0 0; border-top: 1px solid #eee; }
.foot2__top { display: flex; justify-content: space-between; gap: 40px; }
.foot2__cols { display: flex; gap: 80px; }
.foot2__col { display: grid; align-content: start; gap: 20px; }
.foot2__h { font-size: 16px; font-weight: 500; line-height: 1; color: var(--ink-900); }
.foot2__links { display: grid; gap: 10px; }
.foot2__links a { width: fit-content; font-size: 16px; font-weight: 500; line-height: 18px; color: var(--ink-900); text-decoration: none; transition: color .25s; }
.foot2__links a:hover, .foot2__links a[aria-current="page"] { color: var(--brand-700); }
.foot2__contact { min-width: 194px; }
.foot2__tag { max-width: 26ch; font-size: 15px; line-height: 1.4; color: var(--ink-500); }

.foot2__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; margin-top: 80px; padding-bottom: 130px; }
.foot2__brand { display: flex; align-items: center; gap: 14px; }
.foot2__logo { display: grid; place-items: center; padding: 10px 14px; border-radius: 99px; background: #fff; box-shadow: 0 6px 20px -12px rgba(10,69,80,.4); }
.foot2__logo img { height: 30px; width: auto; }
.foot2__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 18px; font-size: 15px; font-weight: 500; text-align: right; }
.foot2__legal a { color: var(--ink-900); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(22,22,22,.35); }
.foot2__legal a:hover { color: var(--brand-700); text-decoration-color: currentColor; }

/* 2026-10-19 client: the footer background follows the vision & mission panel (who.css .who2__field): a soft colour field
   of drifting teal, sky and gold blurs over the light teal tint, a little lighter here so the dark text stays easy to
   read. (Replaces the earlier waves and then the "+" pattern band.) */
.foot2 { background: var(--brand-tint); }
.foot2__mesh { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.foot2__mesh i { position: absolute; border-radius: 50%; filter: blur(80px); animation: who2drift 26s ease-in-out infinite alternate; }
.foot2__mesh i:nth-child(1) { width: 50%; height: 120%; left: -14%; top: -30%; background: rgba(7,121,148,.26); }
.foot2__mesh i:nth-child(2) { width: 46%; height: 110%; right: -12%; top: -20%; background: rgba(35,148,192,.26); animation-duration: 30s; animation-delay: -8s; }
.foot2__mesh i:nth-child(3) { width: 34%; height: 80%; left: 36%; top: 20%; background: rgba(255,177,0,.16); animation-duration: 34s; animation-delay: -15s; }
.foot2__mesh i:nth-child(4) { width: 60%; height: 90%; left: 18%; bottom: -50%; background: rgba(255,255,255,.7); animation-duration: 28s; animation-delay: -4s; }
.foot2__in { border-top-color: rgba(10,69,80,.1); }
.foot2__logo { box-shadow: 0 6px 20px -12px rgba(10,69,80,.45); }
.foot2__tag { color: #3f5759; }

/* the "+" pattern band (the healthcare cross, echoing the Careers "+"), kept on top of the colour field: only along the
   bottom, below all the text, fading upwards and at the sides, drifting very slowly, with one gold "+" glowing */
.foot2__pattern { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 65%), linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, #000 65%), linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%); mask-composite: intersect; }
.foot2__pattern::before { content: ''; position: absolute; inset: -40px -40px 0 -40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M20 14v12M14 20h12' stroke='%23077994' stroke-opacity='.35' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 40px 40px; animation: plusDrift 40s linear infinite; }
.foot2__pattern::after { content: ''; position: absolute; left: 50%; bottom: 34px; width: 14px; height: 14px; margin-left: -7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23ffb100' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  animation: plusGlow 4s ease-in-out infinite; }
@keyframes plusDrift { to { transform: translate(40px, 40px); } }
@keyframes plusGlow { 0%, 100% { opacity: .35; transform: scale(.9) rotate(0deg); } 50% { opacity: 1; transform: scale(1.1) rotate(90deg); } }.js .foot2 [data-up] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--v2-ease), transform .9s var(--v2-ease); transition-delay: var(--d, 0s); }
.js .foot2.is-in [data-up] { opacity: 1; transform: none; }

/* desktop: logo + tagline left, copyright and legal links right, on one row  */
@media (min-width: 901px) { .foot2__bottom { flex-wrap: nowrap; } .foot2__brand { flex: none; } .foot2__legal { flex: 1; min-width: 0; } }
@media (max-width: 900px) {
  .foot2__top { flex-direction: column; }
  .foot2__cols { gap: 56px; }
}
@media (max-width: 600px) {

  .foot2__cols { flex-wrap: wrap; gap: 36px 48px; }
  .foot2__links a { padding: 6px 0; margin: -6px 0; } /* 30px+ tap rows without changing the look */
  .foot2__links { gap: 14px; }
  .foot2__bottom { flex-direction: column; align-items: flex-start; margin-top: 48px; }
  .foot2__legal { justify-content: flex-start; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .foot2__mesh i, .foot2__pattern::before, .foot2__pattern::after { animation: none; } .js .foot2 [data-up] { opacity: 1; transform: none; transition: none; } }
