/* ==========================================================================
   MHS TMS — public home / product page. Builds on the tokens in app.css.
   ========================================================================== */

.home-body { background: #fff; font-size: 1rem; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
.home-body h1, .home-body h2, .home-body h3 { letter-spacing: -.025em; font-weight: 800; color: var(--text); }
.grad { background: linear-gradient(90deg, #2563eb, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: var(--brand-50); padding: .3rem .75rem; border-radius: 99px; margin-bottom: 1rem; }
.eyebrow-light { color: #93c5fd; background: rgba(147, 197, 253, .12); }
.btn-ghost { background: #fff; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: #c9d6f3; color: var(--brand); }
.btn-lg { --bs-btn-padding-y: .8rem; --bs-btn-padding-x: 1.4rem; --bs-btn-font-size: 1rem; --bs-btn-border-radius: 12px; }

/* ---- top nav ---------------------------------------------------------------- */
.hn { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .8); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hn.scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 20px -12px rgba(15, 23, 42, .25); }
.hn-inner { max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; height: 68px; display: flex; align-items: center; gap: 1.5rem; }
.hn-brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.1rem; color: var(--text); }
.hn-brand:hover { color: var(--text); }
.hn-links { display: flex; gap: .25rem; margin-left: auto; }
.hn-links a { color: var(--slate); font-weight: 500; font-size: .92rem; padding: .45rem .75rem; border-radius: 8px; }
.hn-links a:hover { color: var(--brand); background: var(--brand-50); }
.hn-cta { display: flex; align-items: center; gap: .5rem; }
.hn-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: #fff; font-size: 1.3rem; }

/* ---- hero ------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background:
    radial-gradient(900px 500px at 85% -10%, rgba(124, 58, 237, .12), transparent 60%),
    radial-gradient(900px 600px at -10% 10%, rgba(37, 99, 235, .12), transparent 60%), #fff; }
.hero-inner { max-width: 1240px; margin: 0 auto; padding: 4.5rem 1.25rem 5rem; display: grid; grid-template-columns: .95fr 1.25fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.07; margin-bottom: 1.2rem; }
.hero .lead { font-size: 1.12rem; color: var(--muted); line-height: 1.65; max-width: 540px; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.8rem 0 1.5rem; }
.hero-ticks { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; color: var(--slate); font-size: .9rem; font-weight: 500; }
.hero-ticks i { color: var(--green); margin-right: .35rem; }
.hero-visual { position: relative; }
.hero-phone { position: absolute; width: 27%; right: -3%; bottom: -12%; }
.float-card { position: absolute; display: flex; gap: .7rem; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: .7rem .95rem; box-shadow: var(--shadow-lg); font-size: .82rem; }
.float-card i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 1.1rem; }
.float-card b { display: block; font-size: .9rem; }
.float-card span { color: var(--muted); }
.fc-1 { left: -7%; top: 16%; } .fc-1 i { background: var(--green-50); color: var(--green); }
.fc-2 { left: 8%; bottom: -7%; } .fc-2 i { background: var(--violet-50); color: var(--violet); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---- device frames ----------------------------------------------------------- */
.browser { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #dfe4ee; box-shadow: 0 30px 60px -25px rgba(15, 23, 42, .35), 0 0 0 1px rgba(255, 255, 255, .5) inset; }
.browser-bar { height: 34px; background: #f1f4f9; border-bottom: 1px solid #e3e8f0; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e2e6ee; }
.browser-bar span:nth-child(1) { background: #ff6058; } .browser-bar span:nth-child(2) { background: #ffbd2e; } .browser-bar span:nth-child(3) { background: #28c940; }
.browser-bar em { font-style: normal; font-size: .72rem; color: var(--muted); margin: 0 auto; background: #fff; padding: .1rem .9rem; border-radius: 6px; border: 1px solid #e3e8f0; }
.browser img, .phone img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.phone { border-radius: 28px; padding: 7px; background: #0b1324; box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .5); overflow: hidden; }
.phone img { border-radius: 22px; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; }

/* ---- stats strip ----------------------------------------------------------- */
.stats { background: #0b1324; color: #fff; }
.stats-inner { max-width: 1240px; margin: 0 auto; padding: 1.6rem 1.25rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; text-align: center; }
.stats b { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; background: linear-gradient(90deg, #93c5fd, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: #94a3b8; font-size: .85rem; }

/* ---- sections ----------------------------------------------------------------- */
.sec { max-width: 1240px; margin: 0 auto; padding: 5.5rem 1.25rem; }
.sec-alt { max-width: none; background: var(--surface-2); }
.sec-alt > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.sec-dark { max-width: none; background: radial-gradient(800px 500px at 100% 0%, rgba(124, 58, 237, .25), transparent 60%), #0b1324; color: #cbd5e1; }
.sec-dark > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.sec-dark h2 { color: #fff; }
.muted-light { color: #94a3b8; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.sec h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.15; margin-bottom: .8rem; }
.sec-head p, .split p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: center; }

/* ---- workflow ----------------------------------------------------------------- */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: f; }
.flow-step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.3rem; transition: transform .2s, box-shadow .2s; }
.flow-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.flow-num { position: absolute; top: 1rem; right: 1.1rem; font-size: 2rem; font-weight: 800; color: #eef2f8; line-height: 1; }
.flow-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #eff4ff, #f5f3ff); color: var(--brand); font-size: 1.3rem; margin-bottom: .9rem; }
.flow-step b { display: block; font-size: 1rem; margin-bottom: .25rem; }
.flow-step p { color: var(--muted); font-size: .88rem; margin: 0; line-height: 1.5; }

/* ---- feature rows --------------------------------------------------------------- */
.feature { display: grid; grid-template-columns: .85fr 1.25fr; gap: 3.5rem; align-items: center; padding: 2.5rem 0; }
.feature.reverse { grid-template-columns: 1.25fr .85fr; }
.feature.reverse .feature-text { order: 2; }
.feature-tag { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .85rem; color: var(--brand); margin-bottom: .7rem; }
.feature-tag i { width: 32px; height: 32px; border-radius: 9px; background: var(--brand-50); display: grid; place-items: center; }
.feature h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; margin-bottom: .8rem; }
.feature p { color: var(--muted); line-height: 1.7; font-size: 1rem; }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; color: var(--text); font-size: .95rem; }
.checks i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green); font-size: .8rem; margin-top: 1px; }
.feature-visual .browser { transition: transform .35s ease; }
.feature:hover .feature-visual .browser { transform: translateY(-4px) rotate(-.3deg); }

/* ---- modules -------------------------------------------------------------------- */
.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.mod { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.35rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.mod:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d6f3; }
.mod-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: linear-gradient(135deg, #3b82f6, #6366f1); margin-bottom: 1rem; box-shadow: 0 8px 18px -8px rgba(59, 130, 246, .7); }
.mod:nth-child(3n+2) .mod-icon { background: linear-gradient(135deg, #8b5cf6, #d946ef); box-shadow: 0 8px 18px -8px rgba(139, 92, 246, .7); }
.mod:nth-child(3n) .mod-icon { background: linear-gradient(135deg, #10b981, #0ea5e9); box-shadow: 0 8px 18px -8px rgba(16, 185, 129, .7); }
.mod b { display: block; font-size: 1.02rem; margin-bottom: .3rem; }
.mod p { color: var(--muted); font-size: .88rem; margin: 0; line-height: 1.5; }

/* ---- reports (dark) ------------------------------------------------------------- */
.rep-list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1.5rem 0; }
.rep { display: flex; gap: .7rem; padding: .75rem; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.rep i { color: #93c5fd; font-size: 1.15rem; margin-top: 2px; }
.rep b { display: block; color: #fff; font-size: .88rem; }
.rep span { color: #94a3b8; font-size: .78rem; line-height: 1.4; display: block; }
.rep-badges { display: flex; gap: .5rem; flex-wrap: wrap; }
.rep-badges span { display: inline-flex; gap: .4rem; align-items: center; padding: .4rem .8rem; border-radius: 99px; background: rgba(255, 255, 255, .08); color: #e2e8f0; font-size: .85rem; font-weight: 500; }
.stack { position: relative; padding-bottom: 18%; }
.stack-2 { position: absolute; width: 78%; right: -4%; bottom: 0; }

/* ---- mobile phones ------------------------------------------------------------- */
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: end; }
.phone-up { transform: translateY(-2.2rem); }

/* ---- roles ---------------------------------------------------------------------- */
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.role { display: flex; gap: .85rem; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem; }
.role-icon { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font-size: 1.15rem; }
.role b { display: block; font-size: .95rem; }
.role span { color: var(--muted); font-size: .84rem; line-height: 1.45; display: block; margin-top: .15rem; }
.sec-controls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.sec-controls > div { border-left: 3px solid var(--brand); padding: .2rem 0 .2rem 1rem; }
.sec-controls i { color: var(--brand); font-size: 1.25rem; display: block; margin-bottom: .35rem; }
.sec-controls b { display: block; font-size: .95rem; }
.sec-controls span { color: var(--muted); font-size: .85rem; line-height: 1.5; }

/* ---- gallery -------------------------------------------------------------------- */
.gallery { columns: 3 320px; column-gap: 1rem; }
.gallery figure { break-inside: avoid; margin: 0 0 1rem; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.gallery figure:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.gallery img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.gallery figcaption { padding: .65rem .9rem; font-size: .85rem; font-weight: 600; border-top: 1px solid var(--border); }

/* ---- final CTA + footer ---------------------------------------------------------- */
.final-cta { text-align: center; padding: 5rem 1.25rem; color: #fff; background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 50%, #7c3aed 100%); }
.final-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.final-cta p { color: #dbe4ff; margin-bottom: 1.6rem; font-size: 1.05rem; }
.hf { background: #0b1324; color: #94a3b8; }
.hf-inner { max-width: 1240px; margin: 0 auto; padding: 2.2rem 1.25rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hf .hn-brand { color: #fff; }
.hf p { margin: 0; font-size: .88rem; }
.hf-small { margin-left: auto !important; }

/* ---- lightbox ------------------------------------------------------------------ */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(11, 19, 36, .88); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 7rem); border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: #e2e8f0; margin-top: .8rem; font-weight: 600; }
.lb-close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.1rem; }
.lb-close:hover { background: rgba(255, 255, 255, .22); }

/* ==========================================================================
   Animations
   ========================================================================== */

/* hero entrance: text lines rise in one after another */
.enter { opacity: 0; animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--d, 0) * 120ms + 100ms); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* gradient shimmer on "in one place." */
.grad { background-size: 200% auto; animation: shimmer 6s linear infinite; background-image: linear-gradient(90deg, #2563eb, #7c3aed, #db2777, #2563eb); }
@keyframes shimmer { to { background-position: 200% center; } }

/* hero visual: browser swings in with a 3D tilt, phone pops up */
.hero-visual { perspective: 1600px; }
.hero-browser {
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out;
    animation: swing-in 1.2s cubic-bezier(.2, .7, .2, 1) .25s both; transform-style: preserve-3d;
}
@keyframes swing-in { from { opacity: 0; transform: translateX(60px) rotateY(-18deg) rotateX(6deg) scale(.94); } to { opacity: 1; } }
.hero-phone { animation: phone-in 1s cubic-bezier(.3, 1.4, .5, 1) .9s both; translate: var(--px, 0) var(--py, 0); transition: translate .25s ease-out; }
@keyframes phone-in { from { opacity: 0; transform: translateY(60px) scale(.85); } to { opacity: 1; transform: none; } }
.fc-1 { animation: pop-in .6s cubic-bezier(.3, 1.5, .5, 1) 1.3s both, floaty 6s ease-in-out 2s infinite; }
.fc-2 { animation: pop-in .6s cubic-bezier(.3, 1.5, .5, 1) 1.55s both, floaty 6s ease-in-out 2.5s infinite; }
@keyframes pop-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* drifting colour blobs behind the hero */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; z-index: 0; }
.blob-1 { width: 420px; height: 420px; background: #93c5fd; top: -120px; left: -80px; animation: drift 18s ease-in-out infinite; }
.blob-2 { width: 380px; height: 380px; background: #c4b5fd; top: 20%; right: -100px; animation: drift 22s ease-in-out -6s infinite reverse; }
.blob-3 { width: 300px; height: 300px; background: #f9a8d4; bottom: -140px; left: 40%; opacity: .3; animation: drift 26s ease-in-out -12s infinite; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(60px, 40px) scale(1.1); } 66% { transform: translate(-40px, 20px) scale(.95); } }
.hero-inner { position: relative; z-index: 1; }

/* road strip with a truck driving from pickup to delivered */
.road { position: relative; height: 64px; background: linear-gradient(#1e293b, #0f172a); overflow: hidden; }
.road-lane { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px;
    background: repeating-linear-gradient(90deg, #fbbf24 0 34px, transparent 34px 68px); animation: lane 1.1s linear infinite; opacity: .8; }
@keyframes lane { to { background-position: -68px 0; } }
.truck { position: absolute; top: 50%; left: 0; z-index: 2; font-size: 2rem; color: #fff; line-height: 1;
    transform: translate(-80px, -58%); animation: drive 11s cubic-bezier(.45, .05, .55, .95) infinite; }
.truck i { display: inline-block; background: linear-gradient(135deg, #3b82f6, #6366f1); border-radius: 12px; padding: .2rem .55rem; box-shadow: 0 6px 18px -4px rgba(59, 130, 246, .8); animation: bump .35s ease-in-out infinite alternate; }
@keyframes bump { to { transform: translateY(-2px); } }
@keyframes drive { 0% { left: 0; transform: translate(-80px, -58%); } 10% { transform: translate(-80px, -58%); } 85%, 100% { left: 100%; transform: translate(20px, -58%); } }
.smoke { position: absolute; left: -8px; top: 55%; width: 10px; height: 10px; border-radius: 50%; background: rgba(148, 163, 184, .5); animation: puff 1s ease-out infinite; }
.smoke.s2 { animation-delay: .5s; }
@keyframes puff { from { opacity: .7; transform: translate(0, 0) scale(.6); } to { opacity: 0; transform: translate(-26px, -10px) scale(1.8); } }
.road-pin { position: absolute; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: .35rem; color: #cbd5e1; font-size: .78rem; font-weight: 600; z-index: 1;
    background: rgba(15, 23, 42, .85); padding: .25rem .6rem; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .1); }
.pin-a { left: 4%; } .pin-a i { color: #60a5fa; }
.pin-b { right: 4%; } .pin-b i { color: #4ade80; }

/* scroll reveal variants; --i staggers groups of cards */
.reveal { opacity: 0; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal[data-reveal="up"] { transform: translateY(34px); }
.reveal[data-reveal="left"] { transform: translateX(-50px); }
.reveal[data-reveal="right"] { transform: translateX(50px); }
.reveal[data-reveal="pop"] { transform: translateY(20px) scale(.92); }
.reveal.in { opacity: 1; transform: none; }

/* workflow icons bounce in once revealed; numbers glow */
.flow-step.in .flow-icon { animation: icon-bounce .7s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i, 0) * 90ms + .2s); }
@keyframes icon-bounce { from { transform: scale(.4) rotate(-15deg); } to { transform: none; } }
.flow-step:hover .flow-num { color: #dbe4ff; transition: color .2s; }
.mod:hover .mod-icon { animation: wiggle .5s ease; }
@keyframes wiggle { 30% { transform: rotate(-8deg) scale(1.08); } 60% { transform: rotate(6deg) scale(1.08); } }

/* buttons: soft glow pulse on the primary hero CTA */
.hero-cta .btn-primary { position: relative; }
.hero-cta .btn-primary::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 99, 235, .45); animation: pulse 2.4s ease-out 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(37, 99, 235, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); } }

/* final CTA: slowly moving gradient */
.anim-gradient { background-size: 300% 300%; animation: bg-move 14s ease infinite; }
@keyframes bg-move { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* stats numbers fade from below as they count */
.stats b { transition: transform .3s; }
.stats div:hover b { transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .enter, .reveal { opacity: 1 !important; transform: none !important; }
    .truck { left: 45%; }
}

/* ---- responsive ------------------------------------------------------------------ */
@media (max-width: 1100px) {
    .hn-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--border); padding: .5rem 1rem 1rem; box-shadow: var(--shadow-lg); }
    .hn-links.open { display: flex; }
    .hn-links a { padding: .75rem .5rem; border-bottom: 1px solid #f1f4f9; border-radius: 0; }
    .hn-toggle { display: grid; place-items: center; }
    .hn-cta { margin-left: auto; }
    .mod-grid, .role-grid, .sec-controls { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; padding: 3rem 1.25rem 4.5rem; gap: 2.5rem; }
    .split, .feature { grid-template-columns: 1fr; gap: 2rem; }
    .feature.reverse { grid-template-columns: 1fr; }
    .feature.reverse .feature-text { order: 0; }
    .flow { grid-template-columns: repeat(2, 1fr); }
    .stats-inner { grid-template-columns: repeat(3, 1fr); row-gap: 1.2rem; }
    .fc-1 { left: 0; } .fc-2 { left: 4%; }
    .sec { padding: 4rem 1.25rem; }
}
@media (max-width: 575.98px) {
    .home-body { font-size: .95rem; }
    .hn-cta .btn span { display: none; }
    .hero-cta .btn { flex: 1; }
    .hero-phone { width: 34%; right: -2%; bottom: -14%; }
    .float-card { display: none; }
    .flow, .role-grid, .sec-controls, .rep-list { grid-template-columns: 1fr; }
    .mod-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
    .mod { padding: .95rem; }
    .mod-icon { width: 40px; height: 40px; font-size: 1.1rem; margin-bottom: .7rem; }
    .mod b { font-size: .92rem; }
    .mod p { font-size: .8rem; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stats-inner > div:last-child { grid-column: span 2; }
    .phones { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
    .phone { border-radius: 18px; padding: 4px; }
    .phone img { border-radius: 14px; }
    .phone-up { transform: translateY(-1rem); }
    .stack-2 { width: 85%; right: -2%; }
    .lightbox { padding: .75rem; }
    .road { height: 54px; }
    .truck { font-size: 1.5rem; }
    .road-pin { font-size: .7rem; }
    .hf-small { margin-left: 0 !important; }
}
