:root{--blue:#0875ff;--navy:#020d20;--ink:#101827;--light:#f6f8fb;--line:#dce3ed}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--light);color:var(--ink);font-family:Inter,Arial,sans-serif}a{color:inherit}.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.mm-header{position:relative;z-index:20;background:#031123;border-bottom:1px solid rgba(255,255,255,.08)}.mm-header-inner{max-width:1440px;height:96px;margin:auto;padding:0 50px;display:flex;align-items:center;justify-content:space-between}.mm-brand img,.custom-logo{display:block;width:340px;max-width:100%;height:auto}.mm-nav{display:flex;align-items:center;gap:20px}.mm-menu{display:flex;align-items:center;gap:34px;margin:0;padding:0;list-style:none}.mm-menu a{position:relative;color:#fff;text-decoration:none;font-size:13px;font-weight:700;letter-spacing:.3px}.mm-menu a:after{content:"";position:absolute;left:0;right:0;bottom:-34px;height:3px;background:var(--blue);transform:scaleX(0);transition:.2s}.mm-menu a:hover:after,.current-menu-item>a:after{transform:scaleX(1)}.mm-search-link{color:#fff;text-decoration:none;font-size:31px}.mm-menu-toggle{display:none;background:none;border:0;padding:10px}.mm-menu-toggle span:not(.screen-reader-text){display:block;width:28px;height:2px;margin:6px;background:#fff}
.mm-hero{background:radial-gradient(circle at 72% 40%,rgba(0,102,255,.24),transparent 30%),linear-gradient(115deg,#020b19,#041d3f 60%,#020c1b);color:#fff;overflow:hidden}.mm-hero-inner{position:relative;max-width:1440px;min-height:650px;margin:auto;padding:76px 50px 92px;display:grid;grid-template-columns:44% 56%;align-items:center}.mm-hero-inner:before{content:"";position:absolute;inset:0;background:repeating-radial-gradient(ellipse at 85% 50%,transparent 0 33px,rgba(0,113,255,.12) 34px,transparent 36px);opacity:.45;pointer-events:none}.mm-hero-copy,.mm-hero-visual,.mm-tech-row{position:relative;z-index:2}.mm-hero-copy h1{margin:0 0 30px;font-size:clamp(52px,5vw,78px);line-height:1.02;letter-spacing:-2.2px}.mm-hero-copy h1 span{color:#0c82ff}.mm-hero-copy p{max-width:650px;margin:0 0 34px;color:#d9e3f1;font-size:22px;line-height:1.55}.mm-hero-actions{display:flex;gap:18px}.mm-btn{min-height:62px;padding:0 30px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;gap:20px;text-decoration:none;font-size:14px;font-weight:800}.mm-btn-primary{background:linear-gradient(#0b82ff,#0063e8);box-shadow:0 12px 26px rgba(0,101,255,.25)}.mm-btn-secondary{border:1px solid #71809a;background:rgba(0,0,0,.2)}.mm-hero-visual img{display:block;width:110%;max-width:none;margin-left:-5%;mix-blend-mode:screen;filter:saturate(1.08) contrast(1.05)}.mm-tech-row{position:absolute;left:52px;bottom:28px;display:flex;align-items:center;gap:36px;color:#fff}.mm-tech-circle{width:55px;height:55px;border:3px solid #cce9ff;border-radius:50%;display:grid;place-items:center;font-family:Georgia;font-size:34px}.mm-tech-a{font-size:56px;color:#d12c31;font-weight:800}.mm-tech-i{font:800 54px Georgia;color:#f4a811}.mm-tech-text{font-size:22px;font-weight:700}.mm-tech-file{border:2px solid #fff;padding:10px 7px;border-radius:4px}.mm-tech-cloud{font-size:38px}
.mm-main-area{max-width:1440px;margin:auto;padding:34px 50px 40px}.mm-section-title{text-align:center;margin-bottom:24px}.mm-section-title h2{margin:0;font-size:23px}.mm-section-title i{display:block;width:55px;height:3px;margin:10px auto 0;background:var(--blue)}.mm-solution-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.mm-solution-card{min-height:300px;padding:26px 24px 20px;background:#fff;border:1px solid var(--line);border-radius:8px;display:flex;flex-direction:column;box-shadow:0 9px 26px rgba(11,42,79,.04);transition:.22s}.mm-solution-card:hover{transform:translateY(-5px);box-shadow:0 16px 36px rgba(11,42,79,.11)}.mm-solution-head{display:flex;gap:15px;align-items:center;min-height:65px}.mm-solution-head img{width:60px;height:60px}.mm-solution-head h3{margin:0 0 3px;font-size:17px}.mm-solution-head p{margin:0;font-size:13px}.blue{color:#075ecf}.red{color:#c51d27}.teal{color:#0b9da0}.purple{color:#6546c7}.mm-solution-card ul,.mm-product-card ul{list-style:none;padding:0;margin:18px 0 20px 76px}.mm-solution-card li,.mm-product-card li{position:relative;padding-left:18px;margin-bottom:9px;font-size:13px}.mm-solution-card li:before,.mm-product-card li:before{content:"✓";position:absolute;left:0;color:#142a47;font-weight:800}.mm-solution-card>a{margin-top:auto;margin-left:76px;color:var(--blue);text-decoration:none;font-size:12px;font-weight:800}.mm-feature-title{margin-top:28px}.mm-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.mm-product-card{position:relative;min-height:306px;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:8px;display:grid;grid-template-columns:52% 48%}.mm-new{position:absolute;right:12px;top:0;z-index:4;background:#20b51d;color:#fff;padding:5px 11px;border-radius:0 0 7px 7px;font-size:10px;font-weight:800}.mm-product-copy{padding:24px 8px 22px 24px;display:flex;flex-direction:column;z-index:2}.mm-product-copy h3{margin:0 0 4px;font-size:20px}.mm-product-copy p{font-size:13px;line-height:1.5;margin:0 0 12px}.mm-product-copy .sub{font-size:14px;color:#374151;margin-bottom:16px}.mm-product-copy ul{margin:0 0 16px}.mm-product-copy li{font-size:12px;margin-bottom:5px}.mm-small-btn{width:max-content;margin-top:auto;padding:12px 17px;background:linear-gradient(#0877ff,#005be2);border-radius:4px;color:#fff;text-decoration:none;font-size:10px;font-weight:800}.mm-product-image{display:flex;align-items:flex-end;justify-content:flex-end;overflow:hidden}.mm-product-image img{width:100%;height:100%;object-fit:contain;object-position:right bottom}
.mm-benefits{margin:28px 0 24px;padding:28px 26px;border-radius:8px;background:radial-gradient(circle at 80% 20%,rgba(0,114,255,.18),transparent 30%),linear-gradient(110deg,#06162e,#061d40);color:#fff;display:grid;grid-template-columns:repeat(6,1fr);gap:18px}.mm-benefits article{display:grid;grid-template-columns:36px 1fr;gap:10px}.mm-benefits article>b{font-size:34px;line-height:1}.mm-benefits h3{font-size:11px;margin:0 0 5px}.mm-benefits p{margin:0;color:#d9e3ef;font-size:10px;line-height:1.45}.mm-bottom-grid{display:grid;grid-template-columns:1fr 1.12fr;gap:20px}.mm-bottom-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:22px 24px;min-height:294px}.mm-card-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.mm-card-title h2{font-size:15px;margin:0}.mm-card-title a{font-size:10px;color:var(--blue);text-decoration:none;font-weight:800}.mm-news-row{display:grid;grid-template-columns:58px 1fr;gap:13px;margin-bottom:13px;text-decoration:none}.mm-news-row>span{width:58px;height:50px;border-radius:5px;background:linear-gradient(145deg,#071b39,#087bc0);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:800}.mm-news-row h3{font-size:13px;margin:0 0 3px}.mm-news-row p,.mm-news-row time{display:block;margin:0;color:#4b5563;font-size:10px;line-height:1.35}.mm-resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.mm-resource-grid>a{min-height:90px;padding:14px 12px;border:1px solid var(--line);border-radius:7px;display:grid;grid-template-columns:34px 1fr;gap:9px;text-decoration:none}.mm-resource-grid>a>b{font-size:27px}.mm-resource-grid h3{font-size:12px;margin:0 0 4px}.mm-resource-grid p{font-size:10px;color:#4b5563;margin:0;line-height:1.4}
.mm-footer{position:relative;overflow:hidden;background:radial-gradient(circle at 88% 45%,rgba(0,103,255,.22),transparent 34%),linear-gradient(110deg,#020b19,#04142b 55%,#021027);color:#fff}.mm-footer:before{content:"";position:absolute;right:-100px;bottom:-190px;width:780px;height:540px;background:repeating-radial-gradient(ellipse at center,transparent 0 18px,rgba(0,111,255,.2) 19px,transparent 20px);opacity:.35}.mm-footer-inner{position:relative;z-index:2;max-width:1440px;margin:auto;padding:52px 50px 24px}.mm-footer-grid{display:grid;grid-template-columns:1.4fr .7fr .7fr .8fr 1.3fr;gap:42px}.mm-footer-brand img{width:240px;max-width:100%}.mm-footer-brand p,.mm-footer-newsletter p{color:#c4cfde;font-size:12px;line-height:1.55}.mm-footer h3{font-size:12px;margin:0 0 16px}.mm-footer ul{list-style:none;margin:0;padding:0}.mm-footer li{margin-bottom:8px}.mm-footer a{color:#c7d2e1;text-decoration:none;font-size:12px}.mm-socials{display:flex;gap:10px}.mm-socials a{width:34px;height:34px;border:1px solid rgba(255,255,255,.16);border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.08)}.mm-footer-newsletter form{display:grid;grid-template-columns:1fr auto}.mm-footer-newsletter input{height:43px;padding:0 13px;background:rgba(1,11,25,.55);border:1px solid rgba(167,190,221,.38);border-right:0;color:#fff}.mm-footer-newsletter button{border:0;background:linear-gradient(#0876ff,#005be2);color:#fff;padding:0 19px;font-size:10px;font-weight:800}.mm-footer-bottom{margin-top:44px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;gap:20px}.mm-footer-bottom p{margin:0;color:#97a7ba;font-size:11px}.mm-footer-bottom div{display:flex;gap:32px}.mm-footer-fallback{display:block}.menu-footer-products-container+.mm-footer-fallback,.menu-footer-company-container+.mm-footer-fallback,.menu-footer-resources-container+.mm-footer-fallback{display:none}
.mm-content{min-height:55vh;padding:50px 20px}.mm-content-inner{max-width:1100px;margin:auto;background:#fff;padding:40px;border:1px solid var(--line);border-radius:8px}.mm-entry img{max-width:100%;height:auto}.mm-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.mm-archive-card{background:#fff;border:1px solid var(--line);padding:20px;border-radius:8px}.mm-archive-card img{width:100%;height:220px;object-fit:contain}
@media(max-width:1100px){.mm-header-inner{padding:0 28px}.mm-brand img,.custom-logo{width:260px}.mm-menu{gap:20px}.mm-hero-inner{grid-template-columns:50% 50%;padding:65px 28px 90px}.mm-main-area{padding-left:28px;padding-right:28px}.mm-solution-grid{grid-template-columns:repeat(2,1fr)}.mm-product-grid{grid-template-columns:1fr}.mm-product-card{min-height:280px}.mm-benefits{grid-template-columns:repeat(3,1fr)}.mm-footer-inner{padding-left:28px;padding-right:28px}.mm-footer-grid{grid-template-columns:1.4fr repeat(3,.7fr)}.mm-footer-newsletter{grid-column:1/-1}}
@media(max-width:820px){.mm-menu-toggle{display:block}.mm-nav{display:none;position:absolute;left:0;right:0;top:96px;background:#031123;padding:24px;flex-direction:column}.mm-nav.is-open{display:flex}.mm-menu{flex-direction:column;gap:18px}.mm-menu a:after{bottom:-8px}.mm-hero-inner{grid-template-columns:1fr;padding-bottom:105px}.mm-hero-copy{padding-bottom:20px}.mm-hero-visual img{width:100%;margin:0}.mm-tech-row{left:28px;gap:18px}.mm-bottom-grid{grid-template-columns:1fr}.mm-resource-grid{grid-template-columns:repeat(2,1fr)}.mm-footer-grid{grid-template-columns:repeat(2,1fr)}.mm-footer-brand,.mm-footer-newsletter{grid-column:1/-1}.mm-archive-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.mm-header-inner{height:80px;padding:0 16px}.mm-brand img,.custom-logo{width:220px}.mm-nav{top:80px}.mm-hero-inner{padding:48px 16px 100px}.mm-hero-copy h1{font-size:46px}.mm-hero-copy p{font-size:17px}.mm-hero-actions{flex-direction:column}.mm-btn{width:100%}.mm-tech-row{left:16px;gap:12px;transform:scale(.8);transform-origin:left bottom}.mm-main-area{padding:28px 14px}.mm-solution-grid{grid-template-columns:1fr}.mm-product-card{grid-template-columns:1fr}.mm-product-image{height:220px}.mm-benefits{grid-template-columns:1fr}.mm-resource-grid{grid-template-columns:1fr}.mm-footer-inner{padding:42px 18px 22px}.mm-footer-grid{grid-template-columns:1fr}.mm-footer-brand,.mm-footer-newsletter{grid-column:auto}.mm-footer-newsletter form{grid-template-columns:1fr;gap:8px}.mm-footer-newsletter input{border-right:1px solid rgba(167,190,221,.38)}.mm-footer-bottom{flex-direction:column}.mm-archive-grid{grid-template-columns:1fr}}


/* =========================================================
   MECHMAGIC 1.2 — LAYOUT MATCHING "MA BYĆ"
   This block intentionally overrides earlier theme rules.
========================================================= */

/* Do not hide content when JavaScript is unavailable. */
.mm-reveal,
.mm-solution-card,
.mm-product-card,
.mm-benefits,
.mm-bottom-card{
    opacity:1!important;
    transform:none!important;
    visibility:visible!important;
}

/* Header and logo */
.mm-header{
    position:relative;
    top:auto;
    background:#031123;
    box-shadow:none;
}
.mm-header-inner{
    max-width:1440px;
    height:96px;
    padding:0 28px;
}
.mm-brand{
    display:flex;
    align-items:center;
    overflow:visible;
}
.mm-brand img{
    display:block;
    width:360px!important;
    max-width:38vw!important;
    height:auto!important;
    max-height:78px!important;
    object-fit:contain;
}
.mm-menu{
    gap:28px;
}
.mm-menu a{
    font-size:13px;
    font-weight:500;
}
.mm-menu a:after{
    bottom:-34px;
}

/* Compact hero matching the reference */
.mm-hero-inner{
    min-height:570px;
    padding:45px 28px 88px;
    grid-template-columns:48% 52%;
}
.mm-hero-copy h1{
    margin:0 0 8px;
    font-size:clamp(31px,3.2vw,48px);
    line-height:1.38;
    letter-spacing:-1px;
    font-weight:500;
    text-shadow:none;
}
.mm-hero-copy h1 span{
    color:inherit;
}
.mm-hero-copy h1 br:last-of-type + span,
.mm-hero-copy h1 span{
    color:#fff;
}
.mm-hero-divider{
    width:100%;
    max-width:600px;
    height:1px;
    margin:8px 0 20px;
    background:rgba(255,255,255,.28);
}
.mm-hero-copy p{
    max-width:610px;
    margin-bottom:25px;
    font-size:20px;
    line-height:1.42;
}
.mm-hero-actions{
    gap:18px;
}
.mm-btn{
    min-height:54px;
    padding:0 30px;
    font-size:13px;
}
.mm-hero-visual{
    filter:none;
}
.mm-hero-visual img{
    width:100%;
    max-width:100%;
    margin:0;
    transform:none!important;
    filter:none;
    mix-blend-mode:screen;
}
.mm-tech-row{
    left:28px;
    bottom:24px;
    gap:31px;
}
.mm-tech-circle{
    width:45px;
    height:45px;
    font-size:28px;
}
.mm-tech-a{
    font-size:46px;
}
.mm-tech-i{
    font-size:45px;
}
.mm-tech-text{
    font-size:18px;
}
.mm-tech-file{
    padding:8px 6px;
}
.mm-tech-cloud{
    font-size:30px;
}

/* Main content: narrower and exactly two category columns */
.mm-main-area{
    max-width:1200px;
    padding:34px 34px 42px;
}
.mm-section-title{
    margin-bottom:25px;
}
.mm-section-title h2{
    font-size:22px;
}
.mm-solution-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:22px;
}
.mm-solution-card{
    min-height:284px;
    padding:28px 30px 22px;
    border-radius:8px;
    box-shadow:0 7px 18px rgba(15,43,82,.035);
}
.mm-solution-card:hover{
    transform:translateY(-4px)!important;
}
.mm-solution-head img{
    width:60px;
    height:60px;
}
.mm-solution-card ul{
    margin-left:77px;
}
.mm-solution-card>a{
    margin-left:77px;
}

/* Featured products: one compact horizontal card per row */
.mm-feature-title{
    margin-top:27px;
}
.mm-product-grid{
    grid-template-columns:1fr!important;
    gap:20px;
}
.mm-product-card{
    width:100%;
    min-height:285px;
    grid-template-columns:55% 45%;
    border-radius:8px;
    box-shadow:0 7px 18px rgba(15,43,82,.035);
}
.mm-product-copy{
    padding:25px 18px 22px 27px;
}
.mm-product-copy h3{
    font-size:19px;
}
.mm-product-copy p{
    font-size:12.5px;
}
.mm-product-copy .sub{
    font-size:13px;
}
.mm-product-image{
    min-height:270px;
    padding:9px 10px 7px;
}
.mm-product-image img{
    width:100%;
    height:100%;
    max-height:270px;
    object-fit:contain;
    object-position:right center;
}
.mm-small-btn{
    min-height:36px;
    padding:0 18px;
    display:inline-flex;
    align-items:center;
    font-size:10px;
}

/* Benefits and lower cards */
.mm-benefits{
    margin-top:26px;
    border-radius:8px;
}
.mm-bottom-grid{
    gap:20px;
}
.mm-bottom-card{
    border-radius:8px;
}

/* Footer matching the reference proportions */
.mm-footer-inner{
    max-width:1440px;
    padding:52px 28px 24px;
}
.mm-footer-grid{
    grid-template-columns:1.5fr .8fr .8fr .8fr;
    gap:52px;
}
.mm-footer-newsletter{
    grid-column:1 / 3;
    max-width:560px;
    margin-top:12px;
}
.mm-footer-brand img{
    width:285px;
}
.mm-footer-bottom{
    margin-top:35px;
}

/* Desktop screenshot target */
@media (min-width:821px){
    .mm-product-card{
        max-height:295px;
    }
}

/* Tablet */
@media(max-width:1100px){
    .mm-header-inner{
        height:88px;
    }
    .mm-brand img{
        width:300px!important;
        max-height:68px!important;
    }
    .mm-menu{
        gap:18px;
    }
    .mm-hero-inner{
        min-height:540px;
        grid-template-columns:50% 50%;
    }
    .mm-hero-copy h1{
        font-size:34px;
    }
    .mm-hero-copy p{
        font-size:17px;
    }
}

/* Mobile */
@media(max-width:820px){
    .mm-header-inner{
        height:78px;
        padding:0 18px;
    }
    .mm-brand img{
        width:240px!important;
        max-width:70vw!important;
        max-height:58px!important;
    }
    .mm-nav{
        top:78px;
    }
    .mm-hero-inner{
        min-height:auto;
        padding:42px 18px 102px;
        grid-template-columns:1fr;
    }
    .mm-hero-copy h1{
        font-size:38px;
    }
    .mm-hero-visual{
        margin-top:24px;
    }
    .mm-tech-row{
        left:18px;
    }
    .mm-main-area{
        padding-left:18px;
        padding-right:18px;
    }
    .mm-solution-grid{
        grid-template-columns:1fr!important;
    }
    .mm-product-card{
        grid-template-columns:1fr;
        max-height:none;
    }
    .mm-product-image{
        height:240px;
        min-height:240px;
    }
    .mm-footer-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .mm-footer-brand,
    .mm-footer-newsletter{
        grid-column:1 / -1;
    }
}
@media(max-width:560px){
    .mm-brand img{
        width:210px!important;
    }
    .mm-hero-copy h1{
        font-size:33px;
    }
    .mm-hero-copy p{
        font-size:16px;
    }
    .mm-product-image{
        height:220px;
        min-height:220px;
    }
    .mm-footer-grid{
        grid-template-columns:1fr;
    }
    .mm-footer-brand,
    .mm-footer-newsletter{
        grid-column:auto;
    }
}
/* =========================================================
   MECHMAGIC — FINALNY UKŁAD STRONY GŁÓWNEJ
   Desktop:
   - Solutions: 4 kolumny
   - Featured Products: 3 kolumny
========================================================= */

/* GŁÓWNY KONTENER */

.mm-main-area {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 38px 50px 42px;
}


/* =========================================================
   NAGŁÓWKI SEKCJI
========================================================= */

.mm-section-title {
    margin-bottom: 25px;
    text-align: center;
}

.mm-section-title h2 {
    margin: 0;
    color: #101827;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -0.3px;
}

.mm-section-title i {
    display: block;
    width: 54px;
    height: 3px;
    margin: 10px auto 0;
    background: #0875ff;
    border-radius: 10px;
}

.mm-feature-title {
    margin-top: 28px;
}


/* =========================================================
   POWERFUL SOFTWARE SOLUTIONS
   DESKTOP: 4 KOLUMNY
========================================================= */

.mm-solution-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px;
}

.mm-solution-card {
    display: flex;
    min-width: 0;
    min-height: 300px;
    padding: 26px 23px 21px;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #dce3ed;
    border-radius: 9px;
    box-shadow: 0 8px 24px rgba(15, 43, 82, 0.045);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.mm-solution-card:hover {
    transform: translateY(-6px);
    border-color: #b8cae0;
    box-shadow: 0 18px 40px rgba(15, 43, 82, 0.12);
}

.mm-solution-head {
    display: flex;
    min-height: 65px;
    margin-bottom: 16px;
    align-items: center;
    gap: 14px;
}

.mm-solution-head img {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    object-fit: contain;
}

.mm-solution-head h3 {
    margin: 0 0 3px;
    font-size: 17px;
    line-height: 1.15;
    font-weight: 750;
}

.mm-solution-head p {
    margin: 0;
    color: #2e394b;
    font-size: 13px;
    line-height: 1.35;
}

.mm-solution-card ul {
    margin: 0 0 18px 75px !important;
    padding: 0;
    list-style: none;
}

.mm-solution-card li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 17px;
    color: #273245;
    font-size: 12px;
    line-height: 1.35;
}

.mm-solution-card li::before {
    position: absolute;
    left: 0;
    content: "✓";
    color: #142a47;
    font-weight: 750;
}

.mm-solution-card > a {
    margin-top: auto;
    margin-left: 75px !important;
    color: #0875ff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 750;
}

.mm-solution-card > a span {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.mm-solution-card > a:hover span {
    transform: translateX(4px);
}


/* =========================================================
   FEATURED PRODUCTS
   DESKTOP: 3 KOLUMNY
========================================================= */

.mm-product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px;
}

.mm-product-card {
    position: relative;
    display: grid !important;
    grid-template-columns: 52% 48% !important;
    min-width: 0;
    min-height: 305px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce3ed;
    border-radius: 9px;
    box-shadow: 0 8px 24px rgba(15, 43, 82, 0.045);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.mm-product-card:hover {
    transform: translateY(-6px);
    border-color: #b8cae0;
    box-shadow: 0 18px 40px rgba(15, 43, 82, 0.12);
}

.mm-new {
    position: absolute;
    z-index: 5;
    top: 0;
    right: 12px;
    padding: 5px 11px;
    color: #ffffff;
    background: #20b51d;
    border-radius: 0 0 7px 7px;
    font-size: 10px;
    line-height: 1;
    font-weight: 750;
}

.mm-product-copy {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 0;
    padding: 24px 8px 22px 23px;
    flex-direction: column;
}

.mm-product-copy h3 {
    margin: 0 0 4px;
    color: #101827;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 750;
}

.mm-product-copy p {
    margin: 0 0 12px;
    color: #30394a;
    font-size: 12px;
    line-height: 1.45;
}

.mm-product-copy .sub {
    margin-bottom: 15px;
    color: #394458;
    font-size: 13px;
}

.mm-product-copy ul {
    margin: 0 0 16px !important;
    padding: 0;
    list-style: none;
}

.mm-product-copy li {
    position: relative;
    margin-bottom: 5px;
    padding-left: 17px;
    color: #273245;
    font-size: 11px;
    line-height: 1.35;
}

.mm-product-copy li::before {
    position: absolute;
    left: 0;
    content: "✓";
    color: #142a47;
    font-weight: 750;
}

.mm-small-btn {
    display: inline-flex;
    width: fit-content;
    min-height: 37px;
    margin-top: auto;
    padding: 0 17px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(
        180deg,
        #0876ff 0%,
        #005be2 100%
    );
    border-radius: 4px;
    box-shadow: 0 7px 14px rgba(0, 91, 226, 0.18);
    text-decoration: none;
    font-size: 10px;
    font-weight: 750;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.mm-small-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 11px 22px rgba(0, 91, 226, 0.3);
}

.mm-product-image {
    display: flex;
    min-width: 0;
    min-height: 270px;
    padding: 12px 7px 7px 0;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
}

.mm-product-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 270px;
    object-fit: contain;
    object-position: right bottom;
    filter: drop-shadow(0 10px 14px rgba(16, 29, 48, 0.14));
    transition: transform 0.3s ease;
}

.mm-product-card:hover .mm-product-image img {
    transform: scale(1.025);
}


/* =========================================================
   BENEFITS
========================================================= */

.mm-benefits {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin: 27px 0 24px;
    padding: 28px 26px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(0, 114, 255, 0.19),
            transparent 30%
        ),
        linear-gradient(
            110deg,
            #06162e,
            #061d40
        );
    border-radius: 9px;
}

.mm-benefits article {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 9px;
}

.mm-benefits article > b {
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
}

.mm-benefits h3 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 10px;
    line-height: 1.25;
}

.mm-benefits p {
    margin: 0;
    color: #d8e3f0;
    font-size: 9.5px;
    line-height: 1.45;
}


/* =========================================================
   NEWS + DOCUMENTATION
========================================================= */

.mm-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: 20px;
}

.mm-bottom-card {
    min-height: 294px;
    padding: 22px 24px;
    background: #ffffff;
    border: 1px solid #dce3ed;
    border-radius: 9px;
}


/* =========================================================
   RESPONSYWNOŚĆ
========================================================= */

/* Mniejszy desktop i tablet poziomy */

@media (max-width: 1180px) {

    .mm-main-area {
        padding-right: 28px;
        padding-left: 28px;
    }

    .mm-solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .mm-product-grid {
        grid-template-columns: 1fr !important;
    }

    .mm-product-card {
        min-height: 280px;
    }

    .mm-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* Tablet */

@media (max-width: 820px) {

    .mm-main-area {
        padding-right: 18px;
        padding-left: 18px;
    }

    .mm-bottom-grid {
        grid-template-columns: 1fr;
    }
}


/* Telefon */

@media (max-width: 620px) {

    .mm-main-area {
        padding: 28px 14px 34px;
    }

    .mm-section-title h2 {
        font-size: 20px;
    }

    .mm-solution-grid {
        grid-template-columns: 1fr !important;
    }

    .mm-solution-card {
        min-height: auto;
    }

    .mm-solution-card ul,
    .mm-solution-card > a {
        margin-left: 74px !important;
    }

    .mm-product-grid {
        grid-template-columns: 1fr !important;
    }

    .mm-product-card {
        grid-template-columns: 1fr !important;
        min-height: auto;
    }

    .mm-product-copy {
        padding-right: 23px;
    }

    .mm-product-image {
        min-height: 220px;
        height: 220px;
        padding: 8px 16px 12px;
        justify-content: center;
    }

    .mm-product-image img {
        max-height: 210px;
        object-position: center bottom;
    }

    .mm-benefits {
        grid-template-columns: 1fr;
    }
}