/* ==========================================================================
   Agriculture & Export (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-port route with diamond waypoints (2026-08-17,
   Track B Cluster A; frame+fill fix 2026-08-17) — 4 rotated-square
   waypoints (farm, quality/export compliance, packaging, port) ending in
   a solid accent diamond, a literal read of this page's own headline
   ("from the farm to the export shipment, one connected view"). Diamond
   waypoints, deliberately distinct from Fresh Food Supply Chain's round
   nodes — 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 4 waypoints to a flat line
   at top:50% — a ~32px sliver in a ~230px-tall frame, no enclosing
   border. Fixed the same way as it-consulting.html's pipeline / the other
   "journey" Industries pages (see it-consulting.css's comment for the
   full writeup): added a full-size bordered .iaehv-frame, changed the
   flat row to a zigzag connected by an SVG polyline, and added short
   labels under each waypoint using the real stage names instead of empty
   vertical space. ---- */

.iaehv-fallback {
    position: absolute;
    inset: 0;
}

.iaehv-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;
}

.iaehv-route-svg {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
}

.iaehv-route-svg polyline {
    fill: none;
    stroke: color-mix(in srgb, var(--da-white) 18%, transparent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.iaehv-route {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
}

.iaehv-step {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.iaehv-waypoint {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    background: var(--da-navy-700);
    border: 1.5px solid var(--accent, var(--da-teal-400));
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.iaehv-waypoint i {
    transform: rotate(-45deg);
    font-size: 0.85rem;
    color: var(--accent, var(--da-teal-400));
}

.iaehv-waypoint--end {
    background: var(--accent, var(--da-teal-600));
    border-color: var(--accent, var(--da-teal-600));
}

.iaehv-label {
    font-size: 0.58rem;
    font-weight: 600;
    color: color-mix(in srgb, var(--da-white) 70%, transparent);
    white-space: nowrap;
}

.iaehv-waypoint--end i {
    color: var(--da-white);
}

/* ---- Shared section label / title pattern ---- */

/* ---- Overview ---- */

.iae-intro {
    padding: 70px 0 20px;
    background: var(--da-white);
}

/* ---- Where DataArtha Pulse Helps Most ---- */

.iae-expertise {
    padding: 60px 0;
    background: var(--da-gray-100);
}

/* ---- Benefits + Demo CTA ---- */

.iae-benefits {
    padding: 70px 0;
    background: var(--da-white);
}

.iae-consult-text {
    font-size: 0.98rem;
    color: var(--da-gray-500);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ---- Other industries ---- */

.iae-related {
    padding: 60px 0 70px;
    background: var(--da-gray-100);
}

/* ---- Closing CTA band ---- */

.iae-cta-band {
    background: var(--da-navy-700);
    padding: 60px 0;
}

.iae-cta-content {
    text-align: center;
    color: var(--da-white);
}

/* ---- Responsive ---- */

@media (max-width: 991.98px) {

    .iae-hero-title {
        font-size: 2.1rem;
    }

    .iae-hero-visual {
        max-width: 380px;
        margin-top: 1rem;
    }

    .iae-section-title {
        font-size: 1.65rem;
    }

    .iae-consult-card {
        margin-top: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .iae-hero-title {
        font-size: 1.75rem;
    }

    .iae-section-title {
        font-size: 1.5rem;
    }

    .iae-expertise-card,
    .iae-related-card {
        padding: 1.75rem;
    }

    .iae-consult-card {
        padding: 2rem 1.5rem;
    }

    .iae-cta-title {
        font-size: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .iae-expertise-card,
    .iae-related-card,
    .iae-consult-cta,
    .iae-cta-actions a {
        transition: none;
    }

    .iae-expertise-card:hover,
    .iae-related-card:hover,
    .iae-consult-cta:hover,
    .iae-cta-actions a:hover {
        transform: none;
    }
}
