/* ==========================================================================
   KH NUTRIX — Homepage section styles
   Loaded after kh-nutrix.css. Covers the hero, product bags, health map,
   and the horizontal step / story rails.
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero-headline {
    font-size: clamp(1.15rem, 2.1vw, 1.7rem);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.02em;
    margin-bottom: 16px;
}
.hero-headline .hl-green { color: var(--kh-green-600); display: block; }
.hero-headline .hl-dark  { color: var(--kh-slate);     display: block; }

/* Drop-in mascot photo */
.mascot-photo {
    position: relative;
    z-index: 2;
    width: min(430px, 88%);
    filter: drop-shadow(0 26px 34px rgba(15, 23, 42, .18));
    animation: mascotIdle 3.6s ease-in-out infinite;
}

/* Pill-shaped nutrient bubbles */
.nutri-bubble {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px 9px 10px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: var(--sh-md);
    font-size: .78rem;
    font-weight: 700;
    color: var(--kh-slate);
    white-space: nowrap;
    animation: iconFloat 5.5s ease-in-out infinite;
    transition: transform .35s var(--ease-bounce);
}
.nutri-bubble:hover { transform: scale(1.08); }

.nutri-bubble em {
    font-style: normal;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--kh-green-soft);
    font-size: .95rem;
    flex-shrink: 0;
}

.nutri-bubble.n1 { top: 4%;     left: -4%;  animation-delay: 0s; }
.nutri-bubble.n2 { top: 8%;     right: -6%; animation-delay: -1.1s; }
.nutri-bubble.n3 { top: 38%;    right: -9%; animation-delay: -2.2s; }
.nutri-bubble.n4 { bottom: 24%; right: -5%; animation-delay: -3.3s; }
.nutri-bubble.n5 { top: 46%;    left: -9%;  animation-delay: -4.4s; }
.nutri-bubble.n6 { bottom: 18%; left: -3%;  animation-delay: -2.8s; }

@media (max-width: 1199.98px) {
    .nutri-bubble { font-size: .7rem; padding: 7px 12px 7px 8px; }
    .nutri-bubble em { width: 24px; height: 24px; font-size: .82rem; }
    .nutri-bubble.n1, .nutri-bubble.n5, .nutri-bubble.n6 { left: 0; }
    .nutri-bubble.n2, .nutri-bubble.n3, .nutri-bubble.n4 { right: 0; }
}

@media (max-width: 575.98px) {
    .nutri-bubble.n3, .nutri-bubble.n5 { display: none; }
}

/* --------------------------------------------------------------------------
   BENTO — even 5-across
   -------------------------------------------------------------------------- */
.bento-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.bento-grid-5 .bento-card {
    min-height: 190px;
    padding: 26px;
    justify-content: flex-start;
}

.bento-grid-5 .bento-icon {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.bento-grid-5 .bento-card h3 { font-size: 1.02rem; }
.bento-grid-5 .bento-card p  { font-size: .85rem; }

@media (max-width: 1199.98px) { .bento-grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px)  { .bento-grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 439.98px)  { .bento-grid-5 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   ABOUT PANEL
   -------------------------------------------------------------------------- */
.about-panel {
    border-radius: var(--r-xl);
    background: #fff;
    border: 1px solid var(--kh-border);
    box-shadow: var(--sh-md);
    padding: clamp(24px, 3vw, 40px);
}

.about-scene {
    border-radius: var(--r-lg);
    background: linear-gradient(170deg, #BFEAFF 0%, #E7F9EE 46%, #C9F0D5 100%);
    min-height: 320px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.about-scene .scene-ground {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38%;
    background: linear-gradient(180deg, #86E0A4 0%, #3FBF6B 100%);
    border-radius: 50% 50% 0 0 / 22% 22% 0 0;
}

.about-scene .scene-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.about-scene .scene-emoji { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; }

/* --------------------------------------------------------------------------
   STAT STRIP
   -------------------------------------------------------------------------- */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.stat-strip .stat-card  { padding: 24px 16px; }
.stat-strip .stat-value { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.stat-strip .stat-label { font-size: .8rem; }

@media (max-width: 575.98px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   COMPLETE HEALTH MAP
   -------------------------------------------------------------------------- */
.health-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 16px;
    border-radius: var(--r-md);
    background: #fff;
    border: 1px solid var(--kh-border);
    box-shadow: var(--sh-xs);
    margin-bottom: 12px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.health-item:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

.health-item em {
    font-style: normal;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    background: var(--kh-green-soft);
    flex-shrink: 0;
}

.health-item strong { display: block; font-size: .92rem; color: var(--kh-slate); line-height: 1.3; }
.health-item span   { display: block; font-size: .8rem;  color: var(--kh-slate-500); }

.health-item.is-right { flex-direction: row-reverse; text-align: right; }

@media (max-width: 991.98px) {
    .health-item.is-right { flex-direction: row; text-align: left; }
}

.health-centre {
    display: grid;
    place-items: center;
    min-height: 300px;
    position: relative;
}

.health-centre .health-glow {
    position: absolute;
    width: 84%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 201, 100, .2) 0%, transparent 68%);
}

.health-centre .scene-emoji { font-size: clamp(4rem, 11vw, 8rem); position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   PRODUCT BAG CARDS
   -------------------------------------------------------------------------- */
.bag-card {
    background: #fff;
    border-radius: var(--r-lg);
    border: 1px solid var(--kh-border);
    box-shadow: var(--sh-sm);
    padding: 22px 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
    position: relative;
    overflow: hidden;
}

.bag-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--bag-grad);
}

.bag-card:hover { transform: translateY(-9px); box-shadow: var(--sh-lg); }

.bag-card h3 {
    font-size: .98rem;
    margin: 0 0 14px;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bag-visual {
    position: relative;
    border-radius: var(--r-md);
    background: var(--bag-soft);
    padding: 18px 10px;
    margin-bottom: 16px;
}

.bag-visual img {
    width: 100%;
    max-width: 132px;
    border-radius: 10px;
    transition: transform .6s var(--ease);
}

.bag-card:hover .bag-visual img { transform: scale(1.09) rotate(-2deg); }

.bag-rank {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bag-grad);
    color: #fff;
    font-size: .74rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: var(--sh-sm);
}

.bag-points { list-style: none; padding: 0; margin: 0 0 18px; text-align: left; }

.bag-points li {
    font-size: .8rem;
    color: var(--kh-slate-700);
    display: flex;
    gap: 7px;
    align-items: flex-start;
    margin-bottom: 6px;
}

.bag-points li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bag-grad);
    margin-top: 7px;
    flex-shrink: 0;
}

.btn-bag {
    margin-top: auto;
    background: var(--bag-grad);
    color: #fff;
    border: none;
    border-radius: var(--r-pill);
    padding: 10px 20px;
    font-size: .84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .3s;
}

.btn-bag:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
    filter: brightness(1.06);
}

/* --------------------------------------------------------------------------
   HORIZONTAL STEP RAIL
   -------------------------------------------------------------------------- */
.step-rail {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    position: relative;
}

.step-rail::before {
    content: '';
    position: absolute;
    top: 42px;
    left: 8%;
    right: 8%;
    height: 3px;
    border-radius: var(--r-pill);
    background: linear-gradient(90deg, var(--kh-green), var(--kh-blue), var(--kh-purple));
    opacity: .3;
    z-index: 0;
}

.rail-item { text-align: center; position: relative; z-index: 1; }

.rail-circle {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    margin: 0 auto 14px;
    background: #fff;
    border: 3px solid var(--kh-green-soft);
    box-shadow: var(--sh-sm);
    transition: transform .45s var(--ease-bounce), box-shadow .45s var(--ease);
}

.rail-item:hover .rail-circle {
    transform: translateY(-7px) scale(1.06);
    box-shadow: var(--sh-glow-green);
}

.rail-item strong { display: block; font-size: .88rem; color: var(--kh-slate); margin-bottom: 3px; }
.rail-item span   { display: block; font-size: .77rem; color: var(--kh-slate-500); }

@media (max-width: 1199.98px) {
    .step-rail { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
    .step-rail::before { display: none; }
}

@media (max-width: 575.98px) {
    .step-rail { grid-template-columns: repeat(2, 1fr); }
    .rail-circle { width: 68px; height: 68px; font-size: 1.45rem; }
}

/* --------------------------------------------------------------------------
   HORIZONTAL STORY RAIL
   -------------------------------------------------------------------------- */
.story-rail {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    position: relative;
}

.story-rail::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: var(--kh-slate-300);
    z-index: 0;
}

.srail-item { text-align: center; position: relative; z-index: 1; }

.srail-scene {
    border-radius: var(--r-md);
    background: linear-gradient(165deg, #E7F9EE, #DDEBFF);
    height: 92px;
    display: grid;
    place-items: center;
    font-size: 2rem;
    margin-bottom: 16px;
    transition: transform .4s var(--ease);
}

.srail-item:hover .srail-scene { transform: translateY(-6px); }

.srail-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--kh-green);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--kh-green-soft);
    margin: 0 auto 12px;
}

.srail-item strong { display: block; font-size: .88rem; color: var(--kh-slate); margin-bottom: 3px; }
.srail-item span   { display: block; font-size: .77rem; color: var(--kh-slate-500); }

@media (max-width: 1199.98px) {
    .story-rail { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
    .story-rail::before { display: none; }
}

@media (max-width: 575.98px) { .story-rail { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   DISTRIBUTOR NAV BUTTON
   -------------------------------------------------------------------------- */
.btn-distributor {
    background: var(--grad-green);
    color: #fff;
    border-radius: var(--r-pill);
    padding: 11px 24px;
    font-size: .86rem;
    font-weight: 700;
    box-shadow: var(--sh-glow-green);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.btn-distributor:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(23, 201, 100, .44);
}

@media (prefers-reduced-motion: reduce) {
    .mascot-photo, .nutri-bubble { animation: none; }
}

/* --------------------------------------------------------------------------
   COMPACT HOMEPAGE POSTER PASS
   -------------------------------------------------------------------------- */
.section {
    padding: clamp(30px, 4.8vw, 58px) 0;
}

.section-tight {
    padding: clamp(26px, 4vw, 48px) 0;
}

.section-head {
    margin-bottom: 24px;
}

.section-head h2,
.section-tight h2 {
    font-size: clamp(1.45rem, 2.45vw, 2.35rem);
    letter-spacing: 0;
    line-height: 1.12;
}

.section-head .lead {
    display: none;
}

#benefits {
    padding-top: 74px;
}

#benefits .eyebrow,
.section-head .eyebrow {
    display: none;
}

.bento-grid-5 {
    gap: 16px;
}

.bento-grid-5 .bento-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 172px;
    padding: 22px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .6);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .07);
}

.bento-grid-5 .bento-card::after { content: none; }

.bento-grid-5 .bento-icon {
    position: static;
    width: 50px;
    height: 50px;
    margin: 0 0 16px;
    border-radius: 15px;
    font-size: 1.35rem;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
    transition: transform .35s var(--ease);
}

.bento-grid-5 .bento-card:hover .bento-icon {
    transform: translateY(-3px) rotate(-6deg);
}

.bento-grid-5 .bento-card h3 {
    max-width: none;
    margin-bottom: 6px;
    font-size: clamp(.95rem, 1vw, 1.08rem);
    line-height: 1.18;
}

.bento-grid-5 .bento-card p {
    max-width: none;
    font-size: .8rem;
    line-height: 1.5;
    color: var(--kh-slate-500);
}

.about-panel {
    border: 0;
    border-radius: 28px;
    padding: 24px 28px;
    background:
        radial-gradient(420px 240px at 5% 0%, rgba(23, 201, 100, .08), transparent 70%),
        radial-gradient(340px 220px at 95% 95%, rgba(139, 92, 246, .08), transparent 70%),
        #fff;
    box-shadow: 0 18px 54px rgba(15, 23, 42, .09);
}

.about-scene {
    min-height: 285px;
    border-radius: 82px 20px 82px 20px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 14px 34px rgba(15, 23, 42, .08);
}

.about-scene img,
.health-centre img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-panel h2 {
    font-size: clamp(1.85rem, 2.85vw, 2.85rem);
    letter-spacing: 0;
    line-height: 1.1;
}

.about-panel p {
    max-width: 560px;
    font-size: .95rem;
    line-height: 1.72;
}

.stat-strip {
    gap: 12px;
}

.stat-strip .stat-card {
    padding: 18px 10px;
    border-radius: 14px;
}

.stat-strip .stat-value {
    font-size: clamp(1.45rem, 2vw, 1.95rem);
}

.stat-strip .stat-label {
    font-size: .72rem;
    line-height: 1.3;
}

.health-item {
    position: relative;
    align-items: center;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 10px 4px;
    gap: 13px;
    margin-bottom: 20px;
    transition: transform .3s var(--ease);
}

.health-item:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.health-item em {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--kh-green-soft);
    box-shadow: 0 6px 16px rgba(23, 201, 100, .16);
    font-size: 1rem;
    transition: transform .3s var(--ease);
}
.health-item:hover em { transform: scale(1.08); }

.health-item strong {
    font-size: .9rem;
}

.health-item span {
    font-size: .76rem;
    line-height: 1.35;
}

/* --- Connector lines are drawn as an SVG overlay by initHealthConnectors() --- */
#health-map { position: relative; }

.health-links {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 1;
}

#health-map .col-lg-4 { position: relative; z-index: 2; }
.health-item { z-index: 3; }

@media (max-width: 991.98px) {
    .health-links { display: none; }
    .health-item { margin-bottom: 12px; }
}

.health-centre {
    position: relative;
    min-height: 300px;
    display: grid;
    place-items: center;
}

.health-centre .health-glow {
    position: absolute;
    inset: 8% 6%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(23, 201, 100, .22), rgba(139, 92, 246, .12) 60%, transparent 78%);
    filter: blur(14px);
    z-index: 0;
}

.health-centre img {
    position: relative;
    z-index: 1;
    max-width: 360px;
    height: 300px;
    object-fit: contain;
    border-radius: 0;
    mix-blend-mode: multiply;
}

.product-mini-row {
    --bs-gutter-x: 22px;
    --bs-gutter-y: 22px;
    max-width: 1180px;
    margin-inline: auto;
}

.product-mini-row .bag-card {
    padding: 22px;
    border: 0;
    border-radius: 22px;
    text-align: left;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .1);
}

.product-mini-row .bag-card h3 {
    order: -2;
    min-height: 0;
    margin-bottom: 12px;
    font-size: 1.08rem;
    line-height: 1.15;
    justify-content: flex-start;
    text-align: left;
}

.product-mini-row .bag-visual {
    display: grid;
    place-items: center;
    padding: 20px 12px;
    margin-bottom: 16px;
    border-radius: 18px;
}

.product-mini-row .bag-visual img {
    /* max-width: 168px; */
}

.product-mini-row .bag-tagline {
    display: block;
    min-height: 3.1em;
    margin-bottom: 12px;
    color: var(--kh-slate-500);
    font-size: .8rem;
    line-height: 1.45;
}

.product-mini-row .bag-points {
    margin-bottom: 16px;
}

.product-mini-row .bag-points li {
    font-size: .78rem;
    line-height: 1.35;
    margin-bottom: 6px;
}

.product-mini-row .btn-bag {
    align-self: flex-start;
    padding: 10px 18px;
    font-size: .78rem;
}

.step-rail,
.story-rail {
    gap: 16px;
    padding: 22px;
    border: 0;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}

.step-rail::before {
    top: 48px;
    left: 11%;
    right: 11%;
    height: 2px;
}

.rail-item,
.srail-item {
    min-height: 142px;
    padding: 12px 10px 10px;
    border-radius: 18px;
    transition: background .3s var(--ease), transform .3s var(--ease);
}

.rail-item:hover,
.srail-item:hover {
    background: var(--kh-green-soft);
    transform: translateY(-4px);
}

.rail-circle {
    width: 66px;
    height: 66px;
    border-width: 2px;
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.rail-item strong,
.srail-item strong {
    font-size: .86rem;
    line-height: 1.15;
}

.rail-item span,
.srail-item span {
    max-width: 132px;
    margin-inline: auto;
    font-size: .7rem;
    line-height: 1.3;
}

.story-rail {
    background:
        radial-gradient(340px 210px at 8% 10%, rgba(23, 201, 100, .1), transparent 70%),
        radial-gradient(320px 210px at 92% 12%, rgba(139, 92, 246, .1), transparent 70%),
        #fff;
}

.story-rail::before {
    top: 84px;
    left: 10%;
    right: 10%;
}

.srail-scene {
    height: 78px;
    border-radius: 18px;
    font-size: 1.85rem;
    margin-bottom: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.srail-dot {
    width: 10px;
    height: 10px;
    margin-bottom: 10px;
}

.review-card {
    padding: 20px;
    border-radius: 18px;
}

.review-card > p {
    min-height: 5.5em;
    font-size: .78rem;
    line-height: 1.55;
}

.review-avatar {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
}

.review-author strong {
    font-size: .82rem;
}

.review-author span {
    font-size: .68rem;
}

.kh-cta {
    padding: clamp(26px, 4vw, 42px);
    border-radius: 26px 26px 0 0;
    margin-bottom: -48px;
}

.kh-cta h2 {
    font-size: clamp(1.55rem, 2.5vw, 2.35rem);
}

.kh-cta p {
    font-size: .9rem;
}

.kh-cta .btn-lg-kh,
.btn-lg-kh {
    padding: 12px 24px;
    font-size: .86rem;
}

@media (max-width: 1199.98px) {
    .bento-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-mini-row .bag-visual img {
        /* max-width: 122px; */
    }

    .step-rail,
    .story-rail {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 18px;
    }

    .step-rail::before,
    .story-rail::before {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .about-panel {
        padding: 20px;
    }

    .health-item.is-right {
        flex-direction: row;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .bento-grid-5 {
        grid-template-columns: 1fr;
    }

    .bento-grid-5 .bento-card h3,
    .bento-grid-5 .bento-card p {
        max-width: 70%;
    }
}

/* --------------------------------------------------------------------------
   TARGET HEADER / FOOTER POLISH
   -------------------------------------------------------------------------- */
.kh-navbar {
    top: 14px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.kh-navbar .container {
    max-width: 1320px;
    min-height: 66px;
    padding: 0 46px;
    border-radius: 28px 28px 0 0;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 38px rgba(15, 23, 42, .06);
}

.kh-logo-mark {
    display: none;
}

.kh-logo-text small {
    font-size: .66rem;
    line-height: 1;
    letter-spacing: .02em;
}

.kh-logo-text strong {
    font-size: 1.34rem;
    line-height: .9;
    letter-spacing: -.04em;
}

.kh-nav {
    gap: 30px;
}

.kh-nav .nav-link {
    padding: 22px 0 18px;
    font-size: .86rem;
    font-weight: 700;
    color: #050b12;
}

.kh-nav .nav-link.active {
    color: var(--kh-green-700);
}

.btn-distributor {
    padding: 10px 22px;
    font-size: .72rem;
    box-shadow: 0 10px 26px rgba(23, 201, 100, .25);
}

.kh-footer {
    padding: 44px 0 0;
    background: #07111c;
}

.kh-footer .container {
    max-width: 1320px;
}

.kh-footer .kh-logo {
    margin-bottom: 12px !important;
}

.kh-footer .kh-logo-text small {
    color: #fff;
}

.footer-tagline {
    max-width: 150px;
    margin-bottom: 2px;
    font-size: .78rem !important;
    line-height: 1.45;
    color: rgba(255, 255, 255, .72) !important;
}

.footer-mascot {
    width: 145px;
    max-width: 100%;
    margin-top: -8px;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .3));
}

.kh-footer h4 {
    margin-bottom: 12px;
    font-size: .78rem;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    gap: 0;
    font-size: .72rem;
    line-height: 1.25;
}

.footer-links a::before {
    display: none;
}

.footer-contact li {
    gap: 9px;
    margin-bottom: 9px;
    font-size: .72rem;
}

.footer-contact i {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    margin-top: 0;
    border-radius: 50%;
    background: var(--kh-green);
    color: #fff;
    font-size: .65rem;
}

.social-row {
    gap: 8px;
    margin-top: 10px;
}

.social-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: .68rem;
}

.newsletter-card {
    margin-top: 16px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .11);
}

.newsletter-card h4 {
    margin-bottom: 6px;
}

.newsletter-card p {
    margin-bottom: 12px;
    font-size: .7rem;
    line-height: 1.45;
}

.newsletter-form .form-control {
    min-height: 38px;
    padding: 10px 48px 10px 16px;
    font-size: .72rem;
    background: #fff;
    color: var(--kh-slate);
    border: 0;
}

.newsletter-form .form-control::placeholder {
    color: var(--kh-slate-500);
}

.newsletter-form .btn {
    top: 4px;
    right: 4px;
    bottom: 4px;
    width: 30px;
    padding: 0;
    border-radius: 50%;
}

.footprint-strip {
    display: none;
}

.footer-bottom {
    margin-top: 24px;
    padding: 14px 0;
    font-size: .68rem;
}

@media (max-width: 1199.98px) {
    .kh-navbar {
        top: 8px;
    }

    .kh-navbar .container {
        margin-inline: 12px;
        padding: 0 22px;
        border-radius: 22px;
    }

    .kh-nav {
        gap: 0;
        padding-top: 14px;
    }

    .kh-nav .nav-link {
        padding: 10px 0;
        font-size: .82rem;
    }
}

/* --------------------------------------------------------------------------
   INNER PAGE SECTION REFINEMENTS
   -------------------------------------------------------------------------- */
.page-header {
    padding: calc(var(--nav-h) + 34px) 0 42px;
    background:
        radial-gradient(460px 260px at 8% 0%, rgba(23, 201, 100, .14), transparent 70%),
        radial-gradient(520px 300px at 92% 20%, rgba(139, 92, 246, .12), transparent 72%),
        linear-gradient(180deg, #fff 0%, #f7fbf8 100%);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.page-header .kh-blobs {
    display: none;
}

.page-header .container {
    max-width: 1180px;
}

.page-header .row {
    align-items: center;
}

.page-header .col-lg-9 {
    width: 100%;
    max-width: 760px;
}

.page-header .eyebrow {
    padding: 7px 15px;
    font-size: .75rem;
    letter-spacing: .16em;
    background: rgba(23, 201, 100, .1);
    border: 1px solid rgba(23, 201, 100, .18);
}

.page-header h1 {
    max-width: 820px;
    margin: 18px 0 0;
    font-size: clamp(2.15rem, 4.6vw, 4.15rem);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.page-header .lead {
    max-width: 680px !important;
    margin-top: 18px !important;
    font-size: clamp(.95rem, 1.45vw, 1.18rem);
    line-height: 1.7;
    color: var(--kh-slate-500);
}

.page-header .kh-breadcrumb {
    margin-top: 18px;
    font-size: .82rem;
}

.page-header + .section,
.page-header + .section-tight {
    padding-top: clamp(34px, 5vw, 58px);
}

.story-line {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(340px 220px at 8% 0%, rgba(23, 201, 100, .1), transparent 72%),
        radial-gradient(320px 220px at 100% 100%, rgba(139, 92, 246, .1), transparent 72%),
        #fff;
    box-shadow: 0 18px 54px rgba(15, 23, 42, .08);
}

.story-line::before {
    display: none;
}

.story-item {
    padding: 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.story-item:last-child {
    padding-bottom: 22px;
}

.story-dot {
    position: static;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 15px;
    font-size: 1.15rem;
}

.story-year {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: var(--r-pill);
    background: var(--kh-green-soft);
    color: var(--kh-green-700);
    font-size: .72rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.story-item h3 {
    font-size: 1rem;
    margin-bottom: 7px;
}

.story-item p {
    font-size: .82rem;
    line-height: 1.5;
}

.animal-nutrition-section {
    background:
        linear-gradient(180deg, #fff 0%, #f5fbf7 100%);
}

.animal-category-grid {
    max-width: 1120px;
    margin-inline: auto;
}

.animal-category-card {
    padding: 24px 16px;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.animal-category-card .info-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    margin-bottom: 14px;
}

.animal-category-card h3 {
    min-height: 2rem;
    font-size: .92rem !important;
    line-height: 1.15;
}

.animal-category-card p {
    font-size: .74rem !important;
    line-height: 1.45;
}

.about-feed-visual {
    
    display: grid;
    place-items: center;
    
    box-shadow: 0 22px 62px rgba(15, 23, 42, .12);
    overflow: hidden;
}

.about-feed-visual img {
   
    object-fit: contain;
    border-radius: 22px;
    filter: drop-shadow(0 20px 24px rgba(15, 23, 42, .18));
}

.ration-mascot-stage {
    overflow: hidden;
}

.ration-mascot-img {
    position: relative;
    z-index: 2;
    width: min(360px, 86%);
    max-height: 360px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 22px 26px rgba(15, 23, 42, .16));
}

.kh-navbar {
    top: 0;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.kh-navbar .container {
    min-height: 70px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.kh-footer {
    margin-top: 0;
}

.kh-footer .container {
    padding-inline: 46px;
}

@media (max-width: 991.98px) {
    .story-line {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .story-line {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .kh-footer .container {
        padding-inline: 18px;
    }
}

/* --------------------------------------------------------------------------
   SCROLL / OVERFLOW CLEANUP
   -------------------------------------------------------------------------- */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    display: none;
    background: transparent;
}

main,
section,
.kh-navbar,
.kh-footer {
    max-width: 100vw;
    overflow-x: clip;
}

.kh-navbar .container,
.kh-footer .container {
    max-width: min(1320px, 100%);
}

.kh-blobs,
.kh-hero::after,
.kh-cta::before {
    max-width: 100vw;
    overflow: hidden;
}

@media (max-width: 1199.98px) {
    .kh-navbar .container {
        width: 100%;
        margin-inline: 0;
    }
}

/* ==========================================================================
   HOW IT WORKS — numbered step rail (refined)
   ========================================================================== */
.step-rail {
    padding: 34px 26px 30px;
}

/* brighter, connected timeline line */
.step-rail::before {
    top: 60px;
    height: 3px;
    opacity: .55;
    background: linear-gradient(90deg, var(--kh-green), var(--kh-blue), var(--kh-purple));
}

.rail-circle {
    position: relative;
    background:
        linear-gradient(#fff, #fff) padding-box,
        var(--grad-brand) border-box;
    border: 2px solid transparent;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.rail-item:hover .rail-circle {
    box-shadow: 0 16px 32px rgba(23, 201, 100, .24);
}

/* step number badge */
.rail-num {
    position: absolute;
    top: -6px;
    right: -6px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--grad-green);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(14, 121, 60, .35);
    border: 2px solid #fff;
}

.rail-item strong { font-size: .92rem; }
.rail-item span   { font-size: .78rem; }

/* ==========================================================================
   OUR STORY — year timeline (refined)
   ========================================================================== */
.story-rail {
    padding: 34px 26px 30px;
}

.story-rail::before {
    top: 62px;
    height: 3px;
    opacity: .5;
    background: linear-gradient(90deg, var(--kh-green), var(--kh-purple));
}

.srail-item { padding-top: 2px; }

.srail-scene {
    position: relative;
    z-index: 1;
    height: 74px;
    width: 74px;
    margin-inline: auto;
    border-radius: 20px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        var(--grad-green) border-box;
    border: 2px solid transparent;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.srail-item:hover .srail-scene {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(23, 201, 100, .22);
}

/* year pill */
.srail-year {
    display: inline-block;
    margin: 14px 0 0;
    padding: 4px 14px;
    border-radius: var(--r-pill);
    background: var(--kh-slate);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .18);
}

.srail-dot {
    margin: 12px auto 10px;
    background: var(--kh-green);
    box-shadow: 0 0 0 4px rgba(23, 201, 100, .16);
}

.srail-item strong { font-size: .92rem; }
.srail-item span   { font-size: .78rem; }

@media (max-width: 1199.98px) {
    .story-rail::before { display: none; }
}
