/* ==========================================================================
   Fresh Food Supply Chain (industry 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; the Resources section
   itself is cross-platform navigation, not inside the Pulse product UI.
   ========================================================================== */

/* ---- Hero visual: farm-to-shelf conveyor journey (2026-08-17, Track B
   Cluster A; frame+fill fix 2026-08-17) — 5 round waypoints (farm,
   processing, packaging, cold storage, shelf) on a connecting line, the
   cold-storage stop tinted blue for the freshness accent. Round nodes,
   distinct from Agriculture & Export's diamond waypoints — see
   docs/known-issues.md for why the two "journey" pages needed different
   node shapes, not just different icons.

   Frame+fill fix: the first build pinned all 5 stops to a flat line at
   top:50% — a ~36px sliver in a ~230px-tall frame, no enclosing border.
   Fixed the same way as it-consulting.html's pipeline / solutions-supply-
   chain-visibility.html's chain (see it-consulting.css's comment for the
   full writeup): added a full-size bordered .ifschv-frame, changed the
   flat row to a zigzag connected by an SVG polyline, and added short
   labels under each stop using the real stage names instead of empty
   vertical space. ---- */

.ifschv-fallback {
    position: absolute;
    inset: 0;
}

.ifschv-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;
}

.ifschv-line-svg {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
}

.ifschv-line-svg polyline {
    fill: none;
    stroke: color-mix(in srgb, var(--da-white) 18%, transparent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ifschv-journey {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
}

.ifschv-step {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.ifschv-stop {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--da-navy-700);
    border: 1.5px solid var(--accent, var(--da-teal-400));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--accent, var(--da-teal-400));
}

.ifschv-stop--cold {
    border-color: #6FD1E8;
    color: #6FD1E8;
}

.ifschv-label {
    font-size: 0.58rem;
    font-weight: 600;
    color: color-mix(in srgb, var(--da-white) 70%, transparent);
    white-space: nowrap;
}

/* ---- Shared section label / title pattern ---- */

/* ---- Overview ---- */

.ifsc-intro {
    padding: 70px 0 20px;
    background: var(--da-white);
}

/* ---- Where DataArtha Pulse Helps Most ---- */

.ifsc-expertise {
    padding: 60px 0;
    background: var(--da-gray-100);
}

/* ---- Benefits + Demo CTA ---- */

.ifsc-benefits {
    padding: 70px 0;
    background: var(--da-white);
}

.ifsc-consult-text {
    font-size: 0.98rem;
    color: var(--da-gray-500);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ---- Other industries ---- */

.ifsc-related {
    padding: 60px 0 70px;
    background: var(--da-gray-100);
}

/* ---- Closing CTA band ---- */

.ifsc-cta-band {
    background: var(--da-navy-700);
    padding: 60px 0;
}

.ifsc-cta-content {
    text-align: center;
    color: var(--da-white);
}

/* ---- Responsive ---- */

@media (max-width: 991.98px) {

    .ifsc-hero-title {
        font-size: 2.1rem;
    }

    .ifsc-hero-visual {
        max-width: 380px;
        margin-top: 1rem;
    }

    .ifsc-section-title {
        font-size: 1.65rem;
    }

    .ifsc-consult-card {
        margin-top: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .ifsc-hero-title {
        font-size: 1.75rem;
    }

    .ifsc-section-title {
        font-size: 1.5rem;
    }

    .ifsc-expertise-card,
    .ifsc-related-card {
        padding: 1.75rem;
    }

    .ifsc-consult-card {
        padding: 2rem 1.5rem;
    }

    .ifsc-cta-title {
        font-size: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ifsc-expertise-card,
    .ifsc-related-card,
    .ifsc-consult-cta,
    .ifsc-cta-actions a {
        transition: none;
    }

    .ifsc-expertise-card:hover,
    .ifsc-related-card:hover,
    .ifsc-consult-cta:hover,
    .ifsc-cta-actions a:hover {
        transform: none;
    }
}
