/* BF Offer Services. Every value is copied from sections/BF Offer Services.dc.html (its <style> block and inline styles). */

.os-sec { position: relative; padding: 0 24px 0; }
.os-wrap { max-width: 1280px; margin: 0 auto; }
.os-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: end; margin-bottom: 56px; }
.os-head-copy { position: relative; }
.os-head-copy .bf-glitch { left: -70px; top: 30px; width: 160px; height: 40px; }
.os-head-copy .bf-glitch span:nth-child(1) { top: 0; left: 0; width: 120px; background: rgba(255,255,255,0.55); }
.os-head-copy .bf-glitch span:nth-child(2) { top: 11px; left: 30px; width: 90px; background: rgba(255,255,255,0.3); }
.os-head-copy .bf-glitch span:nth-child(3) { top: 22px; left: 10px; width: 140px; background: rgba(255,255,255,0.45); }
.os-intro { color: #C4D5E0; margin: 0; max-width: 520px; }
.os-cluster + .os-cluster { margin-top: 64px; }
.os-cluster-head { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; width: 100%; background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: default; }
.os-cluster-head:focus-visible { outline: 2px solid #8DC63F; outline-offset: 4px; border-radius: 4px; }
.os-cluster-ic { display: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.18); align-items: center; justify-content: center; flex: none; align-self: center; transition: transform .4s cubic-bezier(.22,.61,.36,1), border-color .3s ease; }
.os-cluster[data-open="true"] .os-cluster-ic { transform: rotate(180deg); border-color: #8DC63F; }
.os-cluster-ico { flex: none; width: 30px; height: 30px; display: block; align-self: center; object-fit: contain; }
.os-cluster-t { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #FFFFFF; margin: 0; flex: 1; align-self: center; }
.os-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,0.14); border-left: 1px solid rgba(255,255,255,0.14); }
.os-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 28px; min-height: 220px; border-right: 1px solid rgba(255,255,255,0.14); border-bottom: 1px solid rgba(255,255,255,0.14); text-decoration: none; color: inherit; overflow: hidden; transition: background .35s ease; }
.os-card::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, #0096E1, #8DC63F); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
a.os-card:hover { background: rgba(255,255,255,0.03); color: inherit; }
a.os-card:hover::before, a.os-card:focus-visible::before { transform: scaleX(1); }
a.os-card:focus-visible { outline: 2px solid #8DC63F; outline-offset: -2px; }
.os-t { font-size: 21px; font-weight: 800; text-transform: uppercase; color: #FFFFFF; line-height: 1.1; letter-spacing: -0.01em; transition: color .3s ease; text-wrap: pretty; }
a.os-card:hover .os-t { color: #D8F2A4; }
.os-b { font-size: 15px; line-height: 1.65; color: #A9C2D2; margin: 0; }
.os-go { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: #A5D45E; display: inline-flex; align-items: center; gap: 8px; }
.os-go svg { transition: transform .35s cubic-bezier(.22,.61,.36,1); }
a.os-card:hover .os-go svg { transform: translateX(4px); }

.os-group + .os-group { margin-top: 96px; }
.os-group-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding: 96px 0 22px; margin-bottom: 44px; border-bottom: 2px solid transparent; border-image: linear-gradient(90deg, #0096E1, #8DC63F) 1; }
.os-group-word { position: absolute; left: -4px; top: -6px; font-size: clamp(88px, 10.5vw, 168px); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(141,198,63,0.4); pointer-events: none; user-select: none; white-space: nowrap; -webkit-mask-image: linear-gradient(180deg, #000 30%, rgba(0,0,0,0.35) 75%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, rgba(0,0,0,0.35) 75%, transparent 100%); }
.os-group-head > div:not(.os-group-word), .os-group-head > a { position: relative; z-index: 1; }
.os-group-q { font-size: 13px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: #8DC63F; margin: 0 0 12px; text-shadow: 0 0 12px #011521, 0 0 4px #011521; }
.os-group-t { font-size: 40px; font-weight: 800; text-transform: uppercase; color: #FFFFFF; line-height: 1; letter-spacing: -0.01em; margin: 0; text-shadow: 0 0 14px #011521, 0 0 4px #011521; }
.os-group-link { font-size: 14px; font-weight: 700; color: #A5D45E; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; }
.os-group-link:hover { color: #D8F2A4; }
.os-search { display: flex; align-items: center; gap: 14px; max-width: 520px; margin: 36px 0 0 110px; padding: 6px 6px 6px 22px; border-radius: 999px 999px 999px 10px; background: #04202F; border: 1px solid rgba(255,255,255,0.14); transition: border-color .3s ease, box-shadow .3s ease; }
.os-search:focus-within { border-color: rgba(141,198,63,0.6); box-shadow: 0 0 0 3px rgba(141,198,63,0.14); }
.os-search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #FFFFFF; font: 600 16px Raleway, sans-serif; padding: 10px 0; }
.os-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.os-search-x { flex: none; width: 36px; height: 36px; margin-right: 4px; border-radius: 50%; border: 0; background: #04202F; color: #A9C2D2; display: none; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: color .25s ease, background .25s ease; }
.os-search-x:hover { color: #FFFFFF; background: rgba(255,255,255,0.06); }
.os-search.has-q .os-search-x { display: inline-flex; }
.os-search.has-q input { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent); }
.os-search input::placeholder { color: #7E99AB; }
.os-split.is-all { align-items: start; }
.os-empty { text-align: center; padding: 72px 20px; border: 1px dashed rgba(255,255,255,0.18); border-radius: 6px; }
.os-empty .bf-eyebrow { margin-bottom: 12px; }
.os-empty .bf-b2 { color: #A9C2D2; max-width: 460px; margin: 16px auto 24px; }
.os-empty-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* The design's ghost button (from BF About Hero), styled here because only this section uses it. */
.os-empty .bf-ghost { display: inline-flex; align-items: center; gap: 10px; color: #FFFFFF; text-decoration: none; font-size: 15px; font-weight: 700; padding: 14px 30px; border: 1.5px solid rgba(255,255,255,0.28); border-radius: 999px 999px 999px 10px; position: relative; transition: border-color .3s ease, color .3s ease; white-space: nowrap; cursor: pointer; font-family: inherit; background: transparent; }
.os-empty .bf-ghost:hover { border-color: #8DC63F; color: #FFFFFF; }
.os-empty .bf-ghost::after { content: ''; position: absolute; left: 30px; right: 30px; bottom: 9px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #29ABE2, #8DC63F); transform: scaleX(0); transform-origin: left center; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.os-empty .bf-ghost:hover::after { transform: scaleX(1); }
.os-sec [hidden] { display: none !important; }

@media (min-width: 768px) and (max-width: 1023px) {
	.os-sec { padding: 0 32px 0; }
	.os-split { grid-template-columns: 1fr; gap: 28px; align-items: start; margin-bottom: 44px; }
	.os-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.os-card { padding: 26px 22px 24px; min-height: 0; }
	.os-t { font-size: 20px; }
	.os-head-copy .bf-glitch { display: none; }
}

@media (max-width: 767px) {
	.os-sec { padding: 0 20px 0; }
	.os-split { grid-template-columns: 1fr; gap: 22px; align-items: start; margin-bottom: 36px; }
	.os-grid { grid-template-columns: 1fr; border-left: 0; }
	.os-card { border-right: 0; padding: 24px 0 24px; min-height: 0; }
	.os-t { font-size: 19px; }
}

/* Tablets and phones: the clusters become an accordion. */
@media (max-width: 1023px) {
	.os-group + .os-group { margin-top: 64px; }
	.os-group-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 28px; padding-top: 72px; }
	.os-group-word { font-size: clamp(72px, 13vw, 120px); }
	.os-group-t { font-size: 32px; }
	.os-search { margin: 28px 0 0 0; }
	.os-cluster + .os-cluster { margin-top: 20px; }
	.os-cluster-head { cursor: pointer; align-items: center; padding: 18px 0; margin-bottom: 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
	.os-cluster-ic { display: inline-flex; }
	.os-grid { border-top: 0; }
	.os-grid.is-closed { display: none; }
}
