.cases-hero { overflow: hidden; background: linear-gradient(115deg, #fff 0%, #f7fbff 53%, #e7f6ff 100%); }
.case-modal__story { margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.case-modal__story p { color: #405d91; line-height: 1.65; margin: 0 0 16px; }
.case-modal__story .button { max-width: 100%; white-space: normal; }
.case-modal__story a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.cases-hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 56px; min-height: 440px; padding-top: 56px; padding-bottom: 56px; }
.cases-hero h1, .cases-proof h2, .cases-support h2 { color: var(--ink); max-width: 620px; }
.cases-hero h1 { font-size: clamp(2.25rem, 4vw, 4.1rem); line-height: 1.02; letter-spacing: -.045em; margin: 8px 0 20px; }
.cases-hero p:not(.eyebrow) { max-width: 555px; color: #526d9d; font-size: 1.08rem; line-height: 1.6; margin-bottom: 28px; }
.cases-hero img { display: block; width: 100%; min-height: 320px; max-height: 390px; object-fit: cover; border-radius: 28px; box-shadow: 18px 20px 0 rgba(0, 170, 219, .12); }
.cases-list { background: #fff; }.cases-list .section-heading { max-width: 780px; margin-right: auto; margin-left: auto; text-align: center; }.cases-list .section-heading > p { margin-right: auto; margin-left: auto; }
.cases-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.case-card { min-height: 224px; border: 1px solid #e1eafa; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(35, 71, 135, .07); transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }.case-card:hover, .case-card:focus-within { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(35, 71, 135, .13); }
.case-card__button { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 224px; padding: 18px; border: 0; color: var(--ink); background: #fff; cursor: pointer; font: inherit; text-align: left; }.case-card__button:focus-visible { outline: 3px solid var(--cyan); outline-offset: -3px; }
.case-card__logo { display: grid; place-items: center; flex: 1; min-height: 128px; }
.case-card__logo img { max-width: 100%; max-height: 135px; width: auto; height: auto; object-fit: contain; }
.case-card__name { display: block; margin: 12px 0 6px; color: var(--ink); font-size: 1rem; font-weight: 800; }.case-card__label { display: flex; align-items: center; justify-content: space-between; padding: 10px 0 0; border-top: 1px solid #e7eef9; color: var(--blue); font-weight: 800; }.case-card__label span { font-size: 1.2em; }
.cases-proof { color: #fff; background: linear-gradient(110deg, #743e8f 0%, #3b4793 46%, #00aadb 100%); }
.cases-proof__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.cases-proof h2, .cases-proof p, .cases-proof .eyebrow { color: #fff; }
.cases-proof h2 { font-size: clamp(2rem, 3vw, 3.1rem); line-height: 1.06; margin: 8px 0 16px; }
.cases-proof p:not(.eyebrow) { max-width: 530px; opacity: .9; line-height: 1.6; }
.cases-proof ul { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 0; list-style: none; }
.cases-proof li { display: grid; gap: 8px; min-height: 102px; padding: 18px 20px; border-left: 1px solid rgba(255, 255, 255, .27); }
.cases-proof strong { font-size: 1.2rem; }.cases-proof span { font-size: .88rem; line-height: 1.35; opacity: .88; }
.cases-support { background: #f3f7ff; }.cases-support__grid { display: grid; grid-template-columns: 330px minmax(0, 1fr); align-items: center; gap: 68px; max-width: 1010px; }
.cases-support img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid #fff; box-shadow: 0 10px 34px rgba(55, 69, 147, .14); }.cases-support h2 { margin: 8px 0 15px; font-size: clamp(1.8rem, 3vw, 2.75rem); }.cases-support p:not(.eyebrow) { max-width: 620px; color: #526d9d; line-height: 1.65; }
.case-modal { width: min(870px, calc(100% - 32px)); max-height: min(760px, calc(100% - 40px)); padding: 0; overflow: auto; border: 0; border-radius: 22px; box-shadow: 0 24px 80px rgba(11, 30, 77, .3); background: #fff; }.case-modal::backdrop { background: rgba(11, 30, 77, .66); backdrop-filter: blur(3px); }.case-modal__content { position: relative; display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 30px; padding: 44px; }.case-modal__close { position: absolute; top: 16px; right: 18px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; color: var(--ink); background: #edf4ff; cursor: pointer; font-size: 1.75rem; line-height: 1; }.case-modal__logo { display: grid; place-items: start center; padding: 20px 8px; }.case-modal__logo img { width: 100%; max-height: 150px; object-fit: contain; }.case-modal h2 { margin: 7px 0 18px; color: var(--ink); font-size: 2rem; line-height: 1.1; }.case-modal blockquote { margin: 0 0 16px; color: #405d91; font-size: 1rem; line-height: 1.65; }.case-modal__person { display: grid; gap: 3px; margin: 0 0 25px; color: var(--ink); }.case-modal__person span { color: #6379a0; font-size: .9rem; }.case-modal h3 { margin: 0 0 8px; color: var(--purple); }.case-modal__body > p:last-child { margin: 0; color: #516b98; line-height: 1.6; }
@media (max-width: 980px) { .cases-grid { grid-template-columns: repeat(3, 1fr); }.cases-hero__grid { grid-template-columns: 1fr; gap: 28px; }.cases-hero img { max-height: 360px; }.cases-proof__grid { grid-template-columns: 1fr; gap: 28px; }.cases-support__grid { gap: 38px; } }
@media (max-width: 680px) { .cases-hero__grid { padding-top: 38px; padding-bottom: 38px; }.cases-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }.case-card, .case-card__button { min-height: 196px; }.case-card__button { padding: 12px; }.case-card__logo { min-height: 105px; }.case-card__logo img { max-height: 72px; }.cases-proof__grid { padding-top: 48px; padding-bottom: 48px; }.cases-proof ul { grid-template-columns: 1fr; }.cases-proof li { min-height: auto; border-left: 0; border-top: 1px solid rgba(255,255,255,.28); }.cases-support__grid { grid-template-columns: 1fr; gap: 28px; }.cases-support img { width: min(260px, 100%); }.case-modal__content { grid-template-columns: 1fr; gap: 10px; padding: 44px 24px 28px; }.case-modal__logo { padding: 0; place-items: center; }.case-modal__logo img { width: 150px; max-height: 82px; }.case-modal h2 { font-size: 1.65rem; } }
