/* Type-led hero: no photography, brand navy, technical linework and client logos.
   Note: the template sets html { font-size: 10px }, so sizes here are in px. */
.loger-hero {
    --hero-navy: #00236B;
    --hero-deep: #061533;
    --hero-ink: #FFFFFF;
    --hero-muted: #C9D6F0;
    --hero-ease: cubic-bezier(.16, 1, .3, 1);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 120px 0 72px;
    background:
        radial-gradient(120% 90% at 85% 10%, #0B3A9E 0%, rgba(11, 58, 158, 0) 55%),
        linear-gradient(160deg, var(--hero-navy) 0%, var(--hero-deep) 100%);
    color: var(--hero-ink);
}

/* Linework: sensor network + camera coverage plan */
.loger-hero-art {
    position: absolute;
    top: 0;
    right: 0;
    width: min(62%, 900px);
    height: 100%;
    z-index: -1;
    pointer-events: none;
    color: #FFFFFF;
    opacity: .32;
}

.loger-hero-art .hero-line {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.25;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    animation: hero-draw 2.4s var(--hero-ease) both;
}

.loger-hero-art .hero-ring {
    fill: none;
    stroke: currentColor;
    stroke-width: 1;
    stroke-dasharray: 3 8;
    opacity: .7;
}

.loger-hero-art .hero-node {
    fill: currentColor;
    animation: hero-fade 1.2s var(--hero-ease) both;
    animation-delay: 1s;
}

.loger-hero-art .hero-node.is-hollow {
    fill: var(--hero-navy);
    stroke: currentColor;
    stroke-width: 1.5;
}

@keyframes hero-draw {
    from {
        stroke-dashoffset: 1;
    }
}

@keyframes hero-fade {
    from {
        opacity: 0;
    }
}

.loger-hero-content {
    max-width: 760px;
}

/* main.css clamps every *title* heading to two lines; the hero needs the full text */
h1.loger-hero-title {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    overflow-wrap: normal;
    margin: 0 0 24px;
    color: var(--hero-ink);
    font-size: clamp(36px, 4.4vw, 64px);
    line-height: 1.08;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.loger-hero-lead {
    margin: 0 0 40px;
    max-width: 56ch;
    color: var(--hero-muted);
    font-size: 19px;
    line-height: 1.6;
}

.loger-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.loger-hero-btn {
    display: inline-block;
    padding: 16px 30px;
    border: 2px solid #FFFFFF;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .3s var(--hero-ease), color .3s var(--hero-ease);
}

.loger-hero-btn.is-primary {
    background: #FFFFFF;
    color: var(--hero-navy);
}

.loger-hero-btn.is-primary:hover {
    background: #E6EBF5;
    border-color: #E6EBF5;
    color: var(--hero-navy);
}

.loger-hero-btn.is-secondary {
    background: transparent;
    color: #FFFFFF;
}

.loger-hero-btn.is-secondary:hover {
    background: rgba(255, 255, 255, .12);
    color: #FFFFFF;
}

.loger-hero-btn:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 3px;
}

.loger-hero-clients {
    margin-top: 88px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.loger-hero-clients-label {
    margin: 0 0 20px;
    color: var(--hero-muted);
    font-size: 14px;
}

.loger-hero-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 48px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.loger-hero-logos img {
    display: block;
    height: 34px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .85;
}

@media (max-width: 991px) {
    .loger-hero {
        padding: 88px 0 56px;
    }

    .loger-hero-art {
        width: 100%;
        opacity: .18;
    }

    .loger-hero-clients {
        margin-top: 64px;
    }
}

@media (max-width: 575px) {
    .loger-hero {
        padding: 64px 0 48px;
    }

    .loger-hero-lead {
        font-size: 17px;
    }

    .loger-hero-btn {
        flex: 1 1 100%;
        text-align: center;
    }

    .loger-hero-logos {
        gap: 18px 32px;
    }

    .loger-hero-logos img {
        height: 28px;
        max-width: 120px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .loger-hero-art .hero-line,
    .loger-hero-art .hero-node {
        animation: none;
    }

    .loger-hero-btn {
        transition: none;
    }
}
