/* Group A pages: AI hub, phone systems hub, contact center, POTS replacement.
   Variants of existing sections. Scoped by section anchors (set in the section's Anchor field).
   No wording lives here. */

/* ---------- Case study, dark card (section: Case study, display "dark") ---------- */
.s-csdark { display: flex; flex-wrap: wrap; border-radius: 20px; overflow: hidden; box-shadow: 0 16px 40px rgba(16,41,57,.12); background: #fff; color: var(--mrp-blue); }
.s-csdark__side { position: relative; overflow: hidden; flex: 1 1 380px; min-width: 0; box-sizing: border-box; padding: 40px; display: flex; flex-direction: column; gap: 26px; color: #fff; background: radial-gradient(120% 140% at 15% -10%, var(--mrp-blue-2) 0%, var(--mrp-blue) 55%); }
.s-csdark__side img { display: none; }
.s-csdark__side::after { content: ""; position: absolute; right: -40px; bottom: -50px; width: 220px; height: 220px; background: url("../img/mrp-symbol.png") no-repeat center / contain; opacity: .1; pointer-events: none; }
.s-csdark__label { font-family: var(--mrp-font-head); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mrp-green); }
.s-csdark__nums { margin: 0; display: flex; flex-wrap: wrap; gap: 28px 40px; }
.s-csdark__nums > div { display: flex; flex-direction: column-reverse; }
.s-csdark__nums dt { font-size: 16px; color: #DCE6EE; }
.s-csdark__nums dd { margin: 0; font-family: var(--mrp-font-head); font-weight: 800; font-size: 44px; line-height: 1; }
.s-csdark__note { margin: 0; font-size: 16px; color: #DCE6EE; }
.s-csdark__main { flex: 1 1 520px; min-width: 0; box-sizing: border-box; padding: 40px; display: flex; flex-direction: column; gap: 16px; background: #fff; }
.s-csdark__main > h2, .s-csdark__main > h3 { margin: 0; font-size: clamp(22px, 2.2vw, 26px); line-height: 1.25; }
.s-csdark__main > p { margin: 0; color: var(--mrp-muted); }
.s-csdark__main .s-checklist { margin: 4px 0 0; gap: 12px; }
.s-csdark__main .s-btns { margin-top: 8px; }
.s-csdark + .s-foot { margin-top: 24px; }
@media (max-width: 640px) { .s-csdark__side, .s-csdark__main { padding: 28px 22px; } .s-csdark__nums dd { font-size: 38px; } }

/* ---------- Blog card beside text (Text + image, card side, sections #ai-cost and #pots-who on POTS) ---------- */
#ai-cost .s-split__card, #pots-who .s-split__card--white { padding: 0; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 12px 32px rgba(16,41,57,.1); display: flex; flex-direction: column; }
#ai-cost .s-split__card h3, #pots-who .s-split__card--white h3 { position: relative; box-sizing: border-box; margin: 0; min-height: 150px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; color: #fff; font-size: 18px; background: radial-gradient(120% 140% at 15% -10%, var(--mrp-blue-2) 0%, var(--mrp-blue) 55%); }
#ai-cost .s-split__card h3::before, #pots-who .s-split__card--white h3::before { content: ""; width: 40px; height: 5px; border-radius: 3px; background: var(--mrp-green); }
#ai-cost .s-split__card h3::after, #pots-who .s-split__card--white h3::after { content: ""; position: absolute; right: 18px; top: 18px; width: 44px; height: 44px; background: url("../img/mrp-symbol.png") no-repeat center / contain; }
#ai-cost .s-split__card p, #pots-who .s-split__card--white p { margin: 0; padding: 0 26px; }
#ai-cost .s-split__card h3 + p, #pots-who .s-split__card--white h3 + p { padding-top: 26px; padding-bottom: 8px; font-family: var(--mrp-font-head); font-weight: 800; font-size: 21px; line-height: 1.3; }
#ai-cost .s-split__card p a, #pots-who .s-split__card--white p a { text-decoration: none; color: var(--mrp-blue); }
#ai-cost .s-split__card p:nth-of-type(2), #pots-who .s-split__card--white p:nth-of-type(2) { font-size: 15px; color: var(--mrp-muted); padding-bottom: 6px; }
#ai-cost .s-split__card p:last-child, #pots-who .s-split__card--white p:last-child { padding-top: 6px; padding-bottom: 26px; font-family: var(--mrp-font-head); font-weight: 800; font-size: 15px; }
#ai-cost .s-split__card p:last-child a, #pots-who .s-split__card--white p:last-child a { color: var(--mrp-link); }
#ai-cost .s-split__card p a:hover, #pots-who .s-split__card--white p a:hover { text-decoration: underline; }
#ai-cost .s-split__card p a:focus-visible, #pots-who .s-split__card--white p a:focus-visible { outline: 3px solid var(--mrp-blue-2); outline-offset: 3px; }

/* ---------- Dark Text + image with a numbered list and link pills (#ai-security, #cx) ---------- */
#ai-security .s-split__body ol, #cx .s-split__card ol { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: n; display: flex; flex-direction: column; gap: 22px; }
#ai-security .s-split__body ol li, #cx .s-split__card li { counter-increment: n; position: relative; padding-left: 58px; min-height: 40px; color: #DCE6EE; }
#ai-security .s-split__body ol li::before, #cx .s-split__card li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--mrp-green); color: var(--mrp-blue); display: flex; align-items: center; justify-content: center; font-family: var(--mrp-font-head); font-weight: 800; font-size: 15px; }
#ai-security .s-split__body ol li strong, #cx .s-split__card li strong { display: block; font-family: var(--mrp-font-head); font-weight: 800; font-size: 20px; line-height: 1.3; color: #fff; }
#ai-security .s-split__body ul, #cx .s-split__body ul { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
#ai-security .s-split__body ul a, #cx .s-split__body ul a { min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45); color: #fff; text-decoration: none; font-weight: 600; }
#ai-security .s-split__body ul a::after, #cx .s-split__body ul a::after { content: "\2192"; }
#ai-security .s-split__body ul a:hover, #cx .s-split__body ul a:hover { border-color: var(--mrp-green); }
#ai-security .s-split__body ul a:focus-visible, #cx .s-split__body ul a:focus-visible { outline: 3px solid var(--mrp-green); outline-offset: 3px; }
#ai-security .s-split__card, #cx .s-split__card { background: none; border: 0; box-shadow: none; padding: 0; display: flex; flex-direction: column; gap: 20px; }
#ai-security .s-split__body, #cx .s-split__body { max-width: 640px; }
/* right column of #ai-security: quote card and checklist box */
#ai-security .s-split__card figure { margin: 0; padding: 32px; border-radius: 18px; background: #fff; color: var(--mrp-blue); box-shadow: 0 20px 48px rgba(0,0,0,.25); }
#ai-security .s-split__card figure::before { content: ""; display: block; width: 36px; height: 36px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238DC63F'%3E%3Cpath d='M7 7h4v4H8c0 2 1 3 3 3v3c-4 0-6-2-6-6V7zm9 0h4v4h-3c0 2 1 3 3 3v3c-4 0-6-2-6-6V7z'/%3E%3C/svg%3E") no-repeat center / contain; }
#ai-security .s-split__card blockquote { margin: 12px 0 0; padding: 0; border: 0; font-family: var(--mrp-font-head); font-weight: 700; font-size: 21px; line-height: 1.4; color: var(--mrp-blue); }
#ai-security .s-split__card blockquote p { margin: 0; }
#ai-security .s-split__card figcaption { margin-top: 16px; font-size: 16px; color: var(--mrp-muted); }
#ai-security .s-split__card figcaption strong { color: var(--mrp-blue); }
#ai-security .s-split__card > div { padding: 28px; border-radius: 18px; border: 1px solid rgba(255,255,255,.3); }
#ai-security .s-split__card > div p { margin: 0; color: #DCE6EE; }
#ai-security .s-split__card > div p:first-child { margin-bottom: 8px; }
#ai-security .s-split__card > div p:first-child strong { font-family: var(--mrp-font-head); font-weight: 800; font-size: 20px; line-height: 1.3; color: #fff; }
#ai-security .s-split__card > div p:last-child { margin-top: 18px; }
/* right column of #cx: three see-through number cards */
#cx .s-split__card ol { margin: 0; gap: 16px; }
#cx .s-split__card li { padding: 20px 22px 20px 74px; border-radius: 14px; background: rgba(255,255,255,.08); }
#cx .s-split__card li::before { left: 22px; top: 20px; width: 36px; height: 36px; }
#cx .s-split__card li strong { font-size: 17px; }

/* ---------- Icon cards ---------- */
/* POTS options: first card (featured) is the dark one */
#options .s-card--featured { background: radial-gradient(120% 140% at 15% -10%, var(--mrp-blue-2) 0%, var(--mrp-blue) 55%); border: 0; box-shadow: none; color: #fff; }
#options .s-card--featured .s-card__label { color: var(--mrp-green); }
#options .s-card--featured h3 { color: #fff; }
#options .s-card--featured p { color: #DCE6EE; }
/* Contact center "who we help": the closing button is an outline button */
#cc-who .s-foot .mrp-btn--blue { background: transparent; color: var(--mrp-blue); border: 2px solid var(--mrp-blue); }
#cc-who .s-foot .mrp-btn--blue:hover { background: var(--mrp-blue); color: #fff; }

/* ---------- POTS hero: "cost of waiting" numbers side by side with an arrow ---------- */
#pots-hero .s-hero__stats { display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 18px 46px; }
#pots-hero .s-hero__stats > div { flex-direction: column-reverse; border: 0; padding: 0; flex: 1 1 0; min-width: 0; position: relative; }
#pots-hero .s-hero__stats > div:first-child dd { font-size: 34px; color: var(--mrp-muted); }
#pots-hero .s-hero__stats > div:last-child dd { font-size: 44px; }
#pots-hero .s-hero__stats dt { font-size: 15px; line-height: 1.4; }
#pots-hero .s-hero__stats > div:last-child::before { content: ""; position: absolute; left: -38px; top: 18px; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B5E9C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain; }
@media (max-width: 480px) { #pots-hero .s-hero__stats { gap: 18px 40px; } #pots-hero .s-hero__stats > div:last-child::before { left: -32px; } }
#ai-security .s-split, #cx .s-split { align-items: flex-start; }
#cx .s-split { align-items: center; }
.s-csdark__nums > div:nth-child(n+3) { flex-basis: 100%; }
.s-csdark__nums > div:nth-child(n+3) dd { font-size: 30px; line-height: 1.1; }
#pots-hero .s-hero__stats dd { white-space: nowrap; }
@media (max-width: 480px) { #pots-hero .s-hero__stats > div:first-child dd { font-size: 28px; } #pots-hero .s-hero__stats > div:last-child dd { font-size: 36px; } #pots-hero .s-hero__stats { gap: 18px 36px; } #pots-hero .s-hero__stats > div:last-child::before { left: -28px; } }
