/* =========================================================
   AI Development page — V4
   Applies the design-report items:
     2. Services  : smaller visual, parallel to the left content
     3. CTA       : full-width conversion banner with an AI treatment
     6. Security  : governance loop that explains the controls
   Loaded last, so it only overrides what it needs from V1.
   ========================================================= */

/* =========================================================
   2. SERVICES — smaller visual, aligned with the copy
   ========================================================= */

/* Bootstrap ships `.tab-content > .active { display: block }` (specificity 0,2,0)
   which was beating `.ai-services__panel { display: grid }` (0,1,0). The panel
   was therefore never a grid: the visual stacked on top at full width, which is
   exactly what the report flagged. Restate it with enough specificity. */
.ai-services__panels > .ai-services__panel.active,
.ai-services__panels > .ai-services__panel.show {
    display: grid;
}

/* Match the panel height to the left rail: let the grid row stretch, then
   carry that height down through the tab-content wrapper to the active panel. */
.ai-services__layout { align-items: stretch; }
.ai-services__panels { height: 100%; }
.ai-services__panels > .ai-services__panel.active,
.ai-services__panels > .ai-services__panel.show {
    height: 100%;
    align-content: start;
}

/* Report: "Reduce the current image/visual so it does not dominate the
   section" and "Keep the visual parallel to the left-side content". */
.ai-services__panel {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 40px;
    align-items: start;
    padding: 36px 40px;
}
.ai-services__panel-visual {
    grid-column: 2;
    grid-row: 1;
    max-width: 220px;
    /* line the visual up with the panel heading instead of floating it */
    margin-top: 4px;
    opacity: 0.95;
}
/* motion on selection rather than a constantly busy loop */
.ai-services__panel.show .ai-visual {
    animation: btsn-v4-visual-in 0.55s ease-out both;
}
@keyframes btsn-v4-visual-in {
    from { opacity: 0; transform: translateY(10px) scale(0.97); }
    to   { opacity: 1; transform: none; }
}
.ai-services__panels > .ai-services__panel.tab-pane:not(.show) {
    display: none;
}

/* give the body room now that the visual is narrower */
.ai-services__panel-body {
    grid-column: 1;
    grid-row: 1;
    max-width: 760px;
}

@media (max-width: 1399px) {
    .ai-services__panel { grid-template-columns: minmax(0, 1fr) 190px; gap: 32px; }
    .ai-services__panel-visual { max-width: 190px; }
}
@media (max-width: 1199px) {
    .ai-services__panels { height: auto; }
    .ai-services__panels > .ai-services__panel.active,
    .ai-services__panels > .ai-services__panel.show { height: auto; }
}
@media (max-width: 991px) {
    .ai-services__panel { grid-template-columns: 1fr; }
    .ai-services__panel-visual { grid-column: 1; grid-row: 2; max-width: 220px; margin-top: 0; }
    .ai-services__panel-body { grid-column: 1; grid-row: 1; }
}

/* =========================================================
   3. CTA — full-width conversion banner
   ========================================================= */
.ai-ctaband {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 84px 0;
    background:
        linear-gradient(135deg, #16070C 0%, #0D0E13 48%, #120A14 100%);
    border-top: 1px solid rgba(237, 50, 72, 0.18);
    border-bottom: 1px solid rgba(237, 50, 72, 0.18);
}
.ai-ctaband__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.ai-ctaband__glow {
    position: absolute;
    top: -40%;
    left: 50%;
    width: 1100px;
    height: 620px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(237, 50, 72, 0.26) 0%, rgba(237, 50, 72, 0.08) 44%, transparent 70%);
    filter: blur(10px);
}
.ai-ctaband__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(900px 420px at 50% 50%, transparent 0%, #000 78%);
    -webkit-mask-image: radial-gradient(900px 420px at 50% 50%, transparent 0%, #000 78%);
}
.ai-ctaband__net {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--color-accent);
}
.ai-ctaband__edges path {
    opacity: 0.30;
    stroke-dasharray: 5 7;
    animation: btsn-ai-dash 7s linear infinite;
}
.ai-ctaband__nodes circle { opacity: 0.55; }
.ai-ctaband__nodes circle:nth-child(odd)  { animation: btsn-ai-node 3s ease-in-out infinite; }
.ai-ctaband__nodes circle:nth-child(even) { animation: btsn-ai-node 3s ease-in-out infinite 1.5s; }

.ai-ctaband__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 56px;
    align-items: center;
}
.ai-ctaband__copy { min-width: 0; }
.ai-ctaband__title {
    font-size: 40px;
    line-height: 50px;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--color-text-primary);
    margin: 0 0 14px;
}
.ai-ctaband__text {
    font-size: 17px;
    line-height: 28px;
    color: var(--color-text-secondary);
    max-width: 620px;
    margin: 0 0 22px;
}
.ai-ctaband__points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    padding: 0;
    margin: 0;
}
.ai-ctaband__points li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    line-height: 22px;
    color: var(--color-text-secondary);
}
.ai-ctaband__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(237, 50, 72, 0.16);
}
.ai-ctaband__action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.ai-ctaband__btn {
    height: 52px;
    padding: 0 32px;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(237, 50, 72, 0.32);
}
.ai-ctaband__note {
    font-size: 13px;
    line-height: 18px;
    color: var(--color-text-secondary);
    opacity: 0.8;
}

@media (max-width: 1199px) {
    .ai-ctaband { padding: 68px 0; }
    .ai-ctaband__inner { gap: 36px; }
    .ai-ctaband__title { font-size: 34px; line-height: 44px; }
}
@media (max-width: 991px) {
    .ai-ctaband__inner { grid-template-columns: 1fr; gap: 28px; }
    .ai-ctaband__action { align-items: stretch; }
    .ai-ctaband__btn { justify-content: center; }
}
@media (max-width: 767px) {
    .ai-ctaband { padding: 52px 0; }
    .ai-ctaband__title { font-size: 27px; line-height: 36px; }
    .ai-ctaband__text { font-size: 16px; line-height: 26px; }
    .ai-ctaband__points { flex-direction: column; gap: 8px; }
}

/* =========================================================
   6. SECURITY — governance loop
   ========================================================= */
.ai-govern__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 64px;
    align-items: center;
}

/* ---- numbered control list ---- */
.ai-govern__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ai-govern__item {
    padding: 24px 0 24px 0;
    border-top: 1px solid var(--color-border-card);
    cursor: default;
    transition: opacity 0.3s ease;
    opacity: 0.55;
}
.ai-govern__item:last-child { border-bottom: 1px solid var(--color-border-card); }
.ai-govern__item.is-active { opacity: 1; }
.ai-govern__num {
    display: inline-block;
    padding: 3px 10px;
    margin-bottom: 12px;
    border: 1px solid var(--color-border-card);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 12px;
    line-height: 17px;
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.ai-govern__item.is-active .ai-govern__num {
    border-color: rgba(237, 50, 72, 0.5);
    background: rgba(237, 50, 72, 0.14);
    color: var(--color-accent);
}
.ai-govern__title {
    font-size: 22px;
    line-height: 30px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 8px;
}
.ai-govern__text {
    font-size: 16px;
    line-height: 26px;
    margin: 0;
    max-width: 560px;
}

/* ---- diagram ---- */
.ai-govern__diagram {
    position: relative;
    width: 520px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    color: var(--color-accent);
}
.ai-govern__svg {
    width: 100%;
    height: 100%;
    display: block;
}
.ai-govern__ring { opacity: 0.26; }
.ai-govern__ring-dash {
    opacity: 0.22;
    animation: btsn-ai-dash 22s linear infinite;
}
.ai-govern__pulse { opacity: 0.9; }
.ai-govern__core {
    fill: rgba(237, 50, 72, 0.10);
    stroke: rgba(237, 50, 72, 0.45);
    stroke-width: 1.5;
}
.ai-govern__core-title {
    fill: var(--color-text-primary);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.06em;
}
.ai-govern__core-sub {
    fill: var(--color-text-secondary);
    font-size: 12px;
}
.ai-govern__spokes path { opacity: 0.4; }

/* nodes sit on the ring */
.ai-govern__node {
    position: absolute;
    width: 206px;
    padding: 16px 18px;
    border: 1px solid var(--color-border-card);
    border-radius: 14px;
    background: rgba(17, 18, 23, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-align: left;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.ai-govern__node strong {
    display: block;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--color-text-primary);
    margin: 10px 0 5px;
}
.ai-govern__node span:not(.ai-govern__node-icon) {
    display: block;
    font-size: 12.5px;
    line-height: 18px;
    color: var(--color-text-secondary);
}
.ai-govern__node-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 9px;
    background: rgba(237, 50, 72, 0.14);
    color: var(--color-accent);
}
.ai-govern__node-icon svg { width: 100%; height: 100%; }
.ai-govern__node.is-active {
    border-color: rgba(237, 50, 72, 0.62);
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(237, 50, 72, 0.18);
}
/* positions around the loop: top, bottom-right, bottom-left */
.ai-govern__node--map     { top: -16px; left: 50%; transform: translateX(-50%); }
.ai-govern__node--map.is-active { transform: translateX(-50%) translateY(-3px); }
.ai-govern__node--measure { bottom: 26px; right: -34px; }
.ai-govern__node--manage  { bottom: 26px; left: -34px; }

@media (max-width: 1399px) {
    .ai-govern__layout { grid-template-columns: minmax(0, 1fr) 440px; gap: 44px; }
    .ai-govern__diagram { width: 440px; }
    .ai-govern__node { width: 184px; padding: 14px 16px; }
    .ai-govern__node--measure { right: -22px; }
    .ai-govern__node--manage  { left: -22px; }
}
@media (max-width: 1199px) {
    .ai-govern__layout { grid-template-columns: 1fr; gap: 48px; }
    .ai-govern__diagram { width: 480px; }
    .ai-govern__node--measure { right: 0; }
    .ai-govern__node--manage  { left: 0; }
}
@media (max-width: 767px) {
    /* a circular diagram cannot stay legible at phone width: fall back to a
       stacked, still-linked set of cards */
    .ai-govern__diagram { width: 100%; aspect-ratio: auto; }
    .ai-govern__svg { display: none; }
    .ai-govern__node,
    .ai-govern__node--map,
    .ai-govern__node--measure,
    .ai-govern__node--manage {
        position: static;
        width: 100%;
        transform: none;
        margin-bottom: 12px;
    }
    .ai-govern__node.is-active { transform: none; }
    .ai-govern__title { font-size: 20px; line-height: 28px; }
    .ai-govern__item { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .ai-ctaband__edges path,
    .ai-ctaband__nodes circle,
    .ai-govern__ring-dash,
    .ai-govern__pulse,
    .ai-services__panel.show .ai-visual {
        animation: none !important;
    }
}

/* =========================================================
   4. INDUSTRIES — image-led cards, industry photo + AI overlay
   ========================================================= */
.ai-industry2 {
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    align-items: stretch;
    margin-bottom: 20px;
    border: 1px solid var(--color-border-card);
    border-radius: 20px;
    overflow: hidden;
    background: var(--color-bg-card);
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.ai-industry2:last-child { margin-bottom: 0; }
.ai-industry2:hover {
    border-color: rgba(237, 50, 72, 0.42);
    transform: translateY(-2px);
}
/* alternate the image side so the section does not read as one long column */
.ai-industry2:nth-child(even) .ai-industry2__media { order: 2; }

.ai-industry2__media {
    position: relative;
    isolation: isolate;
    min-height: 260px;
    overflow: hidden;
    color: var(--color-accent);
}
.ai-industry2__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* the photo only has to say which industry: dim and desaturate it so the
       AI overlay carries the meaning and all four cards read as one system */
    filter: grayscale(72%) brightness(0.42) contrast(1.08);
    transition: filter 0.4s ease, transform 0.6s ease;
}
.ai-industry2:hover .ai-industry2__media img {
    filter: grayscale(55%) brightness(0.52) contrast(1.08);
    transform: scale(1.03);
}
.ai-industry2__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(21, 22, 27, 0.1) 0%, rgba(21, 22, 27, 0.86) 100%),
        radial-gradient(420px 260px at 28% 34%, rgba(237, 50, 72, 0.26), transparent 70%);
}
.ai-industry2:nth-child(even) .ai-industry2__scrim {
    background:
        linear-gradient(270deg, rgba(21, 22, 27, 0.1) 0%, rgba(21, 22, 27, 0.86) 100%),
        radial-gradient(420px 260px at 72% 34%, rgba(237, 50, 72, 0.26), transparent 70%);
}
.ai-industry2__net {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.ai-industry2__edges path {
    opacity: 0.55;
    stroke-dasharray: 5 7;
    animation: btsn-ai-dash 9s linear infinite;
}
.ai-industry2__nodes circle { opacity: 0.85; }
.ai-industry2__nodes circle:nth-child(odd)  { animation: btsn-ai-node 3.2s ease-in-out infinite; }
.ai-industry2__nodes circle:nth-child(even) { animation: btsn-ai-node 3.2s ease-in-out infinite 1.6s; }
.ai-industry2__badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px;
    border-radius: 13px;
    background: rgba(237, 50, 72, 0.22);
    border: 1px solid rgba(237, 50, 72, 0.42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
}
.ai-industry2__badge svg { width: 100%; height: 100%; }

.ai-industry2__body { padding: 34px 38px; min-width: 0; }
.ai-industry2__title {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 8px;
}
.ai-industry2__lead {
    font-size: 16px;
    line-height: 25px;
    color: var(--color-text-primary);
    opacity: 0.86;
    margin: 0 0 18px;
}
.ai-industry2__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 26px;
}
.ai-industry2__list li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    line-height: 22px;
    color: var(--color-text-secondary);
}
.ai-industry2__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(237, 50, 72, 0.16);
}

@media (max-width: 1199px) {
    .ai-industry2 { grid-template-columns: 330px minmax(0, 1fr); }
    .ai-industry2__body { padding: 28px 30px; }
    .ai-industry2__list { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .ai-industry2 { grid-template-columns: 1fr; }
    .ai-industry2__media,
    .ai-industry2:nth-child(even) .ai-industry2__media { order: 1; min-height: 190px; }
    .ai-industry2__scrim,
    .ai-industry2:nth-child(even) .ai-industry2__scrim {
        background:
            linear-gradient(180deg, rgba(21, 22, 27, 0.15) 0%, rgba(21, 22, 27, 0.85) 100%),
            radial-gradient(300px 190px at 50% 40%, rgba(237, 50, 72, 0.26), transparent 70%);
    }
    .ai-industry2__body { padding: 22px 20px; }
    .ai-industry2__title { font-size: 21px; line-height: 29px; }
    .ai-industry2__badge { left: 18px; bottom: 18px; width: 40px; height: 40px; }
}

/* =========================================================
   5. AI MODELS — brand marks in compact chips
   ========================================================= */
.ai-models2 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.ai-models2__chip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--color-border-card);
    border-radius: 14px;
    background: var(--color-bg-card);
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.ai-models2__chip:hover {
    border-color: rgba(237, 50, 72, 0.45);
    transform: translateY(-2px);
}
.ai-models2__mark {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    /* brand marks ship colourless and inherit this grey, per the brief */
    color: #CBD0D8;
    transition: color 0.25s ease, background 0.25s ease;
}
.ai-models2__mark svg { width: 100%; height: 100%; display: block; }
.ai-models2__chip:hover .ai-models2__mark {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}
.ai-models2__meta { min-width: 0; display: block; }
.ai-models2__meta strong {
    display: block;
    font-size: 15px;
    line-height: 21px;
    font-weight: 600;
    color: var(--color-text-primary);
}
.ai-models2__meta small {
    display: block;
    font-size: 12px;
    line-height: 17px;
    color: var(--color-text-secondary);
}
.ai-models2__note {
    margin: 22px 0 0;
    font-size: 13px;
    line-height: 19px;
    color: var(--color-text-secondary);
    opacity: 0.8;
    text-align: center;
}

@media (max-width: 1199px) { .ai-models2 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px)  {
    .ai-models2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .ai-models2__chip { padding: 13px 14px; gap: 11px; }
    .ai-models2__mark { width: 32px; height: 32px; padding: 7px; }
}

/* =========================================================
   7. AI TECHNOLOGY ECOSYSTEM
   ========================================================= */
.ai-eco {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--color-body);
}
.ai-eco__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(760px 420px at 16% 10%, rgba(237, 50, 72, 0.14), transparent 66%),
        radial-gradient(700px 400px at 86% 88%, rgba(110, 140, 255, 0.10), transparent 66%);
}
.ai-eco__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: radial-gradient(900px 480px at 50% 42%, transparent 0%, #000 76%);
    -webkit-mask-image: radial-gradient(900px 480px at 50% 42%, transparent 0%, #000 76%);
}

.ai-eco__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 34px;
}
.ai-eco__tab {
    padding: 10px 18px;
    border: 1px solid var(--color-border-card);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.ai-eco__tab:hover { color: var(--color-text-primary); background: rgba(255, 255, 255, 0.06); }
.ai-eco__tab.active {
    background: rgba(237, 50, 72, 0.14);
    border-color: rgba(237, 50, 72, 0.45);
    color: var(--color-text-primary);
}

/* Bootstrap ships .tab-content > .active { display: block }, which would beat a
   plain class here, so raise specificity the same way the services rail does. */
.ai-eco__panels > .ai-eco__panel.active,
.ai-eco__panels > .ai-eco__panel.show {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.ai-eco__panels > .ai-eco__panel.tab-pane:not(.show) { display: none; }

.ai-eco__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 26px 16px;
    min-height: 128px;
    border: 1px solid var(--color-border-card);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    text-align: center;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.ai-eco__card:hover {
    border-color: rgba(237, 50, 72, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(237, 50, 72, 0.14);
}
.ai-eco__mark {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #C9CED7;
    transition: color 0.25s ease, transform 0.25s ease;
}
.ai-eco__mark svg { width: 100%; height: 100%; display: block; }
.ai-eco__card:hover .ai-eco__mark { color: #FFFFFF; transform: scale(1.06); }
.ai-eco__name {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color 0.25s ease;
}
.ai-eco__card:hover .ai-eco__name { color: var(--color-text-primary); }

@media (max-width: 1199px) {
    .ai-eco__panels > .ai-eco__panel.active,
    .ai-eco__panels > .ai-eco__panel.show { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .ai-eco__panels > .ai-eco__panel.active,
    .ai-eco__panels > .ai-eco__panel.show { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .ai-eco__card { min-height: 108px; padding: 20px 12px; gap: 10px; }
    .ai-eco__mark { width: 34px; height: 34px; }
    .ai-eco__tab { padding: 8px 14px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    .ai-industry2__edges path,
    .ai-industry2__nodes circle { animation: none !important; }
}

/* =========================================================
   CORE AI CAPABILITIES — 6 cards, balanced 3 x 2
   Brief: outline icons on a subtle accent, prominent names, equal heights,
   restrained AI cues, hover handled with border/glow rather than motion.
   ========================================================= */
.ai-caps__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.ai-caps__card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* equal height, equal padding, identical alignment across all six */
    min-height: 268px;
    padding: 30px 30px 32px;
    border: 1px solid var(--color-border-card);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.ai-caps__card:hover {
    border-color: rgba(237, 50, 72, 0.45);
    background:
        radial-gradient(420px 200px at 100% 0%, rgba(237, 50, 72, 0.12), transparent 64%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
}

/* index, kept quiet so the capability name stays the loudest thing */
.ai-caps__num {
    position: absolute;
    top: 26px;
    right: 28px;
    font-size: 12px;
    line-height: 17px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
    opacity: 0.45;
    transition: color 0.3s ease, opacity 0.3s ease;
}
.ai-caps__card:hover .ai-caps__num {
    color: var(--color-accent);
    opacity: 1;
}

/* faint node motif: the AI cue, static until hover */
.ai-caps__motif {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100px;
    z-index: -1;
    color: var(--color-accent);
    opacity: 0.16;
    transition: opacity 0.35s ease;
}
.ai-caps__card:hover .ai-caps__motif { opacity: 0.38; }
.ai-caps__motif-edges path { stroke-dasharray: 4 6; }
.ai-caps__card:hover .ai-caps__motif-edges path {
    animation: btsn-ai-dash 6s linear infinite;
}

/* outline icon on a subtle accent tint */
.ai-caps__icon {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px;
    margin-bottom: 20px;
    border: 1px solid rgba(237, 50, 72, 0.3);
    border-radius: 13px;
    background: rgba(237, 50, 72, 0.1);
    color: var(--color-accent);
    transition: background 0.3s ease, border-color 0.3s ease;
}
.ai-caps__icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}
.ai-caps__card:hover .ai-caps__icon {
    background: rgba(237, 50, 72, 0.17);
    border-color: rgba(237, 50, 72, 0.5);
}

.ai-caps__title {
    font-size: 19px;
    line-height: 27px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 10px;
    /* room for the index in the corner */
    padding-right: 34px;
}
.ai-caps__text {
    font-size: 15px;
    line-height: 24px;
    color: var(--color-text-secondary);
    margin: 0;
}

/* data-flow line along the bottom edge, drawn in on hover */
.ai-caps__flow {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s ease;
}
.ai-caps__card:hover .ai-caps__flow { transform: scaleX(1); }

@media (max-width: 1199px) {
    .ai-caps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ai-caps__card { min-height: 240px; padding: 26px 26px 28px; }
}
@media (max-width: 767px) {
    .ai-caps__grid { grid-template-columns: 1fr; gap: 14px; }
    .ai-caps__card { min-height: 0; padding: 24px 22px 26px; }
    .ai-caps__title { font-size: 18px; line-height: 26px; }
    .ai-caps__flow { left: 22px; right: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .ai-caps__card:hover { transform: none; }
    .ai-caps__card:hover .ai-caps__motif-edges path { animation: none; }
    .ai-caps__flow { transition: none; }
}

/* =========================================================
   AI DEVELOPMENT SERVICES — reference pass
   Brief: names only in the rail (no icons, no numbers), both cards parallel
   and equal height, visual kept large and explanatory, consistent spacing,
   same dark theme and red accents.
   ========================================================= */

/* ---- proportions: roughly 1 : 3, like the reference ---- */
.ai-services__layout {
    grid-template-columns: 324px minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* ---- left rail: service names only, separated by rules ---- */
.ai-services__rail {
    padding: 10px 6px;
    gap: 0;
}
.ai-services__rail-item {
    /* was a 4-column grid for num / icon / label / arrow */
    display: block;
    grid-template-columns: none;
    padding: 17px 20px;
    border: 0;
    border-radius: 10px;
    font-size: 16px;
    line-height: 23px;
    font-weight: 500;
    position: relative;
}
/* hairline divider between items, like the reference list */
.ai-services__rail-item + .ai-services__rail-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--color-border-card);
}
.ai-services__rail-item.active + .ai-services__rail-item::before,
.ai-services__rail-item:hover + .ai-services__rail-item::before { background: transparent; }

.ai-services__rail-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-primary);
}
/* selection shown with subtle highlighting rather than icons or numbers */
.ai-services__rail-item.active {
    background: rgba(237, 50, 72, 0.10);
    border: 0;
    color: var(--color-text-primary);
    font-weight: 600;
}
.ai-services__rail-item.active::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    width: 3px;
    height: 22px;
    margin-top: -11px;
    border-radius: 2px;
    background: var(--color-accent);
}
.ai-services__rail-label { display: block; }

/* ---- right card ---- */
.ai-services__panels > .ai-services__panel.active,
.ai-services__panels > .ai-services__panel.show {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.ai-services__panel {
    padding: 38px 40px 34px;
    gap: 0;
}

/* heading and copy beside the visual, both top aligned */
.ai-services__panel-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    /* the rail is taller than this copy, so let the top block absorb the slack
       and centre both columns instead of leaving a hole above the tile row */
    flex: 1 1 auto;
    align-items: center;
}
.ai-services__panel-body { max-width: none; grid-column: auto; grid-row: auto; }
.ai-services__panel-title {
    font-size: 28px;
    line-height: 37px;
    margin-bottom: 12px;
}
.ai-services__panel-lead {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 12px;
}
.ai-services__panel-text { margin-bottom: 0; }

/* the visual stays prominent and keeps explaining the selected service */
.ai-services__panel-visual {
    grid-column: auto;
    grid-row: auto;
    max-width: 340px;
    width: 100%;
    margin-top: 2px;
    opacity: 1;
}

/* ---- coverage row, the reference's labelled tile block ---- */
.ai-services__panel-foot {
    display: block;
    margin-top: auto;
    padding-top: 30px;
}
.ai-services__covers-label {
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    opacity: 0.75;
    margin: 0 0 14px;
}
.ai-services__chips {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 26px;
}
.ai-services__chip {
    justify-content: flex-start;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text-primary);
    transition: border-color 0.25s ease, background 0.25s ease;
}
.ai-services__chip:hover {
    border-color: rgba(237, 50, 72, 0.4);
    background: rgba(255, 255, 255, 0.06);
}
.ai-services__cta { align-self: flex-start; }

@media (max-width: 1399px) {
    .ai-services__layout { grid-template-columns: 288px minmax(0, 1fr); }
    .ai-services__panel { padding: 32px 32px 30px; }
    .ai-services__panel-top { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
    .ai-services__panel-visual { max-width: 280px; }
    .ai-services__chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1199px) {
    .ai-services__layout { grid-template-columns: 1fr; }
    .ai-services__rail { flex-direction: row; padding: 8px; }
    .ai-services__rail-item { min-width: 210px; text-align: center; }
    .ai-services__rail-item + .ai-services__rail-item::before { display: none; }
    .ai-services__rail-item.active::after { display: none; }
}
@media (max-width: 991px) {
    .ai-services__panel-top { grid-template-columns: 1fr; gap: 26px; }
    .ai-services__panel-visual { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 767px) {
    .ai-services__panel { padding: 24px 20px 22px; }
    .ai-services__panel-title { font-size: 23px; line-height: 31px; }
    .ai-services__panel-lead { font-size: 17px; line-height: 26px; }
    .ai-services__chips { grid-template-columns: 1fr; gap: 8px; }
    .ai-services__panel-foot { padding-top: 24px; }
    .ai-services__cta { width: 100%; justify-content: center; }
}

/* =========================================================
   CTA BANNER — reference pass
   Declared after the first banner rules so these win.
   ========================================================= */
.ai-ctaband {
    position: relative;
    overflow: visible;
    padding: 20px 0 40px;
    background: transparent;
    border: 0;
}

/* rounded inset card, as in the reference */
.ai-ctaband__card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 56px 56px;
    background: linear-gradient(130deg, #101117 0%, #0D0E13 54%, #121219 100%);
}

/* ---- backdrop: present, but it must not compete with the text ---- */
.ai-ctaband__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.ai-ctaband__glow {
    position: absolute;
    top: -46%;
    left: 50%;
    width: 760px;
    height: 420px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(237, 50, 72, 0.07) 0%, rgba(237, 50, 72, 0.02) 46%, transparent 72%);
    filter: blur(18px);
}
.ai-ctaband__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
    background-size: 56px 56px;
    /* clear the middle, where the headline and copy sit */
    mask-image: radial-gradient(760px 300px at 38% 50%, transparent 0%, #000 82%);
    -webkit-mask-image: radial-gradient(760px 300px at 38% 50%, transparent 0%, #000 82%);
}
.ai-ctaband__net {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--color-accent);
    /* nodes and lines live only at the far edges now */
    opacity: 0.5;
    mask-image: linear-gradient(90deg, #000 0%, transparent 13%, transparent 87%, #000 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 13%, transparent 87%, #000 100%);
}
.ai-ctaband__edges path {
    opacity: 0.1;
    stroke-dasharray: 5 7;
    animation: btsn-ai-dash 9s linear infinite;
}
/* the dots were reading as stray red specks: keep them, barely */
.ai-ctaband__nodes circle { opacity: 0.1; r: 2; }
.ai-ctaband__nodes circle:nth-child(odd)  { animation: btsn-ai-node 3.6s ease-in-out infinite; }
.ai-ctaband__nodes circle:nth-child(even) { animation: btsn-ai-node 3.6s ease-in-out infinite 1.8s; }

/* ---- content ---- */
.ai-ctaband__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 64px;
    align-items: center;
}
.ai-ctaband__copy { min-width: 0; }
.ai-ctaband__title {
    font-size: 38px;
    line-height: 48px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--color-text-primary);
    margin: 0 0 14px;
    max-width: 620px;
}
.ai-ctaband__text {
    font-size: 17px;
    line-height: 28px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 0 26px;
}

/* ---- the three selling points, as highlights rather than body text ---- */
.ai-ctaband__points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
}
.ai-ctaband__point {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--color-text-primary);
}
.ai-ctaband__check {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    border-radius: 50%;
    background: rgba(237, 50, 72, 0.16);
    color: var(--color-accent);
}
.ai-ctaband__check svg { width: 100%; height: 100%; }
/* the first pass styled these list items with a free-floating dot; the pill
   now carries its own check mark, so retire it */
.ai-ctaband__points li::before { content: none; }

/* ---- primary action ---- */
.ai-ctaband__action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
/* a plain pill: the shared .animated-btn is inline-block with a 15px
   line-height, which pinned the label to the top of a fixed-height button */
.ai-ctaband__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: auto;
    min-height: 58px;
    padding: 17px 32px;
    border: 0;
    border-radius: 999px;
    background: var(--color-accent-strong);
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 14px 34px rgba(237, 50, 72, 0.34);
    transition: background 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}
.ai-ctaband__btn svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    transition: transform 0.24s ease;
}
.ai-ctaband__btn:hover {
    background: var(--color-accent);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(237, 50, 72, 0.44);
}
.ai-ctaband__btn:hover svg { transform: translateX(4px); }
.ai-ctaband__note {
    font-size: 13px;
    line-height: 19px;
    color: var(--color-text-secondary);
    opacity: 0.78;
    padding-left: 4px;
}

@media (max-width: 1399px) {
    .ai-ctaband__card { padding: 48px 44px; }
    .ai-ctaband__inner { gap: 44px; }
    .ai-ctaband__title { font-size: 33px; line-height: 43px; }
}
@media (max-width: 1199px) {
    .ai-ctaband__inner { grid-template-columns: 1fr; gap: 32px; }
    .ai-ctaband__title { max-width: none; }
    .ai-ctaband__text { max-width: none; }
    .ai-ctaband__grid,
    .ai-ctaband__net {
        mask-image: linear-gradient(180deg, #000 0%, transparent 34%, transparent 70%, #000 100%);
        -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 34%, transparent 70%, #000 100%);
    }
}
@media (max-width: 767px) {
    .ai-ctaband { padding: 12px 0 28px; }
    .ai-ctaband__card { padding: 32px 22px; border-radius: 18px; }
    .ai-ctaband__title { font-size: 26px; line-height: 35px; }
    .ai-ctaband__text { font-size: 16px; line-height: 26px; margin-bottom: 20px; }
    .ai-ctaband__points { flex-direction: column; align-items: stretch; gap: 8px; }
    .ai-ctaband__point { justify-content: flex-start; }
    .ai-ctaband__action { align-items: stretch; }
    .ai-ctaband__btn { width: 100%; }
    .ai-ctaband__note { text-align: center; padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ai-ctaband__edges path,
    .ai-ctaband__nodes circle { animation: none !important; }
    .ai-ctaband__btn:hover { transform: none; }
}

/* =========================================================
   AI SOLUTIONS BY INDUSTRY — compact 4-up tile grid
   Follows the shared reference: image-led tiles, name over a scrim, the three
   AI use cases revealed on hover, four per row on desktop.
   Declared after the earlier .ai-industry2 rules, which this replaces.
   ========================================================= */
.ai-ind__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.ai-ind__card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 26 / 31;
    border: 1px solid var(--color-border-card);
    border-radius: 16px;
    background: var(--color-bg-card);
    cursor: default;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.ai-ind__card:hover,
.ai-ind__card:focus-visible {
    border-color: rgba(237, 50, 72, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
    outline: none;
}

/* image stays recognisable: dimmed enough for white text, not murky */
.ai-ind__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(18%) brightness(0.74) contrast(1.04);
    transition: filter 0.4s ease, transform 0.6s ease;
}
.ai-ind__card:hover .ai-ind__img,
.ai-ind__card:focus-visible .ai-ind__img {
    filter: grayscale(55%) brightness(0.3) contrast(1.02);
    transform: scale(1.04);
}
/* bottom scrim so the label always reads */
.ai-ind__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 12, 16, 0.08) 0%, rgba(11, 12, 16, 0.12) 46%, rgba(11, 12, 16, 0.88) 100%);
    transition: background 0.35s ease;
}
.ai-ind__card:hover .ai-ind__scrim,
.ai-ind__card:focus-visible .ai-ind__scrim {
    background: linear-gradient(180deg, rgba(14, 8, 11, 0.9) 0%, rgba(12, 8, 11, 0.93) 100%);
}

/* technical overlay, deliberately faint */
.ai-ind__net {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--color-accent);
    opacity: 0.2;
    transition: opacity 0.35s ease;
}
.ai-ind__card:hover .ai-ind__net { opacity: 0.4; }
.ai-ind__edges path { stroke-dasharray: 4 6; }
.ai-ind__card:hover .ai-ind__edges path { animation: btsn-ai-dash 8s linear infinite; }

/* resting label */
.ai-ind__label {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    transition: opacity 0.28s ease, transform 0.28s ease;
}
.ai-ind__kicker {
    display: block;
    font-size: 12px;
    line-height: 17px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.66);
    margin-bottom: 2px;
}
.ai-ind__title {
    font-size: 18px;
    line-height: 25px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}
.ai-ind__card:hover .ai-ind__label,
.ai-ind__card:focus-visible .ai-ind__label {
    opacity: 0;
    transform: translateY(8px);
}

/* hover detail: the three AI use cases plus a quiet CTA */
.ai-ind__detail {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 22px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.ai-ind__card:hover .ai-ind__detail,
.ai-ind__card:focus-within .ai-ind__detail {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.ai-ind__detail-title {
    font-size: 17px;
    line-height: 24px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 14px;
}
.ai-ind__list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}
.ai-ind__list li {
    position: relative;
    padding-left: 20px;
    font-size: 13.5px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 9px;
}
.ai-ind__list li:last-child { margin-bottom: 0; }
.ai-ind__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(237, 50, 72, 0.2);
}
.ai-ind__cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: gap 0.22s ease, color 0.22s ease;
}
.ai-ind__cta svg { width: 15px; height: 15px; }
.ai-ind__cta:hover { gap: 11px; color: #FF7A8C; }

@media (max-width: 1199px) {
    .ai-ind__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .ai-ind__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .ai-ind__title { font-size: 17px; line-height: 24px; }
}
@media (max-width: 575px) {
    /* no hover on touch: show the label, keep the detail for tap focus */
    .ai-ind__grid { grid-template-columns: 1fr; }
    .ai-ind__card { aspect-ratio: 16 / 10; }
    .ai-ind__detail { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .ai-ind__card:hover { transform: none; }
    .ai-ind__card:hover .ai-ind__img { transform: none; }
    .ai-ind__card:hover .ai-ind__edges path { animation: none; }
}

/* =========================================================
   INDUSTRY CTA — compact, left aligned, isometric AI network
   ========================================================= */
/* pull the banner up against the industry grid so the two read as one block */
.ai-industries { padding-bottom: 34px; }
.ai-indcta {
    padding: 0 0 46px;
    background: transparent;
}
.ai-indcta__card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 40px;
    align-items: center;
    /* compact: roughly half the vertical space the centred version used */
    padding: 40px 48px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background:
        radial-gradient(620px 320px at 82% 50%, rgba(237, 50, 72, 0.07), transparent 68%),
        linear-gradient(120deg, #101117 0%, #0D0E13 56%, #111118 100%);
}

/* ---- copy ---- */
.ai-indcta__copy { min-width: 0; }
.ai-indcta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 17px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}
.ai-indcta__rule {
    width: 34px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-accent);
}
.ai-indcta__title {
    font-size: 40px;
    line-height: 50px;
    font-weight: 400;
    letter-spacing: -0.015em;
    color: var(--color-text-primary);
    margin: 0 0 14px;
}
.ai-indcta__title strong { font-weight: 700; }
.ai-indcta__title em {
    font-style: normal;
    font-weight: 700;
    color: var(--color-accent);
}
.ai-indcta__text {
    font-size: 16px;
    line-height: 26px;
    color: var(--color-text-secondary);
    max-width: 480px;
    margin: 0 0 26px;
}

/* ---- actions ---- */
.ai-indcta__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 22px;
}
.ai-indcta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 26px;
    border: 0;
    border-radius: 10px;
    background: var(--color-accent-strong);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(237, 50, 72, 0.3);
    transition: background 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}
.ai-indcta__btn svg { width: 17px; height: 17px; transition: transform 0.24s ease; }
.ai-indcta__btn:hover {
    background: var(--color-accent);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(237, 50, 72, 0.38);
}
.ai-indcta__btn:hover svg { transform: translateX(4px); }

.ai-indcta__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 4px;
    color: var(--color-text-secondary);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.1;
    text-decoration: none;
    transition: color 0.22s ease;
}
.ai-indcta__link svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    opacity: 0.8;
}
.ai-indcta__link:hover { color: var(--color-text-primary); }

/* ---- isometric AI network ---- */
.ai-indcta__visual {
    position: relative;
    color: var(--color-accent);
}
.ai-indcta__iso {
    width: 100%;
    height: auto;
    display: block;
}
/* tiles: faint glass planes, not solid shapes */
.ai-indcta__tile-top { fill: rgba(255, 255, 255, 0.07); stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; }
.ai-indcta__tile-l   { fill: rgba(255, 255, 255, 0.03); stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; }
.ai-indcta__tile-r   { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.12); stroke-width: 1; }
.ai-indcta__tiles g { color: rgba(255, 255, 255, 0.62); }
.ai-indcta__glyph { color: rgba(255, 255, 255, 0.7); }

/* core carries the only strong accent in the visual */
.ai-indcta__core-top { fill: rgba(237, 50, 72, 0.22); stroke: rgba(237, 50, 72, 0.6); stroke-width: 1.2; }
.ai-indcta__core-l   { fill: rgba(237, 50, 72, 0.1);  stroke: rgba(237, 50, 72, 0.34); stroke-width: 1; }
.ai-indcta__core-r   { fill: rgba(237, 50, 72, 0.15); stroke: rgba(237, 50, 72, 0.42); stroke-width: 1; }
.ai-indcta__core-text {
    fill: #FFFFFF;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.ai-indcta__wires path {
    opacity: 0.2;
    stroke-dasharray: 4 7;
    animation: btsn-ai-dash 11s linear infinite;
}
.ai-indcta__pulses circle { opacity: 0.75; }

@media (max-width: 1399px) {
    .ai-indcta__card { grid-template-columns: minmax(0, 1fr) 430px; padding: 36px 40px; }
    .ai-indcta__title { font-size: 34px; line-height: 44px; }
}
@media (max-width: 1199px) {
    .ai-indcta__card { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
    .ai-indcta__title { font-size: 30px; line-height: 40px; }
    .ai-indcta__title br { display: none; }
}
@media (max-width: 860px) {
    .ai-indcta__card { grid-template-columns: 1fr; gap: 26px; padding: 32px 26px; }
    .ai-indcta__visual { max-width: 420px; margin: 0 auto; }
    .ai-indcta__text { max-width: none; }
}
@media (max-width: 575px) {
    .ai-industries { padding-bottom: 24px; }
    .ai-indcta { padding: 0 0 34px; }
    .ai-indcta__card { padding: 26px 20px; border-radius: 16px; }
    .ai-indcta__title { font-size: 25px; line-height: 34px; }
    .ai-indcta__actions { align-items: stretch; flex-direction: column; gap: 8px; }
    .ai-indcta__btn { width: 100%; }
    .ai-indcta__link { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .ai-indcta__wires path { animation: none; }
    .ai-indcta__pulses circle { display: none; }
    .ai-indcta__btn:hover { transform: none; }
}

/* =========================================================
   AI DEVELOPMENT PROCESS — asymmetric bento grid
   No timeline, no numbered circles, no team photograph.
   Charcoal cards, subtle borders, red reserved for the featured stage,
   hover limited to a border-colour change.
   ========================================================= */
.ai-proc__bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    gap: 16px;
}

/* deliberately unequal: a 2 x 2 featured block, four small cards, one wide */
.ai-proc__card--a        { grid-column: 1; grid-row: 1; }
.ai-proc__card--b        { grid-column: 2; grid-row: 1; }
.ai-proc__card--featured { grid-column: 3 / span 2; grid-row: 1 / span 2; }
.ai-proc__card--d        { grid-column: 1; grid-row: 2; }
.ai-proc__card--e        { grid-column: 2; grid-row: 2; }
.ai-proc__card--wide     { grid-column: 1 / span 4; grid-row: 3; }

.ai-proc__card {
    display: flex;
    flex-direction: column;
    padding: 24px 24px 26px;
    border: 1px solid var(--color-border-card);
    border-radius: 16px;
    background: #121318;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.ai-proc__card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: #14151B;
}

/* ---- shared card head ---- */
.ai-proc__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.ai-proc__step {
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-text-primary);
}
.ai-proc__step span {
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
}
.ai-proc__step--on { color: var(--color-accent); }
.ai-proc__step--on span { color: rgba(237, 50, 72, 0.72); }

.ai-proc__icon {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-secondary);
    transition: color 0.25s ease;
}
.ai-proc__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; }
.ai-proc__card:hover .ai-proc__icon { color: var(--color-text-primary); }

.ai-proc__title {
    font-size: 17px;
    line-height: 25px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 8px;
}
.ai-proc__text {
    font-size: 14.5px;
    line-height: 23px;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ---- featured stage ---- */
.ai-proc__card--featured {
    padding: 30px 32px 32px;
    border-color: rgba(237, 50, 72, 0.34);
    background:
        radial-gradient(560px 280px at 85% 0%, rgba(237, 50, 72, 0.08), transparent 66%),
        #121318;
}
.ai-proc__card--featured:hover { border-color: rgba(237, 50, 72, 0.55); }
.ai-proc__badge {
    padding: 5px 11px;
    border: 1px solid rgba(237, 50, 72, 0.3);
    border-radius: 999px;
    background: rgba(237, 50, 72, 0.1);
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    white-space: nowrap;
}
.ai-proc__title--lg { font-size: 24px; line-height: 32px; margin-bottom: 10px; }
.ai-proc__text--lg  { font-size: 15.5px; line-height: 25px; max-width: 560px; }

/* minimal architecture diagram: data > models > integrations > outputs */
.ai-proc__diagram {
    margin: 22px 0 20px;
    color: var(--color-accent);
}
.ai-proc__svg { width: 100%; height: auto; display: block; }
.ai-proc__box {
    fill: rgba(255, 255, 255, 0.035);
    stroke: rgba(255, 255, 255, 0.14);
    stroke-width: 1;
}
.ai-proc__box--on {
    fill: rgba(237, 50, 72, 0.1);
    stroke: rgba(237, 50, 72, 0.45);
}
.ai-proc__glyph {
    fill: none;
    stroke: rgba(255, 255, 255, 0.6);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ai-proc__glyph--on { stroke: var(--color-accent); }
.ai-proc__dlabel {
    fill: var(--color-text-secondary);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.ai-proc__dlabel--on { fill: var(--color-accent); }
.ai-proc__wire path { stroke: rgba(255, 255, 255, 0.2); stroke-dasharray: 4 5; }

/* the three supporting labels */
.ai-proc__labels {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: auto 0 0;
}
.ai-proc__labels li {
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    color: var(--color-text-primary);
}

/* ---- wide closing stage ---- */
.ai-proc__card--wide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 40px;
    align-items: center;
    padding: 26px 28px;
}
.ai-proc__wide-main { min-width: 0; }
.ai-proc__wide-main .ai-proc__text { max-width: 620px; }
.ai-proc__meters {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ai-proc__meter-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    font-size: 12.5px;
    line-height: 17px;
    color: var(--color-text-secondary);
}
.ai-proc__meter-top strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-primary);
}
.ai-proc__meter-track {
    display: block;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
}
.ai-proc__meter-fill {
    display: block;
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(237, 50, 72, 0.55), var(--color-accent));
}

/* ---- responsive: keep the featured stage dominant ---- */
@media (max-width: 1199px) {
    .ai-proc__bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ai-proc__card--featured { grid-column: 1 / span 2; grid-row: 1; }
    .ai-proc__card--a { grid-column: 1; grid-row: 2; }
    .ai-proc__card--b { grid-column: 2; grid-row: 2; }
    .ai-proc__card--d { grid-column: 1; grid-row: 3; }
    .ai-proc__card--e { grid-column: 2; grid-row: 3; }
    .ai-proc__card--wide { grid-column: 1 / span 2; grid-row: 4; }
}
@media (max-width: 860px) {
    .ai-proc__card--wide { grid-template-columns: 1fr; gap: 22px; }
    .ai-proc__title--lg { font-size: 21px; line-height: 29px; }
}
@media (max-width: 640px) {
    .ai-proc__bento { grid-template-columns: 1fr; gap: 12px; }
    .ai-proc__card--featured,
    .ai-proc__card--a,
    .ai-proc__card--b,
    .ai-proc__card--d,
    .ai-proc__card--e,
    .ai-proc__card--wide {
        grid-column: 1;
        grid-row: auto;
    }
    .ai-proc__card { padding: 20px 18px 22px; }
    .ai-proc__card--featured { padding: 24px 20px 26px; }
    /* the diagram must stay legible, so let it scroll rather than shrink */
    .ai-proc__diagram { overflow-x: auto; }
    .ai-proc__svg { min-width: 460px; }
}

/* =========================================================
   PROCESS BENTO — hover lift and pointer-tracked highlight
   Declared after the base bento rules so these win.
   ========================================================= */
.ai-proc__card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    /* highlight parks in the top-right until the pointer supplies a position */
    --mx: 78%;
    --my: 0%;
    transition: border-color 0.28s ease, background 0.28s ease,
                transform 0.28s ease, box-shadow 0.28s ease;
}

/* soft highlight that follows the cursor */
.ai-proc__card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(237, 50, 72, 0.16), transparent 62%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
/* hairline that lights along the top edge */
.ai-proc__card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 14%;
    right: 14%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 0.3s ease, transform 0.4s ease;
    pointer-events: none;
}

.ai-proc__card:hover,
.ai-proc__card:focus-within {
    border-color: rgba(237, 50, 72, 0.45);
    background: #15161C;
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.ai-proc__card:hover::before,
.ai-proc__card:focus-within::before { opacity: 1; }
.ai-proc__card:hover::after,
.ai-proc__card:focus-within::after { opacity: 1; transform: scaleX(1); }

/* the stage number and icon light up with the card */
.ai-proc__card:hover .ai-proc__step { color: var(--color-accent); }
.ai-proc__card:hover .ai-proc__step span { color: rgba(237, 50, 72, 0.72); }
.ai-proc__card:hover .ai-proc__icon {
    background: rgba(237, 50, 72, 0.16);
    color: var(--color-accent);
    transform: translateY(-1px);
}
.ai-proc__icon { transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease; }

/* the featured card is already accented: lift it without over-reddening */
.ai-proc__card--featured:hover {
    border-color: rgba(237, 50, 72, 0.68);
    background:
        radial-gradient(560px 280px at 85% 0%, rgba(237, 50, 72, 0.1), transparent 66%),
        #15161C;
}
.ai-proc__card--featured:hover::before { opacity: 0.7; }

/* small touches inside the cards */
.ai-proc__labels li { transition: border-color 0.25s ease, background 0.25s ease; }
.ai-proc__card--featured:hover .ai-proc__labels li {
    border-color: rgba(237, 50, 72, 0.3);
    background: rgba(237, 50, 72, 0.08);
}
.ai-proc__meter-fill { transition: filter 0.3s ease; }
.ai-proc__card--wide:hover .ai-proc__meter-fill { filter: brightness(1.25); }
.ai-proc__box, .ai-proc__glyph, .ai-proc__dlabel { transition: stroke 0.3s ease, fill 0.3s ease; }
.ai-proc__card--featured:hover .ai-proc__box { stroke: rgba(255, 255, 255, 0.24); }
.ai-proc__card--featured:hover .ai-proc__box--on { stroke: rgba(237, 50, 72, 0.7); }

@media (prefers-reduced-motion: reduce) {
    .ai-proc__card,
    .ai-proc__card::before,
    .ai-proc__card::after,
    .ai-proc__icon { transition: none; }
    .ai-proc__card:hover { transform: none; }
    .ai-proc__card:hover .ai-proc__icon { transform: none; }
}

/* =========================================================
   WHY CHOOSE BOOTESNULL — editorial split, open row of points
   No cards, no node graph, no connecting lines anywhere in this section.
   Red is limited to small highlights.
   ========================================================= */
.ai-why {
    position: relative;
    background: var(--color-body);
}

/* ---- split: copy left, system panel right ---- */
.ai-why__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 72px;
    align-items: center;
    margin-bottom: 64px;
}
.ai-why__intro { min-width: 0; }
.ai-why__title {
    font-size: 42px;
    line-height: 53px;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--color-text-primary);
    margin: 0 0 18px;
    max-width: 580px;
}
.ai-why__title em {
    font-style: normal;
    font-weight: 600;
    color: var(--color-accent);
}
.ai-why__lead {
    font-size: 17px;
    line-height: 29px;
    color: var(--color-text-secondary);
    max-width: 560px;
    margin: 0;
}

/* ---- AI system architecture panel ---- */
.ai-why__panel {
    border: 1px solid var(--color-border-card);
    border-radius: 16px;
    /* deliberately quiet: no glow, no gradient wash */
    background: #101117;
    padding: 18px;
}
.ai-why__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 4px 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--color-border-card);
}
.ai-why__panel-title {
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}
.ai-why__panel-state {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    line-height: 17px;
    font-weight: 500;
    color: var(--color-text-secondary);
}
.ai-why__panel-state::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

/* stacked layers read as an architecture, not a graph */
.ai-why__layer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 14px;
    margin-bottom: 7px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.025);
}
.ai-why__layer:last-of-type { margin-bottom: 0; }
.ai-why__layer-name {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--color-text-primary);
}
.ai-why__layer-meta {
    font-size: 12px;
    line-height: 17px;
    color: var(--color-text-secondary);
    text-align: right;
    white-space: nowrap;
}
/* one small red highlight, on the layer that matters most */
.ai-why__layer--on {
    border-color: rgba(237, 50, 72, 0.4);
    background: rgba(237, 50, 72, 0.07);
}
.ai-why__layer--on .ai-why__layer-name { color: var(--color-accent); }

.ai-why__panel-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    padding: 14px 4px 2px;
    margin-top: 14px;
    border-top: 1px solid var(--color-border-card);
    font-size: 12px;
    line-height: 17px;
    color: var(--color-text-secondary);
}
.ai-why__panel-foot strong {
    font-weight: 600;
    color: var(--color-text-primary);
}

/* ---- four differentiators: open row, hairline dividers, no cards ---- */
.ai-why__row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--color-border-card);
    padding-top: 34px;
}
.ai-why__item {
    position: relative;
    padding: 0 32px;
}
.ai-why__item:first-child { padding-left: 0; }
.ai-why__item:last-child { padding-right: 0; }
.ai-why__item + .ai-why__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 1px;
    background: var(--color-border-card);
}
.ai-why__num {
    display: block;
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 17px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}
.ai-why__item-title {
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 10px;
}
.ai-why__item-text {
    font-size: 14.5px;
    line-height: 24px;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ---- responsive ---- */
@media (max-width: 1399px) {
    .ai-why__top { grid-template-columns: minmax(0, 1fr) 440px; gap: 52px; }
    .ai-why__title { font-size: 36px; line-height: 46px; }
    .ai-why__item { padding: 0 24px; }
}
@media (max-width: 1199px) {
    .ai-why__top { grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
    .ai-why__panel { max-width: 560px; }
    .ai-why__title, .ai-why__lead { max-width: none; }
    .ai-why__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
    .ai-why__item { padding: 0 28px; }
    .ai-why__item:nth-child(odd) { padding-left: 0; }
    .ai-why__item:nth-child(even) { padding-right: 0; }
    /* only divide within a row, never across the wrap */
    .ai-why__item + .ai-why__item::before { display: none; }
    .ai-why__item:nth-child(even)::before {
        display: block;
        content: "";
        position: absolute;
        left: 0;
        top: 2px;
        bottom: 2px;
        width: 1px;
        background: var(--color-border-card);
    }
}
@media (max-width: 640px) {
    .ai-why__title { font-size: 28px; line-height: 38px; }
    .ai-why__lead { font-size: 16px; line-height: 27px; }
    .ai-why__row { grid-template-columns: 1fr; row-gap: 0; padding-top: 10px; }
    .ai-why__item,
    .ai-why__item:nth-child(odd),
    .ai-why__item:nth-child(even) {
        padding: 24px 0;
        border-top: 1px solid var(--color-border-card);
    }
    .ai-why__item:first-child { border-top: 0; }
    .ai-why__item::before,
    .ai-why__item:nth-child(even)::before { display: none; }
    .ai-why__layer { flex-direction: column; align-items: flex-start; gap: 3px; }
    .ai-why__layer-meta { text-align: left; white-space: normal; }
}

/* =========================================================
   FINAL CONTENT PASS
   The approved copy deck expands the page: 16 services in the
   rail (was 9), 16 industries, four key areas per service that
   sometimes run to five, and the proof numbers moving into the
   Why Choose block. These rules absorb that without touching the
   layouts already signed off above.
   ========================================================= */

/* ---- services rail: all 16 names, in one column ----
   Bootstrap's `.nav` sets `flex-wrap: wrap`. In a column flex box that is
   harmless until the box gains a height limit, at which point the overflow
   wraps into a SECOND column that is clipped away rather than scrolled. With
   16 services that silently hid the last four, so the rail stays unbounded
   and explicitly nowrap. Slightly tighter rows keep the full list readable. */
.ai-services__rail {
    flex-wrap: nowrap;
}
.ai-services__rail-item {
    flex: 0 0 auto;
    padding: 11px 20px;
}

/* ---- key areas: two columns, so four items pair up and five leave one
       half-width tail instead of a full-width bar ---- */
.ai-services__chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

/* ---- proof numbers, now part of the Why Choose intro ---- */
.ai-why__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--color-border-card);
}
.ai-why__stat { display: block; }
.ai-why__stat-value {
    display: block;
    font-size: 34px;
    line-height: 42px;
    font-weight: 600;
    color: var(--color-text-primary);
}
.ai-why__stat-label {
    display: block;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text-secondary);
}

/* ---- mid-page CTA now carries a supporting line under the headline ---- */
.cta__copy { max-width: 620px; }
.cta__copy .cta__title { margin-bottom: 10px; }
.cta__text {
    font-size: 16px;
    line-height: 25px;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* ---- FAQ heading ----
   faq.css clips a 157deg gradient to the text and lands on #000 at the far
   end. That was fine for the old two-word lines; the longer heading here runs
   into the black stop and the second line all but disappears on the dark
   page. Same graded treatment, stopped well short of the background. */
.faq__title {
    background-image: linear-gradient(157deg, #FFFFFF 0%, #D3D4D6 45%, #8A8B8D 100%);
}

/* ---- FAQ lead-in beside the sticky title ---- */
.faq__intro {
    margin-top: 20px;
    margin-bottom: 0;
    max-width: 420px;
    font-size: 16px;
    line-height: 25px;
    color: var(--color-text-secondary);
}

@media (max-width: 1199px) {
    /* the rail turns into a horizontal strip here and does need to wrap */
    .ai-services__rail {
        flex-wrap: wrap;
        justify-content: center;
    }
    .ai-services__rail-item { padding: 13px 18px; }
}
@media (max-width: 991px) {
    .cta__copy { max-width: none; }
    .ai-why__stats { gap: 28px; }
}
@media (max-width: 767px) {
    .ai-why__stats { margin-top: 26px; padding-top: 22px; gap: 24px; }
    .ai-why__stat-value { font-size: 28px; line-height: 36px; }
}

/* =========================================================
   AUDIT PASS (2026-11-27)
   Fixes raised in the AI Development page audit. Each block
   names the issue it closes and the rule it is correcting.
   ========================================================= */

/* ---- 1. FAQ heading overlapping its own intro ----
   faq.css makes `.faq__title` itself `position: sticky`. That was safe while
   the heading stood alone in the column; the intro paragraph added with the
   content deck sits below it and does NOT travel, so on scroll the heading
   slides straight over it. Stick the whole column instead, so heading and
   intro move together and cannot collide. */
.faq__title {
    position: static;
    top: auto;
}
@media (min-width: 992px) {
    .faq__col--left {
        position: sticky;
        top: 100px;
        align-self: start;
    }
}

/* ---- 2. Client logos uneven on tablet and mobile ----
   A centred flex-wrap leaves the last row short (5+3 on tablet, 4+3+1 on
   mobile). Eight logos divide cleanly into a grid, so the rows stay even and
   every logo sits on the same baseline. */
@media (max-width: 1199px) {
    .ai-hero__logos {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 26px 20px;
        align-items: center;
        justify-items: center;
    }
}
@media (max-width: 575px) {
    .ai-hero__logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 16px;
    }
}

/* ---- 4. Process stages out of numerical order ----
   The bento places 03 as a featured tile spanning two rows, which reads well
   on desktop. Below that the explicit row placement (and, at phone width, the
   fall back to DOM order) put 03 first. Place every stage so the sequence
   stays 01-06 on every screen. */
/* The two-column placement must stop at the single-column breakpoint. Left as
   `max-width: 1199px` it also matched phone widths, where the grid is one
   column: the cards were then placed into an implicit second column at rows
   1-4, which is what hid some stages and opened gaps between the rest. */
@media (min-width: 641px) and (max-width: 1199px) {
    .ai-proc__card--a        { grid-column: 1; grid-row: 1; }
    .ai-proc__card--b        { grid-column: 2; grid-row: 1; }
    .ai-proc__card--featured { grid-column: 1 / span 2; grid-row: 2; }
    .ai-proc__card--d        { grid-column: 1; grid-row: 3; }
    .ai-proc__card--e        { grid-column: 2; grid-row: 3; }
    .ai-proc__card--wide     { grid-column: 1 / span 2; grid-row: 4; }
}
@media (max-width: 640px) {
    /* One column, so every stage is auto-placed and `order` decides the
       sequence. Placement is reset explicitly because an earlier rule in this
       file sets rows for the desktop bento. */
    .ai-proc__card--a,
    .ai-proc__card--b,
    .ai-proc__card--featured,
    .ai-proc__card--d,
    .ai-proc__card--e,
    .ai-proc__card--wide {
        grid-column: 1;
        grid-row: auto;
    }
    .ai-proc__card--a        { order: 1; }
    .ai-proc__card--b        { order: 2; }
    .ai-proc__card--featured { order: 3; }
    .ai-proc__card--d        { order: 4; }
    .ai-proc__card--e        { order: 5; }
    .ai-proc__card--wide     { order: 6; }
}

/* ---- 5. Mid-page CTA heading ragged on phones ----
   cta.css caps `.cta__title` at 70% width under 575px but never centres that
   box, so the heading sat left of centre while its text was centred inside -
   the ragged first line in the audit shot. */
@media (max-width: 575px) {
    .cta__copy .cta__title {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---- 6. Buttons running the full screen width on phones ----
   ai-hero.css stretches hero buttons to 100%, and the services and industry
   CTAs do the same, so each one took a different full-bleed width. Give every
   call to action on the page one width instead. */
@media (max-width: 767px) {
    .ai-hero__actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .ai-hero__actions .animated-btn,
    .ai-services__cta,
    .cta .animated-btn,
    .ai-ctaband__action .animated-btn,
    .ai-indcta__actions .animated-btn {
        width: auto;
        min-width: 232px;
        max-width: 100%;
        text-align: center;
    }
    /* both action wrappers are column flex boxes, so a child with width:auto
       still stretches to the cross axis unless the wrapper stops centring it */
    .ai-indcta__actions,
    .ai-ctaband__action { align-items: center; }
    .ai-ctaband__action { text-align: center; }
}

/* ---- 7. Key areas in two ragged columns on phones ----
   Two columns at phone width leave boxes of different heights and a half-width
   tail. One per row keeps them equal. */
@media (max-width: 767px) {
    .ai-services__chips { grid-template-columns: minmax(0, 1fr); }
}

/* ---- 8. Uneven space inside the service detail panels ----
   `.ai-services__panel-top` was set to absorb the slack between the copy and
   the taller rail and to centre itself in it, which opened a gap above the
   service name that grew as the copy got shorter - different on every service.
   Top-align the copy and let the key-areas block follow it directly, so every
   panel has the same spacing and any leftover height falls at the end. */
.ai-services__panel-top {
    flex: 0 0 auto;
    align-items: start;
}
.ai-services__panel-foot {
    margin-top: 0;
    padding-top: 28px;
}

/* ---- 3. Services as an accordion on small screens ----
   ai-services-accordion.js moves each panel to sit directly after its own name
   below 992px. Two consequences to handle here: the panel column is then empty,
   and the panels are no longer children of `.tab-content`, so Bootstrap's own
   `.tab-content > .tab-pane { display: none }` no longer hides the inactive
   ones - that has to be restated against the accordion rail. */
@media (max-width: 991px) {
    .ai-services__layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .ai-services__panels--empty { display: none; }

    .ai-services__rail--accordion {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
        padding: 6px;
    }
    .ai-services__rail--accordion .ai-services__rail-item {
        width: 100%;
        text-align: left;
        padding: 16px 46px 16px 18px;
        border-radius: 10px;
    }
    /* chevron, pointing down when closed and up when the panel is open */
    .ai-services__rail--accordion .ai-services__rail-item::after {
        content: "";
        position: absolute;
        right: 20px;
        top: 50%;
        width: 9px;
        height: 9px;
        margin-top: -7px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        opacity: 0.6;
        transition: transform 0.24s ease, opacity 0.24s ease;
    }
    /* `::after` is the red accent bar on an active rail item, and it is hidden
       outright below 1200px. In accordion mode it has to become the chevron
       instead, so every property of the bar is restated. */
    .ai-services__rail--accordion .ai-services__rail-item.active::after {
        display: block;
        left: auto;
        right: 20px;
        width: 9px;
        height: 9px;
        margin-top: -3px;
        border-radius: 0;
        background: none;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(-135deg);
        opacity: 1;
    }

    .ai-services__rail--accordion .ai-services__panel { display: none; }
    .ai-services__rail--accordion .ai-services__panel.active {
        display: block;
        height: auto;
        padding: 2px 18px 24px;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
    .ai-services__rail--accordion .ai-services__panel-title { margin-top: 0; }
}

/* ---- 11. See more / see less under the model grid ----
   The note that used to sit here ("availability depends on your region...")
   is gone; the remaining models are in the grid instead of being alluded to. */
.ai-models2__more {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}
.ai-models2__more-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border: 1px solid var(--color-border-card);
    border-radius: 999px;
    background: transparent;
    color: var(--color-text-secondary);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.1;
    cursor: pointer;
    transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.ai-models2__more-btn:hover {
    color: var(--color-text-primary);
    border-color: rgba(237, 50, 72, 0.5);
    background: rgba(237, 50, 72, 0.06);
}
.ai-models2__more-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.24s ease;
}
.ai-models2__more-btn.is-open svg { transform: rotate(180deg); }

/* lettered badges stand in for model families that have no logo of their own */
.ai-models2__mark svg text,
.ai-eco__mark svg text { font-family: inherit; }

/* ---- 12. Ecosystem tab overflow ----
   Thirteen headings will not sit on one row, so five show and the rest come in
   behind a +N control styled as one more tab. */
.ai-eco__tab--more {
    font-variant-numeric: tabular-nums;
    min-width: 46px;
}
.ai-eco__tab--more[hidden] { display: none; }
.ai-eco__tab--extra[hidden] { display: none; }
.ai-models2__chip--extra[hidden] { display: none; }

/* =========================================================
   AUDIT PASS 2 (2026-12-03)
   ========================================================= */

/* ---- 2. Service heading crowded inside the open dropdown ----
   The panel opened 2px under its own accordion header, so the service name
   was touching the row above it. 12px of breathing room, top and bottom.
   Only the vertical padding is set: the heading already lines up with the
   accordion header and the body copy, and padding on the sides would push it
   out of that alignment. */
@media (max-width: 991px) {
    .ai-services__rail--accordion .ai-services__panel.active { padding-top: 0; }
    .ai-services__rail--accordion .ai-services__panel-title { padding: 12px 0; }
}

/* ---- 4. Why Choose numbers left-aligned and 2+1 on phones ----
   A wrapping flex row left the third figure alone on a short second row. */
@media (max-width: 767px) {
    .ai-why__stats {
        justify-content: center;
        text-align: center;
    }
}
@media (max-width: 575px) {
    .ai-why__stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

/* ---- 7. Ten services: even rail, steady panel height ----
   Two things the audit asks for pull against each other: both cards the same
   height, and no large empty area in either. With ten names the rail only
   needed 461 of the 591px the row gave it, leaving 130px blank underneath.

   Rail: the items share the height instead of stacking at the top, so they are
   evenly spaced whatever the row height turns out to be, and a name that wraps
   to two lines keeps the same padding as the rest.

   Panels: all ten are laid into one grid cell and hidden with visibility
   rather than display, so the column is always as tall as the tallest panel
   and the card does not change height when you switch service. Bootstrap's
   `display: none` on an inactive pane has to be overridden for that, and
   visibility keeps the hidden panels out of the accessibility tree. */
@media (min-width: 992px) {
    .ai-services__rail-item { flex: 1 1 auto; }

    .ai-services__panels {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }
    .ai-services__panels > .ai-services__panel {
        grid-area: 1 / 1;
        display: flex !important;
        flex-direction: column;
        height: auto;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
    .ai-services__panels > .ai-services__panel.active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
}

/* ---- 1. Client logos as a slider below 1200px ----
   The grid from the previous pass fixed the uneven rows but was still a static
   block; the audit asks for a looping, swipeable slider on tablet and mobile.
   ai-hero-logos.js hands the markup to Swiper below 1200px and destroys it
   above, so these two states have to be described separately. */
.ai-hero__logos.swiper { width: 100%; }

/* Desktop: Swiper is not running, so put its wrapper back to a centred row.
   Swiper's own CSS sets display:flex and a transform on .swiper-wrapper. */
@media (min-width: 1200px) {
    .ai-hero__logos.swiper { overflow: visible; }
    .ai-hero__logos-track {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 22px 48px;
        transform: none !important;
    }
    .ai-hero__logo.swiper-slide { width: auto; flex: 0 0 auto; }
}

/* Tablet and phone: Swiper drives it. Slides are vertically centred and keep
   an even rhythm, and the grid rules from the previous pass must not fight it. */
@media (max-width: 1199px) {
    .ai-hero__logos.swiper {
        display: block;
        grid-template-columns: none;
        overflow: hidden;
        /* let the track run to the viewport edges rather than stopping at the
           container gutter, so the loop reads as continuous */
        margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
        margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    }
    .ai-hero__logos-track { align-items: center; }
    .ai-hero__logo.swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 30px;
    }
    /* a continuous crawl must not ease, or it stutters on every loop */
    .ai-hero__logos .swiper-wrapper { transition-timing-function: linear; }
}
