/* Case-study refinement: approved editorial, walkthrough and process families. */
.case-refined .case-title{font-size:104px;line-height:1.02;white-space:normal;overflow:visible;max-width:1200px;padding-right:.08em}
.case-refined .case-title-line{display:block;padding-bottom:.06em}
.case-refined .case-title .case-title-gradient{background:var(--case-gradient);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent!important;animation:none}
.case-refined .case-lead{max-width:920px;font-size:20px;line-height:1.6;margin-top:28px}
.case-refined .case-heading{line-height:1.03;padding:0 .08em .08em 0;overflow:visible;white-space:normal;max-width:100%;overflow-wrap:normal;word-break:normal}
.case-refined .case-hero{padding-bottom:44px}
.case-refined .case-proof-strip{max-width:1320px;margin:0 auto;border-top:1px solid var(--case-line);border-bottom:1px solid var(--case-line)}
.case-refined .case-proof-strip strong{font-size:25px;line-height:1.12}
.case-refined .case-facts{border-top:1px solid var(--case-line)}
.case-refined .case-facts>div{border-color:var(--case-line);background:transparent}
.case-refined .case-facts .verified,.case-refined .case-facts .boundary{border-left-color:var(--case-cyan)}
.case-refined .case-system-grid article,.case-refined .case-results>div{min-width:0}
.case-refined .case-system-grid b,.case-refined .case-step>span{padding-right:.08em;line-height:1.1;background:var(--case-gradient);background-clip:text;-webkit-background-clip:text;color:transparent}
.case-refined .case-section.dark .case-section-lead,.case-refined .case-section.dark .case-note{color:#d5d4db}
.case-refined .case-walkthrough-visual figcaption,.case-refined .case-visual figcaption{line-height:1.55}
.case-refined #public-website .case-walkthrough-visual{max-width:1120px;margin:32px auto 0}
.case-refined #public-website .case-walkthrough-visual img{width:100%;height:auto;max-height:650px;object-fit:contain;object-position:top;background:#fff}
.case-refined .case-refinement-detail{margin-top:28px;border-top:1px solid var(--case-black);border-bottom:1px solid var(--case-black)}
.case-refined .case-refinement-detail summary{padding:22px 6px;cursor:pointer;font:700 21px/1.25 var(--case-display);text-transform:uppercase;min-height:54px}
.case-refined .case-refinement-detail summary:focus-visible{outline:3px solid var(--case-cyan);outline-offset:3px}
.case-refined .case-refinement-detail .case-workflow{margin:6px 0 28px}
.case-refined .case-related-work{border-top:1px solid var(--case-line)}
.case-refined .case-related-work .case-section-lead{max-width:800px;margin:20px 0 28px}
.case-refined .case-button{white-space:normal;text-align:center;min-height:48px}
.case-refined .site-section-links a{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:1180px){.case-refined .case-title{font-size:82px}.case-refined .case-section-head,.case-refined .case-intro-grid{gap:28px}.case-refined .case-heading{font-size:64px}}
@media(max-width:820px){.case-refined .case-title{font-size:68px}.case-refined .case-lead{font-size:18px}.case-refined .case-heading{font-size:54px}.case-refined .case-wrap{width:calc(100% - 48px)}.case-refined .case-agent-grid{grid-template-columns:1fr}.case-refined .case-proof-strip{width:calc(100% - 48px)}}
@media(max-width:540px){.case-refined .case-title{font-size:52px}.case-refined .case-heading{font-size:44px}.case-refined .case-wrap{width:calc(100% - 40px)}.case-refined .case-proof-strip{width:calc(100% - 40px)}.case-refined .case-proof-strip strong{font-size:23px}.case-refined .case-lead{font-size:17px}.case-refined .case-hero{padding-top:32px}.case-refined .case-system-grid,.case-refined .case-results-evidence,.case-refined .case-fit-grid{grid-template-columns:1fr}.case-refined .case-actions{align-items:stretch}.case-refined .case-actions .case-button{width:100%}.case-refined .case-refinement-detail summary{font-size:20px}.case-refined .case-faq-question{line-height:1.3}.case-refined .case-step{min-width:0}}
@media(max-width:360px){.case-refined .case-title{font-size:46px}.case-refined .case-heading{font-size:39px}}
@media(prefers-reduced-motion:reduce){.case-refined .case-title-line,.case-refined .case-title-gradient{animation:none;transform:none}}


/* Text must wrap inside its grid track, including tablet editorial splits. */
.case-refined .case-section-head{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
.case-refined .case-section-head>*,.case-refined .case-intro-grid>*{min-width:0}
@media(max-width:1180px){.case-refined .case-section-head{grid-template-columns:minmax(0,1fr);align-items:start}.case-refined .case-section-head .case-section-lead{max-width:760px}}
/* Keep the editorial hero readable independently of animation timing. */
.case-refined .case-hero{display:block;min-height:0;overflow:visible;contain:none;padding-top:72px}
.case-refined .case-hero>.case-wrap{min-width:0}
.case-refined .case-title-line,.case-refined .case-hero .case-eyebrow,.case-refined .case-hero .case-lead,.case-refined .case-hero .case-actions{animation:none;opacity:1;transform:none}
.case-refined .case-title .case-title-gradient{background:var(--case-gradient)!important;background-clip:text!important;-webkit-background-clip:text!important}
.case-refined .case-hero>.site-section-links{width:min(100% - 112px,1320px);margin:28px auto 0}
@media(max-width:820px){.case-refined .case-hero{padding-top:44px}.case-refined .case-hero>.site-section-links{width:calc(100% - 48px)}}
@media(max-width:540px){.case-refined .case-hero{padding-top:32px}.case-refined .case-hero>.site-section-links{width:calc(100% - 40px)}}
/* Local branded font files avoid a third-party font request. */
@font-face{font-family:"Barlow Condensed";src:url('/assets/homepage-performance/fonts/barlow-condensed-800-italic-latin.woff2') format('woff2');font-weight:800;font-style:italic;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url('/assets/homepage-performance/fonts/barlow-condensed-800-normal-latin.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url('/assets/homepage-performance/fonts/barlow-condensed-700-normal-latin.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"DM Sans";src:url('/assets/homepage-performance/fonts/dm-sans-300-700-normal-latin.woff2') format('woff2');font-weight:300 700;font-style:normal;font-display:swap}

/* Replace the older portrait-grid hero on the refined UroPanama page. */
body.case-refined.case-study-uropanama-en .case-hero{display:block;min-height:0;padding:72px 0 44px;overflow:visible;background:var(--case-cream)}
body.case-refined.case-study-uropanama-en .case-hero::after{display:none}
body.case-refined.case-study-uropanama-en .case-hero .case-wrap{display:block}
body.case-refined.case-study-uropanama-en .case-hero .case-lead{margin-top:28px;max-width:920px}
body.case-refined.case-study-uropanama-en .case-hero .case-actions{display:flex;width:auto;margin:28px 0 0;flex-wrap:wrap}
body.case-refined.case-study-uropanama-en .case-hero .case-button{width:auto}
@media(max-width:540px){body.case-refined.case-study-uropanama-en .case-hero{padding-top:32px}body.case-refined.case-study-uropanama-en .case-hero .case-button{width:100%}}

/* Compact assistant control stays outside the case-study CTA text. */
body.case-refined:not(.tfs-assistant-open) vapi-widget[data-tfs-assistant] .tfs-assistant-positioner{left:auto!important;right:0!important}
body.case-refined:not(.tfs-assistant-open) vapi-widget[data-tfs-assistant] .tfs-assistant-launcher{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:8px!important;gap:0!important}
body.case-refined:not(.tfs-assistant-open) vapi-widget[data-tfs-assistant] .tfs-assistant-launcher::after{display:none}
@media(max-width:820px){body.case-refined .case-actions{padding-right:36px}}

/* Eight evidence entries, using the site's numbered process-row treatment. */
.case-refined .case-evidence-eight{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 48px;border:0;margin-top:40px}
.case-refined .case-evidence-eight .case-evidence-item{display:grid;grid-template-columns:64px minmax(0,1fr);gap:20px;padding:28px 0;border-top:1px solid #555;min-width:0;background:transparent;box-shadow:none;transform:none}
.case-refined .case-evidence-number{font:800 italic 48px/1.1 var(--case-display);background:var(--case-gradient);background-clip:text;-webkit-background-clip:text;color:transparent;padding-right:6px}
.case-refined .case-evidence-eight .case-evidence-type{font:600 12px/1.5 var(--case-body,'DM Sans',sans-serif);text-transform:uppercase;letter-spacing:.08em;color:#b9c9d0;margin:0 0 8px}
.case-refined .case-evidence-eight h3{font:700 25px/1.2 'DM Sans',sans-serif;color:#fff;margin:0 0 14px;text-transform:none;letter-spacing:0}
.case-refined .case-evidence-eight p{font-size:16px;line-height:1.65;color:#dedee3;margin:0}
@media(max-width:820px){.case-refined .case-evidence-eight{grid-template-columns:minmax(0,1fr)!important}.case-refined .case-evidence-eight .case-evidence-item{grid-template-columns:52px minmax(0,1fr);gap:16px}.case-refined .case-evidence-number{font-size:42px}.case-refined .case-evidence-eight h3{font-size:22px}}
/* Proof-strip states: retain the typeface and give every text layer a solid contrasting fill. */
body.case-refined.case-study-page .case-proof-strip>div{transition:background .18s,border-color .18s;transform:none;box-shadow:none}
body.case-refined.case-study-page .case-proof-strip strong{line-height:1.15;padding-bottom:.06em}
body.case-refined.case-study-uropanama-en .case-proof-strip span{color:#d0d0d6}
body.case-refined.case-study-page .case-proof-strip>div:is(:hover,:focus-visible){background:linear-gradient(110deg,#d8faf6,#e2edfc 55%,#ece6fa)!important;color:#0a0a0a!important;border-color:#777!important;transform:none!important;box-shadow:inset 0 3px 0 #00b8a7!important}
body.case-refined.case-study-page .case-proof-strip>div:is(:hover,:focus-visible) strong,body.case-refined.case-study-page .case-proof-strip>div:is(:hover,:focus-visible) span{background:none!important;background-clip:border-box!important;-webkit-background-clip:border-box!important;-webkit-text-fill-color:#0a0a0a!important;color:#0a0a0a!important;opacity:1!important;text-shadow:none!important}
body.case-refined.case-study-page .case-proof-strip>div:focus-visible{outline:3px solid #6245a8;outline-offset:3px}
@media(prefers-reduced-motion:reduce){body.case-refined.case-study-page .case-proof-strip>div{transition:none}}
