.hn-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 8vw, 7rem) 1rem;
    background-color: var(--color-primary-dark);
    background-image: var(--hn-hero-bg, none);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.hn-hero::before,
.hn-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hn-hero::before {
    z-index: 0;
    background:
        radial-gradient(circle at 78% 36%, rgba(247, 154, 30, .16), transparent 17rem),
        linear-gradient(90deg, rgba(3, 5, 8, .94) 0%, rgba(3, 5, 8, .78) 38%, rgba(3, 5, 8, .42) 68%, rgba(3, 5, 8, .64) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, .72));
}

.hn-hero::after {
    z-index: 0;
    width: min(42rem, 58vw);
    opacity: .72;
    background:
        linear-gradient(135deg, transparent 0 6%, rgba(247, 154, 30, .48) 6% calc(6% + 1px), transparent calc(6% + 1px) 14%),
        linear-gradient(135deg, transparent 0 12%, rgba(247, 154, 30, .34) 12% calc(12% + 1px), transparent calc(12% + 1px) 20%),
        linear-gradient(135deg, transparent 0 18%, rgba(247, 154, 30, .24) 18% calc(18% + 1px), transparent calc(18% + 1px) 26%);
    mask-image: linear-gradient(135deg, #000 0 44%, transparent 72%);
}

.hn-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .85fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 5rem);
    width: min(1120px, 100%);
    margin: 0 auto;
}

.hn-hero--page .hn-hero__inner {
    grid-template-columns: minmax(0, 820px);
}

.hn-hero h1 {
    max-width: 850px;
    margin: 0 0 1rem;
    font-size: clamp(2.6rem, 6.2vw, 5.8rem);
    line-height: .96;
}

.hn-hero p {
    max-width: 690px;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1.04rem, 2vw, 1.25rem);
}

.hn-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.5rem;
}

.hn-tool-hero {
    position: relative;
    min-height: 420px;
}

.hn-hero-intake {
    position: relative;
    width: min(420px, 100%);
    margin-left: auto;
    padding: clamp(1.25rem, 2.6vw, 2rem);
    border: 1px solid rgba(247, 154, 30, .38);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(14, 16, 18, .84), rgba(6, 8, 12, .92)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 5px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .5);
}

.hn-hero-intake__seal {
    position: absolute;
    top: -2.1rem;
    left: 50%;
    display: grid;
    width: 4.2rem;
    height: 4.2rem;
    place-items: center;
    border: 1px solid rgba(247, 154, 30, .45);
    border-radius: 18px;
    background: rgba(9, 12, 16, .92);
    transform: translateX(-50%) rotate(45deg);
}

.hn-hero-intake__seal img {
    width: 2.35rem;
    height: 2.35rem;
    filter: grayscale(1) brightness(0) invert(1);
    transform: rotate(-45deg);
}

.hn-hero-intake__head {
    margin-top: 1.25rem;
    text-align: center;
}

.hn-hero-intake__head h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: .95;
    text-transform: uppercase;
}

.hn-hero-intake__head h2 span {
    color: var(--color-secondary);
}

.hn-hero-intake__head p,
.hn-hero-intake__privacy {
    margin: .5rem 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: .9rem;
}

.hn-hero-intake__form {
    display: grid;
    gap: .7rem;
    margin-top: 1.2rem;
}

.hn-hero-intake .hn-hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hn-hero-intake__field {
    position: relative;
    display: block;
}

.hn-hero-intake__field::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: .92rem;
    left: .95rem;
    width: 1.05rem;
    height: 1.05rem;
    border: 0;
    background: center / contain no-repeat;
    opacity: .9;
}

.hn-hero-intake__field--name::before {
    background-image: url("../../icons/form-user.svg");
}

.hn-hero-intake__field--phone::before {
    background-image: url("../../icons/form-phone.svg");
}

.hn-hero-intake__field--email::before {
    background-image: url("../../icons/form-mail.svg");
}

.hn-hero-intake__field--select::before {
    background-image: url("../../icons/form-repair.svg");
}

.hn-hero-intake__field--message::before {
    background-image: url("../../icons/form-note.svg");
}

.hn-hero-intake input,
.hn-hero-intake select,
.hn-hero-intake textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 3px;
    background: rgba(3, 5, 8, .58);
    color: #fff;
    font: inherit;
}

.hn-hero-intake input,
.hn-hero-intake select {
    min-height: 48px;
    padding: .8rem .9rem .8rem 2.65rem;
}

.hn-hero-intake textarea {
    min-height: 92px;
    padding: .85rem .9rem .85rem 2.65rem;
    resize: vertical;
}

.hn-hero-intake input::placeholder,
.hn-hero-intake textarea::placeholder {
    color: rgba(255, 255, 255, .62);
}

.hn-hero-intake select {
    appearance: none;
    padding-right: 2.7rem;
    background-image: url("../../icons/form-chevron.svg");
    background-position: right .9rem center;
    background-repeat: no-repeat;
    background-size: .85rem;
}

.hn-hero-intake .hn-button {
    width: 100%;
    justify-content: center;
}

.hn-hero-intake__privacy {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
}

.hn-hero-intake__privacy span {
    flex: 0 0 1.05rem;
    width: 1.05rem;
    height: 1.05rem;
    border: 0;
    background: url("../../icons/trust-shield.svg") center / contain no-repeat;
}

.hn-tool-hero__blade {
    position: absolute;
    inset: 2rem 1rem auto auto;
    width: 260px;
    aspect-ratio: 1;
    border: 24px solid rgba(243, 178, 53, .92);
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.22) 0 8deg, transparent 8deg 18deg);
    animation: hn-spin 28s linear infinite;
}

.hn-tool-hero__card {
    position: absolute;
    top: 5.5rem;
    left: 1rem;
    width: min(330px, 88%);
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    color: var(--color-primary-dark);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.hn-tool-hero__card img {
    width: 78px;
    margin-bottom: 1rem;
}

.hn-tool-hero__card span,
.hn-tool-hero__card strong {
    display: block;
}

.hn-tool-hero__measure {
    position: absolute;
    right: 0;
    bottom: 5rem;
    width: 280px;
    height: 18px;
    border-radius: 8px;
    background: repeating-linear-gradient(90deg, var(--color-secondary), var(--color-secondary) 14px, #23170b 14px, #23170b 17px);
    transform: rotate(-8deg);
}

.hn-tool-hero__hammer {
    position: absolute;
    right: 4rem;
    bottom: 1.2rem;
    width: 38px;
    height: 190px;
    border-radius: 999px;
    background: var(--color-accent);
    transform: rotate(38deg);
    transform-origin: bottom center;
    animation: hn-tap 4.8s ease-in-out infinite;
}

.hn-tool-hero__hammer::before {
    content: "";
    position: absolute;
    top: -28px;
    left: -46px;
    width: 130px;
    height: 40px;
    border-radius: 7px;
    background: #e9edf0;
}

.hn-dust {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(243, 178, 53, .75);
    animation: hn-float 5s ease-in-out infinite;
}

.hn-dust--one { left: 20%; bottom: 18%; }
.hn-dust--two { left: 66%; bottom: 34%; animation-delay: 1s; }
.hn-dust--three { left: 45%; bottom: 62%; animation-delay: 2s; }

@keyframes hn-spin {
    to { transform: rotate(360deg); }
}

@keyframes hn-tap {
    0%, 85%, 100% { transform: rotate(38deg); }
    90% { transform: rotate(28deg); }
}

@keyframes hn-float {
    0%, 100% { transform: translateY(0); opacity: .45; }
    50% { transform: translateY(-30px); opacity: .95; }
}

@media (max-width: 860px) {
    .hn-hero__inner {
        grid-template-columns: 1fr;
    }

    .hn-tool-hero {
        min-height: 300px;
    }

    .hn-hero-intake {
        margin-inline: 0 auto;
    }
}

@media (max-width: 560px) {
    .hn-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        width: min(100%, 320px);
    }

    .hn-hero__actions .hn-button {
        width: 100%;
    }
}
