/**
 * “Experience the Makhana Difference” — redesigned bento grid (home).
 * Self-contained; pairs with .why-choose-us.mw-diff in index.php.
 */

@keyframes mw-diff-rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.why-choose-us.mw-diff {
    --mw-d-ink: #0f172a;
    --mw-d-muted: #5c6570;
    --mw-d-green: #2d5d04;
    --mw-d-green-mid: #689f07;
    --mw-d-green-soft: #9ccc65;
    --mw-d-card: #ffffff;
    --mw-d-ring: rgba(45, 93, 4, 0.12);
    position: relative;
    padding-top: clamp(2.5rem, 5vw, 3.75rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
    background: linear-gradient(165deg, #f6faf3 0%, #e9f2e4 42%, #eef5ea 100%);
    border-top: 1px solid rgba(45, 93, 4, 0.08);
    border-bottom: 1px solid rgba(45, 93, 4, 0.06);
    overflow: hidden;
}

.why-choose-us.mw-diff::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(45, 93, 4, 0.055) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}

.mw-diff__inner {
    position: relative;
    z-index: 1;
}

.mw-diff__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2.25rem;
}

.mw-diff__kicker {
    margin: 0 0 0.55rem;
    width: 100%;
    font-family: "Nunito", "Inter", system-ui, sans-serif;
    font-size: clamp(1.2rem, 3.2vw, 1.55rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center !important;
    color: var(--mw-d-green-mid);
}

.mw-diff__title {
    margin: 0 0 0.65rem;
    width: 100%;
    font-family: "Nunito", "Inter", system-ui, sans-serif !important;
    font-size: clamp(1.45rem, 3.35vw, 2rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-align: center !important;
    color: var(--mw-d-ink);
}

.mw-diff__title span {
    color: var(--mw-d-green);
}

.mw-diff__lead {
    margin: 0;
    width: 100%;
    max-width: 34rem;
    font-family: "Inter", system-ui, sans-serif;
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.55;
    text-align: center !important;
    color: var(--mw-d-muted);
}

.mw-diff__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
    margin: 0;
    padding: 0;
}

@media (min-width: 576px) {
    .mw-diff__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem;
    }
}

@media (min-width: 992px) {
    .mw-diff__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

.mw-diff__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    height: 100%;
    padding: 1.35rem 1.25rem 1.3rem 1.35rem;
    background: var(--mw-d-card);
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 14px 36px rgba(25, 45, 20, 0.07);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    animation: mw-diff-rise 0.65s ease-out both;
}

.mw-diff__card:nth-child(1) {
    animation-delay: 0.04s;
}
.mw-diff__card:nth-child(2) {
    animation-delay: 0.08s;
}
.mw-diff__card:nth-child(3) {
    animation-delay: 0.12s;
}
.mw-diff__card:nth-child(4) {
    animation-delay: 0.16s;
}
.mw-diff__card:nth-child(5) {
    animation-delay: 0.2s;
}
.mw-diff__card:nth-child(6) {
    animation-delay: 0.24s;
}

.mw-diff__card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    bottom: 1rem;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--mw-d-accent, var(--mw-d-green-mid));
}

.mw-diff__card--accent-1 {
    --mw-d-accent: var(--mw-d-green);
}
.mw-diff__card--accent-2 {
    --mw-d-accent: var(--mw-d-green-mid);
}
.mw-diff__card--accent-3 {
    --mw-d-accent: var(--mw-d-green-soft);
}

.mw-diff__card::after {
    content: "";
    position: absolute;
    left: 1.35rem;
    right: 1.35rem;
    top: 0;
    height: 3px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, var(--mw-d-accent, var(--mw-d-green-mid)), transparent);
    opacity: 0.35;
}

.mw-diff__card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 20px 48px rgba(25, 45, 20, 0.11);
}

.mw-diff__icon-wrap {
    align-self: center;
    width: 72px;
    height: 72px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(104, 159, 7, 0.12), rgba(45, 93, 4, 0.06));
    border: 1px solid var(--mw-d-ring);
}

.mw-diff__icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.mw-diff__tag {
    margin: 0 0 0.35rem;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mw-d-green-mid);
}

.mw-diff__name {
    margin: 0 0 0.45rem;
    font-family: "Nunito", "Inter", system-ui, sans-serif !important;
    font-size: clamp(1.08rem, 2.2vw, 1.22rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--mw-d-ink);
}

.mw-diff__text {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--mw-d-muted);
}

@media (prefers-reduced-motion: reduce) {
    .mw-diff__card {
        animation: none;
    }

    .mw-diff__card:hover {
        transform: none;
    }
}

/* Know About Us — signature redesign */
.know-about-us--signature {
    padding-top: clamp(2.7rem, 5vw, 4.15rem);
    padding-bottom: clamp(2.8rem, 5vw, 4.25rem);
    background:
        radial-gradient(ellipse 120% 70% at 100% 0%, rgba(104, 159, 7, 0.09), transparent 52%),
        linear-gradient(180deg, #fbfdf8 0%, #f4f8ef 100%);
    border-top: 1px solid rgba(45, 93, 4, 0.1);
    border-bottom: 1px solid rgba(45, 93, 4, 0.08);
}

.know-about-us--signature .kbu-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    gap: clamp(1.15rem, 2.8vw, 2rem);
    align-items: center;
    padding: clamp(1rem, 2vw, 1.35rem);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(45, 93, 4, 0.09);
    box-shadow: 0 20px 46px rgba(20, 32, 18, 0.08);
    backdrop-filter: blur(2px);
}

.know-about-us--signature .kbu-shell__media {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 430px;
    margin-inline: auto;
}

.know-about-us--signature .kbu-shell__image-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
    background: #fff;
}

.know-about-us--signature .kbu-shell__image-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.know-about-us--signature .kbu-shell__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.know-about-us--signature .kbu-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    padding: 0.44rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(45, 93, 4, 0.17);
    background: #fff;
    color: #2d5d04;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.know-about-us--signature .kbu-chip i {
    font-size: 0.82em;
}

.know-about-us--signature .kbu-shell__content {
    max-width: 620px;
}

.know-about-us--signature .kbu-kicker {
    margin: 0 0 0.48rem;
    color: #689f07;
    font-family: "Inter", system-ui, sans-serif;
    font-size: clamp(0.98rem, 2.5vw, 1.22rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.know-about-us--signature .kbu-title {
    margin: 0 0 0.95rem;
    font-family: "Nunito", "Inter", system-ui, sans-serif !important;
    font-size: clamp(1.52rem, 3.2vw, 2.2rem);
    font-weight: 900;
    line-height: 1.16;
    letter-spacing: -0.02em;
    color: #0f2b3f;
}

.know-about-us--signature .kbu-title span {
    display: block;
    margin-top: 0.1rem;
}

.know-about-us--signature .kbu-body p {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    font-size: clamp(0.94rem, 1.25vw, 1.02rem);
    line-height: 1.76;
    color: #1f2937;
    font-weight: 500;
}

.know-about-us--signature .kbu-body p + p {
    margin-top: 0.88rem;
}

.know-about-us--signature .kbu-stats {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.know-about-us--signature .kbu-stat {
    border-radius: 14px;
    border: 1px solid rgba(45, 93, 4, 0.12);
    background: rgba(255, 255, 255, 0.88);
    padding: 0.64rem 0.72rem;
}

.know-about-us--signature .kbu-stat strong {
    display: block;
    color: #2d5d04;
    font-family: "Nunito", "Inter", system-ui, sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
}

.know-about-us--signature .kbu-stat span {
    display: block;
    margin-top: 0.14rem;
    color: #5b6877;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
}

.know-about-us--signature .kbu-cta {
    margin-top: 1.05rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
}

.know-about-us--signature .kbu-cta .btn {
    border-radius: 999px !important;
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
    padding: 0.72rem 1.35rem !important;
}

.know-about-us--signature .kbu-cta .btn-primary {
    box-shadow: 0 10px 22px rgba(45, 93, 4, 0.22);
}

.know-about-us--signature .kbu-cta .btn-outline-primary {
    border-width: 2px !important;
}

@media (max-width: 991.98px) {
    .know-about-us--signature .kbu-shell {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .know-about-us--signature .kbu-shell__media {
        order: 2;
    }

    .know-about-us--signature .kbu-shell__content {
        order: 1;
        max-width: 100%;
        text-align: center;
    }

    .know-about-us--signature .kbu-title span {
        display: inline;
    }

    .know-about-us--signature .kbu-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .know-about-us--signature .kbu-cta,
    .know-about-us--signature .kbu-shell__chips {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .know-about-us--signature .kbu-shell {
        padding: 0.85rem;
        border-radius: 18px;
    }

    .know-about-us--signature .kbu-stats {
        grid-template-columns: 1fr;
    }

    .know-about-us--signature .kbu-cta {
        flex-direction: column;
    }

    .know-about-us--signature .kbu-cta .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* FAQ Section — full redesign */
.faqs--signature {
    padding-top: clamp(2.85rem, 5vw, 4.3rem);
    padding-bottom: clamp(2.85rem, 5vw, 4.35rem);
    background:
        radial-gradient(ellipse 90% 75% at 0% 100%, rgba(104, 159, 7, 0.1), transparent 54%),
        linear-gradient(180deg, #f7fbf5 0%, #eef6e9 100%);
    border-top: 1px solid rgba(45, 93, 4, 0.09);
    border-bottom: 1px solid rgba(45, 93, 4, 0.08);
}

.faqs--signature .faqs-signature-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(1.15rem, 2.7vw, 1.95rem);
    align-items: stretch;
}

.faqs--signature .faq-content {
    border-radius: 22px;
    border: 1px solid rgba(45, 93, 4, 0.1);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 44px rgba(25, 45, 20, 0.08);
    padding: clamp(1rem, 2.7vw, 1.45rem);
}

.faqs--signature .faq-header {
    margin-bottom: 0.95rem;
}

.faqs--signature .faq-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.72rem;
    border: 1px solid rgba(45, 93, 4, 0.2);
    background: rgba(104, 159, 7, 0.12);
    color: #2d5d04 !important;
    letter-spacing: 0.1em;
    font-size: 0.68rem;
}

.faqs--signature .faq-header h2 {
    margin-top: 0.55rem;
    margin-bottom: 0.48rem;
    font-family: "Nunito", "Inter", system-ui, sans-serif !important;
    font-size: clamp(1.52rem, 3.1vw, 2.1rem);
    line-height: 1.14;
    color: #12283a !important;
}

.faqs--signature .faqs-signature-subtitle {
    margin: 0;
    color: #5a6877;
    font-size: 0.92rem;
    line-height: 1.55;
}

.faqs--signature .faq-list {
    display: grid;
    gap: 0.7rem;
}

.faqs--signature .faq-item {
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    overflow: hidden;
}

.faqs--signature .faq-question {
    padding: 0.86rem 0.95rem !important;
    gap: 0.6rem;
}

.faqs--signature .faq-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 999px;
    background: #2d5d04 !important;
    color: #fff !important;
    font-size: 0.58rem;
    box-shadow: 0 8px 16px rgba(45, 93, 4, 0.24);
}

.faqs--signature .faq-question h4 {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: #152c3f;
}

.faqs--signature .faq-toggle {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border: 1px solid rgba(45, 93, 4, 0.23);
    color: #2d5d04;
    background: #fff;
}

.faqs--signature .faq-item.active {
    border-color: rgba(45, 93, 4, 0.35) !important;
    box-shadow: 0 10px 24px rgba(45, 93, 4, 0.11) !important;
}

.faqs--signature .faq-item.active .faq-toggle {
    background: #2d5d04;
    border-color: #2d5d04;
    color: #fff;
}

.faqs--signature .faq-answer {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.faqs--signature .faq-answer p {
    margin: 0;
    padding: 0.78rem 0.95rem 0.92rem 3.05rem;
    font-size: 0.9rem;
    line-height: 1.64;
    color: #4f5c69;
}

.faqs--signature .faq-image--signature {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(45, 93, 4, 0.1);
    background:
        radial-gradient(circle at 15% 20%, rgba(104, 159, 7, 0.22), transparent 45%),
        linear-gradient(155deg, #ffffff 0%, #edf7e8 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 100%;
    padding: 0.8rem 0.8rem 0;
}

.faqs--signature .faq-image__badge {
    position: absolute;
    top: 0.95rem;
    left: 0.95rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.45rem 0.78rem;
    font-size: 0.76rem;
    font-weight: 700;
    background: #fff;
    border: 1px solid rgba(45, 93, 4, 0.16);
    color: #2d5d04;
}

.faqs--signature .faq-image__badge i {
    font-size: 0.75em;
}

.faqs--signature .faq-image--signature img {
    width: min(92%, 430px);
    max-height: 520px;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .faqs--signature .faqs-signature-shell {
        grid-template-columns: 1fr;
    }

    .faqs--signature .faq-image--signature {
        min-height: 360px;
    }

    .faqs--signature .faq-image--signature img {
        width: min(84%, 360px);
    }
}

@media (max-width: 575.98px) {
    .faqs--signature .faq-content {
        padding: 0.85rem;
        border-radius: 16px;
    }

    .faqs--signature .faq-header h2 {
        font-size: clamp(1.34rem, 7vw, 1.66rem);
    }

    .faqs--signature .faq-question {
        padding: 0.74rem 0.8rem !important;
    }

    .faqs--signature .faq-question h4 {
        font-size: 0.91rem;
    }

    .faqs--signature .faq-answer p {
        padding: 0.7rem 0.8rem 0.86rem 2.7rem;
        font-size: 0.86rem;
    }
}
