/* ==========================================================================
   Consulting (child page of the IT Consulting hub) page-specific styles
   Uses tokens from css/brand-v1.6.css. Master-brand / cross-platform page,
   so accents stay Navy + Teal — never Indigo or Coral here.
   ========================================================================== */

/* ---- Hero visual: branching path converging to one route (2026-08-17,
   Track B Cluster A; frame+fill fix 2026-08-17) — a literal decision-tree
   diagram of this page's own headline (align technology decisions with
   what the business needs, real experience over theory). Three candidate
   paths, one accent-colored and chosen, converging to a single decision
   point, followed by a short "plan" indicator.

   Frame+fill fix: re-added the full-size bordered frame (.chv-frame,
   matching the site's established hero-visual convention — see
   it-consulting.css's comment for the full writeup) and widened the
   branches so the convergence point moved from left:53% (leaving the
   right ~45% of the frame empty) to left:64%, plus added .chv-plan (2
   short lines standing for "the recommendation") to use the remaining
   right portion with real content instead of empty space. ---- */

.chv-fallback {
    position: absolute;
    inset: 0;
}

.chv-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);
}

.chv-decision {
    position: absolute;
    inset: 0;
}

.chv-branch {
    position: absolute;
    left: 12%;
    width: 50%;
    height: 2px;
    background: color-mix(in srgb, var(--da-white) 20%, transparent);
    transform-origin: left center;
}

.chv-branch--a {
    top: 28%;
    transform: rotate(20deg);
}

.chv-branch--b {
    top: 50%;
}

.chv-branch--c {
    top: 72%;
    transform: rotate(-20deg);
}

.chv-branch--chosen {
    background: var(--accent, var(--da-teal-400));
    height: 3px;
}

.chv-decision-end {
    position: absolute;
    left: 64%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent, var(--da-teal-600));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--da-white);
    box-shadow: 0 8px 20px rgba(8, 25, 47, 0.35);
    z-index: 1;
}

.chv-plan {
    position: absolute;
    left: 80%;
    top: 50%;
    transform: translateY(-50%);
    width: 15%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chv-plan-line {
    height: 6px;
    border-radius: 3px;
    background: color-mix(in srgb, var(--da-white) 22%, transparent);
    width: 100%;
}

.chv-plan-line--short {
    width: 60%;
}

/* ---- Shared section label / title pattern ---- */

/* ---- Overview ---- */

.cons-intro {
    padding: 70px 0 20px;
    background: var(--da-white);
}

/* ---- Consulting Expertise ---- */

.cons-expertise {
    padding: 60px 0;
    background: var(--da-gray-100);
}

/* ---- Benefits + Consultation CTA ---- */

.cons-benefits {
    padding: 70px 0;
    background: var(--da-white);
}

.cons-consult-text {
    font-size: 0.98rem;
    color: var(--da-gray-500);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ---- Related practice areas ---- */

.cons-related {
    padding: 60px 0 70px;
    background: var(--da-gray-100);
}

/* ---- Closing CTA band ---- */

.cons-cta-band {
    background: var(--da-navy-700);
    padding: 60px 0;
}

.cons-cta-content {
    text-align: center;
    color: var(--da-white);
}

/* ---- Responsive ---- */

@media (max-width: 991.98px) {

    .cons-hero-title {
        font-size: 2.1rem;
    }

    .cons-hero-visual {
        max-width: 380px;
        margin-top: 1rem;
    }

    .cons-section-title {
        font-size: 1.65rem;
    }

    .cons-consult-card {
        margin-top: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .cons-hero-title {
        font-size: 1.75rem;
    }

    .cons-section-title {
        font-size: 1.5rem;
    }

    .cons-expertise-card,
    .cons-related-card {
        padding: 1.75rem;
    }

    .cons-consult-card {
        padding: 2rem 1.5rem;
    }

    .cons-cta-title {
        font-size: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cons-expertise-card,
    .cons-related-card,
    .cons-consult-cta,
    .cons-cta-actions a {
        transition: none;
    }

    .cons-expertise-card:hover,
    .cons-related-card:hover,
    .cons-consult-cta:hover,
    .cons-cta-actions a:hover {
        transform: none;
    }
}
