*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --font-heading: Rajdhani, Oswald, "Arial Narrow", "Aptos Narrow", "Segoe UI", sans-serif;
    --font-body: Inter, Arial, "Segoe UI", sans-serif;
    --container: 1180px;
    --container-wide: 1320px;
    --section-padding: clamp(72px, 8vw, 120px);
    --card-radius: 18px;
    --radius-button: 12px;
    --shadow-soft: 0 18px 50px rgba(15, 23, 42, .1);
    --shadow-card: 0 22px 55px rgba(15, 23, 42, .12);
    --shadow-dark: 0 30px 90px rgba(0, 0, 0, .32);
    --orange-gradient: linear-gradient(135deg, #f78a12 0%, #ffb526 100%);
    --navy-gradient: linear-gradient(135deg, #07101f 0%, #111b2f 54%, #172033 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hn-button,
.hn-primary-nav a {
    font-family: var(--font-heading);
    font-weight: 700;
}

:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 4px;
}

.screen-reader-text,
.hn-skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

.hn-skip-link:focus {
    z-index: 1000;
    top: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    padding: .75rem 1rem;
    clip: auto;
    background: var(--color-primary-dark);
    color: #fff;
}

.hn-main {
    min-height: 60vh;
}

.hn-section {
    padding: var(--section-padding) 1rem;
}

.hn-section__inner {
    width: min(var(--container), 100%);
    margin: 0 auto;
}

.hn-section--accent {
    background: var(--color-primary);
    color: #fff;
}

.hn-section--muted {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .04), rgba(247, 154, 30, .08)),
        repeating-linear-gradient(90deg, rgba(15, 23, 42, .05), rgba(15, 23, 42, .05) 1px, transparent 1px, transparent 64px);
}

.hn-section--compact {
    padding-block: clamp(2.5rem, 5vw, 4rem);
}

.hn-section-intro {
    max-width: 760px;
    margin-bottom: 2rem;
}

.hn-section-label,
.hn-hero__badge,
.hn-punch-panel__card > span,
.hn-area-band .hn-area-grid a > span,
.hn-area-band__cta > span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--color-secondary);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.hn-section-intro h2,
.hn-final-cta h2,
.hn-punch-list h2 {
    margin: .55rem 0 .8rem;
    color: var(--color-primary-dark);
    font-size: clamp(2.35rem, 4.5vw, 4.1rem);
    line-height: 1.02;
}

.hn-section--accent .hn-section-intro h2,
.hn-section--accent .hn-punch-list h2 {
    color: #fff;
}

.hn-heading-accent {
    color: var(--color-secondary);
}

.hn-split h2 {
    margin: 0 0 .65rem;
    color: var(--color-primary-dark);
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    line-height: 1.14;
}

.hn-section-intro p,
.hn-punch-list p,
.hn-split p {
    max-width: 700px;
    margin: 0;
    color: var(--color-muted);
    font-size: 1.06rem;
    line-height: 1.65;
}

.hn-section--accent .hn-punch-list p {
    color: rgba(255, 255, 255, .82);
}

.hn-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 52px;
    padding: .9rem 4.75rem .9rem 1.35rem;
    overflow: hidden;
    border: 2px solid #ffbc00;
    border-radius: 6px;
    background: linear-gradient(100deg, #ffae00, #ffd02d 68%, #ffb500);
    color: #070a0f;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    box-shadow: 0 0 0 3px #070b11, 0 0 0 4px rgba(255, 188, 0, .72), 0 12px 30px rgba(255, 181, 0, .24);
    isolation: isolate;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.hn-button::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    width: 3.65rem;
    content: "";
    background: #080c12;
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%, 24% 50%);
    transition: width .18s ease, background-color .18s ease;
}

.hn-button::after {
    position: absolute;
    z-index: 1;
    right: 1.25rem;
    width: .66rem;
    height: .66rem;
    content: "";
    border-top: 3px solid #ffbc00;
    border-right: 3px solid #ffbc00;
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.hn-button:hover,
.hn-button:focus-visible {
    color: #070a0f;
    box-shadow: 0 0 0 3px #070b11, 0 0 0 5px #ffbc00, 0 16px 36px rgba(255, 181, 0, .34);
    transform: translateY(-2px);
}

.hn-button:hover::after,
.hn-button:focus-visible::after {
    transform: translateX(3px) rotate(45deg);
}

.hn-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 7px;
}

.hn-button--ghost {
    padding-right: 1.25rem;
    overflow: visible;
    border-color: rgba(255, 255, 255, .55);
    border-width: 1px;
    border-radius: var(--radius-button);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    box-shadow: none;
}

.hn-button--dark {
    padding-right: 1.25rem;
    overflow: visible;
    border-color: var(--color-primary-dark);
    border-width: 1px;
    border-radius: var(--radius-button);
    background: var(--color-primary-dark);
    color: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .2);
}

.hn-button--ghost::before,
.hn-button--dark::before {
    content: none;
}

.hn-button--ghost::after,
.hn-button--dark::after {
    position: static;
    width: .58rem;
    height: .58rem;
    border-width: 2px;
    border-color: currentColor;
}

.hn-button--ghost:hover,
.hn-button--ghost:focus-visible,
.hn-button--dark:hover,
.hn-button--dark:focus-visible {
    color: #fff;
}

.hn-button--small {
    min-height: 44px;
    padding: .7rem 3.7rem .7rem 1rem;
    font-size: .9rem;
}

.hn-button--small::before {
    width: 2.9rem;
}

.hn-button--small::after {
    right: .95rem;
    width: .55rem;
    height: .55rem;
    border-width: 2px;
}

.hn-grid {
    display: grid;
    gap: 1rem;
}

.hn-grid--cards {
    grid-template-columns: repeat(auto-fit, minmax(min(245px, 100%), 1fr));
}

.hn-card {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    padding: 1.45rem;
    border: 1px solid var(--color-border);
    border-radius: var(--card-radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hn-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--orange-gradient);
    opacity: .78;
}

.hn-card:hover {
    border-color: rgba(247, 154, 30, .55);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.hn-card h3 {
    margin: 0 0 .6rem;
    color: var(--color-primary-dark);
    font-size: 1.25rem;
    line-height: 1.2;
}

.hn-card p {
    margin: 0 0 1rem;
    color: var(--color-muted);
}

.hn-card a,
.hn-card span,
.hn-service-chip strong {
    font-weight: 800;
}

.hn-check-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
    gap: .85rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hn-check-list li {
    min-height: 64px;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    position: relative;
}

.hn-check-list li::before {
    content: "";
    position: absolute;
    top: 1.15rem;
    left: 1.1rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--color-success);
    box-shadow: inset 0 0 0 4px #fff;
}

.hn-fix-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: .9rem;
}

.hn-fix-board a {
    position: relative;
    display: grid;
    min-height: 84px;
    align-items: center;
    padding: 1rem 1rem 1rem 3.25rem;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    color: var(--color-primary-dark);
    font-weight: 850;
    text-decoration: none;
}

.hn-fix-board a::after {
    content: "";
    position: absolute;
    right: -2rem;
    bottom: -.45rem;
    width: 7rem;
    height: 1.1rem;
    border-radius: 999px;
    background: repeating-linear-gradient(90deg, var(--color-secondary), var(--color-secondary) 12px, #23170b 12px, #23170b 15px);
    opacity: .28;
    transform: rotate(-9deg);
}

.hn-fix-board span {
    position: absolute;
    left: 1rem;
    width: 1.35rem;
    aspect-ratio: 1;
    border: 3px solid var(--color-secondary);
    border-radius: 50%;
    box-shadow: inset 0 0 0 5px #fff;
}

.hn-job-ticket {
    display: grid;
    gap: .35rem;
    padding: 1rem 1.2rem;
    border-left: 6px solid var(--color-secondary);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
}

.hn-job-ticket strong {
    color: var(--color-muted);
    font-size: .82rem;
    text-transform: uppercase;
}

.hn-job-ticket a {
    color: var(--color-primary-dark);
    font-size: 1.35rem;
    font-weight: 900;
    text-decoration: none;
}

.hn-breadcrumbs-band {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 188, 0, .34);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    background:
        linear-gradient(90deg, rgba(255, 188, 0, .08), transparent 22rem),
        radial-gradient(circle, rgba(255, 255, 255, .08) .7px, transparent .9px),
        #070c13;
    background-size: auto, 8px 8px, auto;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025), 0 12px 28px rgba(0, 0, 0, .16);
}

.hn-breadcrumbs-band::after {
    position: absolute;
    top: 0;
    right: 6%;
    width: 220px;
    height: 100%;
    content: "";
    border-right: 1px solid rgba(255, 188, 0, .2);
    border-left: 1px solid rgba(255, 188, 0, .12);
    transform: skewX(-28deg);
    pointer-events: none;
}

.hn-breadcrumbs {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(1120px, calc(100% - 2rem));
    min-height: 64px;
    align-items: center;
    margin: 0 auto;
    color: rgba(255, 255, 255, .62);
    font-family: var(--font-heading);
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.hn-breadcrumbs ol {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
    list-style: none;
}

.hn-breadcrumbs li {
    display: flex;
    min-width: 0;
    align-items: center;
}

.hn-breadcrumbs li + li::before {
    width: .52rem;
    height: .52rem;
    flex: 0 0 .52rem;
    margin: 0 .9rem;
    border-top: 1px solid #ffbc00;
    border-right: 1px solid #ffbc00;
    content: "";
    opacity: .74;
    transform: rotate(45deg);
}

.hn-breadcrumbs a {
    display: inline-flex;
    gap: .55rem;
    align-items: center;
    color: #ffbc00;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.hn-breadcrumbs a img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 8px rgba(255, 188, 0, .18));
}

.hn-breadcrumbs a:hover,
.hn-breadcrumbs a:focus-visible {
    color: #fff;
    transform: translateY(-1px);
}

.hn-breadcrumbs__current-item {
    flex: 1 1 auto;
}

.hn-breadcrumbs__current {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, .78);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hn-final-cta {
    background: var(--color-primary-dark);
    color: #fff;
    text-align: center;
}

.hn-final-cta h2 {
    color: #fff;
}

.hn-final-cta p {
    max-width: 680px;
    margin: 0 auto 1.25rem;
    color: rgba(255, 255, 255, .82);
}

@media (max-width: 760px) {
    body {
        font-size: 16px;
    }

    .hn-section {
        padding: 3rem 1rem;
    }

    .hn-breadcrumbs {
        min-height: 56px;
        font-size: .76rem;
    }

    .hn-breadcrumbs a img {
        width: 24px;
        height: 24px;
    }

    .hn-breadcrumbs li + li::before {
        margin-inline: .65rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
