/* ============================================================
   NWC Advisors — Component stylesheet
   Sole owner of .nwc-ad and all .ad-* selectors.
   Loaded by any page that renders the NWC ad (currently pricing.php).
   ============================================================ */

.nwc-ad {
    background: linear-gradient(135deg, #f8faff 0%, #eef3f9 100%);
    border-radius: var(--radius, 0);
    padding: 16px 20px 16px;
    border-left: 5px solid var(--color-primary, #0f3e6f);
    box-shadow: 0 2px 8px rgba(15, 62, 111, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin: 24px 0 0;
    max-width: 100%;
    transition: box-shadow 0.3s ease;
}

.nwc-ad:hover {
    box-shadow: 0 4px 16px rgba(15, 62, 111, 0.15);
}

.nwc-ad .ad-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    width: 100%;
}

.nwc-ad .ad-logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;
}

.nwc-ad .ad-company {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    flex: 1;
}

.nwc-ad .ad-company-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a2a4a;
    letter-spacing: -0.3px;
}

.nwc-ad .ad-company-name span {
    font-weight: 300;
    color: #4a6a8a;
}

.nwc-ad .ad-company-tag {
    font-size: 0.55rem;
    font-weight: 500;
    color: #6a8aaa;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nwc-ad .qr-code {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: var(--radius, 0);
    border: 1px solid #dce3ec;
    padding: 2px;
    background: #fff;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.nwc-ad .qr-code:hover {
    transform: scale(1.08);
}

.nwc-ad .ad-badge {
    display: inline-block;
    background: var(--color-primary, #0f3e6f);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 600;
    padding: 2px 12px;
    border-radius: var(--radius, 0);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.nwc-ad .ad-headline {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 2px 0 2px;
    line-height: 1.3;
    color: #0a2a4a;
}

.nwc-ad .ad-headline .highlight {
    color: var(--color-primary, #0f3e6f);
}

.nwc-ad .ad-body {
    font-size: 0.85rem;
    font-weight: 400;
    color: #4a6a8a;
    margin: 0 0 4px 0;
    line-height: 1.5;
}

.nwc-ad .ad-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 0.75rem;
    margin: 4px 0 6px;
    padding: 4px 0;
    border-top: 1px solid rgba(15, 62, 111, 0.08);
    border-bottom: 1px solid rgba(15, 62, 111, 0.08);
    width: 100%;
}

.nwc-ad .ad-contact a {
    color: var(--color-primary, #0f3e6f);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nwc-ad .ad-contact a:hover {
    color: #081f3a;
    text-decoration: underline;
}

.nwc-ad .ad-cta {
    display: inline-block;
    background: var(--color-primary, #0f3e6f);
    color: #fff;
    padding: 6px 20px;
    border-radius: var(--radius, 0);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(15, 62, 111, 0.2);
    align-self: center;
}

.nwc-ad .ad-cta:hover {
    background: #0a2a4a;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 62, 111, 0.3);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .nwc-ad .ad-brand { flex-wrap: wrap; gap: 8px; }
    .nwc-ad .ad-company-name { font-size: 0.95rem; }
    .nwc-ad .ad-headline { font-size: 1rem; }
    .nwc-ad .ad-body { font-size: 0.8rem; }
    .nwc-ad .ad-contact { gap: 8px 16px; font-size: 0.7rem; }
    .nwc-ad .ad-cta { font-size: 0.75rem; padding: 5px 16px; }
    .nwc-ad .ad-logo,
    .nwc-ad .qr-code { width: 32px; height: 32px; }
}
