/* Forentis v27 — launch/mobile polish across WordPress templates */
:root{--fo-mobile-heading:clamp(27px,7vw,34px);--fo-mobile-h1:clamp(31px,8.1vw,42px)}
html{overflow-x:clip}
body{overflow-x:clip}
.forentis-gone{background:#f2f6f9;padding:90px 0 110px;text-align:center;min-height:45vh}
.forentis-gone .container{max-width:720px}
.forentis-gone .eyebrow{justify-content:center}
.forentis-gone h1{font:800 clamp(34px,5vw,52px)/1.12 Arial,sans-serif;color:#092c43;letter-spacing:-.03em;margin:12px 0}
.forentis-gone p{max-width:62ch;margin:0 auto 28px;color:#546d7d}
/* Desktop editorial rhythm, not bespoke rules on every template */
main :is(.section-head h2,.story-copy h2,.home-global-copy h2,.home-signature-copy h2,.about-network-copy h2,.about-intro-grid h2,.contact-form-head h2){text-wrap:balance}
main :is(.home-signature-copy,.about-capability,.about-diff-card,.home-client-card,.contact-channel,.contact-brief-card,.service-card,.forentis-result-card){min-width:0}
main :is(.article-v20-card,.article-v20-toc-card,.contact-form-card,.contact-side-card,.service-card){box-shadow:0 12px 34px rgba(7,25,39,.055)}
/* Default footer/logo: avoid cropping in both desktop/mobile */
.premium-footer-brandmark-footer{overflow:visible!important;max-width:100%!important;height:auto!important}
.premium-footer-brandmark-footer img{display:block;width:min(100%,360px)!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
.premium-footer-slogan{display:block;color:#fff!important;line-height:1.4!important}
@media(max-width:1000px){
  .premium-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .premium-footer-grid>div:first-child{grid-column:1/-1}
  .premium-footer-grid>div:last-child{grid-column:auto}
}
@media(max-width:720px){
  :root{--fo-v25-h2-mobile:var(--fo-mobile-heading)!important}
  main{min-width:0}
  main .container{width:calc(100% - 36px)!important;max-width:calc(100% - 36px)!important}
  main .section{padding-top:52px;padding-bottom:52px}
  main :is(.section-head,.contact-form-head,.story-copy,.about-network-copy,.contact-hero-copy){margin-bottom:22px}
  main :is(.section-head h2,.story-copy h2,.home-signature-copy h2,.home-global-copy h2,.about-intro-grid h2,.about-network-copy h2,.contact-form-head h2,.contact-brief-section h2,.contact-assurance-section h2,.cta h2){font-size:var(--fo-mobile-heading)!important;line-height:1.16!important;letter-spacing:-.032em!important;max-width:100%!important;text-align:center!important;text-wrap:balance!important;overflow-wrap:break-word!important;margin-left:auto!important;margin-right:auto!important}
  main :is(.about-hero-copy h1,.contact-hero-copy h1,.page-hero-copy h1,.fp-sv-hero h1,.article-v20-hero h1){font-size:var(--fo-mobile-h1)!important;line-height:1.09!important;max-width:100%!important;text-wrap:balance!important;letter-spacing:-.035em!important}
  main :is(.section-head p,.story-copy p,.home-signature-copy p,.about-intro-grid p,.home-global-copy p,.contact-hero-copy p,.page-hero-copy p,.contact-form-head p){font-size:15px!important;line-height:1.7!important;max-width:65ch!important;margin-inline:auto!important}
  main :is(.quick-card,.home-proof-card,.home-client-card,.about-diff-card,.contact-brief-card,.about-capability,.service-body,.contact-assurance-grid article){padding:22px 20px!important;border-radius:16px}
  main :is(.quick-grid,.home-proof-grid,.home-clients-grid,.about-diff-grid,.contact-brief-grid,.service-grid,.all-services,.forentis-results-grid){gap:14px!important}
  main :is(.story,.method,.home-global-grid,.about-intro-grid,.about-network-grid,.contact-main-grid){gap:24px!important}
  main .forentis-story-visual img{height:290px;min-height:290px}
  main .forentis-story-visual{margin-top:0}
  main .home-signature-copy{padding:25px 22px!important}
  main .home-signature-section{padding-top:6px!important;padding-bottom:46px!important}
  main .premium-v18-intro{padding-top:52px;padding-bottom:52px}
  main .premium-v18-intro-actions{gap:15px!important}
  main .premium-v18-intro-actions .btn{min-height:46px}
  main .cta{border-radius:18px;overflow:hidden}
  main .cta-content{padding:27px 22px 30px!important}
  main .cta .actions{margin-top:20px;gap:10px}
  main .cta .actions .btn{width:100%;min-height:48px}
  main .contact-hero-grid{gap:22px}
  main .contact-hero-copy,.contact-page .contact-form-head{text-align:center}
  main .contact-hero-media{overflow:hidden;border-radius:18px}
  main .contact-hero-media img{width:100%;height:auto;min-height:240px;object-fit:cover}
  main .about-hero-stats{gap:12px}
  main .article-v20-body-section{padding:32px 0 56px}
  main .article-v20-card .article-pro-card-body{padding:18px}
  main .article-v20-toc-card{padding:22px 18px}
  main .article-v20-toc-links{gap:9px}
  main .article-v20-card-half{grid-column:1/-1}
  .premium-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 12px!important;padding:27px 0 18px!important;text-align:center!important}
  .premium-footer-grid>div:first-child{grid-column:1/-1}
  .premium-footer-grid>div:last-child{grid-column:1/-1}
  .premium-footer-grid>div:not(:first-child){border:0!important;padding:4px 0!important}
  .premium-footer-grid>div:nth-child(4){border-top:1px solid rgba(255,255,255,.1)!important;padding-top:16px!important}
  .premium-footer-brandmark-footer img{width:min(100%,280px)!important;margin-inline:auto!important}
  .premium-footer-about p{margin-inline:auto}
  .premium-footer-slogan{font-size:12px!important}
  .premium-footer-description{font-size:12.5px!important;max-width:340px!important}
  .premium-footer-grid h3{margin:0 0 10px!important;font-size:11px!important;letter-spacing:.09em}
  .premium-footer-grid>div:not(:first-child)>a{font-size:12px!important;padding:4px 2px!important;justify-content:center}
  .premium-footer-social{display:flex!important;gap:8px!important;justify-content:center!important;flex-wrap:nowrap!important;width:100%}
  .premium-social-link{flex:0 0 auto!important;min-width:0!important;width:auto!important;padding:9px 11px!important;font-size:11px!important}
  .premium-footer-bottom{padding:14px 0 84px!important;font-size:10.5px!important;display:flex!important;flex-direction:column!important;gap:10px!important;text-align:center!important}
  .premium-footer-bottom>div{justify-content:center!important;flex-wrap:wrap!important;gap:6px 14px!important}
  .whatsapp-premium{right:12px!important;bottom:12px!important}
}
@media(max-width:390px){
  .premium-social-link{padding:8px 9px!important;font-size:10px!important}
  .premium-footer-brandmark-footer img{width:min(100%,255px)!important}
}
