/* ── Shared solution page styles (ff-sol-*) ── */

/* Hero: left-align, keep lg.css gradient styling */
.content h1{text-align:left!important;margin-left:0!important;margin-right:0!important;max-width:620px}
.ff-sol-hero-row p{margin-left:0!important;margin-right:0!important}
/* Override lg.css global h2 centering */
.content h2{text-align:left!important;margin-left:0!important;margin-right:0!important}
.content .center h2{text-align:center!important;margin-left:auto!important;margin-right:auto!important}

/* Hero */
.ff-sol-hero{display:flex;align-items:center;gap:clamp(24px,5vw,80px)}
.ff-sol-hero-text{max-width:600px;flex:1}
.ff-sol-hero-stats{display:flex;flex-direction:column;gap:18px;flex-shrink:0;min-width:160px;padding-top:4px}
.ff-sol-hero-stat{text-align:right}
.ff-sol-hero-stat-n{font-size:2rem;font-weight:700;color:#1e293b;line-height:1}
.ff-sol-hero-stat-l{font-size:.78rem;color:#94a3b8;margin-top:2px}
.ff-sol-hero-cta-ghost{display:inline-flex;align-items:center;gap:6px;margin-left:14px;font-weight:600;color:#475569;text-decoration:none;font-size:1rem;transition:color .15s}
.ff-sol-hero-cta-ghost:hover{color:#cd0e00;text-decoration:none}
.ff-sol-hero-cta-ghost svg{width:14px;height:14px;stroke:currentColor;stroke-width:2.5;fill:none}


/* Micro CTA link */
.ff-sol-link{color:#cd0e00;font-weight:600;display:inline-flex;align-items:center;gap:5px;transition:gap .15s;text-decoration:none}
.ff-sol-link:hover{gap:9px;text-decoration:none}
.ff-sol-link svg{width:13px;height:13px;stroke:currentColor;stroke-width:2.5;fill:none}

/* AI accordion */
.ff-sol-ai-intro{color:#64748b;max-width:580px;margin:0 0 2em 0!important}
.ff-sol-acc{max-width:620px}
.ff-sol-acc-item{border-bottom:1px solid rgba(203,213,225,.4)}
.ff-sol-acc-item:first-child{border-top:1px solid rgba(203,213,225,.4)}
.ff-sol-acc-head{display:flex;align-items:center;justify-content:space-between;padding:14px 0!important;margin-left:0!important;padding-left:0!important;cursor:pointer;width:100%;background:none;border:none;font-family:inherit;font-size:1.05rem;font-weight:600;color:#1e293b;text-align:left!important;transition:color .15s}
.ff-sol-acc-head:hover{color:#cd0e00}
.ff-sol-acc-icon{width:22px;height:22px;stroke:#475569;stroke-width:2.5;fill:none;flex-shrink:0;transition:transform .3s}
.ff-sol-acc-item.ff-sol-open .ff-sol-acc-icon{transform:rotate(180deg)}
.ff-sol-acc-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}
.ff-sol-acc-item.ff-sol-open .ff-sol-acc-body{grid-template-rows:1fr!important}
.ff-sol-acc-body-inner{min-height:0;overflow:hidden;color:#64748b}
.ff-sol-acc-body-inner::after{content:''!important;display:block!important;height:24px!important}

/* AI + Testimonial two-column */
.ff-sol-ai-row{display:flex;gap:60px;align-items:flex-start}
.ff-sol-ai-col{flex:1 1 0;min-width:0}
.ff-sol-quote-col{flex:0 0 400px;align-self:center}
@media(max-width:768px){.ff-sol-ai-row{flex-direction:column;gap:32px}.ff-sol-quote-col{flex:none}}

/* Customer results */
.ff-sol-cs-grid-wrap{padding:20px 0}
.ff-sol-cs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:1.5rem 0 2rem}
.ff-sol-cs-card{position:relative;border-radius:12px;overflow:hidden;height:340px;display:block;text-decoration:none}
.ff-sol-cs-card:hover{text-decoration:none}
.ff-sol-cs-card-img{position:absolute;inset:0;background-size:cover;background-position:center;transition:transform .5s ease}
.ff-sol-cs-card:hover .ff-sol-cs-card-img{transform:scale(1.04)}
.ff-sol-cs-card-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.82) 0%,rgba(0,0,0,.3) 55%,rgba(0,0,0,.04) 100%)}
.ff-sol-cs-card-body{position:absolute;bottom:0;left:0;right:0;padding:22px 24px 24px}
.ff-sol-cs-card-stat{font-size:1.5rem!important;font-weight:700!important;color:#fff!important;margin:0 0 4px!important;line-height:1.2!important;text-align:left!important}
.ff-sol-cs-card h3{color:rgba(255,255,255,.85)!important;margin:0 0 14px!important;font-size:.9rem!important;font-weight:400!important;text-align:left!important;line-height:1.45!important;padding:0!important}
.ff-sol-cs-card .ff-sol-link{color:rgba(255,255,255,.75)}
.ff-sol-cs-card .ff-sol-link:hover{color:#fff}

/* Overview 3-col section (fx-outcomes design) */
.ff-sol-overview{min-width:0!important;overflow:hidden;}
.fx-outcomes{padding:80px 32px;}
.fx-outcomes-in{max-width:1080px;margin:0 auto;}
.fx-outcomes-hd{margin-bottom:3rem;text-align:center;}
.fx-3col{display:grid;grid-template-columns:repeat(3,1fr);gap:0;}
.fx-3col-item{padding:0 1.5rem;}
.fx-3col-item:first-child{padding-left:0;}
.fx-3col-item:last-child{padding-right:0;}
.fx-3col-item+.fx-3col-item{border-left:1px solid #e7e5e4;}
.fx-3col-item svg{display:block;width:32px;height:32px;margin-bottom:1rem;}
.fx-3col-item h3{display:block!important;font-size:1.05rem!important;font-weight:800!important;line-height:1.2!important;letter-spacing:-.015em!important;margin:0 0 .6rem!important;padding:0!important;text-align:left!important;}
.fx-3col-item p{padding:0;}
.fx-inline-quote{border-top:1px solid #e7e5e4;margin-top:3.5rem;padding-top:3rem;max-width:820px;margin-left:auto;margin-right:auto;text-align:center;}
.fx-iq-mark{font-size:3.5rem;line-height:.8;color:#cd0e00;font-family:Georgia,serif;display:block;margin-bottom:-.6rem;user-select:none;}
.fx-iq-text{font-size:1.05rem!important;font-weight:500!important;line-height:1.6!important;color:#44403c!important;margin:0 0 1.2rem!important;padding:0!important;border:none!important;font-style:italic!important;background:none!important;}
.fx-iq-cite{display:block;font-size:.8rem;font-style:normal;color:#44403c;font-weight:600;letter-spacing:.06em;text-transform:uppercase;}
.ff-sol-quote-col .testimonial-clean::before{display:none;}
.ff-sol-quote-col .fx-iq-mark{text-align:center;}

/* Tablet (769px–1024px) */
@media(min-width:769px) and (max-width:1024px){
    .ff-sol-hero-stat-l{font-size:.9rem}
    .ff-sol-cs-grid{grid-template-columns:repeat(2,1fr)}
    .ff-sol-cs-grid .ff-sol-cs-card:last-child{grid-column:1/-1}
}

/* Mobile */
@media(max-width:768px){
    .content h1,.content h2{padding-left:0!important;margin-left:0!important}
    .ff-sol-hero{flex-direction:column;gap:20px}
    .ff-sol-hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:0;width:100%;border-top:1px solid #e2e8f0;margin-top:16px;padding-top:16px;min-width:0}
    .ff-sol-hero-stat{text-align:center;padding:0 8px;border-right:1px solid #e2e8f0}
    .ff-sol-hero-stats>:last-child{border-right:none;text-align:center}
    .ff-sol-hero-stat-n{font-size:1.6rem}
    .ff-sol-hero-stat-l{font-size:.9rem}
    .ff-sol-hero-cta-ghost{display:block;margin:12px 0 0 0}
    .ff-sol-cs-grid{grid-template-columns:1fr;gap:16px}
    .fx-3col{grid-template-columns:1fr;gap:2rem;}
    .fx-3col-item{padding:0;}
    .fx-3col-item+.fx-3col-item{border-left:none;border-top:1px solid #e7e5e4;padding-top:2rem;}
    .fx-outcomes{padding:40px 20px;}
}
