/* Forentis v22 — afinación visual editorial y responsive */
/* Footer logo and mobile centering */
.premium-footer-brandmark-footer{display:block;width:min(100%,360px);max-width:360px;overflow:hidden}
.premium-footer-brandmark-footer img{display:block;width:100%;height:auto;object-fit:contain;object-position:left center;filter:none!important}
.premium-footer-about p{max-width:360px}
/* Clean floating WhatsApp CTA */
.whatsapp-premium{position:fixed;right:18px;bottom:18px;z-index:160;display:grid;grid-template-columns:46px auto;align-items:center;gap:12px;padding:8px 16px 8px 8px;min-height:62px;background:linear-gradient(135deg,#07263b 0%,#0e4b69 100%);color:#fff!important;border-radius:999px;border:1px solid rgba(113,196,235,.24);box-shadow:0 18px 34px rgba(4,21,33,.26)!important;text-decoration:none}
.whatsapp-premium:hover{transform:translateY(-1px);color:#fff!important}
.whatsapp-premium-icon{width:46px!important;height:46px!important;flex:0 0 46px!important;border-radius:50%;display:grid;place-items:center;background:#25d366!important;color:#062413!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.whatsapp-premium-icon svg{width:21px;height:21px}
.whatsapp-premium-copy{display:grid;align-content:center;gap:3px;min-width:0}
.whatsapp-premium small,.whatsapp-premium strong{display:block;margin:0;text-align:left}
.whatsapp-premium small{font-size:10px;line-height:1;color:#c6deeb!important}
.whatsapp-premium strong{font-size:13px;line-height:1.18;color:#fff!important}
/* Article hero title: slightly smaller and single-line on desktop */
.article-v20-hero h1{max-width:100%!important;font-size:clamp(34px,3.6vw,52px)!important;line-height:1.04!important;letter-spacing:-.04em!important}
@media (min-width:1100px){.article-v20-hero h1{white-space:nowrap}}
.article-v20-lead{max-width:940px}
/* Remove overly generic repetition feel and polish section cards */
.article-v20-body-wrap{gap:24px}
.article-v20-card,.article-v20-intro-card,.article-v20-toc-card,.article-v20-reference-panel,.article-v20-final-cta{border-radius:20px}
.article-v20-toc-head h2{font-size:clamp(26px,2.6vw,34px)}
.article-v20-card .article-pro-card-head{padding:22px 24px}
.article-v20-card .article-pro-card-head h2{font-size:clamp(22px,2.25vw,28px);line-height:1.2;color:#102f44}
.article-v20-card .article-pro-card-body{padding:24px 26px 28px}
.article-v20-card .article-pro-card-body p,.article-v20-card .article-pro-card-body li{font-size:15.5px;line-height:1.78;color:#415a6b}
.article-v20-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.article-v20-card-wide{grid-column:1/-1}
.article-v20-card-half{grid-column:auto}
.article-v20-card-half .article-pro-card-body{height:auto}
/* Section 02 steps as cards */
.article-v22-section-02 .article-steps{counter-reset:v22step;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:16px 0 24px}
.article-v22-section-02 .article-steps li{counter-increment:v22step;position:relative;margin:0;padding:58px 16px 18px!important;background:#f5f9fc;border:1px solid #d8e8f2;border-radius:13px;line-height:1.56}
.article-v22-section-02 .article-steps li:before{content:counter(v22step,decimal-leading-zero);position:absolute;top:14px;left:16px;font-size:25px;font-weight:850;line-height:1;color:#1889bf;letter-spacing:-.04em}
.article-v22-section-02 .article-steps li strong{display:block;margin-bottom:7px;font-size:14px;color:#0f344c}
/* Section 06 = 2-column feature list on desktop */
.article-v22-section-06 .article-pro-card-body>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:12px 0}
.article-v22-section-06 .article-pro-card-body>ul li{margin:0;border:1px solid #e0e8ee;background:#f8fbfd;border-radius:10px;padding:12px 14px 12px 18px;border-left:3px solid #3f9dcb}
/* 07 and 08 balanced visually */
.article-v22-section-07 .article-errors,.article-v22-section-08 .article-checklist{display:grid;gap:9px;padding:0;list-style:none;margin:0}
.article-v22-section-07 .article-errors li,.article-v22-section-08 .article-checklist li{position:relative;margin:0!important;padding:12px 14px 12px 40px!important;border-radius:10px;border:1px solid #dfe7ec;font-size:14px;line-height:1.52;background:#f9fbfd}
.article-v22-section-07 .article-errors li{background:#fff9f9;border-color:#efd9db}
.article-v22-section-08 .article-checklist li{background:#f4fbfe;border-color:#d6eaf3}
.article-v22-section-07 .article-errors li:before{content:"×";position:absolute;left:15px;top:8px;color:#ba4d58;font-size:22px;font-weight:800;line-height:1}
.article-v22-section-08 .article-checklist li:before{content:"✓";position:absolute;left:15px;top:10px;color:#1889bf;font-size:18px;font-weight:800;line-height:1}
.article-v22-section-07 .article-errors li.article-filler,.article-v22-section-08 .article-checklist li.article-filler{visibility:hidden;border-style:dashed;background:transparent!important}
/* Mid CTA spans full width */
.article-v22-wide-cta{grid-column:1/-1;display:flex!important;justify-content:space-between;align-items:center;gap:28px;width:100%;padding:30px 34px;border-radius:18px;background:linear-gradient(115deg,#082438 0%,#0f4d6c 100%)}
.article-v22-wide-cta>div:first-child{max-width:720px}
.article-v22-wide-cta .article-pro-mid-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
/* Mobile / tablet center alignment */
@media (max-width:1050px){
  .article-v22-section-02 .article-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .article-v22-wide-cta{flex-direction:column;align-items:stretch}
  .article-v22-wide-cta .article-pro-mid-actions{justify-content:flex-start}
}
@media (max-width:790px){
  .article-v20-sections{grid-template-columns:1fr!important}
  .article-v20-card-wide,.article-v20-card-half{grid-column:auto}
  .article-v22-section-02 .article-steps,.article-v22-section-06 .article-pro-card-body>ul{grid-template-columns:1fr}
}
@media (max-width:680px){
  .premium-footer-brandmark-footer{width:min(100%,270px);max-width:270px;margin-inline:auto}
  .premium-footer-grid{grid-template-columns:1fr!important;gap:28px!important;text-align:center!important}
  .premium-footer-grid>div,.premium-footer-grid h3,.premium-footer-grid a,.premium-footer-grid p{text-align:center!important}
  .premium-footer-about p{margin-inline:auto}
  .premium-footer-trust,.premium-footer-social,.premium-footer-bottom>div{justify-content:center!important}
  .premium-footer-bottom{flex-direction:column!important;text-align:center!important;gap:10px}
  .whatsapp-premium{right:12px;bottom:12px;width:58px;height:58px;min-height:58px;padding:0;border-radius:50%;grid-template-columns:1fr;place-items:center}
  .whatsapp-premium-copy{display:none}
  .whatsapp-premium-icon{width:42px!important;height:42px!important}
  .article-v20-hero-inner{padding:42px 0 44px}
  .article-v20-hero h1{font-size:clamp(28px,6.6vw,34px)!important;white-space:normal!important;text-align:center}
  .article-v20-kicker,.article-v20-lead,.article-v20-tags{justify-content:center;text-align:center}
  .article-v20-lead{font-size:15px!important;margin-inline:auto}
  .article-v20-card .article-pro-card-head,.article-v20-card .article-pro-card-body{padding-left:18px;padding-right:18px}
}
