/* AstroWind-style heading and Saaspro's desktop three-column case cards. */
.cases-page { min-height: 0; }
.cases-width { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 32px; }
.cases-hero { padding: 56px 0 40px; background: #fff; }
.cases-hero-content { text-align: center; }
.cases-eyebrow { color: var(--brand); font-size: 14px; line-height: 22px; font-weight: 400; letter-spacing: .12em; }
.cases-hero h1 { margin-top: 14px; color: var(--text); font-size: 56px; line-height: 70px; font-weight: 700; letter-spacing: -.025em; }
.cases-intro { margin-top: 22px; color: #5b6575; font-size: 18px; line-height: 32px; font-weight: 400; }
.cases-list { padding-block: 80px 64px; }
/* Preserve the reference's three columns, including when fewer cases remain. */
.cases-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case-card { overflow: hidden; border: 1px solid #eaeaea; border-radius: 16px; background: #fff; }
.case-card-link { display: flex; flex-direction: column; height: 100%; padding: 20px; }
.case-card:hover { border-color: #b6c9db; box-shadow: 0 8px 26px rgb(25 55 84 / 6%); }
.case-card-link:focus-visible { outline-offset: -5px; }
.case-image { flex-shrink: 0; height: 200px; margin: 0; overflow: hidden; border-radius: 16px; background: #f1f4f7; }
.case-image img, .case-detail-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.base-station-image { object-position: center 20%; }
.case-card-copy { display: flex; flex: 1; flex-direction: column; }
.case-card-copy h2 { margin: 24px 0 16px; font-size: 27.648px; line-height: 34.56px; font-weight: 500; letter-spacing: -.02em; }
.case-card-link:hover h2 { color: var(--brand); }
.case-meta { display: grid; grid-template-columns: 42px 1fr; gap: 8px 12px; margin: 0 0 32px; padding-top: 16px; border-top: 1px solid #eaeaea; font-size: 16px; line-height: 26px; }
.case-meta dt { color: #8993a1; }
.case-meta dd { margin: 0; color: #536174; }
.case-read-more { display: inline-flex; align-self: flex-start; align-items: center; gap: 12px; margin-top: auto; padding: 8px 24px; border: 1px solid #c4d2df; border-radius: 6px; color: var(--brand); font-size: 16px; line-height: 24px; }
.case-read-more svg { width: 17px; height: 17px; }
.case-card-link:hover .case-read-more { color: #fff; border-color: var(--brand); background: var(--brand); }
.case-noscript { margin-top: 24px; text-align: center; color: var(--muted); }
.cases-contact { width: calc(100% - 96px); max-width: 1120px; margin: 0 auto 64px; padding: 56px 32px; border-radius: 16px; background: var(--brand); color: #fff; text-align: center; }
.cases-contact h2 { font-size: 36px; line-height: 48px; font-weight: 500; letter-spacing: -.02em; }
.cases-contact > p { margin-top: 16px; color: rgb(255 255 255 / 90%); font-size: 18px; line-height: 32px; font-weight: 400; }
.cases-contact-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; margin-top: 24px; padding: 12px 28px; border: 1px solid #fff; border-radius: 999px; background: #fff; color: var(--brand); font-size: 16px; line-height: 24px; font-weight: 400; transition: background-color 150ms ease; }
.cases-contact-button:hover { background: #edf3f8; }
.cases-contact-button:focus-visible { outline-color: #fff; }
.cases-contact-button svg { width: 20px; height: 20px; }
body.case-modal-open { overflow: hidden; }
.case-dialog { width: calc(100vw - 96px); min-width: 1024px; max-width: 1080px; max-height: calc(100vh - 80px); margin: auto; padding: 0; border: 0; border-radius: 12px; background: #fff; color: var(--text); box-shadow: 0 20px 80px rgb(15 23 42 / 24%); overflow-y: auto; overscroll-behavior: contain; }
.case-dialog::backdrop { background: rgb(15 23 42 / 55%); }
.case-dialog-toolbar { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; min-height: 64px; padding: 10px 32px; border-bottom: 1px solid #e7ebf0; background: rgb(255 255 255 / 98%); }
.case-return { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; border: 0; background: transparent; color: #677080; font-size: 14px; }
.case-return svg { width: 18px; height: 18px; }
.case-return:hover { color: var(--brand); }
.case-dialog-close { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #e7ebf0; border-radius: 50%; background: #fff; color: #677080; }
.case-dialog-close:hover { background: #f1f4f7; color: #111827; }
.case-dialog-close svg { width: 18px; height: 18px; }
.case-dialog-content { padding: 32px 40px 40px; }
.case-overview { display: grid; grid-template-columns: 360px minmax(0, 1fr); align-items: center; gap: 32px; }
.case-detail-image { position: relative; height: 226px; margin: 0; overflow: hidden; border-radius: 8px; background: #f1f4f7; }
.case-industry { margin-bottom: 12px; color: var(--brand); font-size: 14px; line-height: 24px; }
.case-detail-title { margin: 0; font-size: 28px; line-height: 40px; font-weight: 700; letter-spacing: -.02em; }
.case-detail-lead { margin-top: 16px; color: #677080; font-size: 16px; line-height: 28px; }
.case-facts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin: 28px 0 32px; padding: 22px 24px; border-radius: 8px; background: #f5f8fb; }
.case-facts > div + div { border-left: 1px solid #dce5ee; padding-left: 24px; }
.case-facts dt { color: #8993a1; font-size: 13px; line-height: 22px; }
.case-facts dd { margin: 8px 0 0; color: #344458; font-size: 15px; line-height: 26px; }
.case-detail-section + .case-detail-section { margin-top: 28px; }
.case-detail-section h3 { margin: 0 0 12px; color: #1f2937; font-size: 22px; line-height: 32px; font-weight: 500; }
.case-detail-section p, .case-detail-section li { color: #677080; font-size: 16px; line-height: 29px; }
.case-detail-section ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.case-detail-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #e7ebf0; }
.case-detail-contact p { color: #677080; font-size: 16px; }
.case-detail-contact a { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px; border-radius: 6px; background: var(--brand); color: #fff; font-size: 15px; }
.case-detail-contact a:hover { background: #20476c; }
.case-detail-contact svg { width: 18px; height: 18px; }
