/* ==========================================================================
   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.
   This is a lean hub (mirrors platform.html): hero, intro, a 5-card grid to
   the practice areas, a "how we work" strip, and a closing CTA band. Detailed
   Consulting-service content (expertise grid, benefits, consultation CTA)
   lives on consulting.html, not here.
   ========================================================================== */

/* ---- Hero visual: connected practice-area pipeline (2026-08-17, Track B
   Cluster A; frame+fill fix 2026-08-17) — 5 nodes (Consulting, Software
   Development, Mobile Applications, Cloud Solutions, Business Intelligence
   Solutions), grounded in the page's own copy: "From strategic advice
   through to delivery" is literally sequential language, not a wheel.
   This is the "linear connected pipeline" member of Cluster A's four
   distinct multi-node layouts (see docs/known-issues.md) — deliberately
   rounded-square nodes with a single connecting line, distinct from
   Solutions' equal-weight labeled grid, AI Automation's dense unlabeled
   chip grid, and Enterprise Industries' radial wheel.

   Frame+fill fix: the first build (thin horizontal row pinned to 50%
   vertical center) was missing the site's established bordered-frame
   convention (every hero-visual fallback — .da-hero-mockup-window on
   Prime/Pulse/platform.html/sitemap.html, or the plainer full-size
   -card-main glass panel on the original Cluster A pages) and only
   occupied a ~42px sliver of a ~230px-tall frame, same underfill pattern
   platform.html/request-demo.html had. Fixed both at once: re-added a
   full-size bordered frame (.ithv-frame, matching the original -card-main
   shape), and changed the 5 nodes from a flat row to a zigzag (alternating
   ~30%/~65% vertical position, connected by an SVG polyline so the path
   is exact regardless of rendered size — the box's aspect-ratio is CSS-
   locked, so a viewBox computed against one reference size stays correct
   at every size), which uses ~35% of the frame's actual height instead of
   a single central line. Short labels added under each node (real
   practice-area names) add real content in the vertical space the zigzag
   opens up, rather than empty padding. ---- */

.ithv-fallback {
    position: absolute;
    inset: 0;
}

.ithv-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);
    padding: 1.5rem;
}

.ithv-connector-svg {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
}

.ithv-connector-svg polyline {
    fill: none;
    stroke: color-mix(in srgb, var(--accent, var(--da-teal-400)) 45%, transparent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ithv-pipeline {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
}

.ithv-step {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.ithv-node {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--da-navy-700);
    border: 1px solid var(--accent, var(--da-teal-400));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: var(--accent, var(--da-teal-400));
}

.ithv-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: color-mix(in srgb, var(--da-white) 70%, transparent);
    white-space: nowrap;
}

/* ---- Shared section label / title pattern ---- */

/* ---- Who We Help ---- */

.itc-intro {
    padding: 70px 0 20px;
    background: var(--da-white);
}

/* ---- Practice Areas: 5-card grid to the service pages ---- */

.itc-services {
    padding: 60px 0;
    background: var(--da-gray-100);
}

.itc-service-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--da-navy-900);
    margin-bottom: 0.5rem;
}

.itc-service-text {
    font-size: 0.95rem;
    color: var(--da-gray-500);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* CTA variant: the closing "not sure where to start" card — same shape as a
   service card but visually distinct (dashed border, navy icon) so it doesn't
   read as a 6th practice area. */

.itc-service-card-cta {
    border-style: dashed;
    background: var(--da-navy-50);
}

.itc-service-card-cta .itc-service-icon {
    background: var(--da-navy-700);
}

.itc-service-card-cta:hover {
    border-color: var(--da-navy-700);
}

/* ---- How We Work ---- */

.itc-approach {
    padding: 60px 0 70px;
    background: var(--da-white);
}

.itc-approach-text {
    font-size: 1.05rem;
    color: var(--da-gray-500);
    line-height: 1.7;
    width: 100%;
    margin-bottom: 2rem;
}

.itc-approach-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--da-gray-100);
    border: 1.5px solid rgba(1, 76, 67, 0.3);
    color: var(--da-navy-900);
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.itc-approach-chip i {
    color: var(--da-teal-600);
    transition: color 0.25s ease;
}

.itc-approach-chip:hover {
    background: var(--da-teal-600);
    border-color: var(--da-teal-600);
    color: var(--da-white);
    transform: translateY(-2px);
}

.itc-approach-chip:hover i {
    color: var(--da-white);
}

/* ---- Closing CTA band ---- */

.itc-cta-band {
    background: var(--da-navy-700);
    padding: 60px 0;
}

.itc-cta-content {
    text-align: center;
    color: var(--da-white);
}

/* ---- Responsive ---- */

@media (max-width: 991.98px) {

    .itc-hero-title {
        font-size: 2.1rem;
    }

    .itc-hero-visual {
        max-width: 380px;
        margin-top: 1rem;
    }

    .itc-section-title {
        font-size: 1.65rem;
    }
}

@media (max-width: 575.98px) {
    .itc-hero-title {
        font-size: 1.75rem;
    }

    .itc-section-title {
        font-size: 1.5rem;
    }

    .itc-service-card {
        padding: 1.75rem;
    }

    .itc-cta-title {
        font-size: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .itc-service-card,
    .itc-approach-chip,
    .itc-cta-actions a {
        transition: none;
    }

    .itc-service-card:hover,
    .itc-approach-chip:hover,
    .itc-cta-actions a:hover {
        transform: none;
    }
}