/* components.css — Cards, badges, buttons, forms, stat blocks, process cards, image panels */

/* Shared card base */
.card-clean,
.feature-card,
.product-card,
.industry-card,
.depth-panel {
    background: var(--color-bg);
    border: var(--border-default);
    box-shadow: var(--shadow-md);
    height: 100%;
    padding: 1.6rem;
    overflow: hidden;
    border-radius: var(--radius-card);
    color: var(--color-ink)
}

.feature-card i,
.product-card i,
.industry-card i,
.icon-neutral {
    font-size: 2rem;
    color: var(--color-gray);
    background: transparent !important
}

.feature-card h3,
.product-card h3,
.industry-card h3 {
    /* text-transform: uppercase; */
    font-size: var(--fs-h4);
    letter-spacing: .03em;
    margin-top: var(--space-md)
}

.feature-card p,
.product-card p,
.industry-card p,
.depth-panel p,
.depth-panel li {
    color: var(--color-muted)
}

/* Industry card */
.industry-card {
    display: block;
    min-height: 230px;
    position: relative;
    border-radius: var(--radius-card)
}

.industry-card::before,
.industry-card::after {
    display: none !important
}

.industry-card i {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: var(--border-default);
    box-shadow: none;
    border-radius: var(--radius-badge)
}

/* Product card subtitle */
.product-card h4 {
    font-size: .95rem;
    color: var(--color-primary);
    margin: .5rem 0
}

/* Stats */
.stat {
    border-left: 2px solid rgba(3, 70, 148, .24);
    padding-left: 1.2rem
}

.stat-flat {
    background: var(--color-bg);
    border: var(--border-default);
    padding: 1.4rem;
    height: 100%;
    box-shadow: 0 10px 28px rgba(3, 70, 148, .045);
    border-radius: var(--radius-card);
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    color: var(--color-primary)
}

/* Image panels */
.image-panel {
    position: relative;
    min-height: 400px;
    overflow: hidden;
/*    background: #f6f9fc;
    border: var(--border-default);
    box-shadow: var(--shadow-lg);*/
    border-radius: var(--radius-image)
}

.image-panel-tall {
    min-height: 560px
}

.image-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain
}

/* Badges */
.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: var(--border-default);
    background: var(--color-bg);
    color: #4b5563;
    padding: .45rem .7rem;
    margin: .2rem;
    font-size: var(--fs-caption);
    border-radius: var(--radius-badge)
}

/* Mini capability cards */
.mini-cap {
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    border: var(--border-default);
    padding: 1.1rem;
    background: var(--color-bg);
    border-radius: var(--radius-card);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease
}

.mini-cap:hover {
    transform: translateY(-2px);
    border-color: rgba(3, 70, 148, .22);
    box-shadow: 0 14px 34px rgba(3, 70, 148, .07)
}

.mini-cap-icon {
    flex: 0 0 auto;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(3, 70, 148, .09) 0%, rgba(3, 70, 148, .03) 100%);
    border: 1px solid rgba(3, 70, 148, .12);
    transition: background .22s ease, border-color .22s ease
}

.mini-cap-icon i {
    font-size: 1.2rem;
    color: var(--color-primary);
    line-height: 1
}

.mini-cap:hover .mini-cap-icon {
    background: var(--color-primary);
    border-color: var(--color-primary)
}

.mini-cap:hover .mini-cap-icon i {
    color: #fff
}

.mini-cap-body {
    display: block;
    min-width: 0
}

.mini-cap-body strong {
    display: block;
    font-size: .92rem;
    color: var(--color-ink);
    line-height: 1.35
}

.mini-cap-body > span {
    display: block;
    color: var(--color-muted);
    font-size: .84rem;
    margin-top: .2rem;
    line-height: 1.45
}

/* Solution cards */
.solution-card {
    display: block;
    height: 100%;
    background: var(--color-bg);
    border: var(--border-default);
    color: var(--color-ink);
    box-shadow: 0 14px 36px rgba(3, 70, 148, .05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow: hidden;
    border-radius: var(--radius-card)
}

.solution-card:hover {
    transform: translateY(-4px);
    border-color: rgba(3, 70, 148, .35);
    box-shadow: 0 22px 50px rgba(3, 70, 148, .12);
    color: var(--color-ink)
}

.solution-thumb {
    height: 190px;
    background: var(--color-soft);
    overflow: hidden;
    border-radius: var(--radius-image) var(--radius-image) 0 0
}

.solution-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease
}

.solution-card:hover .solution-thumb img {
    transform: scale(1.04)
}

.solution-body {
    padding: 1.4rem
}

.solution-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(3, 70, 148, .12);
    color: var(--color-primary);
    background: linear-gradient(135deg, rgba(3, 70, 148, .10) 0%, rgba(3, 70, 148, .03) 100%);
    font-size: 1.3rem;
    border-radius: 12px;
    transition: background .22s ease, color .22s ease, border-color .22s ease, transform .2s ease
}

.solution-card:hover .solution-icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-shade-3) 100%);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-2px)
}

.solution-icon i {
    line-height: 1
}

.solution-body h3 {
    /* text-transform: uppercase; */
    font-size: 1.02rem;
    line-height: 1.35;
    letter-spacing: .02em
}

.solution-body p {
    color: var(--color-muted);
    min-height: 78px
}

.learn-more {
    font-size: .86rem;
    color: var(--color-primary);
    letter-spacing: .03em
}

/* Process cards */
.process-card {
    height: 100%;
    border: var(--border-default);
    background: var(--color-bg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-card);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease
}

.process-card:hover {
    transform: translateY(-3px);
    border-color: rgba(3, 70, 148, .22);
    box-shadow: 0 18px 40px rgba(3, 70, 148, .08)
}

.process-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-bottom: 1.1rem
}

.process-icon {
    flex: 0 0 auto;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(3, 70, 148, .09) 0%, rgba(3, 70, 148, .03) 100%);
    border: 1px solid rgba(3, 70, 148, .12);
    transition: background .22s ease, border-color .22s ease
}

.process-icon i {
    font-size: 1.25rem;
    color: var(--color-primary);
    line-height: 1
}

.process-card:hover .process-icon {
    background: var(--color-primary);
    border-color: var(--color-primary)
}

.process-card:hover .process-icon i {
    color: #fff
}

.process-step {
    display: inline-flex;
    align-items: center;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-muted);
    padding: .3rem .55rem;
    border: 1px solid var(--color-line);
    border-radius: 50px;
    background: var(--color-soft);
    line-height: 1
}

.process-card h3 {
    font-size: 1.1rem;
    margin-bottom: .5rem
}

.process-card p {
    color: var(--color-muted);
    font-size: var(--fs-body-sm);
    line-height: 1.6;
    margin: 0
}

/* Process step (detail pages) */
.process-step {
    border-left: 2px solid #c6d7e8;
    padding-left: var(--space-md);
    margin-bottom: var(--space-md)
}

/* CTA section */
.cta-section {
    background: var(--color-bg)
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 96px;
    overflow: hidden;
    background: var(--color-dark);
    color: #fff
}

.hero-home {
    min-height: 100vh
}

.hero.hero-small {
    min-height: 58vh
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .58;
    filter: saturate(.9) contrast(1.05)
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(40deg, rgba(3, 22, 45, .94) 0%, rgb(3 70 148 / 0%) 55%, rgba(3, 70, 148, 0) 100%), linear-gradient( 180deg, rgb(7 29 55 / 0%) 60%, rgba(7, 29, 55, .55) 100%)
}

/* Hero eyebrow with bullet accent */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7cb6f5;
    box-shadow: 0 0 0 4px rgba(124, 182, 245, .18);
    display: inline-block
}

/* Focus-visible ring on hero buttons */
.hero .btn:focus-visible,
.hero-scroll-cue:focus-visible {
    outline: 2px solid rgba(124, 182, 245, .85);
    outline-offset: 3px
}

/* Hero scroll cue */
.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    transition: color .2s ease;
    z-index: 3
}

.hero-scroll-cue:hover {
    color: #fff
}

.hero-scroll-line {
    width: 1px;
    height: 38px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .65) 100%);
    position: relative;
    overflow: hidden
}

.hero-scroll-line::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 1px;
    height: 60%;
    background: linear-gradient(180deg, transparent, #9ec3f0);
    animation: heroScrollDrop 2.2s cubic-bezier(.4, 0, .2, 1) infinite
}

@keyframes heroScrollDrop {
    0% { top: -60%; opacity: 0 }
    20% { opacity: 1 }
    80% { opacity: 1 }
    100% { top: 110%; opacity: 0 }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-line::after { animation: none }
}

@media (max-width: 575.98px) {
    .hero-scroll-cue { display: none }
}

.hero .container {
    position: relative;
    z-index: 2
}

/* Legacy chip support — kept for non-home heroes that still use .hero-points */
.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255, 255, 255, .82);
    font-size: .86rem
}

/* ── Hero meta (home hero trust signals, NOT buttons) ── */
.hero-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding-top: 1.1rem;
    max-width: 640px
}

.hero-meta li {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .25rem 1.25rem .25rem 0;
    margin-right: 1.25rem;
    color: rgba(255, 255, 255, .78);
    font-size: .84rem;
    letter-spacing: .015em;
    border-right: 1px solid rgba(255, 255, 255, .14);
    line-height: 1.2
}

.hero-meta li:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0
}

.hero-meta li i {
    font-size: .95rem;
    color: #9ec3f0;
    line-height: 1
}

.hero-meta li span {
    white-space: nowrap
}

/* ── Ghost-light hero button (secondary action, subtle on dark) ── */
.btn-ghost-light {
    color: rgba(255, 255, 255, .92);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .22);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: background .2s ease, border-color .2s ease, color .2s ease
}

.btn-ghost-light:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .42)
}

.btn-ghost-light i {
    font-size: 1.05rem;
    transition: transform .25s ease
}

.btn-ghost-light:hover i {
    transform: translateY(2px)
}

@media (max-width: 575.98px) {
    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: .55rem
    }

    .hero-meta li {
        border-right: none;
        padding-right: 0;
        margin-right: 0
    }
}

/* Focus grid (industries) */
.industry-focus-card {
    background: var(--color-bg);
    border: var(--border-default);
    box-shadow: 0 14px 36px rgba(3, 70, 148, .055);
    padding: var(--space-lg);
    margin-top: 1.4rem;
    min-height: auto !important;
    border-radius: var(--radius-card)
}

.industry-focus-card h3 {
    font-size: 1.22rem;
    margin-bottom: var(--space-md);
    /* text-transform: uppercase; */
    letter-spacing: .02em
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem
}

.focus-item {
    border: var(--border-default);
    background: var(--color-soft);
    padding: .9rem;
    min-height: 96px;
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    border-radius: var(--radius-badge)
}

.focus-item i {
    font-size: 1.25rem;
    color: var(--color-gray);
    line-height: 1.1
}

.focus-item strong {
    display: block;
    font-size: var(--fs-caption);
    /* text-transform: uppercase; */
    color: var(--color-ink);
    letter-spacing: .04em
}

.focus-item span {
    display: block;
    font-size: var(--fs-caption);
    color: var(--color-muted);
    line-height: var(--lh-caption);
    margin-top: .25rem
}

.industry-note {
    border-left: 3px solid var(--color-primary);
    background: var(--color-bg);
    padding: var(--space-md) 1.15rem;
    margin-top: var(--space-md);
    color: var(--color-muted);
    font-size: var(--fs-body-sm);
    border-radius: 0 var(--radius-badge) var(--radius-badge) 0
}

/* Overflow fix */
.solution-card,
.feature-card,
.industry-card,
.product-card,
.card-clean {
    overflow: visible
}

@media(max-width:991px) {
/*    .hero {
        min-height: 72vh
    }*/

    .solution-body p {
        min-height: auto
    }

    .focus-grid,
    .values-grid {
        grid-template-columns: 1fr
    }

    .focus-item {
        min-height: auto
    }

    /* Heroes shouldn't eat the whole viewport on phones */
    .hero,
    .hero-home {
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 56px
    }

    .hero.hero-small {
        min-height: auto
    }

    /* Image panels scale down so they aren't disproportionately tall */
    .image-panel {
        min-height: 280px
    }

    .image-panel-tall {
        min-height: 320px
    }
}

@media(max-width:575.98px) {
    .image-panel {
        min-height: 220px
    }

    .hero,
    .hero-home {
        padding-top: 100px;
        padding-bottom: 44px
    }
}

/* Safe responsive guards */
img {
    max-width: 100%
}

body {
    overflow-wrap: break-word;
    word-wrap: break-word
}