/*
 * Shared product-page stylesheet (vertical editorial / timeline layout).
 *
 * Used by every page built on this layout - link this one file, there is
 * no per-product stylesheet any more:
 *   - resources/views/hydraulic-reversible-mb-plough.blade.php
 *   - resources/views/new-products-v2.blade.php
 *   - resources/views/reversible-disc-plough.blade.php
 *   - resources/views/rotavator-v2.blade.php
 *   - resources/views/subsoiler-v2.blade.php
 *
 * Kept fully separate from new-products.css. Every selector is scoped
 * under .np2-page (plus the standalone .np2-hero band that sits outside
 * it) so nothing here touches any other page or the shared theme CSS.
 * Only existing global classes are referenced (never redefined):
 * .thm-btn, .container, .auto-container, .row, .lazy-img.
 *
 * Not every page uses every block - e.g. .np2-series-bento is for pages
 * with a named/imaged model range, .np2-lead-band for pages whose model
 * section is descriptive copy only. Unused blocks cost nothing.
 */

.np2-page {
    display: block;
    overflow-x: hidden;
}

.np2-section {
    position: relative;
    padding: 110px 0;
}

/* .np2-section--alt {
    background-color: #f7f7f5;
} */

/* Faint decorative section index number - purely visual, not content */
.np2-index {
    position: absolute;
    top: 40px;
    right: 5%;
    font-size: 110px;
    font-weight: 800;
    line-height: 1;
    color: var(--agriox-primary, #334b35);
    opacity: 0.05;
    font-family: var(--agriox-font-2, "Averia Sans Libre", cursive);
    pointer-events: none;
    user-select: none;
    display: none;
}

/*
 * Titles use the site's own .sec-title__title class untouched (same
 * font, weight and size as welcome.blade.php's section titles, and as
 * the existing new-products page). Heading tags (h2/h3/h4) vary section
 * to section for SEO/semantic hierarchy, but never change the visual
 * size - .np2-title here only adds spacing/max-width, nothing typographic.
 */
.np2-title {
    position: relative;
    margin-bottom: 22px;
}

.np2-text {
    position: relative;
    font-size: 16.5px;
    line-height: 1.85;
    color: var(--agriox-color-1, #687469);
    margin-bottom: 18px;
}

.np2-text:last-of-type {
    margin-bottom: 0;
}

.np2-text--lead {
    /* max-width: 780px; */
    margin-bottom: 45px;
}

.np2-text--center {
    /* max-width: 820px; */
    margin: 36px auto 0;
    text-align: center;
}

/* ---------------------------------------------------------------- */
/* Hero: full-bleed image + overlapping content box                  */
/* ---------------------------------------------------------------- */
.np2-hero {
    padding: 0 0 90px;
}

.np2-hero__media {
    width: 100%;
    height: 62vh;
    min-height: 380px;
    max-height: 640px;
    overflow: hidden;
}

.np2-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.np2-hero__box {
    position: relative;
    margin-top: -110px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    padding: 50px 55px;
    max-width: 780px;
}

.np2-hero__box .thm-btn {
    margin-top: 6px;
}

/* ---------------------------------------------------------------- */
/* Primary Tillage: editorial article with drop cap                  */
/* ---------------------------------------------------------------- */
.np2-article {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.np2-article__media {
    flex: 1 1 408px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(51, 75, 53, 0.15);
    aspect-ratio: 5 / 5;
}

.np2-article__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.np2-article__text {
    flex: 2 1 480px;
}

.np2-text--dropcap::first-letter {
    float: left;
    font-family: var(--agriox-font-2, "Averia Sans Libre", cursive);
    font-size: 64px;
    line-height: 0.8;
    font-weight: 700;
    color: var(--agriox-base, #d9261c);
    padding: 6px 10px 0 0;
}

/* ---------------------------------------------------------------- */
/* Key Features: ghost-number list                                   */
/* ---------------------------------------------------------------- */
.np2-num-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 60px;
}

.np2-num-list__item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid #e2e2dc;
}

.np2-num-list__num {
    font-size: 26px;
    font-weight: 600;
    color: transparent;
    -webkit-text-stroke: 1px #d9261c;
    opacity: 0.35;
    min-width: 30px;
}

.np2-num-list__item i {
    font-size: 20px;
    color: var(--agriox-base, #d9261c);
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.np2-num-list__item p {
    margin: 0;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.5;
}

/* ---------------------------------------------------------------- */
/* Benefits: vertical alternating timeline                           */
/* ---------------------------------------------------------------- */
.np2-timeline {
    position: relative;
    max-width: 90%;
    margin-left: auto;
    padding-left: 34px;
}

.np2-timeline::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: 2px;
    background: #e2e2dc;
}

.np2-timeline__item {
    position: relative;
    padding: 0 0 40px 30px;
}

.np2-timeline__item:last-child {
    padding-bottom: 0;
}

.np2-timeline__dot {
    position: absolute;
    left: -34px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--agriox-base, #d9261c);
    box-shadow: 0 0 0 4px rgba(217, 38, 28, 0.15);
}

.np2-timeline__title {
    font-size: 22px;
    font-weight: 700;
    color: #d9261c;
    margin-bottom: 8px;
}

/* ---------------------------------------------------------------- */
/* Applications & spec lists: plain typographic list                 */
/* ---------------------------------------------------------------- */
.np2-plain-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.np2-plain-list li {
    position: relative;
    padding: 14px 0 14px 26px;
    border-bottom: 1px solid #cfcfcf;
    font-size: 15.5px;
    font-weight: 600;
}

.np2-plain-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    width: 12px;
    height: 2px;
    background: var(--agriox-base, #d9261c);
}

.np2-plain-list--cols {
    columns: 2;
    column-gap: 60px;
}

.np2-plain-list--cols li {
    break-inside: avoid;
}

/* ---------------------------------------------------------------- */
/* Soil types & crops: two-column spec sheet                         */
/* ---------------------------------------------------------------- */
.np2-spec-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 140px;
}

/* .np2-spec-col:first-child {
    border-right: 1px solid #e2e2dc;
    padding-right: 70px;
} */

/* ---------------------------------------------------------------- */
/* Available Series: bento image grid                                */
/* ---------------------------------------------------------------- */
.np2-series-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 190px;
    gap: 18px;
}

.np2-series-bento__item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
}

.np2-series-bento__item--feature {
    grid-column: span 2;
    grid-row: span 2;
}

.np2-series-bento__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.np2-series-bento__item:hover img {
    transform: scale(1.08);
}

.np2-series-bento__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 26, 18, 0.75), rgba(20, 26, 18, 0) 60%);
}

.np2-series-bento__item p {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 2;
    margin: 0;
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    line-height: 1.3;
    text-transform: uppercase;
}

.np2-series-bento__item--feature p {
    font-size: 19px;
}

/* ---------------------------------------------------------------- */
/* Available Models: simple centered text band                       */
/* (used where a section has descriptive copy but no model images)   */
/* ---------------------------------------------------------------- */
.np2-lead-band {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* ---------------------------------------------------------------- */
/* Quality: full-width brand-colour band with a circular seal image  */
/* ---------------------------------------------------------------- */
.np2-section--quality {
    background: #1e1e1e;
}

.np2-section--quality .np2-index {
    color: #fff;
    opacity: 0.08;
}

.np2-quality {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.np2-quality__seal {
    flex: 0 0 400px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.np2-quality__seal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.np2-quality__body {
    flex: 1 1 420px;
}

.np2-title--onprimary {
    color: #fff;
}

.np2-text--onprimary {
    color: rgba(255, 255, 255, 0.82);
}

/* ---------------------------------------------------------------- */
/* Why Choose Us: centered text-led checklist bank                   */
/* ---------------------------------------------------------------- */
.np2-title--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.np2-check-grid {
    list-style: none;
    margin: 10px auto 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 50px;
}

.np2-check-grid li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #e2e2dc;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.5;
}

.np2-check-grid li i {
    color: var(--agriox-base, #d9261c);
    font-size: 14px;
    margin-top: 4px;
    flex-shrink: 0;
}
/* ---------------------------------------------------------------- */
/* Soil types & crops: icon tile grid                                 */
/* ---------------------------------------------------------------- */
.soil_crops .auto-container {
    max-width: 1720px;
}
.np-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
    gap: 15px;
}

.np-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    padding: 22px 10px;
    background: #fff;
    border: 1px solid #e2e2dc;
    transition: all 0.25s ease;
    background: linear-gradient(#f0f0f06b 0%, #fcfcfc82 100%);
    border-radius: 15px;
    box-shadow: 2px 2px 10px #0003;
}

.np-tile:hover {
    border-color: var(--agriox-base, #d9261c);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.np-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(51, 75, 53, 0.08);
    color: var(--agriox-primary, #334b35);
    font-size: 18px;
}
.np-tile__icon i>img {
    max-width: 40px;
}

.np-tile span:last-child {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.3;
}
.application_section {
    position: relative;
    background-image: url('../img/products/application_bg.jpg');
    background-size: cover;
    background-position: center center;
}
.application_section::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0.9;
    z-index: 0;
}
.application_section .container {
    position: relative;
    z-index: 1;
}
.faq-one.light_red_bg::before {
    display: none;
}
/* ---------------------------------------------------------------- */
/* Responsive breakpoints                                            */
/* ---------------------------------------------------------------- */
@media (max-width: 991px) {
    .np2-section {
        padding: 80px 0;
    }

    .np2-index {
        font-size: 80px;
        top: 24px;
    }

    .np2-hero__media {
        height: 46vh;
        min-height: 300px;
    }

    .np2-hero__box {
        margin-top: -70px;
        padding: 36px 30px;
        max-width: 100%;
    }

    .np2-article,
    .np2-quality {
        flex-wrap: nowrap;
        flex-direction: column;
        text-align: center;
    }

    .np2-num-list {
        grid-template-columns: 1fr;
    }

    .np2-spec-cols {
        grid-template-columns: 1fr;
        gap: 40px 0;
    }

    .np2-spec-col:first-child {
        border-right: none;
        border-bottom: 1px solid #e2e2dc;
        padding-right: 0;
        padding-bottom: 40px;
    }

    .np2-check-grid {
        grid-template-columns: 1fr;
    }

    .np2-series-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 170px;
    }

    .np2-series-bento__item--feature {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 767px) {
    .np2-section {
        padding: 60px 0;
    }

    .np2-plain-list--cols {
        columns: 1;
    }
    .np-tile-grid {
        grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
        gap: 10px;
    }
    .np2-series-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .np2-series-bento__item--feature {
        grid-column: span 1;
    }

    .np2-quality__seal {
        width: 200px;
        height: 200px;
        flex-basis: 200px;
    }
}

@media only screen and (min-width: 1200px) {
    .bottom_p {
        width: 75%;
    }
}
