/*
 * Homepage (.sfhome) — ported from production's current rendered CSS.
 *
 * The theme's first homepage pass was built from the July capture of the
 * Elementor HTML widget (super-fence/wp-live/homepage-widget.html). Production
 * has been edited since, so that capture is stale and matching it put the
 * homepage visibly out of step with live. This block is production's CURRENT
 * CSS, read back from the rendered page and verified byte-identical
 * (5,465 bytes, SHA-256 7dbf1560…3aa8).
 *
 * What changed between the July capture and now, for the record:
 *   .wrap             max-width 1280px/auto  ->  none/0   (bands own the centring)
 *   .hero-inner gap   60px                   ->  56px
 *   .hero-visual      flex 0 0 460px, 390px  ->  flex 1 1 auto, 420px
 *   .stats/.stat      did not exist          ->  navy band, 4 items, separators
 *   .cat-img          170px, #EEF2F6, cover  ->  240px, #FFFFFF, 12px, contain
 *   h2 / .why-icon    font-weight 800        ->  700
 *   .cta-band         inherited 1280px       ->  max-width 1160px, margin auto
 *
 * Literal hex rather than the theme tokens, deliberately: this is a port to be
 * diffed against production, not new design work.
 */

.sfhome, .sfhome *{box-sizing:border-box;}
.sfhome a{text-decoration:none;color:inherit;}
.sfhome{font-family:'Manrope',Arial,sans-serif;color:#12233D;line-height:1.55;background:#F7F8FA;}
.sfhome .wrap{max-width:none;margin:0;}
.sfhome .btn{display:inline-block;padding:13px 26px;font-weight:700;font-size:15px;border-radius:8px;white-space:nowrap;}
.sfhome a.btn-primary{background:#FF6B35;color:#FFFFFF;border:1.5px solid #FF6B35;}
.sfhome a.btn-primary:hover{background:#e85d29;border-color:#e85d29;color:#FFFFFF;}
.sfhome a.btn-outline{background:transparent;border:1.5px solid #CBD3DE;color:#005784;}
.sfhome a.btn-outline:hover{border-color:#005784;}
.sfhome .eyebrow{display:inline-flex;align-items:center;gap:8px;background:#EAF1F8;color:#2F8FBF;font-size:13px;font-weight:700;padding:6px 14px;border-radius:20px;}
.sfhome .hero{padding:80px 56px 88px;}
.sfhome .hero-inner{display:flex;align-items:center;gap:56px;}
.sfhome .hero-copy{flex:1 1 auto;max-width:560px;}
.sfhome .hero h1{font-size:50px;font-weight:800;line-height:1.1;letter-spacing:-0.02em;color:#005784;margin:22px 0 18px;}
.sfhome .hero p{font-size:17px;color:#5B6B82;margin-bottom:30px;max-width:480px;}
.sfhome .hero-actions{display:flex;gap:14px;margin-bottom:32px;flex-wrap:wrap;}
.sfhome .hero-trust{display:flex;gap:26px;font-size:13px;color:#5B6B82;font-weight:600;flex-wrap:wrap;}
.sfhome .hero-visual{flex:1 1 auto;height:420px;border-radius:16px;overflow:hidden;position:relative;box-shadow:0 20px 40px rgba(18,35,61,.12);}
.sfhome .hero-visual img{width:100%;height:100%;object-fit:cover;display:block;}
.sfhome .hero-visual .spec-tag{position:absolute;bottom:18px;left:18px;background:#005784;color:#FFFFFF;font-size:12px;font-weight:700;padding:8px 14px;border-radius:8px;}
.sfhome .stats{background:#005784;display:flex;justify-content:center;gap:0;padding:34px 56px;flex-wrap:wrap;}
.sfhome .stat{text-align:center;padding:0 52px;border-right:1px solid rgba(255,255,255,0.14);}
.sfhome .stat:last-child{border-right:none;}
.sfhome .stat .num{font-size:30px;font-weight:800;color:#FFFFFF;letter-spacing:-0.01em;}
.sfhome .stat .label{font-size:12px;color:#9DB1CC;font-weight:600;margin-top:4px;}
@media (max-width:860px){.sfhome .stats{gap:22px 0;padding:26px 20px;}.sfhome .stat{width:50%;padding:0 16px;border-right:none;}}
@media (max-width:520px){.sfhome .stat{width:100%;}}
.sfhome section{padding:80px 56px;}
.sfhome .section-head{max-width:640px;margin:0 auto 44px;text-align:center;}
.sfhome .section-head h2{font-size:34px;font-weight:700;color:#005784;letter-spacing:-0.01em;margin:12px 0 12px;}
.sfhome .section-head p{color:#5B6B82;font-size:15px;}
.sfhome .cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.sfhome .cat-card{background:#FFFFFF;border:1px solid #E4E7EC;border-radius:14px;overflow:hidden;transition:box-shadow .15s ease,transform .15s ease;display:flex;flex-direction:column;}
.sfhome .cat-card:hover{box-shadow:0 16px 30px rgba(18,35,61,.10);transform:translateY(-3px);}
.sfhome .cat-img{height:240px;background:#FFFFFF;overflow:hidden;padding:12px;}
.sfhome .cat-img img{width:100%;height:100%;object-fit:contain;display:block;}
.sfhome .cat-body{padding:18px;display:flex;flex-direction:column;flex:1 1 auto;}
.sfhome .cat-kicker{font-size:11px;color:#2F8FBF;font-weight:700;text-transform:uppercase;letter-spacing:.04em;}
.sfhome .cat-card h3{font-size:16px;font-weight:700;color:#005784;margin:6px 0 6px;}
.sfhome .cat-card p{font-size:13px;color:#5B6B82;margin-bottom:16px;flex:1 1 auto;}
.sfhome .cat-link{font-size:13px;font-weight:700;color:#005784;}
.sfhome .cat-card:hover .cat-link{color:#FF6B35;}
.sfhome .why{background:#FFFFFF;border-top:1px solid #E4E7EC;border-bottom:1px solid #E4E7EC;}
.sfhome .why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.sfhome .why-card{background:#F7F8FA;border:1px solid #E4E7EC;border-radius:14px;padding:28px;}
.sfhome .why-icon{width:46px;height:46px;border-radius:10px;background:#EAF1F8;color:#2F8FBF;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;margin-bottom:18px;}
.sfhome .why-card h3{font-size:17px;font-weight:700;color:#005784;margin-bottom:8px;}
.sfhome .why-card p{font-size:14px;color:#5B6B82;}
.sfhome .cta-wrap{padding:0 56px 84px;}
.sfhome .cta-band{background:#005784;border-radius:20px;text-align:center;padding:64px 40px;max-width:1160px;margin:auto;}
.sfhome .cta-band h2{font-size:32px;font-weight:700;color:#FFFFFF;margin-bottom:12px;letter-spacing:-0.01em;}
.sfhome .cta-band p{color:#B7C4D8;margin-bottom:28px;font-size:16px;}
@media (max-width:1024px){.sfhome .cat-grid{grid-template-columns:repeat(3,1fr);}.sfhome .hero-visual{flex-basis:400px;height:340px;}}
@media (max-width:860px){.sfhome .hero{padding:52px 24px 60px;}.sfhome .hero-inner{flex-direction:column;align-items:flex-start;gap:34px;}.sfhome .hero h1{font-size:36px;}.sfhome .hero-copy{max-width:100%;}.sfhome .hero-visual{flex-basis:auto;width:100%;height:260px;}.sfhome section{padding:56px 24px;}.sfhome .cta-wrap{padding:0 24px 56px;}.sfhome .cat-grid{grid-template-columns:repeat(2,1fr);}.sfhome .why-grid{grid-template-columns:1fr;}}
@media (max-width:520px){.sfhome .hero h1{font-size:30px;}.sfhome .hero-actions{flex-direction:column;align-items:stretch;}.sfhome .hero-actions .btn{text-align:center;}.sfhome .cat-grid{grid-template-columns:1fr;}.sfhome .cta-band{padding:44px 24px;}.sfhome .cta-band h2{font-size:26px;}}


/* ------------------------------------------------------------------------
 * Inherited-context correction.
 *
 * Production's .sfhome declares no heading line-height, so its h2/h3 inherit
 * `line-height:1.55` from .sfhome. The theme sets `h1..h6{line-height:1.25}`
 * globally, which beats inheritance and made every heading here render tighter
 * (.section-head h2 42.5px instead of 52.7px, .cat-card h3 20px instead of
 * 24.8px, .why-card h3 21.25px instead of 26.35px) and the bands shorter.
 *
 * Restored by inheriting again inside .sfhome only, so the theme keeps its own
 * heading rhythm everywhere else. `.sfhome .hero h1` is 0,3,0 and still wins
 * with its own 1.1.
 * ------------------------------------------------------------------------ */
.sfhome h1,.sfhome h2,.sfhome h3,.sfhome h4,.sfhome h5,.sfhome h6{line-height:1.55;}

/* ------------------------------------------------------------------------
 * Full-bleed bands, centred on a 1600px content column.
 *
 * Production applies this from the Elementor kit stylesheet (post-963.css).
 * Two rules there target `.sfhome > .hero, > .stats, > section, > .why,
 * > .cta-wrap`, both !important; the later one wins:
 *     padding-left/right: max(var(--sf-gut), calc((100% - 1600px) / 2))
 * and the kit also defines :root { --sf-gut: 56px } with 24px below 960px and
 * 14px below 600px, plus --sf-maxw: 1600px. So the gutter IS responsive on
 * live, and the expression below reproduces it exactly using the theme's own
 * identically-valued tokens. The kit stylesheet goes away with Elementor, so
 * the theme has to own this rule.
 *
 * It must come LAST. The rules above are .sfhome .hero / section / .cta-wrap
 * at 0,2,0 — identical specificity to .sfhome > .hero — so source order is
 * what decides. Production only wins because of !important; here, being last
 * in the file does the same job without it, including over the 860px and 520px
 * blocks, which is how production behaves (an !important declaration with no
 * media query beats the narrow-screen paddings too).
 *
 * Only padding-left/right are set, so the vertical paddings above — and the
 * reduced ones inside the media queries — still apply, as on production.
 * ------------------------------------------------------------------------ */
.sfhome > .hero,
.sfhome > .stats,
.sfhome > section,
.sfhome > .why,
.sfhome > .cta-wrap{padding-left:max(var(--sf-gut), calc((100% - var(--sf-maxw)) / 2));padding-right:max(var(--sf-gut), calc((100% - var(--sf-maxw)) / 2));}
