:root {
    --nxh-primary: #0b5ea8;
    --nxh-primary-dark: #073f72;
    --nxh-primary-soft: #eaf4ff;
    --nxh-ink: #14243a;
    --nxh-muted: #607086;
    --nxh-line: #dfe7ef;
    --nxh-bg: #f4f7fb;
    --nxh-surface: #ffffff;
    --nxh-success: #167b68;
    --nxh-radius-xl: 28px;
    --nxh-radius-lg: 20px;
    --nxh-radius-md: 14px;
    --nxh-shadow: 0 20px 60px rgba(20, 55, 92, .11);
}

.nxh-body { margin: 0; background: var(--nxh-bg); color: var(--nxh-ink); }
.nxh, .nxh * { box-sizing: border-box; }
.nxh { width: min(1380px, 100%); margin-inline: auto; padding: 22px 18px 72px; direction: rtl; font-family: webfont, IRANSans, Tahoma, Arial, sans-serif; }
.nxh a { color: inherit; text-decoration: none; }
.nxh img { max-width: 100%; }

.nxh-hero { position: relative; overflow: hidden; min-height: 430px; border: 1px solid rgba(11,94,168,.15); border-radius: var(--nxh-radius-xl); background: #fff; box-shadow: var(--nxh-shadow); }
.nxh-hero__viewport { position: relative; min-height: 430px; }
.nxh-hero__slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr); align-items: center; gap: 28px; padding: 40px 46px 50px; opacity: 0; visibility: hidden; transform: translateX(18px); transition: opacity .45s ease, transform .45s ease, visibility .45s; background: radial-gradient(circle at 7% 10%, rgba(11,94,168,.13), transparent 33%), linear-gradient(135deg,#fff 0%,#f3f8ff 100%); }
.nxh-hero__slide.is-active { position: relative; opacity: 1; visibility: visible; transform: none; }
.nxh-hero__content { z-index: 2; max-width: 650px; }
.nxh-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--nxh-primary); font-size: 12px; font-weight: 850; }
.nxh-eyebrow::before { content: ''; width: 24px; height: 2px; border-radius: 999px; background: currentColor; }
.nxh-hero h1, .nxh-hero h2 { margin: 13px 0 14px; color: var(--nxh-ink); font-size: clamp(34px, 4.5vw, 58px); font-weight: 900; line-height: 1.45; letter-spacing: -.035em; }
.nxh-hero__content p { max-width: 610px; margin: 0; color: #4c5f78; font-size: 15px; line-height: 2; }
.nxh-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.nxh-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border-radius: 12px; padding: 10px 18px; font-size: 13px; font-weight: 850; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.nxh-button:hover { transform: translateY(-1px); }
.nxh-button--primary { background: var(--nxh-primary); color: #fff !important; box-shadow: 0 10px 24px rgba(11,94,168,.22); }
.nxh-button--primary:hover { background: var(--nxh-primary-dark); }
.nxh-button--ghost { border: 1px solid #c9d9e8; background: rgba(255,255,255,.8); color: var(--nxh-primary) !important; }
.nxh-hero__art { align-self: stretch; display: flex; align-items: center; justify-content: center; min-width: 0; }
.nxh-hero__art img { display: block; width: 100%; height: 100%; max-height: 410px; object-fit: contain; }
.nxh-hero__controls { position: absolute; z-index: 5; inset-inline: 0; bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.nxh-hero__arrow { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid #d4e0eb; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--nxh-primary); font: 700 24px/1 Arial; cursor: pointer; }
.nxh-hero__dots { display: flex; gap: 6px; }
.nxh-hero__dots button { width: 7px; height: 7px; border: 0; border-radius: 999px; padding: 0; background: #aebed0; cursor: pointer; transition: width .2s ease, background .2s ease; }
.nxh-hero__dots button.is-active { width: 26px; background: var(--nxh-primary); }

.nxh-section { margin-top: 38px; }
.nxh-section__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.nxh-section__heading > div > span { color: var(--nxh-primary); font-size: 11.5px; font-weight: 850; }
.nxh-section__heading h2 { margin: 5px 0 0; font-size: 25px; line-height: 1.65; }
.nxh-section__heading p { max-width: 760px; margin: 6px 0 0; color: var(--nxh-muted); font-size: 12px; line-height: 1.9; }
.nxh-section__heading > a { flex: 0 0 auto; color: var(--nxh-primary); font-size: 12px; font-weight: 850; }
.nxh-section__heading--compact { margin-bottom: 13px; }

/* =========================================================
   QUICK CATEGORIES V2
   Real product visuals — clean consolidated version
   ========================================================= */

.nxh-quick--visual {
    --nxh-quick-gap: 10px;
    margin-top: 22px;
}

.nxh-quick__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 14px;
}

.nxh-quick__heading > div {
    min-width: 0;
}

.nxh-quick__heading span {
    color: var(--nxh-primary);
    font-size: 11px;
    font-weight: 800;
}

.nxh-quick__heading h2 {
    margin: 4px 0 0;
    color: var(--nxh-ink);
    font-size: clamp(24px, 2.2vw, 31px);
    line-height: 1.35;
}

.nxh-quick__heading p {
    margin: 5px 0 0;
    color: #708199;
    font-size: 11.5px;
    line-height: 1.8;
}

.nxh-quick__all {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid #d5e3f1;
    border-radius: 999px;
    background: #fff;
    color: var(--nxh-primary);
    font-size: 11.5px;
    font-weight: 800;
    box-shadow: 0 7px 20px rgba(23, 62, 101, .055);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.nxh-quick__all:hover {
    border-color: #a9cbea;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(23, 62, 101, .09);
}

.nxh-quick__rail--visual {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: var(--nxh-quick-gap);
    overflow: visible;
}

.nxh-quick-card {
    --quick-accent: var(--nxh-primary);
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 0;
    aspect-ratio: .56;
    grid-template-rows: 62% 38%;
    overflow: hidden;
    padding: 0;
    border: 1px solid #dce7f2;
    border-radius: 18px;
    background: #fff;
    box-shadow:
        0 8px 22px rgba(20, 56, 91, .06),
        inset 0 1px 0 rgba(255, 255, 255, .95);
    text-decoration: none;
    isolation: isolate;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.nxh-quick-card:hover {
    z-index: 2;
    border-color: #bfd3e5;
    transform: translateY(-5px);
    box-shadow:
        0 18px 38px rgba(20, 56, 91, .13),
        0 5px 14px rgba(20, 56, 91, .07);
}

.nxh-quick-card::after {
    content: "";
    position: absolute;
    right: 8px;
    left: 8px;
    bottom: 0;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: var(--quick-accent);
    opacity: .9;
}

.nxh-quick-card__media {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 0;
    margin: 7px 7px 0;
    overflow: hidden;
    border-radius: 13px 13px 11px 11px;
    background: #eef5fb;
}

.nxh-quick-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: filter .22s ease;
}

.nxh-quick-card:hover .nxh-quick-card__media img {
    filter: saturate(1.04) contrast(1.02);
}

.nxh-quick-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 8px 39px;
    text-align: center;
}

.nxh-quick-card__body strong {
    display: block;
    width: 100%;
    overflow: hidden;
    color: var(--nxh-ink);
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1.55;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nxh-quick-card__body small {
    display: block;
    width: 100%;
    margin-top: 3px;
    overflow: hidden;
    color: #718198;
    font-size: 10.5px;
    line-height: 1.55;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nxh-quick-card__go {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border: 1px solid rgba(11, 103, 178, .10);
    border-radius: 50%;
    background: #edf7ff;
    color: var(--quick-accent);
    font-size: 14px;
    font-weight: 900;
    opacity: 1;
    box-shadow: 0 5px 14px rgba(20, 56, 91, .07);
    transition: transform .18s ease, background .18s ease;
}

.nxh-quick-card:hover .nxh-quick-card__go {
    transform: translateX(-2px);
    background: #e2f2ff;
}

.nxh-quick-card--dome     { --quick-accent: #6c55e9; }
.nxh-quick-card--bullet   { --quick-accent: #1685dc; }
.nxh-quick-card--wireless { --quick-accent: #41a83e; }
.nxh-quick-card--recorder { --quick-accent: #0b9ce7; }
.nxh-quick-card--pack     { --quick-accent: #17b7ae; }
.nxh-quick-card--hdd      { --quick-accent: #a65be7; }
.nxh-quick-card--install  { --quick-accent: #ee8a13; }
.nxh-quick-card--alarm    { --quick-accent: #f03e64; }

/* Laptop / normal desktop */
@media (max-width: 1366px) and (min-width: 981px) {
    .nxh-quick--visual {
        --nxh-quick-gap: 8px;
    }

    .nxh-quick-card {
        border-radius: 16px;
    }

    .nxh-quick-card__media {
        margin: 6px 6px 0;
        border-radius: 12px 12px 10px 10px;
    }

    .nxh-quick-card__body {
        padding: 9px 7px 36px;
    }

    .nxh-quick-card__body strong {
        font-size: 11.8px;
    }

    .nxh-quick-card__body small {
        font-size: 9.8px;
    }

    .nxh-quick-card__go {
        bottom: 10px;
        left: 10px;
        width: 25px;
        height: 25px;
    }
}

/* Tablet: horizontal snap rail instead of squeezing eight cards */
@media (max-width: 980px) {
    .nxh-quick__heading {
        align-items: center;
    }

    .nxh-quick__heading p {
        display: none;
    }

    .nxh-quick__rail--visual {
        display: flex;
        gap: 10px;
        margin-inline: -14px;
        padding: 3px 14px 15px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .nxh-quick__rail--visual::-webkit-scrollbar {
        display: none;
    }

    .nxh-quick-card {
        flex: 0 0 172px;
        width: 172px;
        scroll-snap-align: start;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .nxh-quick--visual {
        margin-top: 17px;
    }

    .nxh-quick__heading {
        gap: 10px;
        margin-bottom: 10px;
    }

    .nxh-quick__heading h2 {
        font-size: 21px;
    }

    .nxh-quick__all {
        min-height: 32px;
        padding-inline: 10px;
        font-size: 10.5px;
    }

    .nxh-quick-card {
        flex-basis: 155px;
        width: 155px;
    }

    .nxh-quick-card__body strong {
        font-size: 11.5px;
    }

    .nxh-quick-card__body small {
        font-size: 9.7px;
    }
}

.nxh-alert { margin-top: 20px; border: 1px solid #ead8b3; border-radius: 12px; padding: 12px 15px; background: #fff9eb; color: #785921; font-size: 12px; }
.nxh-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; border: 1px solid var(--nxh-line); border-radius: 14px; padding: 5px; background: #fff; }
.nxh-tabs button { min-height: 37px; border: 0; border-radius: 10px; padding: 7px 16px; background: transparent; color: #52657c; font: inherit; font-size: 11.5px; font-weight: 800; cursor: pointer; }
.nxh-tabs button.is-active { background: var(--nxh-primary); color: #fff; }
.nxh-product-panel { position: relative; }
.nxh-product-panel[hidden] { display: none !important; }
.nxh-product-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 272px); gap: 13px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: thin; padding: 2px 1px 10px; }
.nxh-product-card { display: flex; min-height: 100%; flex-direction: column; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--nxh-line); border-radius: 17px; background: #fff; box-shadow: 0 5px 18px rgba(18,55,90,.05); }
.nxh-product-card__link { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.nxh-product-card__media { position: relative; display: flex; height: 185px; align-items: center; justify-content: center; overflow: hidden; padding: 12px; border-bottom: 1px solid #edf2f6; background: linear-gradient(145deg,#fff,#f7f9fc); }
.nxh-product-card__media img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.nxh-product-card__badge { position: absolute; top: 10px; right: 10px; border-radius: 999px; padding: 5px 8px; background: #fff0e8; color: #ad4727; font-size: 9.5px; font-weight: 850; }
.nxh-product-card__body { display: flex; flex: 1; flex-direction: column; padding: 13px; }
.nxh-product-card__type { align-self: flex-start; border-radius: 999px; padding: 4px 8px; background: var(--nxh-primary-soft); color: var(--nxh-primary); font-size: 9.8px; font-weight: 850; }
.nxh-product-card__model { margin-top: 7px; overflow: hidden; color: #62758b; font: 10.5px/1.5 Arial,sans-serif; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.nxh-product-card h3 { display: -webkit-box; min-height: 50px; margin: 8px 0 10px; overflow: hidden; font-size: 13.5px; font-weight: 850; line-height: 1.85; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.nxh-product-card__feature { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; border-radius: 9px; padding: 7px 8px; background: #f6f8fb; }
.nxh-product-card__feature span { color: var(--nxh-muted); font-size: 10px; }
.nxh-product-card__feature strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.nxh-product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 67px; padding: 10px 13px; border-top: 1px solid #edf2f6; background: #fcfdfe; }
.nxh-product-card__price { display: flex; min-width: 0; flex-direction: column; }
.nxh-product-card__price strong { color: var(--nxh-primary-dark); font-size: 14.5px; font-weight: 900; white-space: nowrap; }
.nxh-product-card__price strong.is-unavailable { color: #ad334d; }
.nxh-product-card__price small { margin-top: 2px; color: var(--nxh-muted); font-size: 9px; }
.nxh-product-card__action { flex: 0 0 auto; border-radius: 9px; padding: 8px 10px; background: var(--nxh-primary); color: #fff !important; font-size: 10.5px; font-weight: 850; }
.nxh-rail-arrow { position: absolute; z-index: 3; top: 48%; display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid #d5e1ec; border-radius: 50%; background: rgba(255,255,255,.96); color: var(--nxh-primary); box-shadow: 0 8px 20px rgba(17,55,90,.12); font: 800 24px/1 Arial; cursor: pointer; transform: translateY(-50%); }
.nxh-rail-arrow--right { right: -12px; }
.nxh-rail-arrow--left { left: -12px; }
.nxh-empty { width: 100%; padding: 30px; color: var(--nxh-muted); text-align: center; }

.nxh-usecases__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.nxh-usecase { position: relative; display: flex; min-height: 210px; flex-direction: column; justify-content: flex-end; overflow: hidden; border-radius: 19px; padding: 22px; color: #fff !important; isolation: isolate; }
.nxh-usecase::before, .nxh-usecase::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; }
.nxh-usecase::before { width: 190px; height: 190px; inset: -50px -35px auto auto; background: rgba(255,255,255,.13); }
.nxh-usecase::after { width: 120px; height: 120px; inset: auto auto -45px -25px; border: 22px solid rgba(255,255,255,.09); }
.nxh-usecase--home { background: linear-gradient(145deg,#0b5ea8,#0a467d); }
.nxh-usecase--shop { background: linear-gradient(145deg,#1b6971,#124b56); }
.nxh-usecase--outdoor { background: linear-gradient(145deg,#435a7a,#283950); }
.nxh-usecase--alarm { background: linear-gradient(145deg,#8f4c55,#66313a); }
.nxh-usecase span { font-size: 11px; opacity: .82; }
.nxh-usecase strong { margin-top: 7px; font-size: 16px; line-height: 1.75; }
.nxh-usecase em { margin-top: 14px; font-size: 10.5px; font-style: normal; opacity: .9; }

.nxh-trust { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; margin-top: 38px; overflow: hidden; border: 1px solid var(--nxh-line); border-radius: 18px; background: var(--nxh-line); }
.nxh-trust div { display: flex; min-height: 92px; flex-direction: column; align-items: center; justify-content: center; padding: 14px; background: #fff; text-align: center; }
.nxh-trust strong { color: var(--nxh-primary); font-size: 16px; }
.nxh-trust span { margin-top: 4px; color: var(--nxh-muted); font-size: 10.5px; }

.nxh-knowledge__layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); gap: 18px; align-items: stretch; }
.nxh-guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.nxh-guide-grid a { overflow: hidden; border: 1px solid var(--nxh-line); border-radius: 17px; background: #fff; }
.nxh-guide-grid img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #eef5fb; }
.nxh-guide-grid div { padding: 14px; }
.nxh-guide-grid strong { display: block; font-size: 13px; line-height: 1.75; }
.nxh-guide-grid span { display: block; margin-top: 6px; color: var(--nxh-muted); font-size: 10px; line-height: 1.8; }
.nxh-buying-guide { border: 1px solid var(--nxh-line); border-radius: 20px; padding: 24px; background: radial-gradient(circle at 8% 0,rgba(11,94,168,.1),transparent 35%),#fff; }
.nxh-buying-guide h2 { margin: 7px 0 10px; font-size: 21px; line-height: 1.75; }
.nxh-buying-guide > p { margin: 0 0 15px; color: var(--nxh-muted); font-size: 11.5px; line-height: 2; }
.nxh-buying-guide details { border-top: 1px solid #e9eef3; }
.nxh-buying-guide summary { padding: 12px 0; color: var(--nxh-ink); font-size: 11.5px; font-weight: 850; cursor: pointer; }
.nxh-buying-guide details p { margin: -2px 0 13px; color: var(--nxh-muted); font-size: 10.5px; line-height: 2; }
.nxh-inline-link { display: inline-flex; margin-top: 14px; color: var(--nxh-primary) !important; font-size: 11.5px; font-weight: 850; }

@media (max-width: 1100px) {
    .nxh-hero__slide { grid-template-columns: minmax(0,1fr) minmax(350px,.9fr); padding-inline: 32px; }
    .nxh-usecases__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .nxh-knowledge__layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .nxh { padding: 10px 10px 48px; }
    .nxh-hero, .nxh-hero__viewport { min-height: 365px; }
    .nxh-hero { border-radius: 20px; }
    .nxh-hero__slide { grid-template-columns: 1fr; gap: 0; min-height: 365px; padding: 24px 20px 42px; background: radial-gradient(circle at 2% 0,rgba(11,94,168,.13),transparent 38%),linear-gradient(155deg,#fff,#eef6ff); }
    .nxh-hero__content { z-index: 2; max-width: 88%; }
    .nxh-hero h1, .nxh-hero h2 { margin-block: 9px 8px; font-size: 27px; line-height: 1.55; }
    .nxh-hero__content p { display: -webkit-box; overflow: hidden; font-size: 12px; line-height: 1.85; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
    .nxh-hero__actions { margin-top: 15px; }
    .nxh-button { min-height: 40px; padding: 8px 13px; font-size: 11px; }
    .nxh-hero__art { position: absolute; width: 46%; height: 42%; left: -1%; bottom: 22px; opacity: .97; }
    .nxh-hero__art img { max-height: 100%; }
    .nxh-hero__controls { bottom: 9px; }
    .nxh-hero__arrow { display: none; }
    .nxh-section { margin-top: 28px; }
    .nxh-section__heading { align-items: flex-start; margin-bottom: 12px; }
    .nxh-section__heading h2 { font-size: 19px; line-height: 1.7; }
    .nxh-section__heading p { display: none; }
    .nxh-section__heading > a { margin-top: 7px; font-size: 10px; }
    .nxh-tabs { display: flex; overflow-x: auto; flex-wrap: nowrap; max-width: 100%; }
    .nxh-tabs button { flex: 0 0 auto; }
    .nxh-product-rail { grid-auto-columns: minmax(228px, 76vw); gap: 10px; }
    .nxh-rail-arrow { display: none; }
    .nxh-product-card__media { height: 165px; }
    .nxh-usecases__grid { display: grid; grid-auto-flow: column; grid-auto-columns: 78vw; grid-template-columns: none; overflow-x: auto; scroll-snap-type: inline mandatory; padding-bottom: 8px; }
    .nxh-usecase { min-height: 170px; scroll-snap-align: start; }
    .nxh-trust { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .nxh-trust div { min-height: 78px; }
    .nxh-guide-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 76vw; grid-template-columns: none; overflow-x: auto; scroll-snap-type: inline mandatory; padding-bottom: 8px; }
    .nxh-guide-grid a { scroll-snap-align: start; }
    .nxh-guide-grid img { aspect-ratio: 16/8.8; }
    .nxh-buying-guide { padding: 18px; }
    .nxh-buying-guide h2 { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .nxh-hero__slide, .nxh-button, .nxh-quick-card { transition: none !important; }
    html { scroll-behavior: auto; }
}

/* Homepage V2.1: comprehensive SEO guide */
.nxh-buying-guide__points { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.nxh-buying-guide__points li { position: relative; padding-right: 19px; color: var(--nxh-ink); font-size: 10.8px; line-height: 1.9; }
.nxh-buying-guide__points li::before { content: '✓'; position: absolute; right: 0; top: 0; color: var(--nxh-primary); font-weight: 900; }

.nxh-seo-guide { scroll-margin-top: 92px; border: 1px solid var(--nxh-line); border-radius: 24px; padding: clamp(22px,3vw,38px); background: radial-gradient(circle at 100% 0,rgba(11,94,168,.08),transparent 30%),#fff; }
.nxh-seo-guide__header { max-width: 880px; }
.nxh-seo-guide__header h2 { margin: 8px 0 8px; color: var(--nxh-ink); font-size: clamp(22px,2.3vw,31px); line-height: 1.65; }
.nxh-seo-guide__header > p { margin: 0; color: var(--nxh-muted); font-size: 12px; line-height: 2; }
.nxh-seo-guide__intro { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 22px; border: 1px solid #dbe8f2; border-radius: 19px; padding: 20px 22px; background: linear-gradient(145deg,#f6fbff,#fff); }
.nxh-seo-guide__intro p { margin: 0; color: #394d61; font-size: 12.2px; line-height: 2.25; text-align: justify; }
.nxh-seo-guide a { color: var(--nxh-primary); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.nxh-seo-guide__intro a, .nxh-seo-topic__body p a { text-decoration: underline; text-decoration-color: rgba(11,94,168,.28); }
.nxh-seo-guide__layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 22px; margin-top: 24px; align-items: start; }
.nxh-seo-guide__aside { position: sticky; top: 88px; border: 1px solid var(--nxh-line); border-radius: 18px; padding: 18px; background: #f8fafc; }
.nxh-seo-guide__aside > strong { display: block; margin-bottom: 12px; color: var(--nxh-ink); font-size: 12px; }
.nxh-seo-guide__aside nav { display: grid; gap: 3px; }
.nxh-seo-guide__aside nav a { border-radius: 9px; padding: 8px 9px; color: #52677b; font-size: 10.5px; font-weight: 700; text-decoration: none; transition: background .18s ease,color .18s ease; }
.nxh-seo-guide__aside nav a:hover, .nxh-seo-guide__aside nav a:focus-visible { background: #eaf4fc; color: var(--nxh-primary); }
.nxh-seo-guide__cta { display: flex; min-height: 40px; align-items: center; justify-content: center; margin-top: 14px; border-radius: 11px; background: var(--nxh-primary); color: #fff !important; font-size: 10.5px; text-decoration: none; }
.nxh-seo-guide__content { min-width: 0; }
.nxh-seo-topic { scroll-margin-top: 92px; border: 1px solid var(--nxh-line); border-radius: 17px; background: #fff; overflow: clip; }
.nxh-seo-topic + .nxh-seo-topic { margin-top: 11px; }
.nxh-seo-topic summary { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 17px 18px; cursor: pointer; list-style: none; background: #fbfcfe; }
.nxh-seo-topic summary::-webkit-details-marker { display: none; }
.nxh-seo-topic summary::after { content: '+'; display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #d8e3ec; border-radius: 50%; color: var(--nxh-primary); font-size: 17px; font-weight: 500; grid-row: 1 / span 2; grid-column: 2; }
.nxh-seo-topic[open] summary::after { content: '−'; background: #eef6fc; }
.nxh-seo-topic summary span { color: var(--nxh-ink); font-size: 14px; font-weight: 900; line-height: 1.75; }
.nxh-seo-topic summary small { color: var(--nxh-muted); font-size: 9.8px; line-height: 1.7; }
.nxh-seo-topic__body { border-top: 1px solid #edf1f5; padding: 17px 20px 20px; }
.nxh-seo-topic__body p { margin: 0; color: #405366; font-size: 12px; line-height: 2.25; text-align: justify; }
.nxh-seo-topic__body p + p { margin-top: 11px; }
.nxh-seo-topic__links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.nxh-seo-topic__links a { border: 1px solid #d9e6f0; border-radius: 999px; padding: 6px 10px; background: #f5f9fc; font-size: 9.8px; text-decoration: none; }
.nxh-faq-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.nxh-faq-list section { border: 1px solid #e5edf3; border-radius: 13px; padding: 14px; background: #fbfcfd; }
.nxh-faq-list h3 { margin: 0 0 6px; color: var(--nxh-ink); font-size: 11.5px; line-height: 1.8; }
.nxh-faq-list section p { font-size: 10.6px; line-height: 2; text-align: right; }

@media (max-width: 900px) {
    .nxh-seo-guide__layout { grid-template-columns: 1fr; }
    .nxh-seo-guide__aside { position: static; padding: 14px; }
    .nxh-seo-guide__aside > strong { display: none; }
    .nxh-seo-guide__aside nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: inline mandatory; }
    .nxh-seo-guide__aside nav a { flex: 0 0 auto; border: 1px solid #dce7ef; background: #fff; scroll-snap-align: start; }
    .nxh-seo-guide__cta { display: none; }
}

@media (max-width: 720px) {
    .nxh-seo-guide { margin-top: 30px; border-radius: 19px; padding: 18px 14px; }
    .nxh-seo-guide__header h2 { font-size: 20px; }
    .nxh-seo-guide__header > p { font-size: 10.8px; line-height: 1.9; }
    .nxh-seo-guide__intro { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; padding: 15px; }
    .nxh-seo-guide__intro p { font-size: 11px; line-height: 2.05; text-align: right; }
    .nxh-seo-guide__layout { gap: 12px; margin-top: 14px; }
    .nxh-seo-guide__aside { margin-inline: -2px; border: 0; padding: 0; background: transparent; }
    .nxh-seo-guide__aside nav a { padding: 7px 9px; font-size: 9.6px; }
    .nxh-seo-topic { border-radius: 14px; }
    .nxh-seo-topic + .nxh-seo-topic { margin-top: 8px; }
    .nxh-seo-topic summary { padding: 13px 12px; }
    .nxh-seo-topic summary span { font-size: 12px; }
    .nxh-seo-topic summary small { font-size: 9px; }
    .nxh-seo-topic summary::after { width: 24px; height: 24px; font-size: 15px; }
    .nxh-seo-topic__body { padding: 13px 13px 15px; }
    .nxh-seo-topic__body p { font-size: 10.8px; line-height: 2.05; text-align: right; }
    .nxh-seo-topic__links { gap: 5px; margin-top: 12px; }
    .nxh-seo-topic__links a { padding: 5px 8px; font-size: 9px; }
    .nxh-faq-list { grid-template-columns: 1fr; }
    .nxh-faq-list section { padding: 12px; }
}


/* =========================================================
   NEXUS HOMEPAGE — FULL-BLEED HERO V1
   Hero background = artwork. Text / CTA remain live HTML.
   ========================================================= */

.nxh-hero--fullbleed {
    position: relative;
    min-height: 530px;
    overflow: hidden;
    border: 1px solid rgba(11,94,168,.13);
    border-radius: 30px;
    background: #081d37;
    box-shadow: 0 24px 70px rgba(18,55,89,.13);
}

.nxh-hero--fullbleed .nxh-hero__viewport {
    position: relative;
    min-height: 530px;
}

.nxh-hero--fullbleed .nxh-hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    min-height: 530px;
    padding: 52px 56px 72px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(18px);
    transition: opacity .45s ease, transform .45s ease, visibility .45s;
    background-image: var(--nxh-hero-desktop);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.nxh-hero--fullbleed .nxh-hero__slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* Controlled readability overlays. The artwork remains visible edge-to-edge. */
.nxh-hero--fullbleed .nxh-hero__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
/*
.nxh-hero--fullbleed .nxh-hero__slide--content-right::before {
    background:
        linear-gradient(
            90deg,
            rgba(237,246,255,.02) 0%,
            rgba(237,246,255,.03) 42%,
            rgba(237,246,255,.54) 62%,
            rgba(244,249,255,.91) 78%,
            rgba(247,251,255,.97) 100%
        );
}
*/
.nxh-hero--fullbleed .nxh-hero__slide--content-right::before {
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            transparent 62%,
            rgba(247,251,255,.55) 76%,
            rgba(247,251,255,.92) 100%
        );
}
/*
.nxh-hero--fullbleed .nxh-hero__slide--content-left::before {
    background:
        linear-gradient(
            90deg,
            rgba(248,252,255,.97) 0%,
            rgba(246,251,255,.91) 24%,
            rgba(240,248,255,.55) 43%,
            rgba(239,247,255,.06) 64%,
            rgba(239,247,255,.01) 100%
        );
}
*/
.nxh-hero--fullbleed .nxh-hero__slide--content-left::before {
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            transparent 62%,
            rgba(247,251,255,.55) 76%,
            rgba(247,251,255,.92) 100%
        );
}

.nxh-hero--fullbleed .nxh-hero__content {
    position: relative;
    z-index: 2;
    width: min(610px, 46%);
    max-width: 610px;
}

.nxh-hero--fullbleed .nxh-hero__slide--content-right .nxh-hero__content {
    margin-right: auto;
    margin-left: 0;
}

.nxh-hero--fullbleed .nxh-hero__slide--content-left .nxh-hero__content {
    margin-left: auto;
    margin-right: 0;
}

.nxh-hero--fullbleed .nxh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 31px;
    padding: 5px 12px;
    border: 1px solid rgba(11,94,168,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.70);
    color: #0b5ea8;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.nxh-hero--fullbleed h1,
.nxh-hero--fullbleed h2 {
    max-width: 650px;
    margin: 17px 0 14px;
    color: #10233e;
    font-size: clamp(38px,4.25vw,62px);
    font-weight: 900;
    line-height: 1.43;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.nxh-hero--fullbleed .nxh-hero__content p {
    max-width: 575px;
    margin: 0;
    color: #536783;
    font-size: 15px;
    font-weight: 600;
    line-height: 2.05;
}

.nxh-hero--fullbleed .nxh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.nxh-hero--fullbleed .nxh-button {
    min-height: 50px;
    padding-inline: 20px;
    border-radius: 13px;
}

.nxh-hero--fullbleed .nxh-hero__controls {
    position: absolute;
    z-index: 7;
    inset-inline: 0;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.nxh-hero--fullbleed .nxh-hero__dots {
    display: flex;
    gap: 6px;
    padding: 8px 11px;
    border: 1px solid rgba(11,94,168,.10);
    border-radius: 999px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 8px 24px rgba(13,55,92,.10);
    backdrop-filter: blur(10px);
}

.nxh-hero--fullbleed .nxh-hero__arrow {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(11,94,168,.16);
    border-radius: 50%;
    background: rgba(255,255,255,.90);
    color: #0b5ea8;
    box-shadow: 0 8px 24px rgba(13,55,92,.10);
}

/* No separate artwork card remains in this version. */
.nxh-hero--fullbleed .nxh-hero__art {
    display: none !important;
}


/* =========================================================
   HERO HEIGHT & TYPOGRAPHY — PHASE 1 COMPACT VERSION
   ========================================================= */

/* Desktop default */
.nxh-hero--fullbleed,
.nxh-hero--fullbleed .nxh-hero__viewport,
.nxh-hero--fullbleed .nxh-hero__slide {
    min-height: 420px;
}

.nxh-hero--fullbleed .nxh-hero__slide {
    padding: 34px 48px 58px;
}

.nxh-hero--fullbleed h1,
.nxh-hero--fullbleed h2 {
    font-size: clamp(34px, 3.6vw, 52px);
    line-height: 1.4;
}

.nxh-hero--fullbleed .nxh-hero__content p {
    font-size: 14px;
}


/* Large desktop */
@media (min-width: 1600px) {

    .nxh-hero--fullbleed,
    .nxh-hero--fullbleed .nxh-hero__viewport,
    .nxh-hero--fullbleed .nxh-hero__slide {
        min-height: 460px;
    }

    .nxh-hero--fullbleed .nxh-hero__slide {
        padding: 38px 54px 62px;
    }

    .nxh-hero--fullbleed h1,
    .nxh-hero--fullbleed h2 {
        font-size: clamp(38px, 3.7vw, 56px);
    }
}


/* Laptop / smaller desktop */
@media (max-width: 1366px) and (min-width: 861px) {

    .nxh-hero--fullbleed,
    .nxh-hero--fullbleed .nxh-hero__viewport,
    .nxh-hero--fullbleed .nxh-hero__slide {
        min-height: 390px;
    }

    .nxh-hero--fullbleed .nxh-hero__slide {
        padding: 20px 34px 44px;
    }

    .nxh-hero--fullbleed .nxh-hero__content {
        width: min(500px, 46%);
    }

    .nxh-hero--fullbleed h1,
    .nxh-hero--fullbleed h2 {
        margin: 10px 0 8px;
        font-size: clamp(28px, 3.2vw, 40px);
        line-height: 1.32;
    }

    .nxh-hero--fullbleed .nxh-hero__content p {
        font-size: 12.5px;
        line-height: 1.75;
    }

    .nxh-hero--fullbleed .nxh-hero__actions {
        margin-top: 14px;
    }

    .nxh-hero--fullbleed .nxh-button {
        min-height: 42px;
        padding-inline: 16px;
    }
}


@media (max-width: 1180px) and (min-width: 861px) {

    .nxh-hero--fullbleed .nxh-hero__slide {
        padding: 26px 32px 50px;
    }

    .nxh-hero--fullbleed .nxh-hero__content {
        width: min(520px, 48%);
    }

    .nxh-hero--fullbleed h1,
    .nxh-hero--fullbleed h2 {
        font-size: clamp(30px, 3.7vw, 43px);
    }
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 860px) {

    .nxh-hero--fullbleed {
        min-height: 560px;
        border-radius: 22px;
        background: #061a33;
    }

    .nxh-hero--fullbleed .nxh-hero__viewport,
    .nxh-hero--fullbleed .nxh-hero__slide {
        min-height: 560px;
    }

    .nxh-hero--fullbleed .nxh-hero__slide {
        align-items: flex-end;
        padding: 24px 20px 54px;
        background-image: var(--nxh-hero-mobile);
        background-position: center top;
        background-size: cover;
    }

    .nxh-hero--fullbleed .nxh-hero__slide::before,
    .nxh-hero--fullbleed .nxh-hero__slide--content-right::before,
    .nxh-hero--fullbleed .nxh-hero__slide--content-left::before {
        background:
            linear-gradient(
                180deg,
                rgba(4,21,41,.02) 0%,
                rgba(4,21,41,.08) 34%,
                rgba(4,21,41,.52) 58%,
                rgba(4,21,41,.90) 80%,
                rgba(4,21,41,.97) 100%
            );
    }

    .nxh-hero--fullbleed .nxh-hero__content,
    .nxh-hero--fullbleed .nxh-hero__slide--content-right .nxh-hero__content,
    .nxh-hero--fullbleed .nxh-hero__slide--content-left .nxh-hero__content {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .nxh-hero--fullbleed .nxh-eyebrow {
        min-height: 27px;
        padding: 4px 9px;
        border-color: rgba(255,255,255,.15);
        background: rgba(7,31,59,.52);
        color: #b8ddff;
        font-size: 10.5px;
    }

    .nxh-hero--fullbleed h1,
    .nxh-hero--fullbleed h2 {
        max-width: 100%;
        margin: 9px 0 7px;
        color: #fff;
        font-size: clamp(25px, 7.2vw, 34px);
        line-height: 1.45;
        text-shadow: 0 4px 22px rgba(0,0,0,.22);
    }

    .nxh-hero--fullbleed .nxh-hero__content p {
        display: -webkit-box;
        max-width: 100%;
        overflow: hidden;
        color: rgba(235,244,255,.88);
        font-size: 12px;
        line-height: 1.85;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .nxh-hero--fullbleed .nxh-hero__actions {
        margin-top: 13px;
    }

    .nxh-hero--fullbleed .nxh-button {
        min-height: 44px;
    }

    .nxh-hero--fullbleed .nxh-button--ghost {
        border-color: rgba(255,255,255,.42);
        background: rgba(7,25,47,.28);
        color: #fff;
    }

    .nxh-hero--fullbleed .nxh-hero__arrow {
        display: none;
    }

    .nxh-hero--fullbleed .nxh-hero__dots {
        padding: 7px 10px;
        background: rgba(6,28,53,.62);
        border-color: rgba(255,255,255,.16);
    }

    .nxh-hero--fullbleed .nxh-hero__dots button {
        background: rgba(255,255,255,.42);
    }

    .nxh-hero--fullbleed .nxh-hero__dots button.is-active {
        background: #5bb5ff;
    }
}


/* Small mobile */
@media (max-width: 560px) {

    .nxh-hero--fullbleed,
    .nxh-hero--fullbleed .nxh-hero__viewport,
    .nxh-hero--fullbleed .nxh-hero__slide {
        min-height: 540px;
    }

    .nxh-hero--fullbleed .nxh-hero__slide {
        padding: 20px 15px 48px;
    }

    .nxh-hero--fullbleed h1,
    .nxh-hero--fullbleed h2 {
        font-size: clamp(24px, 7.5vw, 31px);
        line-height: 1.45;
    }

    .nxh-hero--fullbleed .nxh-hero__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }

    .nxh-hero--fullbleed .nxh-button {
        min-width: 0;
        min-height: 42px;
        padding-inline: 8px;
        font-size: 11.5px;
    }

    .nxh-hero--fullbleed .nxh-hero__controls {
        bottom: 7px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .nxh-hero--fullbleed .nxh-hero__slide {
        transition: none !important;
    }
}





/* =========================================================
   FIXED HERO HEIGHT
   All slides always have exactly the same height
   ========================================================= */

.nxh-hero--fullbleed {
    height: 420px;
    min-height: 0;
}

.nxh-hero--fullbleed .nxh-hero__viewport {
    position: relative;
    height: 100%;
    min-height: 0;
}

.nxh-hero--fullbleed .nxh-hero__slide,
.nxh-hero--fullbleed .nxh-hero__slide.is-active {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
}

/* Large monitors */
@media (min-width: 1600px) {

    .nxh-hero--fullbleed {
        height: 460px;
    }
}

/* Laptop / normal desktop */
@media (max-width: 1366px) and (min-width: 861px) {

    .nxh-hero--fullbleed {
        height: 390px;
    }
}

/* Tablet */
@media (max-width: 860px) and (min-width: 561px) {

    .nxh-hero--fullbleed {
        height: 560px;
    }
}

/* Mobile */
@media (max-width: 560px) {

    .nxh-hero--fullbleed {
        height: 540px;
    }
}


