/* RexGroup v0.5.2 — company history, ecosystem and compact footer. Isolated extension. */
.company-story{margin-top:18px;padding:34px 36px;border:1px solid #eadfd7;border-radius:22px;background:linear-gradient(135deg,#fffdfb 0%,#f7f0eb 100%);display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,.85fr);gap:34px;align-items:center;box-shadow:0 14px 40px rgba(55,38,38,.055)}
.company-kicker{display:inline-block;margin-bottom:10px;color:#8b1632;font-weight:800;letter-spacing:.18em;font-size:12px}
.company-story h2,.ecosystem-heading h2{margin:0;color:#202124;font-size:clamp(28px,3vw,44px);line-height:1.08;letter-spacing:-.035em}
.company-story-copy p,.ecosystem-heading p{margin:16px 0 0;color:#5c5a59;font-size:16px;line-height:1.7;max-width:820px}
.company-story-highlights{display:grid;grid-template-columns:1fr;gap:10px}
.company-highlight{display:grid;grid-template-columns:88px 1fr;align-items:center;gap:14px;padding:13px 16px;border-radius:14px;background:rgba(255,255,255,.78);border:1px solid #eadfd7}
.company-highlight strong{font-size:22px;color:#7d1730}.company-highlight span{color:#444;font-size:13px;line-height:1.35}
.rex-ecosystem{padding-top:42px;padding-bottom:26px}.ecosystem-heading{max-width:930px;margin-bottom:22px}.ecosystem-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ecosystem-card{display:flex;gap:13px;min-height:170px;padding:18px;border:1px solid #e7ded8;border-radius:17px;background:#fffdfb;box-shadow:0 9px 25px rgba(42,31,31,.045);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.ecosystem-card:hover{transform:translateY(-2px);border-color:#d9c5bb;box-shadow:0 14px 30px rgba(42,31,31,.075)}
.ecosystem-icon{flex:0 0 42px;height:42px;border-radius:12px;background:#f1e6e2;color:#80152f;display:grid;place-items:center;font-weight:900;font-size:12px;letter-spacing:-.03em}
.ecosystem-card h3{margin:1px 0 2px;font-size:17px;color:#202124}.ecosystem-card b{display:block;color:#9a6c4a;font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:9px}.ecosystem-card p{margin:0;color:#66615f;font-size:12.5px;line-height:1.55}
/* Replace the heavy dark footer/contact zone with a compact warm professional finish. */
.contact{margin-top:24px!important;background:#f3eee9!important;color:#262626!important;border-top:1px solid #dfd4cc!important;border-bottom:1px solid #dfd4cc!important}
.contact-inner{min-height:auto!important;padding-top:24px!important;padding-bottom:24px!important;gap:22px!important}.contact h2{color:#242424!important;margin:0 0 5px!important}.contact p{color:#625c58!important;margin:0!important;max-width:760px}.contact a{color:#7e1630!important;border-color:#cbb6aa!important;background:#fffaf6!important}.contact-actions{display:flex;align-items:flex-end;flex-direction:column;gap:8px}.contact-actions>span{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8c604b}
.site-footer{background:#faf7f3!important;color:#655f5b!important;border-top:0!important;padding:14px 0!important;min-height:0!important}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px}.footer-since{color:#8a6353;font-weight:650}
@media(max-width:1050px){.company-story{grid-template-columns:1fr}.company-story-highlights{grid-template-columns:repeat(3,1fr)}.company-highlight{grid-template-columns:1fr}.ecosystem-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.company-story{padding:26px 22px}.company-story-highlights{grid-template-columns:1fr}.ecosystem-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-inner{align-items:flex-start!important}.contact-actions{align-items:flex-start}.footer-inner{flex-direction:column;align-items:flex-start;gap:5px}}
@media(max-width:520px){.ecosystem-grid{grid-template-columns:1fr}.ecosystem-card{min-height:0}.company-story h2,.ecosystem-heading h2{font-size:30px}}
