/* Visible service-page redesign and case-study presentation fixes. Homepage intentionally excluded. */
/* Service detail hero: clearer hierarchy, balanced two-column layout, and more intentional package panel. */
body:has(.service-creative-strip) .page-hero{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 76% 30%,rgba(36,211,148,.13),transparent 36%),linear-gradient(135deg,#071a15 0%,#09120f 70%);padding-block:clamp(3rem,6vw,5.5rem)}
body:has(.service-creative-strip) .page-hero-grid{align-items:center;gap:clamp(2rem,5vw,4.5rem)}
body:has(.service-creative-strip) .page-hero-copy h1{max-width:760px;font-size:clamp(2.65rem,5.6vw,5.2rem);line-height:.99;letter-spacing:-.055em;text-wrap:balance}
body:has(.service-creative-strip) .page-hero-copy>p:not(.eyebrow){max-width:650px;color:#c2d4cc;font-size:clamp(1rem,1.5vw,1.13rem);line-height:1.8}
body:has(.service-creative-strip) .page-hero .package-card,body:has(.service-creative-strip) .page-hero aside{position:relative;overflow:hidden;border:1px solid rgba(65,219,164,.3);border-radius:24px;background:linear-gradient(145deg,rgba(20,48,39,.98),rgba(7,23,18,.98));color:#f3fbf7;box-shadow:0 24px 70px rgba(0,0,0,.32)}
body:has(.service-creative-strip) .page-hero aside:before{content:"SERVICE SNAPSHOT";display:block;margin:-.1rem 0 1.1rem;color:#8ce9c2;font-size:.68rem;font-weight:900;letter-spacing:.16em}
body:has(.service-creative-strip) .page-hero aside h2,body:has(.service-creative-strip) .page-hero aside h3{color:#f7fffb;font-size:1.45rem;line-height:1.2;letter-spacing:-.03em}
body:has(.service-creative-strip) .page-hero aside li{display:flex;align-items:flex-start;gap:.65rem;color:#c4d6ce;line-height:1.5;padding:.35rem 0}
body:has(.service-creative-strip) .page-hero aside li svg{color:#48e0aa;flex-shrink:0}
body:has(.service-creative-strip) .page-hero aside .button{width:100%;justify-content:space-between;border-radius:12px;min-height:52px;background:linear-gradient(100deg,#35d69a,#20b984);color:#06271c;font-weight:800;box-shadow:0 8px 26px rgba(32,185,132,.17)}
body:has(.service-creative-strip) .service-creative-strip{max-width:1240px;margin:1.4rem auto 2.2rem;gap:1rem}
body:has(.service-creative-strip) .service-creative-strip>div{min-height:78px;border-radius:16px;background:linear-gradient(135deg,rgba(31,211,145,.11),rgba(255,255,255,.025));border-color:rgba(74,220,167,.23);font-size:.94rem}
body:has(.service-creative-strip) .partner-story{padding-block:clamp(4rem,7vw,6.5rem)}
body:has(.service-creative-strip) .partner-story .partner-card{transition:transform .22s ease,border-color .22s ease,background .22s ease}
body:has(.service-creative-strip) .partner-story .partner-card:hover{transform:translateY(-4px);border-color:rgba(77,229,174,.55);background:rgba(45,183,131,.09)}
body:has(.service-creative-strip) .partner-story .partner-number{background:linear-gradient(135deg,#35d69a,#9af2cd);color:#063022;box-shadow:0 5px 18px rgba(53,214,154,.16)}
body:has(.service-creative-strip) .partner-story .partner-bottom .button{background:#ff9d42;color:#1c160d;border:0;font-weight:850}
/* Case studies: visual lead, consistent evidence cards, filters and real-data caveat. */
body:has(#case-study-library) .page-hero.simple{background:radial-gradient(ellipse at 80% 0%,rgba(45,213,153,.17),transparent 42%),linear-gradient(135deg,#071a15,#09110f);padding-block:clamp(3.5rem,7vw,6rem)}
body:has(#case-study-library) .page-hero.simple h1{font-size:clamp(2.7rem,6vw,5.2rem);line-height:1;letter-spacing:-.06em;max-width:850px;text-wrap:balance}
body:has(#case-study-library) .results-section{padding-block:clamp(2rem,5vw,4rem)}
body:has(#case-study-library) .case-library{padding-block:clamp(4rem,8vw,7rem)}
body:has(#case-study-library) .case-library-heading h2{font-size:clamp(2.2rem,4.8vw,4rem);line-height:1.04;text-wrap:balance}
body:has(#case-study-library) .case-library-heading>p:last-child{font-size:1.02rem;max-width:760px}
body:has(#case-study-library) .case-filter-bar{padding:.5rem;border:1px solid rgba(119,210,175,.16);border-radius:18px;background:rgba(255,255,255,.025);width:fit-content;max-width:100%}
body:has(#case-study-library) .case-filter{border-radius:12px;font-weight:750}
body:has(#case-study-library) .case-library-grid{gap:1.15rem}
body:has(#case-study-library) .case-library-card{padding:1.5rem;border-radius:22px;background:linear-gradient(150deg,rgba(21,52,42,.9),rgba(7,19,15,.98));box-shadow:0 22px 60px rgba(0,0,0,.18);transition:transform .22s ease,border-color .22s ease}
body:has(#case-study-library) .case-library-card:hover{transform:translateY(-5px);border-color:rgba(74,224,169,.5)}
body:has(#case-study-library) .case-platform{width:3rem;height:3rem;border-radius:14px;font-size:1.35rem;box-shadow:0 6px 20px rgba(0,0,0,.12)}
body:has(#case-study-library) .case-library-card h3{font-size:1.45rem}
body:has(#case-study-library) .case-metrics>div{background:rgba(4,14,10,.5);padding:.85rem .65rem}
body:has(#case-study-library) .case-library-disclaimer{border-radius:0 14px 14px 0;padding:1rem 1.2rem}
@media(max-width:760px){body:has(.service-creative-strip) .page-hero-grid{grid-template-columns:1fr;gap:1.5rem}body:has(.service-creative-strip) .page-hero-copy h1{font-size:clamp(2.5rem,11vw,4rem)}body:has(.service-creative-strip) .page-hero aside{width:100%;max-width:none}body:has(.service-creative-strip) .service-creative-strip{grid-template-columns:1fr;padding-inline:1rem}body:has(.service-creative-strip) .service-creative-strip>div{min-height:0}body:has(#case-study-library) .case-filter-bar{width:100%}body:has(#case-study-library) .case-filter{flex:1 1 auto}}
@media(prefers-reduced-motion:reduce){body:has(.service-creative-strip) .partner-story .partner-card,body:has(#case-study-library) .case-library-card{transition:none}body:has(.service-creative-strip) .partner-story .partner-card:hover,body:has(#case-study-library) .case-library-card:hover{transform:none}}
