/* Metalogix.ai — Subpage layout (solutions, industries, capabilities, insights) */

body.mx-subpage {
    background: #FAFBFD;
    scroll-padding-top: 88px;
}

.mx-subpage-main {
    padding-bottom: 0;
}

.mx-subpage-intro {
    padding: 72px 0;
    background: #fff;
}

.mx-subpage-intro__text h2 {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    color: #0B1120;
    margin-bottom: 20px;
    line-height: 1.3;
}

.mx-subpage-intro__text p {
    font-size: 16px;
    line-height: 1.75;
    color: #4a5568;
    margin-bottom: 16px;
}

.mx-subpage-intro__visual {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.1);
}

.mx-subpage-intro__visual img {
    width: 100%;
    height: auto;
    display: block;
}

.mx-subpage-block {
    padding: 64px 0;
}

.mx-subpage-block--alt {
    background: #FAFBFD;
}

.mx-subpage-block--white {
    background: #fff;
}

.mx-subpage-block h2 {
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 700;
    color: #0B1120;
    margin-bottom: 16px;
    text-align: center;
}

.mx-subpage-block > .container > p.mx-subpage-lead {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
    color: #6b7280;
    font-size: 17px;
    line-height: 1.65;
}

.mx-subpage-cards {
    row-gap: 24px;
}

.mx-subpage-card {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 16px;
    padding: 28px;
    height: 100%;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}

.mx-subpage-block--alt .mx-subpage-card,
.mx-subpage-block--white .mx-subpage-card {
    background: #FAFBFD;
}

.mx-subpage-block--white .mx-subpage-card {
    background: #fff;
}

.mx-subpage-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0B1120;
    margin-bottom: 10px;
}

.mx-subpage-card p {
    font-size: 15px;
    line-height: 1.65;
    color: #6b7280;
    margin: 0;
}

.mx-subpage-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
}

.mx-subpage-list li {
    position: relative;
    padding: 14px 0 14px 28px;
    border-bottom: 1px solid #eef0f4;
    color: #4a5568;
    font-size: 16px;
    line-height: 1.6;
}

.mx-subpage-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B35, #F59E0B);
}

.mx-subpage-why {
    background: linear-gradient(135deg, #0B1120 0%, #1a2744 100%);
    padding: 64px 0;
    color: #fff;
}

.mx-subpage-why h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 32px;
}

.mx-subpage-why ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.mx-subpage-why li {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.mx-subpage-related {
    padding: 48px 0 64px;
    background: #fff;
}

.mx-subpage-related h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0B1120;
    margin-bottom: 20px;
    text-align: center;
}

.mx-subpage-related__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.mx-subpage-related__links a {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid #eef0f4;
    color: #0B1120;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.mx-subpage-related__links a:hover {
    border-color: #FF6B35;
    color: #FF6B35;
}

/* Blog / insight article */
.mx-article {
    padding: 64px 0 80px;
    background: #fff;
}

.mx-article__hero-img {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    max-height: 420px;
}

.mx-article__hero-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.mx-article__meta {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 24px;
}

.mx-article h1 {
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    color: #0B1120;
    line-height: 1.2;
    margin-bottom: 24px;
}

.mx-article h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0B1120;
    margin: 40px 0 16px;
}

.mx-article p {
    font-size: 17px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
}

.mx-article ul {
    margin: 0 0 24px;
    padding-left: 24px;
}

.mx-article ul li {
    font-size: 16px;
    line-height: 1.75;
    color: #4a5568;
    margin-bottom: 8px;
}

.mx-roadmap-steps {
    counter-reset: roadmap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mx-roadmap-steps li {
    counter-increment: roadmap;
    padding: 20px 20px 20px 56px;
    position: relative;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #4a5568;
    line-height: 1.65;
}

.mx-roadmap-steps li::before {
    content: counter(roadmap);
    position: absolute;
    left: 16px;
    top: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B35, #F59E0B);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .mx-subpage-intro {
        padding: 48px 0;
    }
    .mx-subpage-intro__visual {
        margin-top: 32px;
    }
}
