:root {
    --nc-accent: #d40000;
    --nc-text: #111111;
}

.nc-hero-widget,
.nc-vehicles-widget,
.nc-sold-widget {
    --nc-accent: #d40000;
    --nc-text: #111111;
    --nc-muted: #6f7378;
    --nc-border: #e7e9ec;
    --nc-soft: #f5f6f7;
    --nc-slider-arrow-color: #111111;
    --nc-slider-arrow-bg: #ffffff;
    --nc-slider-arrow-hover-color: #ffffff;
    --nc-slider-arrow-hover-bg: #d40000;
    --nc-slider-arrow-border: rgba(0,0,0,.10);
    --nc-slider-dot-bg: rgba(255,255,255,.78);
    --nc-slider-dot-active: #d40000;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--nc-text);
}

.nc-hero-widget *, .nc-vehicles-widget *, .nc-sold-widget * { box-sizing: border-box; }

.nc-hero-shell {
    position: relative;
    background:
        radial-gradient(circle at 84% 25%, rgba(0,0,0,.035), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    overflow: visible;
    padding: 44px 24px 0;
}

.nc-hero-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, .86fr) minmax(560px, 1.44fr);
    gap: 42px;
    align-items: center;
}

.nc-hero-copy { padding: 30px 0 78px; }

.nc-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: #8b8e93;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.nc-eyebrow > span {
    width: 26px;
    height: 3px;
    background: var(--nc-accent);
    border-radius: 99px;
    display: inline-block;
}

.nc-hero-title {
    margin: 0;
    font-size: clamp(46px, 4.9vw, 76px);
    line-height: .98;
    letter-spacing: -.05em;
    font-weight: 800;
}
.nc-hero-title span,
.nc-hero-title strong { display: block; }
.nc-hero-title strong { color: var(--nc-accent); font-weight: 800; }

.nc-hero-description {
    max-width: 570px;
    margin: 22px 0 0;
    color: #676b70;
    font-size: 18px;
    line-height: 1.55;
}

.nc-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}
.nc-btn {
    min-height: 50px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border-radius: 7px;
    text-decoration: none !important;
    font-weight: 750;
    font-size: 15px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nc-btn:hover { transform: translateY(-1px); }
.nc-btn-primary { color: #fff !important; background: var(--nc-accent); box-shadow: 0 9px 24px rgba(212,0,0,.22); }
.nc-btn-secondary { color: #151515 !important; background: #fff; border: 1px solid #3d4044; }

.nc-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 600px;
    margin-top: 25px;
}
.nc-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}
.nc-trust-item + .nc-trust-item { border-left: 1px solid #dfe1e4; padding-left: 16px; }
.nc-trust-icon { font-size: 23px; color: #141414; width: 28px; flex: 0 0 28px; }
.nc-trust-icon i, .nc-trust-icon svg { width: 24px; height: 24px; }

.nc-showcase {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 12px;
    min-width: 0;
    padding-bottom: 72px;
}

.nc-main-slider {
    position: relative;
    min-height: 430px;
    border-radius: 16px;
    overflow: hidden;
    background: #141414;
    box-shadow: 0 16px 40px rgba(0,0,0,.13);
}
.nc-main-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.015);
    pointer-events: none;
    transition: opacity .45s ease, transform .65s ease;
}
.nc-main-slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; z-index: 2; }
.nc-main-slide > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nc-main-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.03) 40%, rgba(0,0,0,.82) 100%);
}
.nc-slide-ribbon {
    position: absolute;
    left: 18px;
    top: 18px;
    background: var(--nc-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    border-radius: 6px;
    padding: 8px 12px;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(0,0,0,.15);
}
.nc-slide-meta {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 18px;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    color: #fff;
}
.nc-slide-meta h3 { margin: 0 0 5px; color: #fff; font-size: 25px; line-height: 1.05; letter-spacing: -.02em; }
.nc-slide-meta p { margin: 0; color: rgba(255,255,255,.9); font-size: 13px; }
.nc-slide-meta p span { opacity: .55; padding: 0 6px; }
.nc-slide-price { white-space: nowrap; color: #fff !important; text-decoration: none !important; font-size: 18px; font-weight: 800; display: inline-flex; gap: 8px; align-items: center; }

.nc-slider-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 1px solid var(--nc-slider-arrow-border) !important;
    background: var(--nc-slider-arrow-bg) !important;
    background-color: var(--nc-slider-arrow-bg) !important;
    color: var(--nc-slider-arrow-color) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 7px 20px rgba(0,0,0,.1) !important;
    text-decoration: none !important;
    outline: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nc-slider-arrow svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}
.nc-hero-widget button.nc-slider-arrow:hover,
.nc-hero-widget button.nc-slider-arrow:focus,
.nc-hero-widget button.nc-slider-arrow:focus-visible {
    background: var(--nc-slider-arrow-hover-bg) !important;
    background-color: var(--nc-slider-arrow-hover-bg) !important;
    color: var(--nc-slider-arrow-hover-color) !important;
    border-color: var(--nc-slider-arrow-hover-bg) !important;
    box-shadow: 0 9px 24px rgba(0,0,0,.15) !important;
    outline: none !important;
}
.nc-hero-widget button.nc-slider-arrow:hover { transform: translateY(-50%) scale(1.04); }
.nc-slider-prev { left: 12px; }
.nc-slider-next { right: 12px; }

.nc-slider-dots {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 7px;
}
.nc-dot {
    width: 9px;
    height: 9px;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    appearance: none;
    -webkit-appearance: none;
    background: var(--nc-slider-dot-bg) !important;
    background-color: var(--nc-slider-dot-bg) !important;
    box-shadow: none !important;
    cursor: pointer;
    outline: none !important;
    transition: transform .2s ease, background-color .2s ease;
}
.nc-hero-widget button.nc-dot:hover, .nc-hero-widget button.nc-dot:focus, .nc-hero-widget button.nc-dot:focus-visible {
    background: var(--nc-slider-dot-bg) !important;
    background-color: var(--nc-slider-dot-bg) !important;
    outline: none !important;
}
.nc-hero-widget button.nc-dot.is-active,
.nc-hero-widget button.nc-dot.is-active:hover,
.nc-hero-widget button.nc-dot.is-active:focus {
    background: var(--nc-slider-dot-active) !important;
    background-color: var(--nc-slider-dot-active) !important;
    transform: scale(1.2);
}

.nc-thumbnails {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    min-height: 430px;
}
.nc-thumb {
    position: relative;
    border: 2px solid rgba(255,255,255,.95) !important;
    border-radius: 12px;
    overflow: hidden;
    min-width: 0 !important;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: #111 !important;
    background-color: #111 !important;
    color: #fff !important;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(0,0,0,.12) !important;
    text-align: left;
    outline: none !important;
}
.nc-hero-widget button.nc-thumb:hover,
.nc-hero-widget button.nc-thumb:focus,
.nc-hero-widget button.nc-thumb:focus-visible {
    background: #111 !important;
    background-color: #111 !important;
    color: #fff !important;
    border-color: rgba(255,255,255,.95) !important;
    outline: none !important;
}
.nc-thumb.is-active { display: none; }
.nc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.nc-thumb:hover img { transform: scale(1.04); }
.nc-thumb-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.78) 100%); }
.nc-thumb-content {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 2;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 8px;
    color: #fff;
    font-size: 11px;
}
.nc-thumb-content strong { font-size: 11px; line-height: 1.15; max-width: 62%; }
.nc-thumb-content b { font-size: 11px; white-space: nowrap; }

.nc-info-bar {
    width: calc(100% - 48px);
    max-width: 1280px;
    margin: -48px auto 0;
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border: 1px solid rgba(0,0,0,.04);
    border-radius: 13px;
    box-shadow: 0 18px 42px rgba(20,25,30,.13);
    overflow: hidden;
}
.nc-info-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 16px 22px;
}
.nc-info-item + .nc-info-item { border-left: 1px solid #eceef0; }
.nc-info-image { height: 92px; border-radius: 10px; overflow: hidden; background: #f2f3f5; }
.nc-info-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nc-info-copy h3 { margin: 0 0 5px; font-size: 17px; line-height: 1.15; letter-spacing: -.015em; }
.nc-info-copy p { margin: 0 0 10px; color: #707378; font-size: 13px; line-height: 1.35; }
.nc-info-link { color: var(--nc-accent) !important; text-decoration: none !important; font-size: 13px; font-weight: 800; display: inline-flex; gap: 9px; align-items: center; }
.nc-info-primary { padding: 10px 14px; border-radius: 6px; color: #fff !important; background: var(--nc-accent); }

/* Vehicles */
.nc-vehicles-widget { padding: 70px 24px; background: #fff; }
.nc-vehicles-inner { width: 100%; max-width: 1280px; margin: 0 auto; }
.nc-vehicles-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 18px; }
.nc-vehicles-heading-row .nc-eyebrow { margin-bottom: 7px; }
.nc-vehicles-title { margin: 0; font-size: clamp(34px, 3vw, 46px); line-height: 1; letter-spacing: -.045em; }
.nc-all-vehicles { color: var(--nc-accent) !important; text-decoration: none !important; font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; gap: 11px; padding-bottom: 5px; }
.nc-vehicles-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.nc-vehicle-card { overflow: hidden; border: 1px solid #e8eaed; border-radius: 11px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.nc-vehicle-card:hover { transform: translateY(-3px); box-shadow: 0 15px 36px rgba(0,0,0,.09); }
.nc-vehicle-image { position: relative; display: block; height: 210px; overflow: hidden; background: #f2f3f4; }
.nc-vehicle-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.nc-vehicle-card:hover .nc-vehicle-image img { transform: scale(1.025); }
.nc-vehicle-ribbon { position: absolute; left: 12px; top: 12px; padding: 7px 10px; border-radius: 5px; color: #fff; font-size: 10px; line-height: 1; font-weight: 850; letter-spacing: .02em; }
.nc-ribbon-red { background: var(--nc-accent); }
.nc-ribbon-dark { background: #272a2e; }
.nc-heart { position: absolute; right: 12px; top: 11px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255,255,255,.38); backdrop-filter: blur(4px); }
.nc-vehicle-body { padding: 13px 14px 14px; }
.nc-vehicle-title-price { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.nc-vehicle-title-price h3 { margin: 0; font-size: 15px; line-height: 1.22; letter-spacing: -.02em; }
.nc-vehicle-title-price h3 a { color: #111 !important; text-decoration: none !important; }
.nc-vehicle-title-price strong { white-space: nowrap; font-size: 14px; }
.nc-vehicle-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 9px; color: #8a8e93; font-size: 11px; }
.nc-vehicle-meta i { width: 1px; height: 12px; background: #cfd2d5; display: inline-block; }

@media (max-width: 1180px) {
    .nc-hero-inner { grid-template-columns: 1fr; gap: 20px; }
    .nc-hero-copy { padding: 10px 0 22px; }
    .nc-showcase { padding-bottom: 64px; }
    .nc-info-item { grid-template-columns: 92px 1fr; padding: 14px; gap: 13px; }
    .nc-info-image { height: 80px; }
    .nc-vehicles-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Tablet and mobile: keep the editorial left side only.
   The floating 3-column box remains independently controllable via Elementor. */
@media (max-width: 1024px) {
    .nc-hero-shell { background: #fff; }
    .nc-hero-inner {
        display: block;
        max-width: 100%;
    }
    .nc-hero-copy { width: 100%; }
    .nc-showcase {
        display: none !important;
    }
    .nc-hero-title {
        font-size: clamp(52px, 7vw, 68px);
        line-height: 1.02;
    }
    .nc-eyebrow { margin-bottom: 20px; }
    .nc-hero-description {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.65;
    }
}

@media (max-width: 840px) {
    .nc-hero-shell { padding: 28px 16px 0; }
    .nc-showcase { grid-template-columns: 1fr; padding-bottom: 34px; }
    .nc-main-slider { min-height: 390px; }
    .nc-thumbnails { min-height: auto; grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
    .nc-thumb { height: 110px; }
    .nc-info-bar { width: calc(100% - 32px); grid-template-columns: 1fr; margin-top: -10px; }
    .nc-info-item + .nc-info-item { border-left: 0; border-top: 1px solid #eceef0; }
    .nc-info-item { grid-template-columns: 105px 1fr; }
    .nc-hero-description { font-size: 16px; }
}

/* Mobile: by design the Hero shows only the left text/CTA/trust area.
   The floating 3-column info box has its own Elementor responsive visibility control
   and can still be enabled manually for mobile. */
@media (max-width: 767px) {
    .nc-hero-shell {
        padding: 30px 26px 18px;
        background: #fff;
    }
    .nc-hero-inner {
        display: block;
        max-width: 100%;
    }
    .nc-hero-copy {
        padding: 0;
        width: 100%;
    }
    .nc-showcase {
        display: none !important;
    }
    .nc-eyebrow {
        margin-bottom: 20px;
    }
    .nc-hero-title {
        font-size: clamp(46px, 12vw, 68px);
        line-height: 1.02;
    }
    .nc-hero-description {
        margin-top: 22px;
        max-width: 100%;
        font-size: 16px;
        line-height: 1.65;
    }
    .nc-hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        margin-top: 26px;
        gap: 14px;
    }
    .nc-btn {
        width: auto;
        min-height: 50px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .nc-trust-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        max-width: none;
        margin-top: 25px;
    }
    .nc-trust-item {
        justify-content: flex-start;
        gap: 8px;
        min-width: 0;
        padding-right: 10px;
        font-size: 12px;
    }
    .nc-trust-item + .nc-trust-item {
        border-left: 1px solid #dfe1e4;
        padding-left: 14px;
    }
    .nc-trust-icon {
        flex: 0 0 24px;
        width: 24px;
    }
    .nc-trust-icon i,
    .nc-trust-icon svg {
        width: 21px;
        height: 21px;
    }
    .nc-info-bar {
        display: none; /* Elementor responsive control can override this when mobile visibility is enabled. */
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    .nc-info-item + .nc-info-item {
        border-left: 0;
        border-top: 1px solid #eceef0;
    }
    .nc-vehicles-widget { padding: 52px 16px; }
    .nc-vehicles-heading-row { align-items: flex-start; flex-direction: column; gap: 12px; }
    .nc-vehicles-grid { grid-template-columns: 1fr; }
    .nc-vehicle-image { height: 250px; }
}

@media (max-width: 460px) {
    .nc-hero-shell { padding-left: 20px; padding-right: 20px; }
    .nc-hero-title { font-size: 46px; }
    .nc-hero-buttons { flex-direction: column; }
    .nc-btn { width: 100%; }
    .nc-trust-row { gap: 8px; }
    .nc-trust-item {
        padding-right: 6px;
        gap: 6px;
        font-size: 10.5px;
    }
    .nc-trust-item + .nc-trust-item { padding-left: 8px; }
    .nc-trust-icon { flex-basis: 20px; width: 20px; }
    .nc-trust-icon i,
    .nc-trust-icon svg { width: 18px; height: 18px; }
}


/* Sold vehicles / portfolio */
.nc-sold-widget {
    --nc-sold-duration: 550ms;
    --nc-sold-stagger: 70ms;
    --nc-sold-distance: 34px;
    width: 100%;
    padding: 24px 0;
    background: #fff;
    overflow: hidden;
}
.nc-sold-full-bleed {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.nc-sold-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}
.nc-sold-title {
    margin: 0 24px 18px;
    color: #111;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.05;
    letter-spacing: -.04em;
}
.nc-sold-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
}
.nc-sold-item {
    position: relative;
    display: block;
    height: 270px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f2f3f4;
    color: inherit;
    text-decoration: none !important;
    isolation: isolate;
}
.nc-sold-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1);
    transition: transform .42s cubic-bezier(.2,.7,.2,1);
}
.nc-sold-item:hover img { transform: scale(1.04); }
.nc-sold-animate.nc-sold-is-ready .nc-sold-item {
    opacity: 0;
    transform: translate3d(calc(-1 * var(--nc-sold-distance)), 0, 0);
    transition-property: opacity, transform;
    transition-duration: var(--nc-sold-duration);
    transition-timing-function: cubic-bezier(.2,.75,.2,1);
    transition-delay: var(--nc-sold-delay, 0ms);
    will-change: opacity, transform;
}
.nc-sold-animate.nc-sold-is-ready .nc-sold-item.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
    .nc-sold-animate.nc-sold-is-ready .nc-sold-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .nc-sold-item img { transition: none; }
}
@media (max-width: 1024px) {
    .nc-sold-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nc-sold-item { height: 210px; }
}
@media (max-width: 767px) {
    .nc-sold-widget { padding: 16px 0; }
    .nc-sold-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nc-sold-item { height: 150px; }
    .nc-sold-title { margin-left: 16px; margin-right: 16px; }
}
