/* Hefu gentle sorting solution — Reemoon VI var(--rm-color-brand) */
.hefu-page {
    --hefu-brand-glow: rgba(0, 133, 111, 0.18);

    --hefu-bg: hsl(145 20% 98%);
    --hefu-bg-dark: var(--rm-color-brand-800);
    --hefu-fg: hsl(145 30% 12%);
    --hefu-muted: #5a756e;
    --hefu-card: #fff;
    --hefu-border: hsl(145 20% 88%);

    --hefu-accent: var(--hefu-brand);
    --hefu-accent-light: var(--hefu-brand-light);
    --hefu-accent-muted: var(--hefu-brand-muted);

    --hefu-gutter: var(--site-gutter, 15px);
    --hefu-max: var(--site-container-max, 1170px);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--hefu-fg);
    background: var(--hefu-bg);
    line-height: 1.65;
}

.hefu-page *, .hefu-page *::before, .hefu-page *::after { box-sizing: border-box; }

.hefu-container {
    width: 100%;
    max-width: var(--hefu-max);
    margin: 0 auto;
    padding-left: var(--hefu-gutter);
    padding-right: var(--hefu-gutter);
}

.hefu-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hefu-accent);
    background: var(--hefu-accent-muted);
    border-radius: 999px;
}

.hefu-eyebrow--light {
    color: var(--hefu-brand-bright);
    background: rgba(255, 255, 255, 0.1);
}

.hefu-headline {
    margin: 0 0 1rem;
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    font-weight: 650;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--hefu-fg);
}

.hefu-headline--light { color: #fff; }

.hefu-lead {
    margin: 0;
    max-width: 42rem;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--hefu-muted);
}

.hefu-section {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.hefu-section__head {
    max-width: 720px;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.hefu-section__head--light { margin-left: auto; margin-right: auto; text-align: center; }

/* Hero actions — rm-btn (design-system/components.css) */

.hefu-hero a.rm-btn,
.hefu-hero a.rm-btn:visited {
    text-decoration: none;
}

.hefu-hero .rm-btn--primary {
    box-shadow: 0 8px 24px rgba(0, 133, 111, 0.18);
}

.hefu-hero .rm-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 133, 111, 0.28);
}

/* Hero */
.hefu-hero {
    position: relative;
    min-height: calc(100vh - var(--hefu-header-h, 80px));
    min-height: calc(100svh - var(--hefu-header-h, 80px));
    display: flex;
    align-items: flex-end;
    padding: clamp(5rem, 12vh, 8rem) 0 clamp(3rem, 6vh, 4rem);
    overflow: hidden;
    color: #fff;
}

.hefu-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hefu-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transform: scale(1.03);
}

.hefu-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 26, 22, 0.72) 0%, rgba(0, 56, 48, 0.35) 42%, rgba(0, 77, 65, 0.92) 100%),
        radial-gradient(ellipse 80% 60% at 70% 30%, rgba(0, 168, 138, 0.22) 0%, transparent 60%);
}

.hefu-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hefu-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.hefu-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.hefu-breadcrumb a:hover { color: var(--hefu-brand-bright); }

.hefu-hero__badge {
    margin: 0 0 1.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hefu-brand-bright);
}

.hefu-hero__title {
    margin: 0 0 1.25rem;
    max-width: 14ch;
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fff;
}

.hefu-hero__title-highlight {
    display: inline-block;
    background: linear-gradient(120deg, #ffffff 0%, var(--hefu-brand-bright) 48%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 28px rgba(110, 231, 199, 0.45));
}

.hefu-hero__title-secondary {
    display: block;
    margin-top: 0.12em;
    color: rgba(255, 255, 255, 0.94);
    font-weight: 600;
    text-shadow: 0 2px 16px rgba(0, 77, 65, 0.35);
}

.hefu-hero__subtitle {
    margin: 0 0 2rem;
    max-width: 36rem;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

.hefu-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hefu-hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.hefu-hero__scroll-line {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5));
    animation: hefu-scroll-pulse 2s ease-in-out infinite;
}

@keyframes hefu-scroll-pulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.85); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Origin */
.hefu-origin {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: #fff;
    border-bottom: 1px solid var(--hefu-border);
}

.hefu-origin__grid {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

@media (min-width: 900px) {
    .hefu-origin__grid { grid-template-columns: 1.1fr 0.9fr; }
}

.hefu-origin__quote {
    margin: 0;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.75;
    color: var(--hefu-fg);
    background: linear-gradient(145deg, var(--hefu-brand-muted) 0%, #fff 100%);
    border-left: 3px solid var(--hefu-brand);
    border-radius: 0 1.25rem 1.25rem 0;
    box-shadow: 0 16px 48px rgba(0, 77, 65, 0.06);
}

.hefu-origin__quote footer {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    font-style: normal;
    color: var(--hefu-muted);
}

/* Principles */
.hefu-principles { background: var(--hefu-bg); }

.hefu-principles__grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .hefu-principles__grid { grid-template-columns: repeat(3, 1fr); }
}

.hefu-principle {
    position: relative;
    padding: 2rem 1.75rem;
    background: var(--hefu-card);
    border: 1px solid rgba(0, 133, 111, 0.1);
    border-radius: 1.25rem;
    box-shadow: 0 12px 40px rgba(0, 77, 65, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.hefu-principle:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 133, 111, 0.22);
    box-shadow: 0 20px 48px rgba(0, 77, 65, 0.1);
}

.hefu-principle__index {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(0, 133, 111, 0.08);
}

.hefu-principle__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.25rem;
    color: var(--hefu-brand);
    background: var(--hefu-brand-muted);
    border-radius: 0.85rem;
}

.hefu-principle__icon .citrus-icon { width: 1.5rem; height: 1.5rem; }
.citrus-pillar__icon .citrus-icon { width: 1.5rem; height: 1.5rem; }

.hefu-principle__title {
    margin: 0 0 0.65rem;
    font-size: 1.2rem;
    font-weight: 650;
}

.hefu-principle__desc {
    margin: 0;
    font-size: 0.95rem;
    color: var(--hefu-muted);
}

/* Showcase */
.hefu-showcase {
    background: #fff;
    border-top: 1px solid var(--hefu-border);
    border-bottom: 1px solid var(--hefu-border);
}

.hefu-showcase__grid {
    display: grid;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
}

@media (min-width: 960px) {
    .hefu-showcase__grid { grid-template-columns: 1fr 1fr; }
}

.hefu-showcase__frame {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow:
        0 4px 6px rgba(0, 77, 65, 0.04),
        0 24px 64px rgba(0, 77, 65, 0.12);
}

.hefu-showcase__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: inherit;
    pointer-events: none;
}

.hefu-showcase__frame img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hefu-showcase__features {
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 1.25rem;
}

.hefu-showcase__features li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.hefu-showcase__check {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    margin-top: 0.15rem;
    color: var(--hefu-brand);
    background: var(--hefu-brand-muted);
    border-radius: 50%;
}

.hefu-showcase__features strong {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 650;
}

.hefu-showcase__features span span {
    display: block;
    font-size: 0.92rem;
    color: var(--hefu-muted);
}

/* Comparison */
.hefu-comparison {
    background: linear-gradient(145deg, #001a16 0%, var(--rm-color-brand-800) 40%, var(--rm-color-brand-800) 100%);
    color: #fff;
}

.hefu-comparison__table {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.hefu-comparison__head,
.hefu-comparison__row {
    display: grid;
    grid-template-columns: minmax(100px, 0.9fr) 1fr 1fr;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    align-items: start;
}

@media (max-width: 767px) {
    .hefu-comparison__head { display: none; }

    .hefu-comparison__row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hefu-comparison__row:first-child { border-top: none; }

    .hefu-comparison__cell::before {
        display: block;
        margin-bottom: 0.25rem;
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        opacity: 0.55;
        content: attr(data-hefu-col);
    }
}

.hefu-comparison__head {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hefu-comparison__row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hefu-comparison__label {
    font-weight: 650;
    color: var(--hefu-brand-bright);
}

.hefu-comparison__cell {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

.hefu-comparison__cell--accent {
    color: #fff;
    font-weight: 500;
}

/* Crops */
.hefu-crops { background: var(--hefu-bg); }

.hefu-crops__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.25rem;
}

.hefu-crop-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--hefu-card);
    border: 1px solid var(--hefu-border);
    box-shadow: 0 8px 24px rgba(0, 77, 65, 0.04);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hefu-crop-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 133, 111, 0.25);
    box-shadow: 0 12px 32px rgba(0, 77, 65, 0.1);
}

.hefu-crop-card__media {
    aspect-ratio: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 1.5rem);
    background: linear-gradient(180deg, #f8fbf9 0%, #fff 100%);
}

.hefu-crop-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.hefu-crop-card:hover .hefu-crop-card__media img { transform: scale(1.06); }

.hefu-crop-card__label {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    color: var(--hefu-fg);
}

/* Stats */
.hefu-stats {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    background: linear-gradient(135deg, var(--hefu-brand) 0%, var(--hefu-brand-deep) 50%, var(--hefu-brand-dark) 100%);
    color: #fff;
}

.hefu-stats__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .hefu-stats__grid { grid-template-columns: repeat(3, 1fr); }
}

.hefu-stats__item { text-align: center; }

.hefu-stats__title {
    display: block;
    margin-bottom: 0.65rem;
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.hefu-stats__range {
    display: block;
    margin-bottom: 0.5rem;
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.hefu-stats__fruits {
    display: block;
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
}

.hefu-stats__value {
    display: block;
    margin-bottom: 0.35rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff, var(--hefu-brand-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hefu-stats__label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Reveal animation */
[data-hefu-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-hefu-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hefu-principles__grid .hefu-principle:nth-child(2) { transition-delay: 0.1s; }
.hefu-principles__grid .hefu-principle:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
    [data-hefu-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hefu-hero__scroll-line { animation: none; }
}

.rm-btn--md {
    padding: var(--rm-space-4) var(--rm-space-8);
    font-size: 0.9375rem;
}

.rm-btn--primary {
    color: var(--rm-color-text-on-brand);
    background: var(--rm-color-brand);
    border-color: var(--rm-color-brand);
}
.rm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--rm-space-2);
    padding: var(--rm-space-3) var(--rm-space-6);
    font-family: inherit;
    font-size: var(--rm-text-sm);
    font-weight: var(--rm-font-semibold);
    line-height: var(--rm-leading-tight);
    text-decoration: none;
    border-radius: var(--rm-radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color var(--rm-duration-normal) var(--rm-ease-out), border-color var(--rm-duration-normal) var(--rm-ease-out), color var(--rm-duration-normal) var(--rm-ease-out), box-shadow var(--rm-duration-normal) var(--rm-ease-out);
}

.rm-btn--md {
    padding: var(--rm-space-4) var(--rm-space-8);
    font-size: 0.9375rem;
}
.rm-btn--ghost-light {
    color: var(--rm-color-text-inverse);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
}
