/* FixPoint Home / Hero visual refinement */
#home.fixpoint-hero-v3,
#hero.fixpoint-hero-v3 {
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - var(--fixpoint-header-height, 78px));
    min-height: calc(100svh - var(--fixpoint-header-height, 78px));
    min-height: calc(100dvh - var(--fixpoint-header-height, 78px));
    overflow: hidden;
    display: block;
    padding: 0;
    text-align: left;
    background:
        radial-gradient(circle at 73% 34%, rgba(255, 140, 0, .08), transparent 31%),
        linear-gradient(112deg, #030303 0%, #070707 50%, #020202 100%);
    color: #f7f7f7;
}

/* Dedicated left-side technology ornament supplied by the user. */
#home.fixpoint-hero-v3::before,
#hero.fixpoint-hero-v3::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 0;
    width: clamp(190px, 25vw, 390px);
    pointer-events: none;
    background: url("../images/hero-circuit-left.webp") left center / auto 100% no-repeat;
    opacity: .90;
}

#home.fixpoint-hero-v3::after,
#hero.fixpoint-hero-v3::after {
    content: "";
    position: absolute;
    z-index: 5;
    inset: 0;
    pointer-events: none;
    box-shadow:
        inset 0 0 110px rgba(0, 0, 0, .30),
        inset 0 -38px 70px rgba(0, 0, 0, .34);
}

.fixpoint-hero-stage {
    position: relative;
    z-index: 2;
    width: min(1440px, calc(100% - 48px));
    min-height: calc(100vh - var(--fixpoint-header-height, 78px));
    min-height: calc(100svh - var(--fixpoint-header-height, 78px));
    min-height: calc(100dvh - var(--fixpoint-header-height, 78px));
    margin: 0 auto;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: clamp(12px, 1.5vh, 18px);
    padding: clamp(18px, 2.2vh, 26px) 0 clamp(18px, 2.2vh, 26px);
}

.fixpoint-hero-main {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    align-items: center;
    gap: clamp(18px, 2vw, 32px);
}

.fixpoint-hero-copy {
    position: relative;
    z-index: 4;
    min-width: 0;
    max-width: 620px;
    align-self: center;
    padding-left: clamp(46px, 5.6vw, 84px);
}

.fixpoint-hero-kicker {
    margin: 0 0 clamp(10px, 1.4vh, 16px);
    color: #ff930f;
    font-family: var(--fixpoint-font-semibold, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif);
    font-size: clamp(.71rem, .72vw, .84rem);
    font-weight: 600;
    letter-spacing: .035em;
    text-transform: uppercase;
}

#home.fixpoint-hero-v3 .fixpoint-hero-heading,
#hero.fixpoint-hero-v3 .fixpoint-hero-heading {
    margin: 0;
    max-width: 620px;
    color: #f8f8f8;
    font-family: var(--fixpoint-font-semibold, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif);
    font-size: clamp(3rem, 4.65vw, 5.35rem);
    font-weight: 600;
    line-height: .97;
    letter-spacing: -.045em;
}

.fixpoint-hero-heading > span,
.fixpoint-hero-heading > strong {
    display: block;
}

.fixpoint-hero-heading > strong {
    margin-top: .09em;
    color: #ff8c00;
    font: inherit;
    text-shadow: 0 0 24px rgba(255, 140, 0, .10);
}

#home.fixpoint-hero-v3 .fixpoint-hero-description,
#hero.fixpoint-hero-v3 .fixpoint-hero-description {
    max-width: 560px;
    margin: clamp(16px, 2vh, 22px) 0 0;
    color: #c9c9c9;
    font-size: clamp(.91rem, .9vw, 1.03rem);
    line-height: 1.6;
}

.fixpoint-hero-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(20px, 2.7vh, 30px);
}

.fixpoint-hero-benefit {
    position: relative;
    min-width: 0;
    min-height: clamp(88px, 10vh, 104px);
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 5px;
    padding: 8px clamp(7px, .7vw, 11px);
    text-align: center;
}

.fixpoint-hero-benefit:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 13%;
    right: 0;
    bottom: 13%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .18), transparent);
}

.fixpoint-hero-benefit-icon {
    width: clamp(30px, 2.25vw, 36px);
    height: clamp(30px, 2.25vw, 36px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
    color: #ff8c00;
    filter: drop-shadow(0 0 8px rgba(255, 140, 0, .14));
    transition: color 170ms ease, filter 170ms ease, transform 170ms ease;
}

.fixpoint-hero-benefit:hover .fixpoint-hero-benefit-icon {
    color: #ffad45;
    filter: drop-shadow(0 0 11px rgba(255, 140, 0, .30));
    transform: translateY(-1px);
}

.fixpoint-hero-benefit-icon svg,
.fixpoint-hero-floating-icon svg,
.fixpoint-hero-stat-icon svg,
.fixpoint-hero-action-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.fixpoint-hero-benefit strong {
    color: #f4f4f4;
    font-family: var(--fixpoint-font-semibold, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif);
    font-size: clamp(.73rem, .73vw, .85rem);
    font-weight: 600;
    line-height: 1.15;
    text-transform: uppercase;
}

.fixpoint-hero-benefit > span:last-child {
    color: #b5b5b5;
    font-size: clamp(.65rem, .65vw, .75rem);
    line-height: 1.32;
}

#home.fixpoint-hero-v3 .fixpoint-hero-actions,
#hero.fixpoint-hero-v3 .fixpoint-hero-actions {
    margin: clamp(18px, 2.2vh, 25px) 0 0;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

.fixpoint-hero-action {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--fixpoint-font-semibold, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
}

.fixpoint-hero-action:hover,
.fixpoint-hero-action:focus-visible {
    transform: translateY(-1px);
}

.fixpoint-hero-action:focus-visible,
.fixpoint-hero-scroll:focus-visible {
    outline: 2px solid rgba(255, 173, 69, .95);
    outline-offset: 3px;
}

.fixpoint-hero-action--primary {
    min-width: 205px;
    border: 1px solid #ff8c00;
    background: linear-gradient(180deg, #ff991f, #ff8500);
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 140, 0, .14);
}

.fixpoint-hero-action--primary:hover,
.fixpoint-hero-action--primary:focus-visible {
    border-color: #ffad45;
    box-shadow: 0 9px 28px rgba(255, 140, 0, .24);
}

.fixpoint-hero-action--secondary {
    min-width: 170px;
    border: 1px solid rgba(255, 255, 255, .34);
    background: rgba(5, 5, 5, .58);
    color: #f5f5f5;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.fixpoint-hero-action--secondary:hover,
.fixpoint-hero-action--secondary:focus-visible {
    border-color: rgba(255, 140, 0, .72);
    box-shadow: 0 0 18px rgba(255, 140, 0, .10);
}

.fixpoint-hero-action-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
}

.fixpoint-hero-action-arrow {
    margin-left: 4px;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
}

/* Right-side repair visual: no oversized scaling, no aggressive crop. */
.fixpoint-hero-visual {
    position: relative;
    z-index: 2;
    min-width: 0;
    min-height: clamp(430px, 57vh, 630px);
    align-self: stretch;
    overflow: hidden;
}

.fixpoint-hero-visual::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 10% 3% 5% 3%;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 0, .12), transparent 65%);
    filter: blur(26px);
}

.fixpoint-hero-visual-image {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.52) 10%, #000 24%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.52) 10%, #000 24%, #000 100%);
    filter: saturate(.98) contrast(1.02);
}

.fixpoint-hero-floating-card {
    position: absolute;
    z-index: 3;
    width: min(290px, 43%);
    min-height: 92px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(18, 18, 18, .84), rgba(4, 4, 4, .80));
    box-shadow: 0 18px 38px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .025);
    -webkit-backdrop-filter: blur(15px) saturate(112%);
    backdrop-filter: blur(15px) saturate(112%);
}

.fixpoint-hero-floating-card--technology {
    top: clamp(22px, 4.5vh, 54px);
    left: 18%;
}

.fixpoint-hero-floating-card--technician {
    right: 2%;
    bottom: clamp(28px, 6vh, 72px);
}

.fixpoint-hero-floating-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b9b9b9;
}

.fixpoint-hero-floating-card > span:last-child {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.fixpoint-hero-floating-card strong {
    color: #ff960f;
    font-family: var(--fixpoint-font-semibold, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.fixpoint-hero-floating-card small {
    color: #d0d0d0;
    font-size: .74rem;
    line-height: 1.42;
}

.fixpoint-hero-scroll {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: clamp(108px, 13vh, 136px);
    display: grid;
    justify-items: center;
    gap: 3px;
    color: #c7c7c7;
    font-family: var(--fixpoint-font-ui, "Segoe UI", Arial, sans-serif);
    font-size: .60rem;
    letter-spacing: .04em;
    text-decoration: none;
    transform: translateX(-50%);
    opacity: .88;
    transition: opacity 180ms ease, transform 180ms ease;
}

.fixpoint-hero-scroll:hover {
    color: #fff;
    opacity: 1;
}

.fixpoint-hero-scroll.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 5px);
}

.fixpoint-hero-scroll-mouse {
    position: relative;
    width: 21px;
    height: 34px;
    display: block;
    border: 1.5px solid rgba(255, 255, 255, .82);
    border-radius: 12px;
}

.fixpoint-hero-scroll-mouse i {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 3px;
    height: 7px;
    border-radius: 3px;
    background: #ff930f;
    transform: translateX(-50%);
    animation: fixpoint-scroll-dot 1.7s ease-in-out infinite;
}

.fixpoint-hero-scroll-arrow {
    color: #ff930f;
    font-size: 1rem;
    line-height: .8;
}

@keyframes fixpoint-scroll-dot {
    0%, 100% { opacity: .35; transform: translate(-50%, 0); }
    50% { opacity: 1; transform: translate(-50%, 9px); }
}

.fixpoint-hero-stats {
    position: relative;
    z-index: 4;
    min-height: clamp(86px, 10vh, 102px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(255, 140, 0, .50);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(17, 13, 9, .78), rgba(5, 5, 5, .84));
    box-shadow: 0 20px 46px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .035);
    -webkit-backdrop-filter: blur(16px) saturate(112%);
    backdrop-filter: blur(16px) saturate(112%);
}

.fixpoint-hero-stat {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(11px, 1.2vw, 17px);
    padding: 14px clamp(16px, 1.8vw, 27px);
}

.fixpoint-hero-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20%;
    right: 0;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .20), transparent);
}

.fixpoint-hero-stat-icon {
    width: clamp(34px, 2.8vw, 46px);
    height: clamp(34px, 2.8vw, 46px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #eee4d8;
}

.fixpoint-hero-stat-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
    color: #c9c9c9;
    font-size: clamp(.70rem, .72vw, .82rem);
    line-height: 1.25;
}

.fixpoint-hero-stat-value {
    color: #ff930f;
    font-family: var(--fixpoint-font-semibold, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif);
    font-size: clamp(1.35rem, 1.65vw, 1.9rem);
    font-weight: 600;
    line-height: 1;
}

.fixpoint-hero-stat-value small {
    margin-left: 4px;
    color: #f2f2f2;
    font: inherit;
    font-size: .72em;
}

@media (max-width: 1220px) {
    #home.fixpoint-hero-v3::before,
    #hero.fixpoint-hero-v3::before {
        width: clamp(160px, 23vw, 300px);
        opacity: .78;
    }

    .fixpoint-hero-stage {
        width: min(100% - 36px, 1440px);
    }

    .fixpoint-hero-main {
        grid-template-columns: minmax(0, 45%) minmax(0, 55%);
        gap: 12px;
    }

    .fixpoint-hero-copy {
        padding-left: clamp(38px, 4.6vw, 62px);
    }

    #home.fixpoint-hero-v3 .fixpoint-hero-heading,
    #hero.fixpoint-hero-v3 .fixpoint-hero-heading {
        font-size: clamp(2.8rem, 5.35vw, 4.65rem);
    }

    .fixpoint-hero-floating-card {
        width: min(250px, 47%);
    }

    .fixpoint-hero-floating-card--technology {
        left: 12%;
    }

    .fixpoint-hero-stat {
        padding-left: 14px;
        padding-right: 14px;
    }
}

@media (max-height: 760px) and (min-width: 981px) {
    .fixpoint-hero-stage {
        gap: 9px;
        padding-top: 11px;
        padding-bottom: 11px;
    }

    .fixpoint-hero-copy {
        padding-left: clamp(32px, 4vw, 56px);
    }

    #home.fixpoint-hero-v3 .fixpoint-hero-heading,
    #hero.fixpoint-hero-v3 .fixpoint-hero-heading {
        font-size: clamp(2.45rem, 7vh, 3.95rem);
    }

    #home.fixpoint-hero-v3 .fixpoint-hero-description,
    #hero.fixpoint-hero-v3 .fixpoint-hero-description {
        margin-top: 11px;
        font-size: .86rem;
    }

    .fixpoint-hero-kicker {
        margin-bottom: 8px;
    }

    .fixpoint-hero-benefits {
        margin-top: 12px;
    }

    .fixpoint-hero-benefit {
        min-height: 68px;
        gap: 2px;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .fixpoint-hero-benefit-icon {
        width: 26px;
        height: 26px;
    }

    #home.fixpoint-hero-v3 .fixpoint-hero-actions,
    #hero.fixpoint-hero-v3 .fixpoint-hero-actions {
        margin-top: 11px;
    }

    .fixpoint-hero-action {
        min-height: 41px;
        padding: 8px 14px;
        font-size: .80rem;
    }

    .fixpoint-hero-visual {
        min-height: 350px;
    }

    .fixpoint-hero-floating-card {
        min-height: 72px;
        padding: 9px 11px;
    }

    .fixpoint-hero-floating-icon {
        width: 32px;
        height: 32px;
    }

    .fixpoint-hero-stats {
        min-height: 70px;
    }

    .fixpoint-hero-stat {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .fixpoint-hero-scroll {
        bottom: 84px;
    }
}

@media (max-width: 980px) {
    #home.fixpoint-hero-v3,
    #hero.fixpoint-hero-v3,
    .fixpoint-hero-stage {
        min-height: auto;
    }

    #home.fixpoint-hero-v3,
    #hero.fixpoint-hero-v3 {
        overflow: visible;
    }

    #home.fixpoint-hero-v3::before,
    #hero.fixpoint-hero-v3::before {
        top: 0;
        bottom: auto;
        width: 220px;
        height: 580px;
        background-size: auto 100%;
        opacity: .46;
    }

    .fixpoint-hero-stage {
        width: min(100% - 32px, 760px);
        grid-template-rows: auto auto auto;
        gap: 22px;
        padding: 42px 0 30px;
    }

    .fixpoint-hero-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .fixpoint-hero-copy {
        max-width: 700px;
        padding-left: 18px;
    }

    .fixpoint-hero-visual {
        min-height: clamp(360px, 66vw, 500px);
        overflow: hidden;
        border-radius: 18px;
        border: 1px solid rgba(255, 140, 0, .14);
        background: #050505;
    }

    .fixpoint-hero-visual-image {
        -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 88%, rgba(0,0,0,.75) 100%);
        mask-image: linear-gradient(180deg, #000 0%, #000 88%, rgba(0,0,0,.75) 100%);
        object-position: center center;
    }

    .fixpoint-hero-floating-card--technology {
        top: 18px;
        left: 18px;
    }

    .fixpoint-hero-floating-card--technician {
        right: 18px;
        bottom: 18px;
    }

    .fixpoint-hero-scroll {
        position: relative;
        left: auto;
        bottom: auto;
        justify-self: center;
        transform: none;
    }

    .fixpoint-hero-scroll.is-hidden {
        transform: translateY(5px);
    }

    .fixpoint-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: 0;
    }

    .fixpoint-hero-stat {
        min-height: 86px;
    }

    .fixpoint-hero-stat:nth-child(2)::after {
        display: none;
    }

    .fixpoint-hero-stat:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }
}

@media (max-width: 640px) {
    #home.fixpoint-hero-v3::before,
    #hero.fixpoint-hero-v3::before {
        width: 160px;
        height: 460px;
        opacity: .34;
    }

    .fixpoint-hero-stage {
        width: min(100% - 24px, 600px);
        padding-top: 32px;
        padding-bottom: 24px;
        gap: 18px;
    }

    .fixpoint-hero-copy {
        padding-left: 8px;
    }

    #home.fixpoint-hero-v3 .fixpoint-hero-heading,
    #hero.fixpoint-hero-v3 .fixpoint-hero-heading {
        font-size: clamp(2.45rem, 12.2vw, 3.7rem);
    }

    #home.fixpoint-hero-v3 .fixpoint-hero-description,
    #hero.fixpoint-hero-v3 .fixpoint-hero-description {
        font-size: .92rem;
        line-height: 1.56;
    }

    .fixpoint-hero-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 21px;
    }

    .fixpoint-hero-benefit {
        min-height: 96px;
        padding: 9px 7px;
    }

    .fixpoint-hero-benefit:nth-child(2)::after {
        display: none;
    }

    .fixpoint-hero-benefit:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, .10);
    }

    #home.fixpoint-hero-v3 .fixpoint-hero-actions,
    #hero.fixpoint-hero-v3 .fixpoint-hero-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 21px;
    }

    .fixpoint-hero-action {
        width: 100%;
        min-height: 47px;
    }

    .fixpoint-hero-visual {
        min-height: clamp(330px, 92vw, 430px);
    }

    .fixpoint-hero-floating-card {
        width: min(255px, calc(100% - 28px));
        min-height: 72px;
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 9px;
        padding: 9px 11px;
    }

    .fixpoint-hero-floating-card--technology {
        top: 14px;
        left: 14px;
    }

    .fixpoint-hero-floating-card--technician {
        right: 14px;
        bottom: 14px;
    }

    .fixpoint-hero-floating-icon {
        width: 30px;
        height: 30px;
    }

    .fixpoint-hero-floating-card strong {
        font-size: .66rem;
    }

    .fixpoint-hero-floating-card small {
        font-size: .66rem;
    }

    .fixpoint-hero-stats {
        border-radius: 12px;
    }

    .fixpoint-hero-stat {
        min-height: 82px;
        gap: 9px;
        padding: 11px;
    }

    .fixpoint-hero-stat-icon {
        width: 32px;
        height: 32px;
    }

    .fixpoint-hero-stat-value {
        font-size: 1.34rem;
    }
}

@media (max-width: 420px) {
    .fixpoint-hero-kicker {
        font-size: .66rem;
    }

    #home.fixpoint-hero-v3 .fixpoint-hero-heading,
    #hero.fixpoint-hero-v3 .fixpoint-hero-heading {
        font-size: clamp(2.25rem, 12.4vw, 3rem);
    }

    .fixpoint-hero-stats {
        grid-template-columns: 1fr;
    }

    .fixpoint-hero-stat {
        min-height: 72px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .fixpoint-hero-stat::after {
        display: none;
    }

    .fixpoint-hero-stat:last-child {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fixpoint-hero-action,
    .fixpoint-hero-benefit-icon,
    .fixpoint-hero-scroll {
        transition: none;
    }

    .fixpoint-hero-scroll-mouse i {
        animation: none;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .fixpoint-hero-floating-card,
    .fixpoint-hero-stats,
    .fixpoint-hero-action--secondary {
        background: rgba(5, 5, 5, .96);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}
