/* ==========================================================================
   BizProCall Landing — shared styles for per-industry fragments
   Loaded once on the main landing page. Per-industry unique styles live in
   public/assets/css/industry/{slug}.css (swapped by industry-modal.js).
   Scoped to .mlp-body like landing.css.
   ========================================================================== */

.mlp-body .mlp-industry-page {
    --mlp-industry-nav-stack: calc(var(--mlp-nav-float-top) + var(--mlp-nav-height));
    min-height: 100vh;
    background-color: var(--mlp-bg-primary);
}

@media (max-width: 768px) {
    .mlp-body .mlp-industry-page {
        --mlp-industry-nav-stack: calc(var(--mlp-nav-float-top-mobile) + var(--mlp-nav-height-mobile));
    }
}

/* Full-bleed hero: pull photo under sticky industry nav (removes top gap) */
.mlp-body .mlp-industry-page > .mlp-nav--industry {
    margin-bottom: calc(-1 * var(--mlp-industry-nav-stack));
}

.mlp-body .mlp-industry-page > .mlp-nav--industry + section[class*="-hero"] {
    padding-top: var(--mlp-industry-nav-stack);
}

/* Shared section scaffolding */

.mlp-body .mlp-ind-section {
    padding-block: var(--mlp-section-y) calc(var(--mlp-section-y) + 4px);
}

.mlp-body .mlp-ind-head {
    margin-bottom: 32px;
    text-align: center;
}

.mlp-body .mlp-ind-head__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: var(--mlp-accent);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mlp-body .mlp-ind-head__eyebrow i {
    font-size: 13px;
    line-height: 1;
}

.mlp-body .mlp-ind-head__title {
    margin: 0;
    color: var(--mlp-text-on-light);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.mlp-body .mlp-ind-head__subtitle {
    margin: 12px auto 0;
    max-width: 640px;
    color: var(--mlp-text-muted-light);
    font-size: 15px;
    line-height: 1.55;
}

@media (max-width: 768px) {
    .mlp-body .mlp-ind-head__title {
        font-size: 22px;
    }

    .mlp-body .mlp-ind-head__subtitle {
        font-size: 14px;
    }
}

/* Shared action buttons (fragments do not use the .mlp-hero/.mlp-cta scoping) */

.mlp-body a.mlp-ind-btn,
.mlp-body button.mlp-ind-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 26px;
    border-radius: var(--mlp-btn-radius);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mlp-body a.mlp-ind-btn--primary {
    color: var(--mlp-bg-primary);
    background: linear-gradient(180deg, var(--mlp-accent-secondary) 0%, var(--mlp-accent) 55%, var(--mlp-accent-hover) 100%);
    border: 1px solid var(--mlp-accent);
}

.mlp-body a.mlp-ind-btn--primary:hover,
.mlp-body a.mlp-ind-btn--primary:focus-visible {
    background: linear-gradient(180deg, var(--mlp-accent) 0%, var(--mlp-accent-hover) 100%);
    border-color: var(--mlp-accent-hover);
}

.mlp-body a.mlp-ind-btn--outline {
    color: var(--mlp-text-on-dark);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.mlp-body a.mlp-ind-btn--outline:hover,
.mlp-body a.mlp-ind-btn--outline:focus-visible {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
}

.mlp-body .mlp-ind-btn__icon {
    flex-shrink: 0;
    font-size: 14px;
    line-height: 1;
}

.mlp-body .mlp-ind-btn__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    flex-shrink: 0;
}

.mlp-body .mlp-ind-btn__play i {
    display: block;
    font-size: 9px;
    line-height: 1;
}

@media (max-width: 640px) {
    .mlp-body a.mlp-ind-btn,
    .mlp-body button.mlp-ind-btn {
        width: 100%;
    }
}

/* Shared feature card base (many industries build on this) */

.mlp-body .mlp-ind-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 22px 24px;
    border: 1px solid var(--mlp-border-light);
    border-radius: var(--mlp-radius-card);
    background: #ffffff;
    box-sizing: border-box;
}

.mlp-body .mlp-ind-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--mlp-accent) 12%, transparent);
    color: var(--mlp-accent);
    font-size: 20px;
    line-height: 1;
}

.mlp-body .mlp-ind-card__icon i {
    display: block;
    line-height: 1;
}

.mlp-body .mlp-ind-card__title {
    margin: 0;
    color: var(--mlp-text-on-light);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.mlp-body .mlp-ind-card__desc {
    margin: 0;
    color: var(--mlp-text-muted-light);
    font-size: 14px;
    line-height: 1.65;
}

/* ==========================================================================
   Modern polish — shared across all industry fragments
   ========================================================================== */

/* Staggered section entrance */
.mlp-industry-page > * {
    animation: mlp-ind-rise 0.55s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.mlp-industry-page > :nth-child(2) {
    animation-delay: 0.08s;
}

.mlp-industry-page > :nth-child(3) {
    animation-delay: 0.16s;
}

.mlp-industry-page > :nth-child(4) {
    animation-delay: 0.24s;
}

@keyframes mlp-ind-rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Balanced, modern headings */
.mlp-industry-page h1,
.mlp-industry-page h2,
.mlp-industry-page h3 {
    text-wrap: balance;
}

/* Hero photo subtle zoom on hover */
.mlp-industry-page [class*="hero__photo"] {
    overflow: hidden;
}

.mlp-industry-page [class*="hero__photo"] img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
    .mlp-industry-page [class*="hero__photo"]:hover img {
        transform: scale(1.05);
    }
}

/* Focus visibility */
.mlp-industry-page :focus-visible {
    outline: 2px solid var(--mlp-accent);
    outline-offset: 2px;
}

/* Accent selection color */
.mlp-industry-page ::selection {
    background: rgba(var(--mlp-accent-rgb), 0.3);
    color: var(--mlp-text-on-dark);
}

/* Mobile hero — copy before visual; mockups in document flow */
@media (max-width: 1200px) {
    body.mlp-body .mlp-industry-page [class*="-hero__inner"] {
        grid-template-columns: minmax(0, 1fr);
    }

    body.mlp-body .mlp-industry-page [class*="-hero__copy"],
    body.mlp-body .mlp-industry-page [class*="-hero__panel"] {
        order: -1;
    }

    body.mlp-body .mlp-industry-page [class*="-hero__visual"] {
        order: 0;
        width: 100%;
        max-width: min(100%, 480px);
        margin-inline: auto;
    }
}

@media (max-width: 768px) {
    body.mlp-body .mlp-industry-page [class*="-hero__visual"] {
        min-height: auto;
        padding-block: 8px 16px;
    }

    body.mlp-body .mlp-industry-page [class$="-hero__chips"],
    body.mlp-body .mlp-industry-page [class$="-hero__tablet"],
    body.mlp-body .mlp-industry-page [class$="-hero__invoice"],
    body.mlp-body .mlp-industry-page [class$="-hero__dispatch"],
    body.mlp-body .mlp-industry-page [class$="-hero__route"],
    body.mlp-body .mlp-industry-page [class$="-hero__monitor"],
    body.mlp-body .mlp-industry-page [class$="-hero__checklist"],
    body.mlp-body .mlp-industry-page [class$="-hero__phone"],
    body.mlp-body .mlp-industry-page [class$="-hero__mapstack"],
    body.mlp-body .mlp-industry-page [class$="-hero__calendar"] {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: min(100%, 340px);
        margin-inline: auto;
    }

    body.mlp-body .mlp-industry-page [class*="-hero__float-card"] {
        display: none;
    }
}

/* Small-phone typography */
@media (max-width: 480px) {
    body.mlp-body .mlp-industry-page [class*="hero__title"] {
        font-size: 30px;
        letter-spacing: -0.015em;
    }

    body.mlp-body .mlp-industry-page [class*="hero__subtitle"] {
        font-size: 15px;
        line-height: 1.6;
    }

    body.mlp-body .mlp-industry-page .mlp-ind-head__title {
        font-size: 20px;
    }

    body.mlp-body .mlp-industry-page .mlp-ind-head__subtitle {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mlp-industry-page > * {
        animation: none;
    }

    .mlp-industry-page [class*="hero__photo"] img {
        transition: none;
    }
}
