/* Explain: Styles for layout, header, footer, hero, sections, and media elements. */
.nh-container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

/* ---------- Header ---------- */
.nh-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.nh-header.is-scrolled {
    box-shadow: 0 14px 34px -26px rgba(7, 26, 20, 0.7);
}

.nh-topbar {
    background: var(--ink-color);
    color: #cfe6db;
    font-size: 0.8rem;
}

.nh-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 38px;
}

.nh-topbar__contacts {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nh-topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.nh-topbar__link:hover {
    color: #ffffff;
}

.nh-topbar__email {
    display: none;
}

@media (min-width: 640px) {
    .nh-topbar__email {
        display: inline-flex;
    }
}

.nh-topbar__wa {
    color: #ffffff;
    font-weight: 700;
}

.nh-header__inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: 96px;
}

@media (min-width: 640px) {
    .nh-header__inner {
        min-height: 116px;
    }
}

.nh-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.nh-logo__stack {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.32rem;
}

.nh-logo__img {
    height: 4.5rem;
    width: auto;
    object-fit: contain;
}

@media (min-width: 640px) {
    .nh-logo__img {
        height: 6rem;
    }
}

.nh-logo__top {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    direction: ltr;
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 1.1;
    letter-spacing: 0.04em;
}

@media (min-width: 640px) {
    .nh-logo__top {
        font-size: 1.9rem;
    }
}

.nh-logo__nh {
    color: var(--ink-color);
}

.nh-logo__energy {
    color: var(--primary-color);
}

.nh-nav {
    align-items: center;
    gap: 0.15rem;
    margin-inline-start: auto;
    flex-wrap: nowrap;
}

.nh-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.7rem;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nh-nav__link:hover {
    background: var(--primary-soft);
    color: var(--primary-hover);
}

.nh-nav__link i {
    font-size: 0.62rem;
}

.nh-header__actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-inline-start: auto;
}

.nh-header__cta {
    padding: 0.62rem 1.15rem;
    font-size: 0.88rem;
}

/* ---------- Dropdown ---------- */
.nh-dropdown {
    position: relative;
}

.nh-dropdown__panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    z-index: 80;
    min-width: 16rem;
    padding: 0.5rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 30px 60px -34px rgba(7, 26, 20, 0.6);
}

.nh-dropdown.is-open .nh-dropdown__panel {
    display: block;
}

.nh-dropdown__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.62rem 0.75rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nh-dropdown__item i {
    width: 1rem;
    color: var(--primary-hover);
    font-size: 0.85rem;
}

.nh-dropdown__item:hover {
    background: var(--surface-color);
    color: var(--primary-hover);
}

/* ---------- Mobile drawer ---------- */
.nh-drawer {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
}

.nh-drawer.is-open {
    display: block;
}

.nh-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 26, 20, 0.58);
    backdrop-filter: blur(3px);
}

.nh-drawer__panel {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    display: flex;
    flex-direction: column;
    width: min(88vw, 22rem);
    padding: 1.25rem;
    background: #ffffff;
    box-shadow: 0 40px 80px -30px rgba(7, 26, 20, 0.7);
    overflow-y: auto;
    animation: nhDrawerIn 0.26s ease;
}

@keyframes nhDrawerIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nh-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.nh-drawer__close {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text-color);
    cursor: pointer;
}

.nh-drawer__nav {
    display: flex;
    flex-direction: column;
    padding-block: 0.75rem;
}

.nh-drawer__link {
    padding: 0.8rem 0.4rem;
    border-bottom: 1px solid var(--surface-strong);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-color);
    transition: color 0.2s ease;
}

.nh-drawer__link:hover {
    color: var(--primary-hover);
}

.nh-drawer__foot {
    display: grid;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 1rem;
}

/* ---------- Hero ---------- */
.nh-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--ink-color);
}

.nh-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.nh-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nh-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(7, 26, 20, 0.96) 0%,
        rgba(7, 26, 20, 0.88) 42%,
        rgba(7, 26, 20, 0.35) 100%
    );
}

@media (max-width: 767px) {
    .nh-hero__scrim {
        background: linear-gradient(
            to top,
            rgba(7, 26, 20, 0.97) 20%,
            rgba(7, 26, 20, 0.8) 100%
        );
    }
}

.nh-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    max-width: 40rem;
    min-height: min(78vh, 700px);
    padding-block: 4rem 3.5rem;
    justify-content: center;
}

.nh-hero__title {
    color: #ffffff;
    font-size: clamp(1.85rem, 4.2vw, 3.1rem);
}

.nh-hero__text {
    color: #cfe6db;
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    line-height: 1.7;
}

.nh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.4rem;
}

.nh-hero__points {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.9rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.9rem;
    color: #dcefe5;
}

.nh-hero__points li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.nh-hero__points i {
    margin-top: 0.4rem;
    color: var(--primary-color);
    font-size: 0.82rem;
}

/* ---------- Page hero (inner pages) ---------- */
.nh-page-hero {
    padding-block: clamp(2.75rem, 6vw, 4.5rem);
    background:
        radial-gradient(120% 130% at 100% 0%, rgba(22, 196, 106, 0.24), transparent 58%),
        var(--ink-color);
    color: #ffffff;
}

.nh-page-hero .nh-h1 {
    color: #ffffff;
    max-width: 46rem;
}

.nh-page-hero__lead {
    max-width: 44rem;
    margin-top: 1rem;
    color: #c3dbd0;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.75;
}

.nh-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
    font-size: 0.82rem;
    color: #9fc0b0;
}

.nh-crumbs a:hover {
    color: #ffffff;
}

.nh-crumbs i {
    font-size: 0.6rem;
}

/* ---------- Sections ---------- */
.nh-section {
    padding-block: clamp(2.75rem, 6.5vw, 5rem);
}

.nh-section--tint {
    background: var(--surface-color);
}

.nh-section--ink {
    background: var(--ink-color);
    color: #ffffff;
}

.nh-section--ink .nh-h2 {
    color: #ffffff;
}

.nh-section--ink .nh-lead {
    color: #b9d2c7;
}

.nh-section-head {
    max-width: 42rem;
    margin-inline: auto;
    text-align: center;
}

.nh-section-head .nh-h2 {
    margin-top: 1rem;
}

.nh-section-head .nh-lead {
    margin-top: 0.85rem;
}

.nh-head-split {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2.25rem;
}

@media (min-width: 900px) {
    .nh-head-split {
        flex-direction: row;
        align-items: flex-end;
        gap: 2.5rem;
    }
}

.nh-head-split__text {
    max-width: 40rem;
}

/* ---------- Grids ---------- */
.nh-grid {
    display: grid;
    gap: 1.25rem;
}

.nh-grid--2 {
    grid-template-columns: minmax(0, 1fr);
}

.nh-grid--3 {
    grid-template-columns: minmax(0, 1fr);
}

.nh-grid--4 {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
    .nh-grid--3,
    .nh-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .nh-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .nh-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.65rem;
    }

    .nh-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.nh-split {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 900px) {
    .nh-split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3.25rem;
    }
}

/* ---------- Trust strip ---------- */
.nh-trust {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding-block: 1.85rem;
}

.nh-trust__grid {
    display: grid;
    gap: 1.35rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
    .nh-trust__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .nh-trust__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.nh-stat {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.nh-stat__title {
    font-size: 0.98rem;
}

.nh-stat__text {
    margin-top: 0.2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ---------- Media blocks ---------- */
.nh-media__main {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.nh-media-wrap {
    position: relative;
    padding-bottom: 1.5rem;
}

.nh-media__small {
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 0;
    width: 40%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 6px solid #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

/* ---------- Segment cards ---------- */
.nh-segment {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 340px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    color: #ffffff;
    isolation: isolate;
}

.nh-segment img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.nh-segment:hover img {
    transform: scale(1.05);
}

.nh-segment__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(7, 26, 20, 0.95) 5%, rgba(7, 26, 20, 0.2) 85%);
}

.nh-segment__body {
    padding: 1.75rem;
}

.nh-segment__title {
    color: #ffffff;
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

.nh-segment__text {
    margin-top: 0.5rem;
    font-size: 0.93rem;
    color: #d9ece2;
    line-height: 1.65;
}

.nh-segment__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #8bf0b6;
}

/* ---------- App section ---------- */
.nh-app {
    padding-block: clamp(2.75rem, 6.5vw, 5rem);
    background:
        radial-gradient(90% 90% at 0% 10%, rgba(22, 196, 106, 0.22), transparent 60%),
        var(--ink-color);
    color: #ffffff;
}

.nh-app .nh-h2 {
    color: #ffffff;
}

.nh-app__visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.nh-app__phone {
    width: min(100%, 22rem);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.85);
}

.nh-app__checks .nh-check {
    color: #dcefe5;
}

.nh-app__stores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

/* ---------- Service rows ---------- */
.nh-service-row {
    display: grid;
    gap: 1.4rem;
    padding: clamp(1.4rem, 3vw, 2.25rem);
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

@media (min-width: 900px) {
    .nh-service-row {
        grid-template-columns: 1fr 1.1fr;
        align-items: start;
        gap: 2.5rem;
    }
}

.nh-service-row__head {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.nh-service-row__title {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}

/* ---------- Footer ---------- */
.nh-footer {
    background: var(--ink-color);
    color: #b9d2c7;
}

.nh-footer__cta {
    background: linear-gradient(115deg, #0d3b2e 0%, #10553c 55%, #16c46a 100%);
    color: #ffffff;
}

.nh-footer__cta-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-block: 2.25rem;
}

@media (min-width: 860px) {
    .nh-footer__cta-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2.5rem;
    }
}

.nh-footer__cta-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    color: #b6f24d;
}

.nh-footer__cta-title {
    margin-top: 0.35rem;
    color: #ffffff;
    font-size: clamp(1.2rem, 2.4vw, 1.7rem);
}

.nh-footer__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.nh-footer__main {
    display: grid;
    gap: 2rem;
    padding-block: 2.75rem;
}

@media (min-width: 760px) {
    .nh-footer__main {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .nh-footer__main {
        grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
    }
}

.nh-footer__logo {
    display: inline-flex;
    padding: 0.5rem 0.85rem;
    background: #ffffff;
    border-radius: 14px;
}

.nh-footer__logo .nh-logo__top {
    font-size: 1.4rem;
}

.nh-footer__about {
    margin-top: 0.9rem;
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 22rem;
}

.nh-footer__title {
    margin-bottom: 0.85rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: var(--font-heading);
}

.nh-footer__list {
    display: grid;
    gap: 0.5rem;
    font-size: 0.88rem;
}

.nh-footer__list a:hover {
    color: #ffffff;
}

.nh-footer__contact {
    display: grid;
    gap: 0.6rem;
    font-size: 0.88rem;
}

.nh-footer__contact a,
.nh-footer__contact span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nh-footer__contact i {
    color: var(--primary-color);
    width: 1rem;
}

.nh-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-block: 1.1rem;
    font-size: 0.8rem;
    color: #8fae9f;
}

.nh-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    align-items: center;
    justify-content: space-between;
}

/* ---------- Floating WhatsApp ---------- */
.nh-float {
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    font-size: 1.55rem;
    box-shadow: 0 18px 32px -14px rgba(37, 211, 102, 0.9);
    transition: transform 0.25s ease;
}

.nh-float:hover {
    transform: scale(1.06);
}