/* T4 → modern company profile look (CSS override, keep T4 structure) */
body.itb-t4-modern {
    --itb-red: #e94e39;
    --itb-green: #22a45d;
    --itb-black: #111111;
    --itb-gray: #6b7280;
    --itb-muted: #9ca3af;
    --itb-border: #e5e7eb;
    --itb-hero: #141414;
    font-family: 'Poppins', Roboto, sans-serif;
    background: #fafafa;
    color: var(--itb-black);
}

body.itb-t4-modern .page-wraper,
body.itb-t4-modern .page-content {
    background: #fafafa;
}

/* ---------- Header ---------- */
body.itb-t4-modern .site-header .top-bar.site-bg-secondry {
    background: #0d0d0d !important;
    border: 0;
}

body.itb-t4-modern .wt-topbar-info li,
body.itb-t4-modern .wt-topbar-info-2 li,
body.itb-t4-modern .wt-topbar-info-2 a {
    color: #bbbbbb !important;
    font-size: 13px;
}

body.itb-t4-modern .wt-topbar-info li span {
    color: #fff !important;
}

body.itb-t4-modern .sticky-header .main-bar,
body.itb-t4-modern .main-bar-wraper,
body.itb-t4-modern .is-fixed .main-bar {
    background: #0d0d0d !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

body.itb-t4-modern .logo-header .nav-link,
body.itb-t4-modern .logo-header h5 {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 20px !important;
    margin: 0;
}

body.itb-t4-modern .header-search-icon,
body.itb-t4-modern .header-search-icon i {
    background: #1f1f1f !important;
    color: #fff !important;
    border-radius: 8px;
}

body.itb-t4-modern .header-nav-request a.contact-slide-show {
    background: var(--itb-red) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 12px 18px !important;
    border: 0 !important;
}

body.itb-t4-modern .header-nav-request a.contact-slide-show:hover {
    opacity: 0.92;
    color: #fff !important;
}

body.itb-t4-modern .header-nav .nav > li > a {
    color: #fff !important;
}

body.itb-t4-modern .header-nav .nav > li > a:hover {
    color: var(--itb-red) !important;
}

body.itb-t4-modern .navbar-toggler .icon-bar {
    background: #fff;
}

/* ---------- Hero (injected strip) ---------- */
body.itb-t4-modern .t4m-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 200px;
    gap: 28px;
    align-items: center;
    background: var(--itb-hero);
    color: #fff;
    border-radius: 14px;
    padding: 28px 32px;
    margin: 24px auto 8px;
    max-width: 1140px;
}

body.itb-t4-modern .t4m-logo {
    width: 96px;
    height: 96px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

body.itb-t4-modern .t4m-logo img {
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
}

body.itb-t4-modern .t4m-logo-fallback {
    font-size: 11px;
    color: #9ca3af;
    text-align: center;
    padding: 8px;
    line-height: 1.3;
}

body.itb-t4-modern .t4m-name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

body.itb-t4-modern .t4m-name {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

body.itb-t4-modern .t4m-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--itb-green);
    color: #fff;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
}

body.itb-t4-modern .t4m-tagline {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
    color: #c4c4c4;
}

body.itb-t4-modern .t4m-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

body.itb-t4-modern .t4m-stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

body.itb-t4-modern .t4m-stat-label {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}

body.itb-t4-modern .t4m-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.itb-t4-modern .t4m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    width: 100%;
    text-decoration: none !important;
    transition: opacity 0.15s ease;
}

body.itb-t4-modern .t4m-btn:hover {
    opacity: 0.92;
    color: #fff !important;
}

body.itb-t4-modern .t4m-btn-contact {
    background: var(--itb-red);
    color: #fff !important;
}

body.itb-t4-modern .t4m-btn-wa {
    background: var(--itb-green);
    color: #fff !important;
}

/* ---------- Welcome → About + Facts ---------- */
body.itb-t4-modern .welcome-section-outer,
body.itb-t4-modern .welcome-section-top {
    background: transparent !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

body.itb-t4-modern .welcom-to-section .wt-small-separator {
    display: block;
}

body.itb-t4-modern .welcom-to-section .wt-small-separator .sep-leaf-left,
body.itb-t4-modern .welcom-to-section .wt-small-separator .sep-leaf-right {
    display: none !important;
}

body.itb-t4-modern .welcom-to-section .wt-small-separator > div:not(.sep-leaf-left):not(.sep-leaf-right) {
    color: var(--itb-black) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

body.itb-t4-modern .welcom-to-section p,
body.itb-t4-modern .welcom-to-section {
    font-size: 14px;
    line-height: 1.7;
    color: #374151;
}

body.itb-t4-modern .img-colarge2,
body.itb-t4-modern .t4m-facts {
    background: #fff;
    border: 1px solid var(--itb-border);
    border-radius: 12px;
    overflow: hidden;
    padding: 0 !important;
    position: relative;
    min-height: 0 !important;
}

body.itb-t4-modern .img-colarge2 .colarge-2,
body.itb-t4-modern .img-colarge2 .colarge-2-1,
body.itb-t4-modern .img-colarge2 .since-year-outer2 {
    display: none !important;
}

body.itb-t4-modern .t4m-facts-title {
    margin: 0;
    padding: 14px 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #374151;
    background: #f3f4f6;
    border-bottom: 1px solid var(--itb-border);
}

body.itb-t4-modern .t4m-fact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    padding: 12px 22px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 13px;
}

body.itb-t4-modern .t4m-fact-row:last-child {
    border-bottom: 0;
}

body.itb-t4-modern .t4m-fact-label {
    color: #9ca3af;
}

body.itb-t4-modern .t4m-fact-value {
    color: var(--itb-black);
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

body.itb-t4-modern .t4m-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 20px;
}

body.itb-t4-modern .t4m-highlight {
    background: #fff;
    border: 1px solid var(--itb-border);
    border-radius: 10px;
    padding: 16px 18px;
}

body.itb-t4-modern .t4m-highlight h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
}

body.itb-t4-modern .t4m-highlight p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #4b5563;
}

/* ---------- Products section ---------- */
body.itb-t4-modern .section-full.overlay-wraper.bg-cover {
    background: #fff !important;
    background-image: none !important;
    padding-top: 28px !important;
    padding-bottom: 40px !important;
}

body.itb-t4-modern .section-full.overlay-wraper .overlay-main {
    display: none !important;
}

body.itb-t4-modern .section-full.overlay-wraper .section-head .wt-small-separator .sep-leaf-left,
body.itb-t4-modern .section-full.overlay-wraper .section-head .wt-small-separator .sep-leaf-right {
    display: none !important;
}

body.itb-t4-modern .section-full.overlay-wraper .section-head .wt-small-separator > div:not(.sep-leaf-left):not(.sep-leaf-right),
body.itb-t4-modern .section-full.overlay-wraper .section-head.text-white {
    color: var(--itb-black) !important;
}

body.itb-t4-modern .section-full.overlay-wraper .wt-small-separator > div:not(.sep-leaf-left):not(.sep-leaf-right) {
    color: var(--itb-black) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

body.itb-t4-modern .project-stamp-list {
    background: #fff !important;
    border: 1px solid var(--itb-border);
    border-radius: 12px;
    overflow: hidden;
}

body.itb-t4-modern .filter-navigation li a,
body.itb-t4-modern .filter-navigation li.active a {
    color: var(--itb-black) !important;
    border-color: var(--itb-border) !important;
}

body.itb-t4-modern .filter-navigation li.active a,
body.itb-t4-modern .filter-navigation li a:hover {
    color: var(--itb-red) !important;
}

body.itb-t4-modern .filter-navigation li a i {
    color: var(--itb-red) !important;
}

body.itb-t4-modern .masonry-item .wt-box.project-2-block {
    background: #fff !important;
    border: 1px solid var(--itb-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    padding: 0 !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

body.itb-t4-modern .masonry-item .wt-box.project-2-block:hover {
    border-color: #d1d5db;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.itb-t4-modern .masonry-item .wt-thum-bx.proimage {
    aspect-ratio: 4 / 3;
    background:
        repeating-linear-gradient(
            -45deg,
            #f3f4f6,
            #f3f4f6 8px,
            #eceff3 8px,
            #eceff3 16px
        );
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
}

body.itb-t4-modern .masonry-item .wt-thum-bx.proimage img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain;
    padding: 10px;
}

body.itb-t4-modern .masonry-item .wt-info {
    padding: 14px 14px 16px;
}

body.itb-t4-modern .masonry-item .wt-title {
    margin: 0 0 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35;
    min-height: 2.7em;
}

body.itb-t4-modern .masonry-item .wt-title a {
    color: var(--itb-black) !important;
}

body.itb-t4-modern .masonry-item .wt-box:hover .wt-title a {
    color: var(--itb-red) !important;
}

body.itb-t4-modern .t4m-price {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--itb-red);
}

body.itb-t4-modern .t4m-price-na {
    color: var(--itb-gray);
    font-size: 13px;
    font-weight: 500;
}

/* ---------- CTA ---------- */
body.itb-t4-modern .t4m-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--itb-hero);
    color: #fff;
    border-radius: 14px;
    padding: 28px 32px;
    max-width: 1140px;
    margin: 0 auto 48px;
}

body.itb-t4-modern .t4m-cta h2 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

body.itb-t4-modern .t4m-cta p {
    margin: 0;
    font-size: 14px;
    color: #c4c4c4;
}

body.itb-t4-modern .t4m-cta .t4m-btn {
    width: auto;
    min-width: 160px;
    flex-shrink: 0;
}

/* ---------- Footer tune ---------- */
body.itb-t4-modern .site-footer.footer-dark {
    background: #0d0d0d;
}

body.itb-t4-modern .site-text-primary,
body.itb-t4-modern .site-bg-primary {
    color: var(--itb-red) !important;
}

body.itb-t4-modern .wt-icon-box-md.site-bg-primary {
    background: var(--itb-red) !important;
    color: #fff !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    body.itb-t4-modern .t4m-hero {
        grid-template-columns: 1fr;
        padding: 22px 20px;
        margin: 16px 16px 8px;
    }

    body.itb-t4-modern .t4m-actions {
        flex-direction: row;
    }

    body.itb-t4-modern .t4m-btn {
        width: auto;
        flex: 1;
    }

    body.itb-t4-modern .t4m-highlights {
        grid-template-columns: 1fr;
    }

    body.itb-t4-modern .t4m-cta {
        flex-direction: column;
        align-items: flex-start;
        margin: 0 16px 40px;
        padding: 22px 20px;
    }

    body.itb-t4-modern .t4m-cta .t4m-btn {
        width: 100%;
    }

    body.itb-t4-modern .t4m-name {
        font-size: 22px;
    }
}

@media (max-width: 575px) {
    body.itb-t4-modern .t4m-stats {
        gap: 16px;
    }

    body.itb-t4-modern .t4m-actions {
        flex-direction: column;
    }
}
