/* ===================== Highlighted brand name ===================== */
.brand-name { font-weight: 800; color: var(--navy); white-space: nowrap; letter-spacing: .01em; text-transform: uppercase; }
.brand-name b {
    font-weight: 800; background: var(--erp-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow .brand-name { color: inherit; letter-spacing: inherit; }
.section-dark .brand-name, .how-hero .brand-name, .cta-band .brand-name, .ai-panel .brand-name, .site-footer .brand-name { color: #fff; }
.section-dark .brand-name b, .how-hero .brand-name b, .cta-band .brand-name b, .ai-panel .brand-name b, .site-footer .brand-name b {
    background: var(--erp-grad);
    -webkit-background-clip: text; background-clip: text;
}

/* ===================== Photo-based layouts ===================== */
.section-ice { background: #f2f6fa; }
.center-row { justify-content: center; margin-top: 28px; }
.narrow-col { max-width: 860px; }

/* Hero mockup image */
.hero-visual > img { display: block; width: 100%; height: auto; border-radius: 18px; filter: drop-shadow(0 24px 40px rgba(11, 61, 46, .18)); }

/* Photo cards (solutions, industries, teasers) */
.photo-card {
    display: flex; flex-direction: column; overflow: hidden; color: inherit;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfe3c9; color: inherit; }
.photo-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.photo-media.wide { aspect-ratio: 16 / 9; }
.photo-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.photo-card:hover .photo-media img { transform: scale(1.04); }
.photo-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; position: relative; }
.photo-body h3 { display: flex; align-items: center; gap: 6px; }
.photo-body h3 .icon { color: var(--primary); }
.photo-body p { color: var(--muted); font-size: .94rem; }

.card-ico {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border-radius: 12px; background: var(--tint, var(--soft)); margin-bottom: 12px; flex-shrink: 0;
}
.card-ico img { width: 26px; height: 26px; }
.card-ico.lg { width: 64px; height: 64px; border-radius: 16px; }
.card-ico.lg img { width: 34px; height: 34px; }
.sol-card .card-ico { margin-top: -44px; border: 3px solid #fff; box-shadow: var(--shadow); }
.sol-card .link-arrow { color: var(--accent, var(--primary)); }

/* Differentiators layout */
.diff-layout { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 28px; align-items: center; }
.diff-col { display: grid; gap: 16px; }
.diff-item { display: flex; gap: 14px; align-items: flex-start; }
.diff-item .icon-badge { margin: 0; }
.diff-item h3 { margin-bottom: 4px; }
.diff-item p { margin: 0; color: var(--muted); font-size: .9rem; }
.diff-item.boxed { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px; box-shadow: var(--shadow); }
.diff-visual img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow-lg); }

/* AI cards + panel */
.home-ai-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.home-ai-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ai-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ai-card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.ai-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ai-card-body { padding: 14px 16px 16px; }
.ai-card-body h3 { font-size: .98rem; margin-bottom: 4px; }
.ai-card-body p { color: var(--muted); font-size: .86rem; margin: 0; }
.ai-panel { background: var(--navy); color: #d9e8df; border: 1px solid rgba(255, 255, 255, .1); position: sticky; top: 96px; }
.ai-panel h3 { color: #fff; margin-top: 4px; }
.ai-panel-top { display: flex; justify-content: space-between; font-size: .78rem; margin-bottom: 12px; color: #b9e08a; }
.ai-feed { position: relative; border-radius: 12px; overflow: hidden; }
.ai-feed img { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; }
.ai-feed-ui {
    position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; padding: 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .6)); font-size: .75rem; font-weight: 600; color: #fff;
}
.feed-count { background: #15803d; padding: 2px 8px; border-radius: 999px; }

/* Showcase tones */
.mock.tone-pos { background: linear-gradient(150deg, #7a4a12, #c2761b); }
.mock.tone-fin { background: linear-gradient(150deg, #0b3d2e, #0e5a43); }
.mock.tone-inv { background: linear-gradient(150deg, #04415f, #0369a1); }
.mock.tone-hr { background: linear-gradient(150deg, #3d7a1f, #8cc63f); }
.mock.tone-mfg { background: linear-gradient(150deg, #1e293b, #475569); }
.mock.tone-con { background: linear-gradient(150deg, #14532d, #15803d); }
.mock.tone-assets { background: linear-gradient(150deg, #7c2d12, #c2410c); }
.mock.tone-ai { background: linear-gradient(150deg, #083344, #0e7490); }

/* Product showcase tabs */
.prod-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.prod-tab {
    font: inherit; font-weight: 600; font-size: .9rem; padding: 9px 18px; border-radius: 999px;
    border: 1px solid var(--border); background: #fff; color: var(--navy); cursor: pointer;
}
.prod-tab.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.prod-panel {
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center;
    background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: var(--shadow);
}
.prod-shot img { width: 100%; height: auto; border-radius: 12px; display: block; }
.prod-copy p { color: var(--muted); }

/* Industries panels */
.ind-panels { display: grid; gap: 32px; }
.ind-panel {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: #fff;
    border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); scroll-margin-top: 96px;
}
.ind-panel.reverse .ind-copy { order: 2; }
.ind-copy p { color: var(--muted); }
.ind-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; }

/* Module detail pages */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.mod-hero {
    padding: 56px 0 64px; border-bottom: 1px solid var(--border);
    background: radial-gradient(700px 300px at 90% 0%, var(--tint), transparent 70%), var(--bg-alt);
}
.mod-hero .eyebrow { color: var(--accent); display: block; }
.mod-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.mod-hero-visual img { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow-lg); display: block; }
.mod-flow { background: var(--navy); padding: 18px 0; }
.mod-flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mod-flow-step { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: .95rem; }
.mod-flow-step span {
    display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
    border-radius: 50%; background: var(--accent); flex-shrink: 0;
}
.mod-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.mod-intro > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.accent-card { border-top: 4px solid var(--accent); }
.accent-card h3 { color: var(--accent); }
.strength-grid.four { grid-template-columns: repeat(4, 1fr); }
.related-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.related-chip {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: #fff;
    border: 1px solid var(--border); border-radius: 999px; color: var(--navy); font-weight: 600; font-size: .9rem;
}
.related-chip img { width: 22px; height: 22px; }
.related-chip:hover { border-color: var(--primary); color: var(--primary); }

/* About / how we work */
.about-card h2 { font-size: 1.4rem; }
.about-card p { color: var(--muted); }
.how-hero { padding: 72px 0; background: radial-gradient(800px 400px at 90% 0%, rgba(140, 198, 63, .25), transparent 60%), var(--navy); color: #d9e8df; }
.how-hero h1 { color: #fff; }
.how-hero .lead { color: #b7cdc0; }
.how-hero-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.how-hero-img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.how-detail { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.how-detail.reverse > img { order: -1; }
.how-detail > img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow-lg); }
.how-detail .steps { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }

/* Cloud ERP page */
.console { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 16px; }
.console-bar { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.console-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.console-kpis div { background: var(--bg-alt); border-radius: 10px; padding: 10px; }
.console-kpis small { display: block; font-size: .7rem; color: var(--muted); }
.console-kpis strong { color: var(--navy); }
.console img { width: 100%; height: auto; border-radius: 10px; display: block; }
.module-link { display: flex; gap: 14px; color: inherit; transition: transform .2s, box-shadow .2s; }
.module-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.module-link p { margin: 0; }
.dark-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px; }
.dark-card p { color: #b7cdc0; margin: 0; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
.faq summary { font-weight: 700; color: var(--navy); cursor: pointer; }
.faq details p { color: var(--muted); margin: 10px 0 0; }


@media (max-width: 1080px) {
    .diff-layout { grid-template-columns: 1fr 1fr; }
    .diff-visual { grid-column: 1 / -1; order: -1; max-width: 640px; margin: 0 auto; }
    .home-ai-layout { grid-template-columns: 1fr; }
    .ai-panel { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
    .home-ai-cards { grid-template-columns: repeat(2, 1fr); }
    .prod-panel, .ind-panel, .mod-hero-grid, .mod-intro, .how-hero-grid, .how-detail { grid-template-columns: 1fr; }
    .ind-panel.reverse .ind-copy { order: 0; }
    .how-detail.reverse > img { order: 0; }
    .mod-flow-grid, .strength-grid.four { grid-template-columns: repeat(2, 1fr); }
    .console-kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .diff-layout, .home-ai-cards, .mod-flow-grid, .strength-grid.four, .how-detail .steps { grid-template-columns: 1fr; }
    .ind-panel { padding: 18px; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
