/**
 * WeClean 2.0 — Skin
 * Theme-specific visual overrides on top of _core/assets/css/core.css
 */

/* ── Typography ──────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6,
.btn,
.nav-link {
    font-family: var(--npc-font-heading);
}

/* ── CSS Variables ───────────────────────────────────────────────── */
:root {
    /* Shape slots (core.css): what this skin makes of the primary button and of cards, for block content. */
    --npc-btn-radius: 0;
    --npc-card-radius: 0;
    --npc-band-radius: 0;
    --wc-primary:       var(--npc-btn-bg);
    --wc-primary-dark:  var(--npc-primary-hover);
    --wc-navy:          #1a2e27;
    --wc-navy-rgb:      26, 46, 39;
    --wc-navy-light:    #2d4a3e;
    --wc-text:          #2b2b2b;
    --wc-text-light:    #717375;
    --wc-bg-light:      #f4f7f5;
    --wc-white:         #ffffff;

    /* Semantic slots — consumed by _core/assets/css/core.css */
    --npc-heading:        var(--wc-navy);
    --npc-text-muted:     var(--wc-text-light);
    --npc-card-bg:        var(--wc-white);
    --npc-bg-alt:         var(--wc-bg-light);
    --npc-subheader-text: var(--wc-white);

    /* Navbar: active link + underline = btn-color (yellow), CTA = inverted (bg yellow, text green) */
    --npc-nav-active-color: var(--npc-btn-color);
    --npc-nav-cta-bg:       var(--npc-btn-color);
    --npc-nav-cta-color:    var(--npc-btn-bg);
    --npc-nav-cta-bg-hover: color-mix(in srgb, var(--npc-btn-color) 85%, #000);
}

/* ── Navbar ──────────────────────────────────────────────────────── */
.btn-primary, .npc-navbar .navbar-nav .nav-cta .nav-link, .npc-post-card, .npc-contact .npc-embed__area, .npc-contact__item-number, .npc-checklist__nav .nav-link, .npc-thankyou__card {
    border-radius: 0;
}

.npc-navbar .navbar-nav .nav-item:not(.nav-cta) .nav-link:hover,
.npc-navbar .navbar-nav .active:not(.nav-cta) > .nav-link {
    color: var(--npc-nav-active-color);
}

.npc-navbar .dropdown-menu {
    background-color: #fff;
    border-radius: 0;
}

.npc-navbar .dropdown-item {
    font-family: var(--npc-font-heading);
    color: var(--wc-navy);
}

.npc-navbar .dropdown-item:hover,
.npc-navbar .dropdown-item:focus {
    background-color: rgba(var(--wc-navy-rgb), 0.07);
    color: var(--npc-btn-bg);
    border-radius: 0;
}

/* ── Subheader ───────────────────────────────────────────────────── */
.npc-subheader {
    background-color: var(--wc-primary);
}

.npc-subheader__overlay {
    background: linear-gradient(135deg, rgba(var(--wc-navy-rgb), .65) 0%, rgba(var(--wc-navy-rgb), .25) 100%);
}

.npc-subheader--search {
    background-color: var(--wc-bg-light);
}

.npc-subheader--search .text-primary {
    color: var(--npc-btn-bg) !important;
}

/* ── Hero ────────────────────────────────────────────────────────── */
.npc-hero__title {
    color: var(--wc-navy);
}

.npc-hero__subtitle {
    color: var(--wc-text-light);
    opacity: 1;
}

.npc-hero__trust {
    --npc-trust-color: var(--wc-navy);
}

.npc-contact__item-number {
    background-color: var(--npc-btn-color);
    color: var(--npc-btn-bg);
}

/* Yellow circle + green check — unified with areas list style */
.npc-hero__trust-item {
    position: relative;
    padding-left: 26px;
    gap: 0;
}

.npc-hero__trust-item i {
    display: none;
}

.npc-hero__trust-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-color: var(--npc-btn-color); /* Kirki: button text/contrast color */
    border-radius: 50%;
    -webkit-mask-image: none;
    mask-image: none;
}

.npc-hero__trust-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-color: var(--npc-btn-bg);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.npc-hero--split .npc-hero__vignette {
    background: linear-gradient(
        to right,
        rgba(var(--npc-overlay-rgb), 0.60) 0%,
        rgba(var(--npc-overlay-rgb), 0.25) 50%,
        rgba(var(--npc-overlay-rgb), 0.05) 75%,
        transparent 100%
    );
}

.npc-hero--fullwidth .npc-hero__vignette {
    background: linear-gradient(
        to top,
        rgba(var(--npc-overlay-rgb), 0.55) 0%,
        rgba(var(--npc-overlay-rgb), 0.20) 45%,
        transparent 75%
    );
}

/* The default title breaks lines with <br>; on phones the title wraps on its own */
@media (max-width: 575.98px) {
    .npc-hero__title br {
        display: none;
    }
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn-outline-primary {
    color: var(--npc-btn-bg);
    border-color: var(--npc-btn-bg);
}

.btn-outline-primary:hover {
    background-color: var(--npc-btn-bg);
    border-color: var(--npc-btn-bg);
    color: var(--npc-btn-color);
}

/* ── How It Works ────────────────────────────────────────────────── */

.npc-how-it-works__box {
    background-color: #ededed;
    overflow: hidden;
}
.npc-how-it-works__image-wrap {
    position: relative;
}
.npc-how-it-works__image {
    width: 100%;
}
.npc-how-it-works__icon-wrap {
    background-color: var(--npc-btn-bg);
    padding: 1.5rem;
    border-radius: 100px;
    border: 2px solid var(--wc-white);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
}
.npc-how-it-works__content {
    padding: 1rem;
    padding-top: 1.5rem;
}

/* ── Intro / About — yellow circle + green check bullets ────────── */
.npc-intro__body ul li {
    position: relative;
    padding-left: 26px;
}

.npc-intro__body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    transform: none;
    font-family: inherit;
    width: 18px;
    height: 18px;
    background-color: var(--npc-btn-color); /* Kirki: button text/contrast color */
    border-radius: 50%;
    -webkit-mask-image: none;
    mask-image: none;
    color: transparent;
    flex-shrink: 0;
}

.npc-intro__body ul li::after {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    background-color: var(--npc-btn-bg);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* ── Services ────────────────────────────────────────────────────── */
.npc-services__card {
    background: var(--npc-card-bg);
    box-shadow: 3px 4px 24px rgba(0, 0, 0, 0.09);
}

.npc-services__card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ── Trust ───────────────────────────────────────────────────────── */
.npc-trust__title        { color: var(--wc-white); }
.npc-trust .npc-section__subtitle { color: rgba(255, 255, 255, .7); }
.npc-trust__box-title    { color: var(--wc-white); }
.npc-trust__box-desc     { color: rgba(255, 255, 255, .7); }

/* Background: solid primary + two blurred yellow blobs */
.npc-trust {
    background-color: var(--npc-btn-bg);
    background-image: none;
    position: relative;
    overflow: hidden;
}

.npc-trust::before,
.npc-trust::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background-color: var(--npc-btn-color);
    filter: blur(120px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.npc-trust::before {
    top: -140px;
    right: -100px;
}

.npc-trust::after {
    bottom: -140px;
    left: -40px;
}

.npc-trust .container {
    position: relative;
    z-index: 1;
}

/* ── Compare ─────────────────────────────────────────────────────── */
.npc-compare__table-wrap {
    box-shadow: 3px 4px 24px rgba(0, 0, 0, 0.09);
}

.npc-compare__table tbody tr:nth-child(odd) td {
    background-color: var(--npc-bg-alt);
}

/* Circle style: dark primary bg, yellow icon — both Kirki-controlled */
.npc-compare__icon--check,
.npc-compare__icon--cross,
.npc-checklist__icon--check,
.npc-checklist__icon--cross {
    background-color: var(--npc-btn-bg);
    color: var(--npc-btn-color);
    border-radius: 50%;
    padding: 2px;
    box-sizing: content-box;
    flex-shrink: 0;
}

/* Hide the inline SVG circle stroke — CSS background-color is the circle */
.npc-compare__icon--check circle,
.npc-compare__icon--cross circle,
.npc-checklist__icon--check circle,
.npc-checklist__icon--cross circle {
    display: none;
}

.npc-compare__icon--cross,
.npc-checklist__icon--cross {
    opacity: 0.35;
}

/* ── Checklist ───────────────────────────────────────────────────── */
.npc-checklist__table-wrap {
    box-shadow: 3px 4px 24px rgba(0, 0, 0, 0.09);
}

.npc-checklist__table tbody tr:nth-child(odd) td {
    background-color: var(--npc-bg-alt);
}

/* ── Testimonials ────────────────────────────────────────────────── */

.npc-testimonials__quote {
    font-family: var(--npc-font-heading);
    font-weight: 700;
}

.npc-testimonials__avatar {
    border: 3px solid rgba(255, 255, 255, .3);
}

.npc-testimonials .carousel-indicators button       { opacity: .5; }
.npc-testimonials .carousel-indicators button.active { opacity: 1; }
.npc-testimonials .carousel-control-prev,
.npc-testimonials .carousel-control-next            { opacity: .7; }
.npc-testimonials .carousel-control-prev:hover,
.npc-testimonials .carousel-control-next:hover      { opacity: 1; }

/* ── Service Areas ───────────────────────────────────────────────── */
.npc-areas__map { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); }

/* Inverted circle: yellow bg, green checkmark — both pseudo-elements stack at left: 0 */
.npc-areas__list-item {
    color: var(--wc-navy);
    position: relative;
    padding-left: 26px; /* icon 18px + 8px gap */
    gap: 0; /* icon is now absolute, not a flex item */
}

.npc-areas__list-item::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    background-color: var(--npc-areas-accent, var(--npc-btn-color)); /* yellow unless the ACF accent is set */
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 50%;
}

.npc-areas__list-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-color: var(--npc-btn-bg); /* green */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* ── FAQ ─────────────────────────────────────────────────────────── */
.npc-faq__item {
    box-shadow: 3px 4px 24px rgba(0, 0, 0, 0.08);
    border-radius: 0 !important;
}

/* Circle +/− toggle — dark primary bg, yellow icon */
.npc-faq__question::after {
    background-color: var(--npc-btn-bg);
    color: var(--npc-btn-color) !important;
    border-radius: 50%;
    width: 32px !important;
    height: 32px !important;
    line-height: 26px;
    text-align: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ── Contact Page ────────────────────────────────────────────────── */
.npc-contact__form-col {
    border-right: 1px solid #e5e7eb;
}

.npc-contact__item-link:hover {
    color: var(--wc-primary-dark);
}

.wpcf7 input[type="submit"], .wpcf7-submit {
    border-radius: 0;
}

/* ── Footer ───────────────────────────────────────────────────────── */
.npc-footer__sub-social-link {
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.npc-footer__sub-social-link:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.08);
}

.npc-footer__section-title,
.npc-footer__widget-title {
    font-family: var(--npc-font-heading);
    font-weight: 800;
    color: var(--npc-footer-color);
}

.npc-footer__menu a,
.npc-footer__contact-item,
.npc-footer__contact-item i {
    color: var(--npc-footer-link-color);
}

.npc-footer__menu a:hover,
.npc-footer__contact-item:hover {
    color: var(--npc-footer-link-color);
    opacity: 1;
}

.npc-footer__copyright {
    color: var(--npc-nav-cta-bg);
    opacity: 0.7;
}

.npc-footer__powered a {
    color: var(--npc-nav-cta-bg);
}

.npc-footer__button       { color: var(--npc-nav-cta-bg); opacity: 0.7; }
.npc-footer__button:hover { color: var(--npc-nav-cta-bg); opacity: 1; }

.npc-scroll-top {
    background-color: var(--npc-nav-cta-bg);
}

.npc-scroll-top i {
    color: var(--npc-primary);
}

/* ── 404 ─────────────────────────────────────────────────────────── */
.npc-404__heading { opacity: .15; }
