﻿:root {
    --red: #d61f2c;
    --red-dark: #b3141f;
    --ink: #1a1a1a;
    --gray-text: #6b6b6b;
    --bg-soft: #f6f6f6;
    --border: #e7e5e2;
    --white: #ffffff;
    --radius: 10px;
}

.main-advertise{
    box-sizing: border-box;
}

.nem-advertise {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: var(--white);
    max-width: 1600px;
    min-width: 300px;
    margin: 0 auto;
    padding: clamp(16px,4vw,40px);
    overflow-x: hidden;
}

    .nem-advertise * {
        animation-fill-mode: both;
    }

@keyframes nem-fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nem-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes nem-pop {
    from {
        opacity: 0;
        transform: scale(.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nem-advertise * {
        
        transition: none !important;
    }
}

/* ---------- HERO ---------- */
.nem-hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(20px,4vw,48px);
    align-items: center;
    padding: clamp(20px,4vw,32px) 0 clamp(32px,5vw,56px);
}

.nem-eyebrow {
    display: inline-block;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    animation: nem-fadeUp .6s ease-out;
}

    .nem-eyebrow::after {
        content: "";
        display: block;
        width: 38px;
        height: 3px;
        background: var(--red);
        margin-top: 8px;
        border-radius: 2px;
        transform-origin: left;
        animation: nem-growLine .7s .3s ease-out both;
    }

@keyframes nem-growLine {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.nem-hero h1 {
    font-size: clamp(28px,4.2vw,46px);
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 18px;
    letter-spacing: -0.5px;
    animation: nem-fadeUp .7s .1s ease-out both;
}

    .nem-hero h1 span {
        color: var(--red);
    }

.nem-hero p {
    color: var(--gray-text);
    font-size: clamp(14px,1.4vw,16px);
    line-height: 1.7;
    max-width: 46ch;
    margin: 0 0 26px;
    animation: nem-fadeUp .7s .2s ease-out both;
}

.nem-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white);
    border: none;
    text-decoration: none;
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    box-shadow: 0 6px 16px rgba(214,31,44,.25);
    animation: nem-fadeUp .7s .3s ease-out both;
}

    .nem-btn:hover {
        background: var(--red-dark);
        transform: translateY(-3px);
        box-shadow: 0 10px 22px rgba(214,31,44,.35);
    }

    .nem-btn svg {
        transition: transform .25s ease;
    }

    .nem-btn:hover svg {
        transform: translateX(4px);
    }

.nem-hero-media {
    width: 100%;
    animation: nem-pop .7s .15s ease-out both;
}
    /* Hero image: only height/width controlled here — src added by user */
    .nem-hero-media img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16/11;
        object-fit: cover;
        border-radius: 14px;
    }

/* ---------- WHY ADVERTISE ---------- */
.nem-why {
    background: var(--bg-soft);
    border-radius: 14px;
    padding: clamp(28px,4vw,44px) clamp(18px,4vw,36px);
    margin-bottom: clamp(32px,5vw,56px);
}

.nem-section-title {
    text-align: center;
    font-size: clamp(20px,2.6vw,26px);
    font-weight: 800;
    margin: 0 0 30px;
}

    .nem-section-title .nem-accent {
        color: var(--red);
    }

    .nem-section-title::after {
        content: "";
        display: block;
        width: 46px;
        height: 3px;
        background: var(--red);
        margin: 10px auto 0;
        border-radius: 2px;
    }

.nem-why-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: clamp(18px,3vw,28px);
}

.nem-why-item {
    text-align: center;
    opacity: 0;
    animation: nem-fadeUp .6s ease-out forwards;
}

    .nem-why-item:nth-child(1) {
        animation-delay: .05s;
    }

    .nem-why-item:nth-child(2) {
        animation-delay: .15s;
    }

    .nem-why-item:nth-child(3) {
        animation-delay: .25s;
    }

    .nem-why-item:nth-child(4) {
        animation-delay: .35s;
    }

.nem-icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fbe1e2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    transition: transform .3s ease, background .3s ease;
}

    .nem-icon-circle svg {
        width: 26px;
        height: 26px;
        stroke: var(--red);
    }

.nem-why-item:hover .nem-icon-circle {
    transform: translateY(-6px) scale(1.06);
    background: var(--red);
}

    .nem-why-item:hover .nem-icon-circle svg {
        stroke: var(--white);
    }

.nem-why-item h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px;
}

.nem-why-item p {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.6;
    margin: 0;
}

/* ---------- ADVERTISING OPTIONS ---------- */
.nem-options {
    margin-bottom: clamp(32px,5vw,56px);
}

    .nem-options h2 {
        font-size: clamp(19px,2.4vw,24px);
        font-weight: 800;
        margin: 0 0 22px;
        position: relative;
        padding-bottom: 12px;
    }

        .nem-options h2::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 42px;
            height: 3px;
            background: var(--red);
            border-radius: 2px;
        }

.nem-options-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: clamp(16px,2.5vw,22px);
}

.nem-option-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 20px;
    background: var(--white);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    opacity: 0;
    animation: nem-fadeUp .6s ease-out forwards;
}

    .nem-option-card:nth-child(1) {
        animation-delay: .05s;
    }

    .nem-option-card:nth-child(2) {
        animation-delay: .15s;
    }

    .nem-option-card:nth-child(3) {
        animation-delay: .25s;
    }

    .nem-option-card:nth-child(4) {
        animation-delay: .35s;
    }

    .nem-option-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 30px rgba(0,0,0,.08);
        border-color: transparent;
    }

    .nem-option-card .nem-icon-circle {
        margin: 0 0 16px;
    }

    .nem-option-card h3 {
        font-size: 15px;
        font-weight: 700;
        margin: 0 0 8px;
    }

    .nem-option-card p {
        font-size: 13px;
        color: var(--gray-text);
        line-height: 1.6;
        margin: 0 0 14px;
    }

.nem-learn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

    .nem-learn svg {
        width: 14px;
        height: 14px;
        transition: transform .25s ease;
    }

    .nem-learn:hover svg {
        transform: translateX(4px);
    }

/* ---------- STATS ---------- */
.nem-stats {
    background: var(--bg-soft);
    border-radius: 14px;
    padding: clamp(26px,4vw,36px) clamp(18px,4vw,36px);
    margin-bottom: clamp(32px,5vw,56px);
}

.nem-stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: clamp(18px,3vw,24px);
}

.nem-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    animation: nem-fadeUp .6s ease-out forwards;
}

    .nem-stat:nth-child(1) {
        animation-delay: .05s;
    }

    .nem-stat:nth-child(2) {
        animation-delay: .15s;
    }

    .nem-stat:nth-child(3) {
        animation-delay: .25s;
    }

    .nem-stat:nth-child(4) {
        animation-delay: .35s;
    }

    .nem-stat .nem-icon-circle {
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        margin: 0;
    }

        .nem-stat .nem-icon-circle svg {
            width: 22px;
            height: 22px;
        }

.nem-stat-num {
    font-size: clamp(20px,2.6vw,26px);
    font-weight: 800;
    color: var(--red);
    line-height: 1.1;
}

.nem-stat-label {
    font-size: 12px;
    color: var(--gray-text);
    font-weight: 600;
}

/* ---------- CTA + FORM ---------- */
.nem-cta-form {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(18px,3vw,24px);
    margin-bottom: clamp(32px,5vw,56px);
}

.nem-cta-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 280px;
    background: linear-gradient(155deg,#1a1a1a,#3a3a3a);
    display: flex;
    align-items: flex-end;
    padding: clamp(22px,3vw,30px);
    color: var(--white);
}

    .nem-cta-media::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.65)), url('/images/request-advertise.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

.nem-cta-media-content {
    position: relative;
    z-index: 1;
}

.nem-cta-media h3 {
    font-size: clamp(20px,2.6vw,26px);
    font-weight: 800;
    margin: 0 0 12px;
    position: relative;
    padding-bottom: 12px;
}

    .nem-cta-media h3::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 38px;
        height: 3px;
        background: var(--red);
        border-radius: 2px;
    }

.nem-cta-media p {
    font-size: 13px;
    line-height: 1.6;
    color: #e8e8e8;
    max-width: 32ch;
    margin: 0;
}

.nem-form-wrap h2 {
    font-size: clamp(19px,2.4vw,24px);
    font-weight: 800;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 12px;
}

    .nem-form-wrap h2::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 42px;
        height: 3px;
        background: var(--red);
        border-radius: 2px;
    }

.nem-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.nem-advertise input,
.nem-advertise select,
.nem-advertise textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    font-family: inherit;
    color: var(--ink);
    background: var(--white);
    transition: border-color .25s ease, box-shadow .25s ease;
}

    .nem-advertise input:focus,
    .nem-advertise select:focus,
    .nem-advertise textarea:focus {
        outline: none;
        border-color: var(--red);
        box-shadow: 0 0 0 3px rgba(214,31,44,.12);
    }

.nem-advertise textarea {
    resize: vertical;
    min-height: 90px;
    margin-bottom: 18px;
}

.nem-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

    .nem-submit:hover {
        background: var(--red-dark);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(214,31,44,.3);
    }

/* ---------- NEWSLETTER STRIP ---------- */
.nem-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: linear-gradient(90deg, #fbeceb, #fdf5f4);
    border-radius: 14px;
    padding: clamp(20px,3vw,28px) clamp(20px,4vw,36px);
}

.nem-newsletter-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 320px;
}

.nem-newsletter-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(0,0,0,.06);
}

    .nem-newsletter-icon svg {
        width: 24px;
        height: 24px;
        stroke: var(--red);
    }

.nem-newsletter h3 {
    font-size: clamp(16px,2vw,19px);
    font-weight: 800;
    margin: 0 0 4px;
}

.nem-newsletter p {
    font-size: 12.5px;
    color: var(--gray-text);
    margin: 0;
}

.nem-newsletter-form {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex: 1 1 320px;
}

    .nem-newsletter-form input {
        flex: 1;
    }

.nem-newsletter-note {
    width: 100%;
    font-size: 11px;
    color: #9a9a9a;
    margin-top: 6px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1000px) {
    .nem-hero {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .nem-why-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .nem-options-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .nem-stats-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .nem-cta-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width:560px) {
    .nem-why-grid {
        grid-template-columns: 1fr;
    }

    .nem-options-grid {
        grid-template-columns: 1fr;
    }

    .nem-stats-grid {
        grid-template-columns: 1fr;
    }

    .nem-form-row {
        grid-template-columns: 1fr;
    }

    .nem-newsletter {
        flex-direction: column;
        align-items: flex-start;
    }

    .nem-newsletter-form {
        width: 100%;
    }
}

@media (max-width:340px) {
    .nem-advertise {
        padding: 12px;
    }

    .nem-hero h1 {
        font-size: 24px;
    }
}
