/* ==========================================================================
   Automation (AI child page of the Resources hub)
   Uses tokens from css/brand-v1.6.css. Master-brand / cross-platform page,
   so accents stay Navy + Teal — never Indigo or Coral here, even though
   the content is entirely about DataArtha Pulse's workflow and process
   automation; the Resources section itself is cross-platform navigation,
   not inside the Pulse product UI.
   ========================================================================== */

/* ---- Hero visual: dense module-coverage grid (2026-08-17, Track B
   Cluster A) — 9 small unlabeled chips, one per real Pulse module named in
   this page's own subtitle (procurement, quality, processing, packaging,
   inventory, warehouse, sales, logistics, customers), each carrying a tiny
   lightning "auto" badge. This is the "dense unlabeled chip grid" member
   of Cluster A's four distinct multi-node layouts (see
   docs/known-issues.md) — smaller cells and no text labels, deliberately
   distinct from Solutions hub's larger labeled 2x3 tile grid.

   Frame+fill fix (2026-08-17): added the missing enclosing .authv-frame
   (matching the site's established hero-visual convention — see
   it-consulting.css's comment for the full writeup). The grid already
   filled a reasonable 72% of the box (inset:14%), so no resize was
   needed, only the outer border. ---- */

.authv-fallback {
    position: absolute;
    inset: 0;
}

.authv-frame {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    backdrop-filter: blur(6px);
}

.authv-grid {
    position: absolute;
    inset: 14%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0.5rem;
}

.authv-chip {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: color-mix(in srgb, var(--da-white) 55%, transparent);
}

.authv-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.55rem;
    color: var(--da-white);
    background: var(--accent, var(--da-teal-600));
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Shared section label / title pattern ---- */

/* ---- Overview ---- */

.aut-intro {
    padding: 70px 0 20px;
    background: var(--da-white);
}

/* ---- Where Automation Helps Most ---- */

.aut-capabilities {
    padding: 60px 0;
    background: var(--da-gray-100);
}

.aut-capability-text {
    font-size: 0.95rem;
    color: var(--da-gray-500);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---- Benefits + Demo CTA ---- */

.aut-benefits {
    padding: 70px 0;
    background: var(--da-white);
}

.aut-consult-text {
    font-size: 0.98rem;
    color: var(--da-gray-500);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ---- Other industries ---- */

.aut-related {
    padding: 60px 0 70px;
    background: var(--da-gray-100);
}

/* ---- Closing CTA band ---- */

.aut-cta-band {
    background: var(--da-navy-700);
    padding: 60px 0;
}

.aut-cta-content {
    text-align: center;
    color: var(--da-white);
}

/* ---- Responsive ---- */

@media (max-width: 991.98px) {

    .aut-hero-title {
        font-size: 2.1rem;
    }

    .aut-hero-visual {
        max-width: 380px;
        margin-top: 1rem;
    }

    .aut-section-title {
        font-size: 1.65rem;
    }

    .aut-consult-card {
        margin-top: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .aut-hero-title {
        font-size: 1.75rem;
    }

    .aut-section-title {
        font-size: 1.5rem;
    }

    .aut-capability-card,
    .aut-related-card {
        padding: 1.75rem;
    }

    .aut-consult-card {
        padding: 2rem 1.5rem;
    }

    .aut-cta-title {
        font-size: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aut-capability-card,
    .aut-related-card,
    .aut-consult-cta,
    .aut-cta-actions a {
        transition: none;
    }

    .aut-capability-card:hover,
    .aut-related-card:hover,
    .aut-consult-cta:hover,
    .aut-cta-actions a:hover {
        transform: none;
    }
}
