﻿.nem-section {
    --nem-red: #e02020;
    --nem-red-dark: #c81818;
    --nem-black: #1a1a1a;
    --nem-gray: #6b6b6b;
    --nem-light-red: #fdeaea;
    --nem-border: #ececec;
    --nem-max: 1200px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: var(--nem-black);
    padding: clamp(28px, 6vw, 70px) clamp(16px, 5vw, 40px);
    box-sizing: border-box;
    overflow-x: hidden;
}

    .nem-section * {
        box-sizing: border-box;
    }

.nem-wrap {
    max-width: var(--nem-max);
    margin: 0 auto;
}

/* ---------- Animations ---------- */
@keyframes nemFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nemFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes nemPulseDot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.35);
        opacity: 0.6;
    }
}

@keyframes nemFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.nem-reveal {
    opacity: 0;
    animation: nemFadeUp 0.8s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
    .nem-section * {
        
        transition: none !important;
    }
}

/* ---------- Hero ---------- */
.nem-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 60px);
    align-items: center;
    padding-bottom: clamp(36px, 6vw, 60px);
}

.nem-eyebrow {
    color: var(--nem-red);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    animation: nemFadeUp 0.6s ease forwards;
}

    .nem-eyebrow::after {
        content: "";
        display: block;
        width: 34px;
        height: 3px;
        background: var(--nem-red);
        margin-top: 8px;
        border-radius: 2px;
    }

.nem-heading {
    font-size: clamp(28px, 4.2vw, 44px);
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 16px 0;
    animation: nemFadeUp 0.7s ease 0.05s forwards;
    opacity: 0;
}

    .nem-heading span {
        color: var(--nem-red);
        display: block;
    }

.nem-hero-text {
    color: var(--nem-gray);
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.7;
    max-width: 46ch;
    margin: 0 0 26px 0;
    animation: nemFadeUp 0.7s ease 0.15s forwards;
    opacity: 0;
}

.nem-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nem-red);
    color: #fff;
    border: none;
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 6px 18px rgba(224, 32, 32, 0.25);
    animation: nemFadeUp 0.7s ease 0.25s forwards;
    opacity: 0;
}

    .nem-btn:hover {
        background: var(--nem-red-dark);
        transform: translateY(-3px);
        box-shadow: 0 10px 22px rgba(224, 32, 32, 0.35);
    }

    .nem-btn svg {
        transition: transform 0.25s ease;
    }

    .nem-btn:hover svg {
        transform: translate(3px, -3px);
    }

.nem-hero-img-wrap {
    animation: nemFadeIn 1s ease 0.2s forwards;
    opacity: 0;
    display: flex;
    justify-content: center;
}

/* Set your image's width/height here. Replace the src on the img tag below with your own image. */
.nem-hero-img {
    width: 100%;
    max-width: 560px;
    height: auto;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

/* ---------- Why section ---------- */
.nem-why-title {
    text-align: center;
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 800;
    margin: 0 0 8px 0;
}

    .nem-why-title::after {
        content: "";
        display: block;
        width: 40px;
        height: 3px;
        background: var(--nem-red);
        margin: 10px auto 0;
        border-radius: 2px;
    }

.nem-why-grid {
    margin-top: clamp(24px, 4vw, 40px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.nem-why-item {
    text-align: center;
    padding: 10px 12px;
    position: relative;
    opacity: 0;
    animation: nemFadeUp 0.6s ease forwards;
}

    .nem-why-item:not(:last-child)::after {
        content: "";
        position: absolute;
        right: -10px;
        top: 10%;
        height: 80%;
        width: 1px;
        background: var(--nem-border);
    }

.nem-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--nem-light-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px auto;
    transition: transform 0.3s ease, background 0.3s ease;
}

.nem-why-item:hover .nem-icon-circle {
    transform: translateY(-6px) scale(1.06);
    background: var(--nem-red);
}

    .nem-why-item:hover .nem-icon-circle svg path,
    .nem-why-item:hover .nem-icon-circle svg circle,
    .nem-why-item:hover .nem-icon-circle svg polygon {
        stroke: #fff;
    }

.nem-why-item h4 {
    font-size: 14.5px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.nem-why-item p {
    font-size: 12.5px;
    color: var(--nem-gray);
    line-height: 1.6;
    margin: 0;
}

/* ---------- Two column cards ---------- */
.nem-cards {
    margin-top: clamp(32px, 5vw, 50px);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 22px;
}

.nem-card {
    border: 1px solid var(--nem-border);
    border-radius: 14px;
    padding: clamp(20px, 3vw, 30px);
    opacity: 0;
    animation: nemFadeUp 0.7s ease forwards;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

    .nem-card:hover {
        box-shadow: 0 14px 30px rgba(0,0,0,0.06);
        transform: translateY(-4px);
    }

    .nem-card h3 {
        font-size: 18px;
        font-weight: 800;
        margin: 0 0 4px 0;
        position: relative;
        padding-bottom: 12px;
    }

        .nem-card h3::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 30px;
            height: 3px;
            background: var(--nem-red);
            border-radius: 2px;
        }

.nem-req-list {
    list-style: none;
    margin: 20px 0 0 0;
    padding: 0;
}

    .nem-req-list li {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        padding: 12px 0;
        border-bottom: 1px dashed var(--nem-border);
    }

        .nem-req-list li:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

.nem-req-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--nem-light-red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nem-req-text strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 3px;
}

.nem-req-text span {
    font-size: 12.5px;
    color: var(--nem-gray);
    line-height: 1.6;
}

/* Accept card */
.nem-accept-body {
    display: flex;
    gap: 16px;
    margin-top: 18px;
}

.nem-accept-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

    .nem-accept-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13.5px;
        font-weight: 600;
        padding: 9px 0;
    }

        .nem-accept-list li svg {
            flex: 0 0 auto;
        }

.nem-feather {
    flex: 0 0 auto;
    width: 100px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: nemFloat 4s ease-in-out infinite;
}

/* ---------- Process ---------- */
.nem-process-title {
    text-align: center;
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 800;
    margin: clamp(40px, 6vw, 60px) 0 0 0;
}

    .nem-process-title::after {
        content: "";
        display: block;
        width: 40px;
        height: 3px;
        background: var(--nem-red);
        margin: 10px auto 0;
        border-radius: 2px;
    }

.nem-process-row {
    margin-top: clamp(28px, 4vw, 46px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    position: relative;
}

.nem-process-line {
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 0;
    border-top: 2px dotted #d9a9a9;
    z-index: 0;
}

.nem-process-item {
    position: relative;
    z-index: 1;
    text-align: center;
    opacity: 0;
    animation: nemFadeUp 0.6s ease forwards;
}

.nem-process-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--nem-light-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px auto;
    position: relative;
    transition: transform 0.3s ease, background 0.3s ease;
}

.nem-process-item:hover .nem-process-num {
    background: var(--nem-red);
    transform: scale(1.08) translateY(-4px);
}

    .nem-process-item:hover .nem-process-num svg path,
    .nem-process-item:hover .nem-process-num svg circle,
    .nem-process-item:hover .nem-process-num svg rect {
        stroke: #fff;
    }

.nem-process-badge {
    position: absolute;
    top: -6px;
    right: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--nem-red);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.nem-process-item h4 {
    font-size: 14.5px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.nem-process-item p {
    font-size: 12.5px;
    color: var(--nem-gray);
    margin: 0;
    line-height: 1.6;
    padding: 0 6px;
}

/* ---------- Help / Quote ---------- */
.nem-help {
    margin-top: clamp(36px, 5vw, 55px);
    background: var(--nem-light-red);
    border-radius: 16px;
    padding: clamp(22px, 3vw, 34px);
    display: grid;
    grid-template-columns: auto 1fr 1px 1fr;
    align-items: center;
    gap: 24px;
    opacity: 0;
    animation: nemFadeUp 0.7s ease forwards;
}

.nem-help-icon {
    width: 155px;
    height: 124px;
    animation: nemFloat 5s ease-in-out infinite;
}

.nem-help h5 {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.nem-help p {
    font-size: 13px;
    color: var(--nem-gray);
    margin: 0 0 16px 0;
    line-height: 1.6;
}

.nem-help-divider {
    height: 90%;
    width: 1px;
    background: rgba(0,0,0,0.08);
    justify-self: center;
}

.nem-quote {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 22px;
    position: relative;
}

.nem-quote-mark {
    font-size: 34px;
    color: var(--nem-red);
    font-weight: 900;
    line-height: 0;
    display: block;
    margin-bottom: 6px;
}

.nem-quote p {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.nem-quote span {
    font-size: 12.5px;
    color: var(--nem-gray);
    font-weight: 600;
}

/* ---------- Stagger delays ---------- */
.nem-why-item:nth-child(1) {
    animation-delay: 0.05s;
}

.nem-why-item:nth-child(2) {
    animation-delay: 0.15s;
}

.nem-why-item:nth-child(3) {
    animation-delay: 0.25s;
}

.nem-why-item:nth-child(4) {
    animation-delay: 0.35s;
}

.nem-card:nth-child(1) {
    animation-delay: 0.1s;
}

.nem-card:nth-child(2) {
    animation-delay: 0.2s;
}

.nem-process-item:nth-child(1) {
    animation-delay: 0.1s;
}

.nem-process-item:nth-child(2) {
    animation-delay: 0.2s;
}

.nem-process-item:nth-child(3) {
    animation-delay: 0.3s;
}

.nem-process-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .nem-hero {
        grid-template-columns: 1fr;
    }

    .nem-hero-img-wrap {
        order: -1;
    }

    .nem-why-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 26px;
    }

    .nem-why-item:nth-child(2)::after {
        display: none;
    }

    .nem-cards {
        grid-template-columns: 1fr;
    }

    .nem-help {
        grid-template-columns: auto 1fr;
    }

    .nem-help-divider,
    .nem-quote {
        display: none;
    }
}

@media (max-width: 560px) {
    .nem-why-grid {
        grid-template-columns: 1fr;
    }

    .nem-why-item::after {
        display: none;
    }

    .nem-process-row {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }

    .nem-process-line {
        display: none;
    }

    .nem-accept-body {
        flex-direction: column;
    }

    .nem-feather {
        width: 60px;
        align-self: center;
    }

    .nem-help {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nem-help-icon {
        margin: 0 auto;
    }
}

@media (max-width: 340px) {
    .nem-heading {
        font-size: 24px;
    }

    .nem-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- RESPONSIVE 768px (TABLET) ---------- */
@media (max-width: 768px) {
    .nem-section {
        padding: clamp(24px, 4vw, 36px) clamp(14px, 3vw, 24px);
    }

    .nem-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 32px;
    }

    .nem-hero-img-wrap {
        order: -1;
    }

    .nem-heading {
        font-size: clamp(24px, 5vw, 32px);
    }

    .nem-hero-text {
        font-size: 14px;
    }

    .nem-btn {
        padding: 13px 24px;
        font-size: 13.5px;
    }

    .nem-why-title {
        font-size: clamp(19px, 3vw, 24px);
    }

    .nem-why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        row-gap: 24px;
    }

    .nem-why-item:nth-child(2)::after {
        display: none;
    }

    .nem-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .nem-process-title {
        font-size: clamp(19px, 3vw, 24px);
    }

    .nem-process-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        row-gap: 28px;
    }

    .nem-process-line {
        display: none;
    }

    .nem-help {
        grid-template-columns: auto 1fr;
        gap: 20px;
    }

    .nem-help-divider,
    .nem-quote {
        display: none;
    }

    .nem-help-icon {
        width: 120px;
        height: 90px;
    }
}

/* ---------- RESPONSIVE 400px (SMALL MOBILE) ---------- */
@media (max-width: 400px) {
    .nem-section {
        padding: 20px 12px;
    }

    .nem-eyebrow {
        font-size: 12px;
    }

    .nem-heading {
        font-size: 22px;
    }

    .nem-hero-text {
        font-size: 13px;
    }

    .nem-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 13px;
    }

    .nem-why-title {
        font-size: 18px;
    }

    .nem-why-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .nem-why-item::after {
        display: none !important;
    }

    .nem-icon-circle {
        width: 52px;
        height: 52px;
    }

    .nem-why-item h4 {
        font-size: 13.5px;
    }

    .nem-why-item p {
        font-size: 12px;
    }

    .nem-cards {
        gap: 16px;
    }

    .nem-card {
        padding: 18px;
    }

    .nem-card h3 {
        font-size: 16.5px;
    }

    .nem-req-icon {
        width: 32px;
        height: 32px;
    }

    .nem-req-text strong {
        font-size: 13px;
    }

    .nem-req-text span {
        font-size: 12px;
    }

    .nem-accept-body {
        flex-direction: column;
    }

    .nem-accept-list li {
        font-size: 13px;
    }

    .nem-feather {
        width: 80px;
        align-self: center;
        margin: 0 auto;
    }

    .nem-process-title {
        font-size: 18px;
    }

    .nem-process-row {
        grid-template-columns: 1fr;
        gap: 14px;
        row-gap: 24px;
    }

    .nem-process-num {
        width: 52px;
        height: 52px;
    }

    .nem-process-badge {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .nem-process-item h4 {
        font-size: 13.5px;
    }

    .nem-process-item p {
        font-size: 12px;
    }

    .nem-help {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px 16px;
    }

    .nem-help-icon {
        margin: 0 auto;
        width: 100px;
        height: 70px;
    }

    .nem-help h5 {
        font-size: 16px;
    }

    .nem-help p {
        font-size: 12.5px;
    }
}

/* ---------- RESPONSIVE 375px (iPHONE) ---------- */
@media (max-width: 375px) {
    .nem-section {
        padding: 18px 10px;
    }

    .nem-eyebrow {
        font-size: 11.5px;
    }

    .nem-eyebrow::after {
        width: 30px;
        height: 2.5px;
    }

    .nem-heading {
        font-size: 20px;
    }

    .nem-hero-text {
        font-size: 12.5px;
    }

    .nem-btn {
        padding: 11px 18px;
        font-size: 12.5px;
    }

    .nem-btn svg {
        width: 14px;
        height: 14px;
    }

    .nem-why-title {
        font-size: 17px;
    }

    .nem-why-title::after {
        width: 36px;
        height: 2.5px;
    }

    .nem-icon-circle {
        width: 50px;
        height: 50px;
    }

    .nem-icon-circle svg {
        width: 22px;
        height: 22px;
    }

    .nem-why-item h4 {
        font-size: 13px;
    }

    .nem-why-item p {
        font-size: 11.5px;
    }

    .nem-card {
        padding: 16px;
    }

    .nem-card h3 {
        font-size: 16px;
    }

    .nem-card h3::after {
        width: 26px;
        height: 2.5px;
    }

    .nem-req-list li {
        gap: 12px;
        padding: 10px 0;
    }

    .nem-req-icon {
        width: 30px;
        height: 30px;
    }

    .nem-req-icon svg {
        width: 14px;
        height: 14px;
    }

    .nem-req-text strong {
        font-size: 12.5px;
    }

    .nem-req-text span {
        font-size: 11.5px;
    }

    .nem-accept-list li {
        font-size: 12.5px;
        padding: 8px 0;
    }

    .nem-accept-list li svg {
        width: 16px;
        height: 16px;
    }

    .nem-feather {
        width: 70px;
    }

    .nem-process-title {
        font-size: 17px;
    }

    .nem-process-title::after {
        width: 36px;
        height: 2.5px;
    }

    .nem-process-num {
        width: 50px;
        height: 50px;
    }

    .nem-process-num svg {
        width: 20px;
        height: 20px;
    }

    .nem-process-badge {
        width: 19px;
        height: 19px;
        font-size: 9.5px;
    }

    .nem-process-item h4 {
        font-size: 13px;
    }

    .nem-process-item p {
        font-size: 11.5px;
    }

    .nem-help {
        padding: 18px 14px;
    }

    .nem-help-icon {
        width: 90px;
        height: 60px;
    }

    .nem-help h5 {
        font-size: 15px;
    }

    .nem-help p {
        font-size: 12px;
        margin-bottom: 14px;
    }
}

/* ---------- RESPONSIVE 320px (SMALLEST) ---------- */
@media (max-width: 320px) {
    .nem-section {
        padding: 16px 8px;
    }

    .nem-eyebrow {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .nem-eyebrow::after {
        width: 28px;
        height: 2px;
        margin-top: 6px;
    }

    .nem-heading {
        font-size: 19px;
        margin-bottom: 14px;
    }

    .nem-hero-text {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .nem-btn {
        padding: 10px 16px;
        font-size: 12px;
        border-radius: 7px;
    }

    .nem-btn svg {
        width: 13px;
        height: 13px;
    }

    .nem-hero-img {
        border-radius: 12px;
    }

    .nem-why-title {
        font-size: 16px;
    }

    .nem-why-title::after {
        width: 32px;
        height: 2px;
        margin-top: 8px;
    }

    .nem-why-grid {
        margin-top: 20px;
        gap: 12px;
    }

    .nem-icon-circle {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .nem-icon-circle svg {
        width: 20px;
        height: 20px;
    }

    .nem-why-item {
        padding: 8px 10px;
    }

    .nem-why-item h4 {
        font-size: 12.5px;
        margin-bottom: 4px;
    }

    .nem-why-item p {
        font-size: 11px;
    }

    .nem-cards {
        margin-top: 28px;
        gap: 14px;
    }

    .nem-card {
        padding: 14px;
        border-radius: 12px;
    }

    .nem-card h3 {
        font-size: 15px;
        padding-bottom: 10px;
    }

    .nem-card h3::after {
        width: 24px;
        height: 2px;
    }

    .nem-req-list {
        margin-top: 16px;
    }

    .nem-req-list li {
        gap: 10px;
        padding: 9px 0;
    }

    .nem-req-icon {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }

    .nem-req-icon svg {
        width: 13px;
        height: 13px;
    }

    .nem-req-text strong {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .nem-req-text span {
        font-size: 11px;
    }

    .nem-accept-body {
        margin-top: 16px;
    }

    .nem-accept-list li {
        font-size: 12px;
        padding: 7px 0;
        gap: 8px;
    }

    .nem-accept-list li svg {
        width: 15px;
        height: 15px;
    }

    .nem-feather {
        width: 60px;
    }

    .nem-process-title {
        font-size: 16px;
        margin-top: 32px;
    }

    .nem-process-title::after {
        width: 32px;
        height: 2px;
        margin-top: 8px;
    }

    .nem-process-row {
        margin-top: 20px;
        gap: 12px;
        row-gap: 20px;
    }

    .nem-process-num {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .nem-process-num svg {
        width: 18px;
        height: 18px;
    }

    .nem-process-badge {
        width: 18px;
        height: 18px;
        font-size: 9px;
        top: -4px;
        right: -1px;
    }

    .nem-process-item h4 {
        font-size: 12.5px;
        margin-bottom: 4px;
    }

    .nem-process-item p {
        font-size: 11px;
        padding: 0 4px;
    }

    .nem-help {
        margin-top: 28px;
        padding: 16px 12px;
        border-radius: 14px;
        gap: 14px;
    }

    .nem-help-icon {
        width: 80px;
        height: 55px;
    }

    .nem-help h5 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .nem-help p {
        font-size: 11px;
        margin-bottom: 12px;
    }
}
