/* ==========================================================================
   DMC — D'Andrea Massimo Consulenze & LAB Enterprise v2.1 Ra Edition
   Official LAB Visual System Stylesheet — Multi-Page Architecture (v3.2)
   Author: DAMC - Massimo D'Andrea (https://www.damc.it)
   ========================================================================== */

:root {
    /* 60% Primary Corporate Navy */
    --dmc-navy-950: #020817;
    --dmc-navy-900: #051336;
    --dmc-navy-800: #092055;
    --dmc-navy: #002D89;
    --dmc-navy-light: #1e40af;

    /* 30% Clean Light Surface */
    --surface-white: #ffffff;
    --surface-50: #f8fafc;
    --surface-100: #f1f5f9;
    --surface-200: #e2e8f0;
    --surface-300: #cbd5e1;

    /* 10% Strategic Accents */
    --lab-orange: #D45500;
    --lab-orange-hover: #ff6b1a;
    --lab-orange-soft: rgba(212, 85, 0, 0.14);
    --tech-cyan: #00B5EE;
    --tech-cyan-glow: #70e2ff;
    --tech-cyan-soft: rgba(0, 181, 238, 0.15);
    --emerald-500: #10b981;
    --amber-500: #f59e0b;

    /* Typography Colors */
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-on-dark: #f8fafc;
    --text-on-dark-muted: #94a3b8;

    /* Shadows & Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --shadow-soft: 0 6px 24px rgba(2, 8, 23, 0.05);
    --shadow-card: 0 16px 40px rgba(0, 45, 137, 0.09);
    --shadow-elevated: 0 28px 65px rgba(2, 8, 23, 0.24);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--surface-50);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.025em;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Container con respiro laterale garantito (mai scritte attaccate ai bordi) */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 3.2vw, 2.75rem);
}

/* ── 1. TOP TELEMETRY & DIRECT CONTACT BAR (FULL-WIDTH SOFT EXECUTIVE SLATE) ── */
.top-status-bar {
    background: #1e293b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 0.78rem;
    padding: 0.5rem 0;
    width: 100%;
}

.top-status-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 clamp(1.25rem, 3vw, 2.75rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.status-pill-live {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #f1f5f9;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.top-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.35rem;
}

.top-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-weight: 500;
}

.top-links a:hover {
    color: #ffffff;
}

/* ── 2. STICKY NAVIGATION — SAP-INSPIRED LUMINOUS WHITE HEADER ── */
.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid #dbeafe;
    padding: 0.65rem 0;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 4px 0;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.brand-logo-wrap:hover {
    transform: scale(1.02);
}

.brand-logo-img {
    height: 76px;
    width: auto;
    display: block;
    filter: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.22rem;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    color: #1e293b;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.48rem 0.68rem;
    border-radius: 8px;
    transition: all 0.18s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-menu > li > a:hover,
.nav-has-dropdown:hover > .nav-dropdown-trigger {
    color: var(--dmc-navy);
    background: #eff6ff;
}

.nav-menu > li > a.active {
    color: var(--dmc-navy);
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.12);
}

.nav-chevron {
    width: 15px;
    height: 15px;
    opacity: 0.65;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-has-dropdown:hover .nav-chevron,
.nav-has-dropdown.open .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-count-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 999px;
    line-height: 1.3;
}

/* ── DROPDOWN PANELS (CRISP WHITE ELEVATED ENTERPRISE PANELS) ── */
.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 360px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-top: 3px solid var(--dmc-navy);
    border-radius: 14px;
    padding: 0.9rem;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.14), 0 4px 16px rgba(0, 45, 137, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 1100;
}

.nav-dropdown-panel.nav-dropdown-wide {
    min-width: 450px;
}

/* Invisible hover bridge so moving mouse from trigger to panel never closes it */
.nav-dropdown-panel::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-has-dropdown:hover > .nav-dropdown-panel,
.nav-has-dropdown:focus-within > .nav-dropdown-panel,
.nav-has-dropdown.open > .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dmc-navy);
    padding: 0.25rem 0.65rem 0.5rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0.4rem;
}

.nav-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.68rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.16s ease, border-color 0.16s ease;
    border: 1px solid transparent;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.sub-active {
    background: #f0f7ff;
    border-color: #bae6fd;
}

.nav-dd-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.63rem;
    font-weight: 800;
    padding: 0.22rem 0.5rem;
    border-radius: 6px;
    white-space: nowrap;
    margin-top: 2px;
    flex-shrink: 0;
}

.nav-dd-badge.orange {
    background: #ffedd5;
    color: #c2410c;
    border: 1px solid #fdba74;
}

.nav-dd-badge.cyan {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

.nav-dd-badge.emerald {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.nav-dd-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.86rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.15rem;
    line-height: 1.3;
}

.nav-dd-desc {
    font-size: 0.76rem;
    color: #475569;
    line-height: 1.4;
    white-space: normal;
}

.nav-dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.45rem 0;
}

.nav-dropdown-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.25rem 0.35rem 0.1rem;
}

.nav-dropdown-quicklinks a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.nav-dropdown-quicklinks a:hover {
    color: var(--dmc-navy);
    border-color: #38bdf8;
    background: #e0f2fe;
}

.active-ticket-btn {
    border-color: var(--lab-orange) !important;
    color: var(--lab-orange) !important;
    background: #fff7ed !important;
}

.nav-mobile-only-item {
    display: none;
}

/* Mobile Toggle Button */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
}

.nav-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
}

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.78rem 1.4rem;
    border-radius: var(--radius-sm);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.87rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.22s ease;
    white-space: nowrap;
}

.btn-orange {
    background: linear-gradient(135deg, var(--lab-orange) 0%, #ff6b1a 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(212, 85, 0, 0.25);
}

.btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(212, 85, 0, 0.38);
}

.btn-cyan {
    background: linear-gradient(135deg, #002D89 0%, #0284c7 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 45, 137, 0.22);
}

.btn-cyan:hover {
    background: linear-gradient(135deg, #0039ad 0%, #0369a1 100%);
    transform: translateY(-2px);
}

.btn-navy {
    background: var(--dmc-navy);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 45, 137, 0.2);
}

.btn-navy:hover {
    background: var(--dmc-navy-800);
    transform: translateY(-2px);
}

.btn-glass {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.btn-glass:hover {
    background: #f0f7ff;
    color: var(--dmc-navy);
    border-color: #38bdf8;
}

.btn-sm {
    padding: 0.52rem 1rem;
    font-size: 0.8rem;
}

/* ── HERO SECTION & SUBPAGE BANNERS (LUMINOUS SAP-INSPIRED LIGHT ARCHITECTURE) ── */
.hero-section {
    position: relative;
    background:
        radial-gradient(circle at 82% 18%, rgba(0, 181, 238, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 12% 88%, rgba(212, 85, 0, 0.09) 0%, transparent 42%),
        linear-gradient(135deg, #eef6ff 0%, #ffffff 52%, #f8fbff 100%);
    color: #0f172a;
    padding: 3.8rem 0 4.2rem 0;
    border-bottom: 3px solid #dbeafe;
    overflow: hidden;
}

.page-hero-banner {
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 181, 238, 0.14) 0%, transparent 45%),
        linear-gradient(135deg, #eef6ff 0%, #ffffff 58%, #f8fbff 100%);
    color: #0f172a;
    padding: 3rem 0;
    border-bottom: 3px solid #dbeafe;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2.5rem;
    align-items: center;
}

.page-hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 12px 32px rgba(0, 45, 137, 0.06);
}

.page-hero-illustration img {
    max-height: 200px;
    width: auto;
    max-width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: 3rem;
    align-items: center;
}

.hero-brand-bar {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.lab-hero-logo-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 0.5rem 1.05rem;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.lab-hero-logo-pill div[style*="border-left"] {
    border-left-color: #cbd5e1 !important;
}

.lab-hero-logo-pill div[style*="color:#70e2ff"] {
    color: #0284c7 !important;
}

.lab-hero-logo-pill div[style*="color:#ffffff"] {
    color: #0f172a !important;
}

.lab-hero-logo-pill img,
.lab-logo-adaptive {
    height: 36px;
    width: auto;
    display: block;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.34rem 0.8rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-orange {
    background: linear-gradient(135deg, var(--lab-orange), #ff6b1a);
    color: #ffffff;
}

.badge-cyan {
    background: #e0f2fe;
    border: 1px solid #7dd3fc;
    color: #0369a1;
    font-family: 'JetBrains Mono', monospace;
}

.badge-emerald {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #15803d;
}

.hero-title {
    font-size: clamp(2.05rem, 3.2vw, 2.85rem);
    font-weight: 800;
    line-height: 1.14;
    margin-bottom: 1.15rem;
    color: #071633;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #002D89 0%, #0284c7 55%, #D45500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.04rem;
    color: #334155;
    margin-bottom: 1.75rem;
    max-width: 650px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.85rem;
}

.hero-metrics-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    padding-top: 1.35rem;
    border-top: 1px solid #dbeafe;
}

.hero-metric-item {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    box-shadow: 0 4px 14px rgba(0, 45, 137, 0.04);
}

.hero-metric-val {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.28rem;
    font-weight: 800;
    color: #002D89;
    line-height: 1.15;
}

.hero-metric-item .hero-metric-val[style*="color:#70e2ff"] {
    color: #0284c7 !important;
}

.hero-metric-item .hero-metric-val[style*="color:#ff8533"] {
    color: #D45500 !important;
}

.hero-metric-item .hero-metric-val[style*="color:#6ee7b7"] {
    color: #059669 !important;
}

.hero-metric-lbl {
    font-size: 0.7rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    margin-top: 0.25rem;
}

/* Hero Interactive Browser Card — CRISP SILVER/WHITE ELEVATION */
.hero-showcase-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid #cbd5e1;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12), 0 4px 20px rgba(0, 45, 137, 0.08);
    overflow: hidden;
    position: relative;
}

.browser-top-bar {
    background: #f1f5f9;
    padding: 0.7rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-url {
    background: #ffffff;
    color: #334155;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.71rem;
    font-weight: 600;
    padding: 0.28rem 0.85rem;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
}

.hero-showcase-body {
    position: relative;
    background: #f8fafc;
    padding: 0.75rem;
}

.hero-showcase-body img.screen-preview {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    object-position: center top;
    display: block;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.hero-showcase-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-showcase-footer div[style*="color:#70e2ff"] {
    color: #0284c7 !important;
}

.hero-showcase-footer div[style*="color:#ffffff"] {
    color: #0f172a !important;
}

/* ── TRUST & CASE STUDIES SHOWCASE SECTION (FIXED MISSING CSS!) ── */
.trust-showcase-section {
    background: #ffffff;
    border-bottom: 1px solid var(--surface-200);
    padding: 3.5rem 0;
}

.trust-showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--surface-200);
}

.trust-sectors-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.sector-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--surface-50);
    border: 1px solid var(--surface-200);
    color: var(--dmc-navy-900);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(2, 8, 23, 0.03);
}

.trust-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem;
}

.trust-case-card {
    background: var(--surface-50);
    border: 1px solid var(--surface-200);
    border-top: 4px solid var(--dmc-navy);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.45rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-soft);
}

.trust-case-card:nth-child(2) { border-top-color: var(--tech-cyan); }
.trust-case-card:nth-child(3) { border-top-color: var(--lab-orange); }
.trust-case-card:nth-child(4) { border-top-color: var(--emerald-500); }

.trust-case-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    border-color: #93c5fd;
}

.trust-case-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.trust-case-sector {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.67rem;
    font-weight: 700;
    color: var(--dmc-navy);
    background: #eff6ff;
    padding: 0.22rem 0.55rem;
    border-radius: 5px;
    letter-spacing: 0.03em;
}

.trust-case-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--emerald-500);
}

.trust-case-card h4 {
    font-size: 1.06rem;
    font-weight: 800;
    color: var(--dmc-navy-950);
    margin-bottom: 0.45rem;
}

.trust-case-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.trust-case-metric {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--lab-orange);
    padding-top: 0.65rem;
    border-top: 1px dashed var(--surface-200);
}

/* ── SECTION HEADERS & PADS ── */
.section-pad {
    padding: 4.5rem 0;
}

.section-pad-white {
    padding: 4.5rem 0;
    background: #ffffff;
    border-top: 1px solid var(--surface-200);
    border-bottom: 1px solid var(--surface-200);
}

.section-pad-dark {
    padding: 4.5rem 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(0, 181, 238, 0.1) 0%, transparent 42%),
        linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
    color: #0f172a;
    border-top: 1px solid #dbeafe;
    border-bottom: 1px solid #dbeafe;
}

.section-header {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 2.8rem auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lab-orange);
    background: var(--lab-orange-soft);
    padding: 0.32rem 0.85rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.eyebrow-cyan {
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
}

.section-title {
    font-size: clamp(1.75rem, 2.7vw, 2.35rem);
    font-weight: 800;
    color: var(--dmc-navy-950);
    line-height: 1.18;
    margin-bottom: 0.8rem;
}

.section-pad-dark .section-title {
    color: #071633;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.section-pad-dark .section-desc {
    color: #475569;
}

/* Override legacy dark-mode inline styles inside .section-pad-dark & .page-hero-banner */
.section-pad-dark [style*="rgba(255,255,255,0.04)"],
.section-pad-dark [style*="rgba(255,255,255,0.05)"],
.section-pad-dark [style*="rgba(15,23,42,0.7)"] {
    background: #ffffff !important;
    border-color: #dbeafe !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.section-pad-dark h2[style*="color:#ffffff"],
.section-pad-dark h3[style*="color:#ffffff"],
.section-pad-dark h4[style*="color:#ffffff"],
.section-pad-dark h4[style*="color:#fff"],
.page-hero-banner span[style*="color:#70e2ff"] {
    color: #071633 !important;
}

.section-pad-dark p[style*="color:#cbd5e1"],
.section-pad-dark li[style*="color:#cbd5e1"],
.section-pad-dark div[style*="color:#cbd5e1"] {
    color: #475569 !important;
}

.section-pad-dark span[style*="color:#70e2ff"] {
    color: #0284c7 !important;
}

.section-pad-dark span[style*="color:#6ee7b7"] {
    color: #059669 !important;
}

.section-pad-dark span[style*="color:#ffb347"] {
    color: #d97706 !important;
}

.page-hero-banner div[style*="background:rgba(255,255,255,0.12)"] {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

/* ── HOME TOPIC PORTAL CARDS (WITH REAL SCREENSHOTS & UNDRAW) ── */
.portal-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.portal-card {
    background: #ffffff;
    border: 1px solid var(--surface-200);
    border-radius: var(--radius-lg);
    padding: 2rem 1.85rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
    border-top: 4px solid var(--dmc-navy);
}

.portal-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: var(--tech-cyan);
}

.portal-card.featured-orange {
    border-top-color: var(--lab-orange);
    background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
}

.portal-card.featured-cyan {
    border-top-color: var(--tech-cyan);
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

.portal-illu-box {
    height: 165px;
    background: var(--surface-50);
    border: 1px solid var(--surface-200);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin-bottom: 1.35rem;
    overflow: hidden;
}

.portal-illu-box.screen-box {
    background: #0b1326;
    padding: 0.45rem;
    border-color: rgba(0, 181, 238, 0.3);
    position: relative;
}

.portal-screen-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(2, 8, 23, 0.88);
    backdrop-filter: blur(8px);
    color: #ffb347;
    border: 1px solid rgba(212, 85, 0, 0.55);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.64rem;
    font-weight: 800;
    padding: 0.22rem 0.55rem;
    border-radius: 6px;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.portal-screen-badge.cyan {
    color: #70e2ff;
    border-color: rgba(0, 181, 238, 0.55);
}

/* ── HERO DUAL-PRODUCT SWITCHER & HOME BENTO 8 MODULES (DIRECTION A) ── */
.hero-product-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #e2e8f0;
    padding: 0.22rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

.hero-switch-btn {
    background: transparent;
    border: none;
    color: #475569;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.32rem 0.68rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-switch-btn:hover {
    color: #0f172a;
}

.hero-switch-btn.active {
    background: linear-gradient(135deg, var(--dmc-navy), #0284c7);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 45, 137, 0.25);
}

.home-bento-modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.home-bento-mod-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-top: 4px solid var(--dmc-navy);
    border-radius: var(--radius-md);
    padding: 1.45rem 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: #0f172a;
    transition: all 0.24s ease;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.home-bento-mod-card:nth-child(odd) {
    border-top-color: var(--lab-orange);
}

.home-bento-mod-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 18px 38px rgba(0, 45, 137, 0.11);
}

.home-bento-mod-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #071633;
    margin-bottom: 0.45rem;
}

.home-bento-mod-card p {
    font-size: 0.83rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.home-bento-mod-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
}

.portal-illu-box img {
    max-height: 130px;
    max-width: 100%;
    width: auto;
    transition: transform 0.28s ease;
}

.portal-illu-box.screen-box img {
    max-height: 150px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 9px;
}

.portal-card:hover .portal-illu-box img {
    transform: scale(1.04);
}

/* ── 8 OFFICIAL MODULES OF LAB ENTERPRISE GRID ── */
.lab-modules-8-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

.lab-mod8-card {
    background: #ffffff;
    border: 1px solid var(--surface-200);
    border-top: 4px solid var(--dmc-navy);
    border-radius: var(--radius-md);
    padding: 1.65rem 1.5rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.22s ease;
}

.lab-mod8-card:nth-child(even) {
    border-top-color: var(--tech-cyan);
}

.lab-mod8-card:nth-child(3n) {
    border-top-color: var(--lab-orange);
}

.lab-mod8-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: #93c5fd;
}

/* ── ADVERNOVA DEDICATED PAGE STYLES ── */
.advernova-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

.adv-price-card {
    background: #ffffff;
    border: 1px solid var(--surface-200);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    position: relative;
}

.adv-price-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.adv-price-card.featured {
    border: 2px solid var(--tech-cyan);
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 42%);
    box-shadow: 0 18px 45px rgba(0, 181, 238, 0.16);
}

.adv-consulting-box {
    background: #e0f2fe;
    border-left: 4px solid #0284c7;
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    margin: 1.15rem 0;
    font-size: 0.86rem;
    color: #0369a1;
    font-weight: 700;
}

.adv-screens-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.65rem;
}

.adv-screen-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.adv-screen-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(0, 45, 137, 0.12);
}

.adv-screen-card img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #e2e8f0;
}

.adv-screen-caption {
    padding: 1.35rem 1.5rem;
    color: #0f172a;
}

.adv-screen-caption h3 {
    color: #071633;
}

.adv-screen-caption p {
    color: #475569 !important;
}

/* ── CONSULTING & MANAGEMENT 6-PILLAR GRID ── */
.consulting-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.consulting-card {
    background: #ffffff;
    border: 1px solid var(--surface-200);
    border-radius: var(--radius-md);
    padding: 1.85rem 1.75rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    border-top: 4px solid var(--dmc-navy);
}

.consulting-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: #93c5fd;
}

.consulting-card:nth-child(2) { border-top-color: var(--lab-orange); }
.consulting-card:nth-child(3) { border-top-color: var(--tech-cyan); }
.consulting-card:nth-child(5) { border-top-color: var(--emerald-500); }

.card-undraw-thumb {
    height: 96px;
    background: #ffffff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0;
    margin-bottom: 0.95rem;
    border: none;
}

.card-undraw-thumb img {
    max-height: 76px;
    width: auto;
    max-width: 100%;
}

.consulting-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.consulting-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.69rem;
    font-weight: 700;
    color: var(--dmc-navy);
    background: #eff6ff;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}

.consulting-rate {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--lab-orange);
}

.consulting-card h3 {
    font-size: 1.16rem;
    color: var(--dmc-navy-950);
    margin-bottom: 0.5rem;
}

.consulting-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.56;
}

.consulting-list {
    list-style: none;
    border-top: 1px solid var(--surface-100);
    padding-top: 0.9rem;
}

.consulting-list li {
    font-size: 0.83rem;
    color: var(--text-secondary);
    margin-bottom: 0.48rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.42;
}

.consulting-list li::before {
    content: "✓";
    color: var(--emerald-500);
    font-weight: 800;
}

/* ── INTERACTIVE LIVE SANDBOX (WITH >> SCROLL AFFORDANCE & NEXT TOPIC CTA) ── */
.sandbox-wrapper {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-lg);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.1);
    overflow: hidden;
}

.sandbox-tabs-nav-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    background: #f1f5f9;
    border-bottom: 1px solid #cbd5e1;
}

.sandbox-tabs-scroll-btn {
    border: none;
    background: linear-gradient(135deg, var(--dmc-navy) 0%, #0284c7 100%);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-shrink: 0;
    z-index: 5;
    transition: all 0.2s ease;
    box-shadow: 0 0 18px rgba(2, 132, 199, 0.25);
}

.sandbox-tabs-scroll-btn.prev {
    background: #e2e8f0;
    color: #0f172a;
    border-right: 1px solid #cbd5e1;
    box-shadow: none;
    font-size: 1.05rem;
    padding: 0 0.85rem;
}

.sandbox-tabs-scroll-btn.prev:hover {
    background: #cbd5e1;
}

.sandbox-tabs-scroll-btn.next {
    background: linear-gradient(135deg, var(--lab-orange) 0%, #ff6b1a 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0 1.15rem;
    letter-spacing: 0.02em;
}

.sandbox-tabs-scroll-btn.next strong {
    font-size: 1.1rem;
    line-height: 1;
    display: inline-block;
    animation: nudgeRight 1.5s infinite ease-in-out;
}

@keyframes nudgeRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

.sandbox-tabs-scroll-btn.next:hover {
    filter: brightness(1.08);
}

.sandbox-tabs-bar {
    display: flex;
    overflow-x: auto;
    gap: 0.45rem;
    padding: 0.85rem 1rem;
    background: #f1f5f9;
    scrollbar-width: thin;
    scroll-behavior: smooth;
    flex: 1;
}

.sandbox-tab-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 0.52rem 0.92rem;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.18s;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.sandbox-tab-btn:hover {
    background: #eff6ff;
    border-color: #38bdf8;
    color: var(--dmc-navy);
}

.sandbox-tab-btn.active {
    background: linear-gradient(135deg, var(--dmc-navy) 0%, #0284c7 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 45, 137, 0.28);
}

.sandbox-info-strip {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 1.65rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.sandbox-module-meta h3 {
    font-size: 1.2rem;
    color: var(--dmc-navy-950);
    margin-bottom: 0.2rem;
}

.sandbox-module-meta p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.sandbox-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.sandbox-topic-prev-btn {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.sandbox-topic-prev-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.sandbox-topic-next-btn {
    background: linear-gradient(135deg, var(--lab-orange) 0%, #ff6b1a 100%);
    border: none;
    color: #ffffff;
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-shadow: 0 6px 18px rgba(212, 85, 0, 0.28);
    transition: all 0.2s ease;
}

.sandbox-topic-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(212, 85, 0, 0.4);
}

.sandbox-topic-next-btn .next-kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    opacity: 0.9;
    text-transform: uppercase;
}

.sandbox-topic-next-btn .next-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.sandbox-stage {
    position: relative;
    width: 100%;
    min-height: 540px;
    background: linear-gradient(180deg, #e2e8f0 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow: hidden;
}

.sandbox-phone-frame {
    width: 100%;
    max-width: 1220px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sandbox-phone-frame img {
    max-width: 100%;
    max-height: 620px;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
    border: 1px solid #cbd5e1;
}

/* ── 48 NATIVE AREAS ECOSYSTEM MATRIX ── */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pillar-card {
    background: #ffffff;
    border: 1px solid var(--surface-200);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 4px solid var(--dmc-navy);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.pillar-card.accent-orange { border-top-color: var(--lab-orange); }
.pillar-card.accent-cyan { border-top-color: var(--tech-cyan); }
.pillar-card.accent-emerald { border-top-color: var(--emerald-500); }

.pillar-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--lab-orange);
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.pillar-card h3 {
    font-size: 1.14rem;
    color: var(--dmc-navy-950);
    margin-bottom: 0.55rem;
}

.pillar-card p {
    font-size: 0.87rem;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}

.pillar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.pillar-tag {
    background: var(--surface-100);
    color: var(--text-secondary);
    font-size: 0.73rem;
    font-weight: 600;
    padding: 0.26rem 0.6rem;
    border-radius: 6px;
}

/* ── VERTICAL SUITES & DAMC PROJECTS 4-COL / 5-COL / 3-COL GRID ── */
.quad-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.quad-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.15rem;
    margin-bottom: 3.8rem;
}

.quad-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.quad-card {
    background: #ffffff;
    border: 1px solid var(--surface-200);
    border-radius: var(--radius-md);
    padding: 1.65rem 1.5rem;
    transition: all 0.2s;
    box-shadow: var(--shadow-soft);
    min-width: 0;
}

.quad-card:hover {
    box-shadow: var(--shadow-card);
    border-color: var(--dmc-navy);
    transform: translateY(-4px);
}

.quad-card h4 {
    font-size: 1.06rem;
    color: var(--dmc-navy-950);
    margin: 0.55rem 0;
}

.quad-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ── AI PROCESS & ERP ADVISOR (LIGHT ENTERPRISE ARCHITECTURE — HIGH CONTRAST) ── */
.advisor-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

.advisor-steps-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.advisor-step-box {
    border-radius: 10px;
    padding: 0.7rem 0.95rem;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
}

.advisor-step-box.step-cyan {
    background: #f0f9ff;
    border-color: #bae6fd;
}

.advisor-step-box.step-orange {
    background: #fff7ed;
    border-color: #fed7aa;
}

.advisor-step-box.step-emerald {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.advisor-step-box.step-slate {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.advisor-step-num {
    font-size: 0.68rem;
    font-weight: 800;
}

.advisor-step-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0.1rem;
}

.advisor-grid {
    display: grid;
    grid-template-columns: 1.32fr 1fr;
    gap: 2rem;
    align-items: start;
}

.advisor-level-block {
    margin-bottom: 1.5rem;
}

.advisor-level-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.advisor-level-head h3 {
    font-size: 0.98rem;
    font-weight: 800;
    color: #071633;
    margin: 0;
}

.advisor-level-sub {
    font-size: 0.72rem;
    color: #0369a1;
    font-weight: 700;
}

.diag-sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    gap: 0.55rem;
}

.diag-depts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.55rem;
}

.btn-select-all-pains {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-weight: 700;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.72rem;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-select-all-pains:hover {
    background: #e0f2fe;
    border-color: #0284c7;
    color: #002d89;
}

.pain-chips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.6rem;
}

.pain-chip {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 0.78rem 0.92rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.18s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.32rem;
}

.pain-chip-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0.4rem;
}

.pain-chip-code {
    font-size: 0.65rem;
    color: #0369a1;
    font-weight: 800;
}

.pain-chip-hours {
    font-size: 0.65rem;
    color: #047857;
    font-weight: 800;
    background: #dcfce7;
    padding: 1px 6px;
    border-radius: 4px;
}

.pain-chip-label {
    font-size: 0.8rem;
    line-height: 1.38;
    color: #1e293b;
    font-weight: 600;
}

.pain-chip:hover {
    background: #eff6ff;
    border-color: #38bdf8;
}

.pain-chip.selected {
    background: #fff7ed;
    border: 1.5px solid var(--lab-orange);
    box-shadow: 0 4px 12px rgba(212, 85, 0, 0.12);
}

.pain-chip.selected .pain-chip-code {
    color: #c2410c;
}

.pain-chip.selected .pain-chip-label {
    color: #7c2d12;
    font-weight: 700;
}

.advisor-scale-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 1.1rem;
}

.advisor-scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.74rem;
    color: #475569;
    font-weight: 600;
    margin-top: 0.35rem;
}

.advisor-output-card {
    background: #f8fbff;
    border: 2px solid #93c5fd;
    border-radius: var(--radius-md);
    padding: 1.65rem;
    color: #0f172a;
    box-shadow: 0 12px 30px rgba(0, 45, 137, 0.07);
    position: sticky;
    top: 96px;
}

.advisor-out-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #cbd5e1;
    margin-bottom: 0.9rem;
}

.advisor-kpi-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.advisor-kpi-box {
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
}

.advisor-kpi-box.kpi-emerald {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
}

.advisor-kpi-box.kpi-blue {
    background: #eff6ff;
    border: 1px solid #93c5fd;
}

.advisor-kpi-label {
    font-size: 0.67rem;
    text-transform: uppercase;
    font-weight: 800;
}

.advisor-kpi-val {
    font-size: 1.12rem;
    font-weight: 800;
    margin-top: 0.1rem;
}

.advisor-modules-list {
    list-style: none;
    font-size: 0.82rem;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 1rem;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}

.advisor-roadmap-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.85rem;
    margin-bottom: 0.95rem;
}

.advisor-roadmap-steps {
    font-size: 0.79rem;
    color: #1e293b;
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    line-height: 1.45;
}

.advisor-plan-box {
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-left: 4px solid #D45500;
    padding: 0.75rem 0.95rem;
    border-radius: 8px;
    margin-bottom: 0.9rem;
}

/* ── INTERACTIVE PRICING & ROI CONFIGURATOR ── */
.configurator-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.25rem;
    align-items: start;
}

.configurator-grid > * {
    min-width: 0;
    max-width: 100%;
}

.plans-selector-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
}

.infra-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.plan-option-card {
    background: #ffffff;
    border: 2px solid var(--surface-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 0;
}

.plan-option-card:hover {
    border-color: #93c5fd;
}

.plan-option-card.active {
    border-color: var(--dmc-navy);
    background: #f8fbff;
    box-shadow: 0 10px 28px rgba(0, 45, 137, 0.12);
}

.plan-option-card .plan-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.38rem;
    font-weight: 800;
    color: var(--dmc-navy);
    margin: 0.4rem 0;
}

.summary-quote-card {
    background: var(--dmc-navy-950);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.1rem;
    border: 1px solid rgba(0, 181, 238, 0.3);
    position: sticky;
    top: 90px;
    box-shadow: var(--shadow-elevated);
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.summary-quote-card .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    word-break: break-word;
}

/* ── DATA TABLES FOR TARIFFE & HOSTING ── */
.tariffe-tables-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.65rem;
    margin-top: 2rem;
}

.tariff-box {
    background: #ffffff;
    border: 1px solid var(--surface-200);
    border-radius: var(--radius-md);
    overflow-x: auto;
    box-shadow: var(--shadow-soft);
    min-width: 0;
    max-width: 100%;
}

.tariff-box-header {
    background: var(--dmc-navy-900);
    color: #ffffff;
    padding: 1.1rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--lab-orange);
}

.tariff-box-header h3 {
    font-size: 1.04rem;
    font-weight: 800;
}

.dmc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.dmc-table th {
    background: var(--surface-100);
    color: var(--text-secondary);
    text-align: left;
    padding: 0.75rem 1.25rem;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--surface-200);
}

.dmc-table td {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--surface-100);
    color: var(--text-primary);
}

.dmc-table tr:last-child td {
    border-bottom: none;
}

.dmc-table tr:hover td {
    background: var(--surface-50);
}

.td-price {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--dmc-navy);
    white-space: nowrap;
    text-align: right;
}

/* ── HOSTING & CLOUD CARDS ── */
.hosting-cards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 2.25rem;
}

.hosting-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-top: 3px solid var(--dmc-navy);
    border-radius: 14px;
    padding: 1.35rem 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.hosting-card:hover {
    border-color: #38bdf8;
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 45, 137, 0.1);
}

.hosting-card.featured {
    border: 2px solid var(--lab-orange);
    background: #fffaf5;
}

.hosting-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dmc-navy);
    margin: 0.5rem 0;
}

/* ── CENTRO ASSISTENZA & TRACKING TICKET LIVE ── */
.ticket-hub-grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 2.25rem;
    align-items: start;
}

.ticket-panel-card {
    background: #ffffff;
    border: 1px solid var(--surface-200);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-card);
    border-top: 4px solid var(--dmc-navy);
}

.ticket-panel-card.accent-orange {
    border-top-color: var(--lab-orange);
}

.dmc-form-group {
    margin-bottom: 1.1rem;
}

.dmc-form-group label {
    display: block;
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--dmc-navy-950);
    margin-bottom: 0.4rem;
}

.dmc-input,
.dmc-select,
.dmc-textarea {
    width: 100%;
    padding: 0.78rem 1rem;
    border: 1px solid var(--surface-300);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.89rem;
    color: var(--text-primary);
    background: var(--surface-50);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dmc-input:focus,
.dmc-select:focus,
.dmc-textarea:focus {
    outline: none;
    border-color: var(--dmc-navy);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 45, 137, 0.1);
}

.ticket-steps-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.55rem;
    margin: 1.15rem 0;
}

.ticket-step-pill {
    background: var(--surface-100);
    border: 1px solid var(--surface-200);
    border-radius: 8px;
    padding: 0.6rem 0.65rem;
    text-align: center;
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--text-muted);
}

.ticket-step-pill.done {
    background: #dcfce7;
    border-color: #86efac;
    color: #166534;
}

.ticket-step-pill.current {
    background: #fff7ed;
    border-color: var(--lab-orange);
    color: var(--lab-orange);
    box-shadow: 0 0 0 2px rgba(212, 85, 0, 0.15);
}

/* ── GDPR COOKIE CONSENT BANNER ── */
.dmc-cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 1180px;
    margin: 0 auto;
    background: rgba(2, 8, 23, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #f8fafc;
    border: 1px solid rgba(0, 181, 238, 0.4);
    border-left: 5px solid var(--lab-orange);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.65rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.dmc-cookie-banner.show {
    display: flex;
}

.dmc-cookie-text {
    max-width: 780px;
    flex: 1 1 480px;
}

.dmc-cookie-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.94rem;
    color: #ffffff;
    margin-bottom: 0.22rem;
}

.dmc-cookie-desc {
    font-size: 0.81rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.48;
}

.dmc-cookie-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.dmc-cookie-actions #btnCookieEssential {
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.dmc-cookie-actions #btnCookieEssential:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #70e2ff;
}

/* ============================================================================
   VISUAL INTERLUDE BANNERS & ATMOSPHERIC DEPTH OVERLAYS
   ============================================================================ */
.visual-interlude-banner {
    position: relative;
    padding: 4.25rem 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    overflow: hidden;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.visual-interlude-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.84) 55%, rgba(15, 23, 42, 0.76) 100%);
    z-index: 1;
}

.visual-interlude-banner .container {
    position: relative;
    z-index: 2;
}

.interlude-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
}

@media (max-width: 960px) {
    .interlude-grid {
        grid-template-columns: 1fr;
    }
}

.interlude-card-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 1.65rem;
    color: #f8fafc;
}


/* ── FOOTER ── */
.site-footer {
    background: var(--dmc-navy-950);
    color: #94a3b8;
    padding: 4rem 0 2.25rem 0;
    border-top: 4px solid var(--lab-orange);
    font-size: 0.86rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.25fr;
    gap: 2.25rem;
    padding-bottom: 2.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.98rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--tech-cyan-glow);
}

.footer-mobile-only {
    display: none;
}

/* ── CLASSIC CASE STUDIES IN HOME (4 + 5 DESKTOP -> 2 COLUMNS TITLE-ONLY ON MOBILE) ── */
.classic-cases-grid {
    display: grid;
    width: 100%;
    max-width: 100%;
}

.classic-cases-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
    margin-bottom: 1.5rem;
}

.classic-cases-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}

.classic-case-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.6rem 1.45rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
    min-width: 0;
}

.classic-case-card-sm {
    padding: 1.45rem 1.3rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.035);
}

.classic-case-logo-wrap {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.95rem;
    padding: 0.35rem;
}

/* ── MULTI-LEVEL DIAGNOSTIC ADVISOR (/AI) BUTTONS ── */
.diag-sector-btn,
.diag-dept-btn {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.81rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: all 0.18s ease;
    line-height: 1.35;
}

.diag-sector-btn:hover,
.diag-dept-btn:hover {
    background: #eff6ff;
    border-color: #38bdf8;
    color: var(--dmc-navy);
}

.diag-sector-btn.active {
    background: #e0f2fe;
    border-color: #0284c7;
    color: #002D89;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.16);
}

.diag-dept-btn.active {
    background: #ffedd5;
    border-color: var(--lab-orange);
    color: #9a3412;
    box-shadow: 0 4px 12px rgba(212, 85, 0, 0.15);
}

/* ── RESPONSIVE BREAKPOINTS ── */
@media (max-width: 1220px) {
    .hosting-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .quad-grid,
    .quad-grid-5,
    .quad-grid-3,
    .trust-cases-grid,
    .lab-modules-8-grid,
    .home-bento-modules-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .brand-logo-img {
        height: 46px;
    }
}

@media (max-width: 1024px) {
    .hero-grid,
    .page-hero-grid,
    .advisor-grid,
    .configurator-grid,
    .tariffe-tables-grid,
    .ticket-hub-grid,
    .advernova-pricing-grid,
    .adv-screens-grid {
        grid-template-columns: 1fr;
    }
    .portal-hub-grid,
    .consulting-grid,
    .pillars-grid {
        grid-template-columns: 1fr 1fr;
    }
    .classic-cases-grid-4,
    .classic-cases-grid-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* ── COMPACT SINGLE-LINE TOP BAR ON TABLET & MOBILE ── */
    .top-status-bar {
        padding: 0.32rem 0;
        font-size: 0.72rem;
    }
    .top-status-inner {
        justify-content: center;
        gap: 0.5rem;
    }
    .status-pill-live {
        display: none;
    }
    .top-links {
        width: 100%;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 0.5rem;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .top-links::-webkit-scrollbar {
        display: none;
    }
    .top-links a {
        white-space: nowrap;
        font-size: 0.72rem;
    }
    .top-links a[href*="advernova.it"],
    .top-links a[href*="admin.php"] {
        display: none;
    }

    /* ── SINGLE-ROW STICKY HEADER ON TABLET & MOBILE ── */
    .site-navbar {
        padding: 0.42rem 0;
    }
    .navbar-inner {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .brand-logo-img {
        height: 40px;
    }
    .nav-cta-group {
        order: 2;
        margin-left: auto;
        gap: 0.4rem;
    }
    .nav-cta-ticket {
        display: none;
    }
    .nav-cta-config {
        padding: 0.42rem 0.78rem;
        font-size: 0.75rem;
    }
    .nav-mobile-toggle {
        display: inline-flex;
        order: 3;
        width: 38px;
        height: 38px;
    }
    .nav-mobile-only-item {
        display: block;
    }

    /* ── CLEAN LIGHT MOBILE DRAWER MENU (HIGH CONTRAST) ── */
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        order: 4;
        background: #ffffff;
        border: 1px solid #cbd5e1;
        border-top: 3px solid var(--dmc-navy);
        border-radius: 12px;
        padding: 0.65rem;
        margin-top: 0.45rem;
        gap: 0.25rem;
        max-height: calc(100vh - 115px);
        overflow-y: auto;
        box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
    }
    .nav-menu.mobile-open {
        display: flex;
    }
    .nav-menu > li > a {
        width: 100%;
        justify-content: space-between;
        color: #0f172a;
        padding: 0.6rem 0.75rem;
        font-size: 0.88rem;
        border-radius: 8px;
    }
    .nav-dropdown-panel,
    .nav-dropdown-panel.nav-dropdown-wide {
        position: static;
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-left: 3px solid var(--dmc-navy);
        border-radius: 10px;
        padding: 0.55rem;
        margin-top: 0.25rem;
        display: none;
    }
    .nav-dropdown-panel::before {
        display: none;
    }
    .nav-has-dropdown.open > .nav-dropdown-panel {
        display: block;
    }
}

@media (max-width: 680px) {
    .hero-metrics-strip,
    .plans-selector-grid,
    .infra-options-grid,
    .pain-chips-grid,
    .portal-hub-grid,
    .consulting-grid,
    .pillars-grid,
    .quad-grid,
    .trust-cases-grid,
    .lab-modules-8-grid,
    .home-bento-modules-grid,
    .hosting-cards-grid,
    .ticket-steps-bar,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* ── 2-COLUMN COMPACT VERTICAL SUITES & DAMC PROJECTS ON MOBILE (/soluzioni-verticali) ── */
    .quad-grid-5,
    .quad-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.65rem !important;
        margin-bottom: 2rem !important;
    }
    #verticali-lab .quad-card {
        padding: 0.85rem 0.65rem !important;
        border-radius: 12px !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    #verticali-lab .quad-card .card-undraw-thumb {
        height: 48px !important;
        margin-bottom: 0.4rem !important;
        padding: 0 !important;
    }
    #verticali-lab .quad-card .card-undraw-thumb img {
        max-height: 40px !important;
        max-width: 90% !important;
    }
    #verticali-lab .quad-card .consulting-tag {
        font-size: 0.56rem !important;
        padding: 0.18rem 0.42rem !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        word-break: break-word;
    }
    #verticali-lab .quad-card h4 {
        font-size: 0.82rem !important;
        line-height: 1.25 !important;
        margin: 0.35rem 0 0.25rem 0 !important;
        word-break: break-word;
    }
    #verticali-lab .quad-card p {
        font-size: 0.72rem !important;
        line-height: 1.32 !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0 !important;
    }

    /* ── COMPACT PRICING CONFIGURATOR & SUMMARY CARD ON MOBILE (/tariffe-listino) ── */
    .license-mode-btn {
        width: 100% !important;
        white-space: normal !important;
        text-align: center !important;
        line-height: 1.3 !important;
        padding: 0.65rem 0.85rem !important;
        font-size: 0.79rem !important;
    }
    .plan-option-card {
        padding: 1rem !important;
    }
    .plan-option-card .plan-price {
        font-size: 1.18rem !important;
    }
    .summary-quote-card {
        position: static !important;
        padding: 1.15rem 1rem !important;
        border-radius: 14px !important;
    }
    #quote-plan-name {
        font-size: 1.08rem !important;
        line-height: 1.25 !important;
        word-break: break-word;
    }
    #quote-software-price {
        font-size: 1.35rem !important;
    }
    .summary-quote-card div[style*="justify-content:space-between"] {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    .dmc-table th,
    .dmc-table td {
        padding: 0.55rem 0.65rem !important;
        font-size: 0.75rem !important;
    }
    .sandbox-stage {
        min-height: 360px;
        padding: 0.85rem;
    }
    .hero-value-banner {
        grid-template-columns: 1fr !important;
    }
    .hero-section {
        padding: 1.75rem 0 2.5rem 0;
    }
    .hero-brand-bar {
        gap: 0.75rem !important;
        margin-bottom: 0.85rem !important;
        padding-bottom: 0.65rem !important;
    }
    .hero-brand-bar img {
        height: 28px !important;
    }
    .hero-brand-bar span {
        height: 20px !important;
    }
    .hero-title {
        font-size: 1.68rem;
        margin-bottom: 0.75rem;
    }
    .hero-lead {
        font-size: 0.92rem;
        margin-bottom: 1.15rem;
    }

    /* ── COMPACT & HIGH-CONTRAST DIAGNOSTIC ADVISOR ON MOBILE ── */
    .advisor-box {
        padding: 1rem !important;
        border-radius: 14px !important;
    }
    .advisor-steps-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.45rem !important;
        margin-bottom: 1rem !important;
        padding-bottom: 0.85rem !important;
    }
    .advisor-step-box {
        padding: 0.45rem 0.6rem !important;
    }
    .advisor-step-num {
        font-size: 0.6rem !important;
    }
    .advisor-step-title {
        font-size: 0.74rem !important;
    }
    .advisor-level-block {
        margin-bottom: 1rem !important;
    }
    .advisor-level-head h3 {
        font-size: 0.86rem !important;
    }
    .advisor-level-sub {
        display: none !important;
    }
    .diag-sectors-grid,
    .diag-depts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.42rem !important;
    }
    .diag-sector-btn,
    .diag-dept-btn {
        padding: 0.5rem 0.55rem !important;
        font-size: 0.73rem !important;
        line-height: 1.25 !important;
    }
    .pain-chips-grid {
        grid-template-columns: 1fr !important;
        gap: 0.45rem !important;
        max-height: 250px;
        overflow-y: auto;
        padding-right: 4px;
    }
    .pain-chip {
        padding: 0.6rem 0.75rem !important;
        gap: 0.22rem !important;
    }
    .pain-chip-label {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
    }
    .advisor-scale-card {
        padding: 0.85rem !important;
    }
    .advisor-scale-labels {
        font-size: 0.66rem !important;
    }
    .advisor-output-card {
        position: static !important;
        padding: 1rem !important;
    }
    .advisor-kpi-val {
        font-size: 0.96rem !important;
    }
    .advisor-modules-list {
        font-size: 0.76rem !important;
        max-height: 165px !important;
    }
    .advisor-roadmap-box {
        padding: 0.65rem !important;
    }
    .advisor-roadmap-steps {
        font-size: 0.74rem !important;
    }

    /* ── 2-COLUMN TITLE-ONLY CASE STUDIES ON MOBILE (ZERO OVERFLOW) ── */
    .classic-cases-grid-4,
    .classic-cases-grid-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.65rem !important;
        margin-bottom: 0.85rem !important;
    }
    .classic-case-card,
    .classic-case-card-sm {
        padding: 0.85rem 0.65rem !important;
        border-radius: 12px !important;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    .classic-case-logo-wrap {
        height: 48px !important;
        margin-bottom: 0.45rem !important;
        padding: 0 !important;
    }
    .classic-case-logo-wrap img {
        max-height: 40px !important;
        max-width: 88% !important;
    }
    .classic-case-title {
        font-size: 0.84rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.25rem !important;
        word-break: break-word;
    }
    .classic-case-tag {
        font-size: 0.58rem !important;
        padding-bottom: 2px !important;
        margin-bottom: 0 !important;
    }
    .classic-case-sector,
    .classic-case-desc,
    .classic-case-bottom,
    .classic-case-extra {
        display: none !important;
    }

    /* Also make /case-history archive cards 2-columns title-only on mobile */
    #case-history-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.65rem !important;
    }
    #case-history-grid .case-study-item {
        padding: 0.8rem 0.6rem !important;
        text-align: center;
        min-width: 0;
    }
    #case-history-grid .case-study-item > div > div:first-child {
        height: 54px !important;
        margin-bottom: 0.45rem !important;
    }
    #case-history-grid .case-study-item > div > div:first-child img {
        max-height: 44px !important;
    }
    #case-history-grid .case-study-item .consulting-card-head {
        justify-content: center;
        margin-bottom: 0.25rem;
    }
    #case-history-grid .case-study-item .consulting-card-head span:last-child,
    #case-history-grid .case-study-item p,
    #case-history-grid .case-study-item .pillar-tags,
    #case-history-grid .case-study-item .trust-case-metric {
        display: none !important;
    }
    #case-history-grid .case-study-item h3 {
        font-size: 0.82rem !important;
        line-height: 1.25 !important;
        margin: 0 !important;
        word-break: break-word;
    }

    /* ── SIMPLIFIED COMPACT MOBILE FOOTER ── */
    .site-footer {
        padding: 2rem 0 1.35rem 0;
        font-size: 0.78rem;
    }
    .footer-grid {
        gap: 1.25rem;
        padding-bottom: 1.25rem;
    }
    .footer-hide-mobile {
        display: none !important;
    }
    .footer-mobile-only {
        display: inline !important;
    }
    .footer-brand-logos {
        gap: 0.85rem !important;
        margin-bottom: 0.55rem !important;
    }
    .footer-brand-logos img:first-child {
        height: 36px !important;
    }
    .footer-brand-logos img:not(:first-child) {
        height: 24px !important;
    }
    .footer-brand-desc {
        margin-bottom: 0.35rem !important;
        font-size: 0.82rem;
    }
    .footer-fiscal-info {
        font-size: 0.69rem !important;
        line-height: 1.45;
    }
    .footer-col h4 {
        font-size: 0.86rem;
        margin-bottom: 0.55rem;
        color: #e2e8f0;
    }
    .footer-links-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.42rem 0.65rem;
    }
    .footer-links-nav a {
        font-size: 0.77rem;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .footer-contact-list {
        gap: 0.45rem !important;
        font-size: 0.78rem;
    }
    .footer-bottom-bar {
        padding-top: 0.9rem !important;
        font-size: 0.72rem !important;
        gap: 0.45rem !important;
        justify-content: center !important;
        text-align: center;
    }

    /* ── ULTRA-COMPACT COOKIE MODAL ON MOBILE ── */
    .dmc-cookie-banner {
        bottom: 8px;
        left: 8px;
        right: 8px;
        padding: 0.7rem 0.85rem;
        gap: 0.5rem;
        border-radius: 12px;
        border-left-width: 4px;
    }
    .dmc-cookie-text {
        flex: 1 1 100%;
    }
    .dmc-cookie-title {
        font-size: 0.79rem;
        margin-bottom: 0.1rem;
    }
    .dmc-cookie-desc {
        font-size: 0.71rem;
        line-height: 1.32;
    }
    .cookie-hide-mobile {
        display: none;
    }
    .dmc-cookie-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }
    .dmc-cookie-actions .btn {
        width: 100%;
        padding: 0.42rem 0.5rem;
        font-size: 0.74rem;
    }
    .dmc-cookie-actions #btnCookieEssential {
        background: rgba(255, 255, 255, 0.12) !important;
        color: #f8fafc !important;
        border: 1px solid rgba(255, 255, 255, 0.28) !important;
    }
}

/* ── PAGINATION BAR FOR /CASE-HISTORY ── */
.case-pagination-bar {
    display: flex;
    align-items: center;
    gap: 0.38rem;
    flex-wrap: wrap;
}

.case-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.65rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #071633;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.16s ease;
}

.case-page-btn:hover:not(:disabled) {
    background: #e0f2fe;
    border-color: #0284c7;
    color: #002d89;
}

.case-page-btn.active {
    background: var(--dmc-navy);
    border-color: var(--dmc-navy);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 45, 137, 0.22);
}

.case-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

