/* =========================================================
   BUMDES SUKAMAJU — PUBLIC WEBSITE
   File: public/css/app.css
========================================================= */

:root {
    --green-950: #06271d;
    --green-900: #0b3a2b;
    --green-800: #12533e;
    --green-700: #1d7154;
    --green-600: #2d8c69;
    --green-500: #45a681;
    --green-300: #91cfb5;
    --green-200: #c9e9da;
    --green-100: #eaf7f1;
    --green-50: #f5fbf8;

    --orange-600: #dd772e;
    --orange-500: #ef9149;
    --orange-300: #f5bd87;
    --orange-100: #fff0df;

    --cream-100: #f4efe3;
    --cream-50: #fbf8f1;
    --surface: #fffefa;
    --white: #ffffff;

    --ink: #14211c;
    --ink-soft: #36433d;
    --muted: #69766f;
    --line: #dce6e1;
    --line-dark: #c7d5ce;

    --danger: #b42318;
    --danger-bg: #fde8e6;
    --success: #176143;
    --success-bg: #ddf6e9;

    --shadow-xs: 0 4px 14px rgba(11, 58, 43, 0.05);
    --shadow-sm: 0 10px 28px rgba(11, 58, 43, 0.08);
    --shadow-md: 0 20px 52px rgba(11, 58, 43, 0.12);
    --shadow-lg: 0 32px 80px rgba(7, 40, 29, 0.18);

    --radius-xs: 9px;
    --radius-sm: 13px;
    --radius-md: 19px;
    --radius-lg: 27px;
    --radius-xl: 38px;

    --container: 1180px;
    --header-height: 82px;
}

/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 105px;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--surface);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.cart-open {
    overflow: hidden;
}

::selection {
    color: var(--white);
    background: var(--green-700);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

input,
select,
textarea {
    width: 100%;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 4px rgba(45, 140, 105, 0.12);
}

textarea {
    min-height: 110px;
    resize: vertical;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--green-950);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
    font-size: 1.35rem;
}

p {
    color: var(--muted);
}

main {
    min-height: 60vh;
}

/* =========================================================
   LAYOUT
========================================================= */

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.narrow {
    max-width: 780px;
}

.section {
    position: relative;
    padding: 96px 0;
}

.section-muted {
    background: var(--green-50);
}

.section-dark {
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(69, 166, 129, 0.24),
            transparent 32%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(239, 145, 73, 0.12),
            transparent 26%
        ),
        var(--green-950);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-dark p {
    color: #bed0c8;
}

/* =========================================================
   COMMON COMPONENTS
========================================================= */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--green-700);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 30px;
    height: 3px;
    flex: 0 0 30px;
    border-radius: 999px;
    background: currentColor;
    content: "";
}

.eyebrow-light {
    color: var(--green-300);
}

.btn {
    min-height: 50px;
    padding: 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 850;
    line-height: 1;
    text-align: center;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--white);
    border-color: var(--green-800);
    background: linear-gradient(
        135deg,
        var(--green-800),
        var(--green-600)
    );
    box-shadow: 0 12px 28px rgba(18, 83, 62, 0.23);
}

.btn-primary:hover {
    border-color: var(--green-700);
    background: linear-gradient(
        135deg,
        var(--green-700),
        var(--green-500)
    );
    box-shadow: 0 16px 34px rgba(18, 83, 62, 0.28);
}

.btn-secondary {
    color: var(--green-900);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    border-color: var(--green-200);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-sm {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.86rem;
}

.btn-block {
    width: 100%;
}

.text-right {
    text-align: right;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 48px 30px;
    color: var(--muted);
    border: 1px dashed var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--white);
    text-align: center;
}

.empty-state h3 {
    margin-bottom: 8px;
}

.empty-state p {
    margin-bottom: 0;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    z-index: 70;
    top: 0;
    border-bottom: 1px solid rgba(220, 230, 225, 0.85);
    background: rgba(255, 254, 250, 0.92);
    box-shadow: 0 5px 22px rgba(11, 58, 43, 0.035);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-wrap {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

.brand-mark {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    color: var(--white);
    border-radius: 15px;
    background: linear-gradient(
        145deg,
        var(--green-900),
        var(--green-600)
    );
    box-shadow: 0 10px 22px rgba(18, 83, 62, 0.22);
    font-weight: 950;
    letter-spacing: -0.06em;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    overflow: hidden;
    color: var(--green-950);
    font-size: 1rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.73rem;
}

.brand-light strong {
    color: var(--white);
}

.brand-light small {
    color: #9fb5ab;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    color: var(--ink-soft);
    font-size: 0.89rem;
    font-weight: 780;
}

.main-nav > a:not(.btn) {
    position: relative;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.main-nav > a:not(.btn)::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--green-700);
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.main-nav > a:not(.btn):hover {
    color: var(--green-700);
}

.main-nav > a:not(.btn):hover::after {
    transform: scaleX(1);
}

.nav-toggle {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    color: var(--green-950);
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--white);
    font-size: 1.3rem;
}

.cart-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: inline-grid;
    place-items: center;
    margin-left: 5px;
    color: var(--white);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.72rem;
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 610px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at 88% 13%,
            rgba(239, 145, 73, 0.22),
            transparent 24%
        ),
        radial-gradient(
            circle at 7% 90%,
            rgba(45, 140, 105, 0.14),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #faf7ee 0%,
            #edf7f1 100%
        );
}

.hero::before {
    position: absolute;
    top: 80px;
    right: -100px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(18, 83, 62, 0.08);
    border-radius: 50%;
    content: "";
}

.hero::after {
    position: absolute;
    right: 105px;
    bottom: -175px;
    width: 365px;
    height: 365px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    content: "";
}

.hero-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 72px 0 88px;
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(380px, 0.95fr);
    align-items: center;
    gap: 58px;
}

.hero-copy {
    min-width: 0;
    max-width: 650px;
}

.hero-copy h1 {
    max-width: 640px;
    margin-bottom: 22px;
    color: var(--green-950);
    font-size: clamp(3rem, 5.2vw, 5rem);
    line-height: 1.01;
    letter-spacing: -0.052em;
    overflow-wrap: normal;
    word-break: normal;
}

.hero-copy > p {
    max-width: 580px;
    margin-bottom: 0;
    color: #5e6b65;
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-actions {
    margin: 30px 0 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    color: #4d5c55;
    font-size: 0.87rem;
    font-weight: 750;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hero-visual {
    position: relative;
    min-width: 0;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual > img {
    width: min(100%, 535px);
    height: auto;
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 24px 38px rgba(18, 83, 62, 0.14));
}

.hero-visual > img[src=""],
.hero-visual > img:not([src]) {
    display: none;
}

.floating-card {
    position: absolute;
    z-index: 3;
    min-width: 130px;
    padding: 15px 18px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.floating-card small,
.floating-card strong {
    display: block;
}

.floating-card small {
    color: var(--muted);
    font-size: 0.72rem;
}

.floating-card strong {
    margin-top: 2px;
    color: var(--green-900);
}

.card-stock {
    top: 32px;
    right: 2px;
}

.card-stock strong {
    font-size: 1.65rem;
}

.card-local {
    bottom: 28px;
    left: 5px;
}

/* =========================================================
   STATISTICS
========================================================= */

.stats-section {
    position: relative;
    z-index: 5;
    margin-top: -44px;
}

.stats-grid {
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(220, 230, 225, 0.9);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.stats-grid article {
    position: relative;
    min-width: 0;
    padding: 28px 30px;
    border-right: 1px solid var(--line);
}

.stats-grid article:last-child {
    border-right: 0;
}

.stats-grid article::after {
    position: absolute;
    right: 20px;
    bottom: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--green-100);
    content: "";
}

.stats-grid strong,
.stats-grid span {
    position: relative;
    z-index: 2;
    display: block;
}

.stats-grid strong {
    overflow: hidden;
    color: var(--green-900);
    font-size: 1.85rem;
    line-height: 1.15;
    text-overflow: ellipsis;
}

.stats-grid span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.83rem;
}

/* =========================================================
   ABOUT
========================================================= */

.two-column {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);
    gap: 78px;
    align-items: start;
}

.two-column h2 {
    margin-bottom: 0;
}

.rich-copy > p {
    color: var(--ink-soft);
    font-size: 1.06rem;
    line-height: 1.85;
}

.legal-box {
    margin-top: 30px;
    padding: 24px;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 13px 20px;
    border: 1px solid #d2e8dd;
    border-radius: var(--radius-md);
    background: linear-gradient(
        145deg,
        var(--green-100),
        #f7fcf9
    );
}

.legal-box span {
    color: var(--muted);
    font-size: 0.81rem;
}

.legal-box strong {
    min-width: 0;
    color: var(--green-950);
    overflow-wrap: anywhere;
}

/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    margin-bottom: 38px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading > p {
    max-width: 480px;
    margin-bottom: 5px;
}

/* =========================================================
   FILTER
========================================================= */

.filter-row {
    margin-bottom: 29px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    min-height: 42px;
    padding: 0 18px;
    color: #4d5b55;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-weight: 800;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.filter-btn:hover {
    color: var(--green-700);
    border-color: var(--green-200);
    transform: translateY(-1px);
}

.filter-btn.active {
    color: var(--white);
    border-color: var(--green-800);
    background: var(--green-800);
}

/* =========================================================
   PRODUCTS
========================================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.product-card:hover {
    border-color: var(--line-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.product-card[hidden] {
    display: none;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 240px;
    background:
        linear-gradient(
            145deg,
            var(--green-100),
            #dfece5
        );
}

.product-image::after {
    position: absolute;
    inset: auto 0 0;
    height: 35%;
    background: linear-gradient(
        transparent,
        rgba(6, 39, 29, 0.16)
    );
    content: "";
    pointer-events: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.045);
}

.badge {
    position: absolute;
    z-index: 2;
    top: 15px;
    left: 15px;
    padding: 7px 12px;
    color: var(--green-950);
    border-radius: 999px;
    background: #f8ca91;
    box-shadow: 0 8px 18px rgba(44, 30, 10, 0.12);
    font-size: 0.72rem;
    font-weight: 900;
}

.product-body {
    padding: 24px;
}

.product-category {
    color: var(--green-700);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.product-body h3 {
    margin: 8px 0 11px;
    overflow-wrap: anywhere;
}

.product-body > p {
    min-height: 72px;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.product-meta {
    margin: 20px 0;
    padding-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    border-top: 1px solid var(--line);
}

.product-meta > div {
    min-width: 0;
    padding: 11px;
    border-radius: 12px;
    background: #f7faf8;
}

.product-meta small,
.product-meta strong {
    display: block;
}

.product-meta small {
    color: var(--muted);
    font-size: 0.7rem;
}

.product-meta strong {
    overflow: hidden;
    margin-top: 2px;
    color: var(--green-950);
    font-size: 0.88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =========================================================
   GALLERY
========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    margin: 0;
    border-radius: 22px;
    background: var(--green-900);
    box-shadow: var(--shadow-sm);
}

.gallery-card:nth-child(1),
.gallery-card:nth-child(6) {
    grid-column: span 2;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        filter 0.45s ease,
        transform 0.45s ease;
}

.gallery-card:hover img {
    filter: saturate(1.08);
    transform: scale(1.06);
}

.gallery-card::after {
    position: absolute;
    inset: 30% 0 0;
    background: linear-gradient(
        transparent,
        rgba(5, 27, 20, 0.94)
    );
    content: "";
}

.gallery-card figcaption {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 20px;
    left: 20px;
    color: var(--white);
}

.gallery-card figcaption strong,
.gallery-card figcaption span {
    display: block;
}

.gallery-card figcaption strong {
    margin-bottom: 3px;
    color: var(--white);
    font-size: 1.02rem;
}

.gallery-card figcaption span {
    color: #d7e4de;
    font-size: 0.8rem;
}

/* =========================================================
   TRANSPARENCY
========================================================= */

.transparency-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);
    gap: 75px;
    align-items: center;
}

.feature-list {
    display: grid;
    gap: 15px;
}

.feature-list article {
    padding: 20px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.055);
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.feature-list article:hover {
    background: rgba(255, 255, 255, 0.085);
    transform: translateX(4px);
}

.feature-list article > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--green-950);
    border-radius: 14px;
    background: var(--green-300);
    font-weight: 950;
}

.feature-list strong {
    color: var(--white);
    font-size: 1.04rem;
}

.feature-list p {
    margin: 4px 0 0;
}

/* =========================================================
   NEWS
========================================================= */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.news-card > a {
    display: block;
    overflow: hidden;
}

.news-card img {
    width: 100%;
    height: 215px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.news-card:hover img {
    transform: scale(1.04);
}

.news-card > div {
    padding: 24px;
}

.news-card time {
    color: var(--green-700);
    font-size: 0.74rem;
    font-weight: 850;
}

.news-card h3 {
    margin: 9px 0 10px;
    overflow-wrap: anywhere;
}

.news-card h3 a {
    transition: color 0.2s ease;
}

.news-card h3 a:hover {
    color: var(--green-700);
}

.news-card p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    background:
        radial-gradient(
            circle at 95% 20%,
            rgba(239, 145, 73, 0.12),
            transparent 28%
        ),
        var(--cream-100);
}

.contact-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);
    gap: 50px;
    align-items: stretch;
}

.contact-list {
    margin-top: 30px;
    display: grid;
    gap: 19px;
}

.contact-list > div {
    min-width: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid #d7d3c8;
}

.contact-list small,
.contact-list strong {
    display: block;
}

.contact-list small {
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-list strong {
    margin-top: 3px;
    color: var(--green-950);
    overflow-wrap: anywhere;
}

.contact-socials {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.map-card {
    overflow: hidden;
    min-height: 420px;
    border: 7px solid rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-lg);
    background: var(--green-100);
    box-shadow: var(--shadow-md);
}

.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

.map-placeholder {
    min-height: 420px;
    padding: 30px;
    display: grid;
    place-content: center;
    color: var(--muted);
    text-align: center;
}

.map-placeholder span {
    color: var(--green-900);
    font-size: 1.15rem;
    font-weight: 900;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 68px 0 21px;
    color: #dfe9e4;
    background:
        radial-gradient(
            circle at 90% 0,
            rgba(45, 140, 105, 0.18),
            transparent 29%
        ),
        #061e16;
}

.footer-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(0, 0.8fr)
        minmax(0, 1fr);
    gap: 50px;
}

.site-footer p,
.site-footer .brand-light small {
    color: #9fb1aa;
}

.site-footer h4 {
    margin-bottom: 12px;
    color: var(--white);
}

.site-footer a {
    color: #bee3d2;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 19px;
    color: #7f938b;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}

/* =========================================================
   FLASH MESSAGE
========================================================= */

.flash {
    margin-top: 20px;
    padding: 14px 17px;
    border: 1px solid transparent;
    border-radius: 14px;
    box-shadow: var(--shadow-xs);
}

.flash-success {
    color: var(--success);
    border-color: #c4ead7;
    background: var(--success-bg);
}

.flash-error {
    color: #8a1c14;
    border-color: #f2c8c4;
    background: var(--danger-bg);
}

.flash ul {
    margin: 8px 0 0;
}

/* =========================================================
   CART
========================================================= */

.cart-backdrop {
    position: fixed;
    z-index: 90;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    background: rgba(5, 22, 16, 0.64);
    backdrop-filter: blur(5px);
    transition:
        visibility 0.25s ease,
        opacity 0.25s ease;
}

.cart-panel {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    width: min(500px, 100%);
    height: 100dvh;
    overflow-y: auto;
    background: var(--white);
    box-shadow: -25px 0 65px rgba(4, 25, 17, 0.24);
    transform: translateX(102%);
    transition: transform 0.3s ease;
}

body.cart-open .cart-backdrop {
    visibility: visible;
    opacity: 1;
}

body.cart-open .cart-panel {
    transform: translateX(0);
}

.cart-header {
    position: sticky;
    z-index: 2;
    top: 0;
    padding: 23px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.cart-header small {
    color: var(--muted);
}

.cart-header h3 {
    margin-bottom: 0;
}

.icon-btn {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    color: var(--green-950);
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    font-size: 1.42rem;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.icon-btn:hover {
    background: var(--green-100);
    transform: rotate(4deg);
}

.cart-items {
    padding: 20px 24px;
}

.cart-empty {
    padding: 34px 24px;
    color: var(--muted);
    border: 1px dashed var(--line-dark);
    border-radius: var(--radius-md);
    background: #fafcfb;
    text-align: center;
}

.cart-row {
    padding: 17px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 13px;
    border-bottom: 1px solid var(--line);
}

.cart-row h4 {
    margin-bottom: 4px;
    overflow-wrap: anywhere;
}

.cart-row small {
    color: var(--muted);
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-controls button {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    color: var(--green-900);
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--white);
    font-weight: 900;
}

.cart-controls button:hover {
    border-color: var(--green-200);
    background: var(--green-100);
}

.remove-item {
    display: block;
    margin-top: 8px;
    padding: 0;
    color: var(--danger);
    border: 0;
    background: transparent;
    font-size: 0.77rem;
}

.cart-summary {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(
        135deg,
        var(--green-100),
        #f7fbf9
    );
}

.cart-summary strong {
    color: var(--green-900);
    font-size: 1.2rem;
}

.checkout-form {
    padding: 24px;
    display: grid;
    gap: 15px;
}

.checkout-form label,
.stack-form label {
    display: grid;
    gap: 7px;
    color: #3f4a45;
    font-size: 0.81rem;
    font-weight: 800;
}

.checkout-form input,
.checkout-form textarea,
.stack-form input {
    padding: 13px 14px;
}

/* =========================================================
   ORDER SUCCESS
========================================================= */

.order-success {
    min-height: 70vh;
    text-align: center;
}

.success-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 25px;
    display: grid;
    place-items: center;
    color: var(--white);
    border-radius: 50%;
    background: linear-gradient(
        145deg,
        var(--green-700),
        var(--green-500)
    );
    box-shadow: 0 18px 36px rgba(29, 113, 84, 0.24);
    font-size: 2.15rem;
    font-weight: 950;
}

.order-success h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.order-card {
    margin: 38px 0;
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
    text-align: left;
}

.order-card-head,
.order-total,
.order-lines > div {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.order-card-head {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.order-card-head small,
.order-card-head strong {
    display: block;
}

.order-lines > div {
    padding: 14px 0;
    border-bottom: 1px solid #edf1ee;
}

.order-total {
    padding-top: 20px;
    color: var(--green-950);
    font-size: 1.2rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* =========================================================
   STATUS
========================================================= */

.status {
    padding: 6px 11px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 900;
}

.status-baru {
    color: #825008;
    background: #fff1cc;
}

.status-diproses {
    color: #164e8a;
    background: #ddebff;
}

.status-siap {
    color: #5e3b8b;
    background: #eee3ff;
}

.status-selesai {
    color: #155b3f;
    background: #ddf6e9;
}

.status-dibatalkan {
    color: #8a1c14;
    background: #fde8e6;
}

/* =========================================================
   LOGIN
========================================================= */

.auth-page {
    min-height: 100vh;
    padding: 32px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(
            circle at 18% 16%,
            rgba(239, 145, 73, 0.19),
            transparent 26%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(45, 140, 105, 0.17),
            transparent 25%
        ),
        #edf4ef;
}

.auth-shell {
    width: min(465px, 100%);
}

.auth-shell > .brand {
    margin-bottom: 23px;
}

.auth-card {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(13px);
}

.auth-card h1 {
    margin-bottom: 12px;
    font-size: 2.15rem;
}

.stack-form {
    margin-top: 24px;
    display: grid;
    gap: 16px;
}

.check-row {
    display: flex !important;
    align-items: center;
    gap: 9px;
}

.check-row input {
    width: auto;
}

.demo-note {
    margin-top: 22px;
    padding: 15px;
    display: grid;
    gap: 3px;
    color: var(--muted);
    border: 1px solid #e6ece8;
    border-radius: 12px;
    background: #f3f6f4;
    font-size: 0.79rem;
}

.demo-note strong {
    color: var(--ink);
}

/* =========================================================
   ARTICLE
========================================================= */

.article-container {
    max-width: 880px;
}

.back-link {
    margin-bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green-700);
    font-weight: 750;
}

.back-link:hover {
    color: var(--green-900);
}

.article-header h1 {
    max-width: 810px;
    margin: 10px 0 13px;
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1.08;
}

.article-header time {
    color: var(--muted);
}

.article-cover {
    width: 100%;
    max-height: 530px;
    margin: 34px 0;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.article-lead {
    color: var(--green-900);
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.8;
}

.article-body {
    color: #32483f;
    font-size: 1.04rem;
    line-height: 1.95;
}

/* =========================================================
   ORDER TRACKING
========================================================= */

.track-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);
    gap: 42px;
    align-items: start;
}

.track-form {
    margin-top: 28px;
    padding: 26px;
    display: grid;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.track-form label {
    display: grid;
    gap: 8px;
    color: #3f4a45;
    font-weight: 750;
}

.track-form input {
    padding: 14px 15px;
}

.track-placeholder {
    min-height: 360px;
    padding: 34px;
    display: grid;
    place-content: center;
    gap: 9px;
    color: var(--muted);
    border: 1px dashed var(--line-dark);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(45, 140, 105, 0.12),
            transparent 30%
        ),
        var(--cream-100);
    text-align: center;
}

.track-placeholder span {
    font-size: 3rem;
}

.track-placeholder strong {
    color: var(--green-950);
}

.track-result {
    margin: 0;
}

/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-float {
    position: fixed;
    z-index: 60;
    right: 22px;
    bottom: 22px;
    width: 59px;
    height: 59px;
    display: grid;
    place-items: center;
    color: var(--white);
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background: linear-gradient(
        145deg,
        #25d366,
        #159447
    );
    box-shadow: 0 15px 37px rgba(0, 0, 0, 0.23);
    font-size: 0.83rem;
    font-weight: 950;
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.whatsapp-float:hover {
    box-shadow: 0 19px 42px rgba(0, 0, 0, 0.29);
    transform: translateY(-4px) scale(1.04);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {
    .main-nav {
        gap: 18px;
    }

    .hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(340px, 0.85fr);
        gap: 36px;
    }

    .hero-copy h1 {
        font-size: clamp(2.8rem, 5.4vw, 4.25rem);
    }

    .product-grid,
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    :root {
        --header-height: 74px;
    }

    .main-nav {
        position: fixed;
        top: 84px;
        right: 20px;
        left: 20px;
        display: none;
        max-height: calc(100vh - 105px);
        overflow-y: auto;
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        border: 1px solid var(--line);
        border-radius: 19px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-md);
        backdrop-filter: blur(15px);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav > a:not(.btn) {
        padding: 11px 8px;
    }

    .main-nav > a:not(.btn)::after {
        display: none;
    }

    .main-nav .btn {
        margin-top: 8px;
    }

    .nav-toggle {
        display: grid;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid,
    .two-column,
    .transparency-grid,
    .contact-grid,
    .track-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding: 60px 0 76px;
        gap: 38px;
    }

    .hero-copy {
        max-width: 720px;
    }

    .hero-copy h1 {
        max-width: 700px;
        font-size: clamp(2.8rem, 8vw, 4.4rem);
    }

    .hero-visual {
        min-height: 350px;
    }

    .hero-visual > img {
        width: min(100%, 460px);
        max-height: 340px;
    }

    .two-column,
    .transparency-grid {
        gap: 45px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-grid article:nth-child(2) {
        border-right: 0;
    }

    .stats-grid article:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-card:nth-child(1),
    .gallery-card:nth-child(6) {
        grid-column: span 1;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .section {
        padding: 72px 0;
    }

    .brand-mark {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
    }

    .brand strong {
        max-width: 185px;
        font-size: 0.91rem;
    }

    .brand small {
        max-width: 190px;
        overflow: hidden;
        font-size: 0.65rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .main-nav {
        top: 80px;
        right: 14px;
        left: 14px;
    }

    .hero-grid {
        padding: 44px 0 62px;
        gap: 30px;
    }

    .hero-copy h1 {
        font-size: clamp(2.45rem, 13vw, 3.25rem);
        line-height: 1.035;
    }

    .hero-copy > p {
        font-size: 0.98rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .hero-visual {
        min-height: 260px;
    }

    .hero-visual > img {
        width: min(100%, 330px);
        max-height: 245px;
    }

    .floating-card {
        min-width: 0;
        padding: 11px 13px;
    }

    .card-stock {
        top: 5px;
        right: 0;
    }

    .card-local {
        bottom: 5px;
        left: 0;
    }

    .stats-section {
        margin-top: -28px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-grid article {
        padding: 20px;
    }

    .stats-grid article::after {
        display: none;
    }

    .stats-grid strong {
        font-size: 1.4rem;
    }

    .stats-grid span {
        font-size: 0.74rem;
    }

    .legal-box {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .legal-box strong + span {
        margin-top: 12px;
    }

    .product-grid,
    .news-grid,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 225px;
    }

    .product-body > p {
        min-height: 0;
    }

    .gallery-card {
        min-height: 270px;
    }

    .footer-grid > div:first-child {
        grid-column: auto;
    }

    .footer-grid {
        gap: 28px;
    }

    .cart-row {
        grid-template-columns: 1fr;
    }

    .cart-controls {
        justify-content: flex-start;
    }

    .order-card {
        padding: 20px;
    }

    .order-card-head,
    .order-lines > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .text-right {
        text-align: left;
    }

    .success-actions {
        flex-direction: column;
    }

    .success-actions .btn {
        width: 100%;
    }

    .auth-page {
        padding: 19px;
    }

    .auth-card {
        padding: 25px;
    }

    .auth-card h1 {
        font-size: 1.9rem;
    }

    .track-form {
        padding: 21px;
    }

    .whatsapp-float {
        right: 15px;
        bottom: 15px;
        width: 55px;
        height: 55px;
    }
}

/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 390px) {
    .brand strong {
        max-width: 145px;
    }

    .brand small {
        max-width: 150px;
    }

    .hero-copy h1 {
        font-size: 2.25rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid article {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stats-grid article:last-child {
        border-bottom: 0;
    }

    .product-meta {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   HERO V2 — BUMDES SUKAMAJU
========================================================= */

.hero-v2 {
    position: relative;
    overflow: hidden;
    padding: 76px 0 92px;
    background:
        radial-gradient(
            circle at 92% 12%,
            rgba(238, 158, 85, 0.22),
            transparent 27%
        ),
        radial-gradient(
            circle at 7% 90%,
            rgba(48, 139, 105, 0.14),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #fbf8ef 0%,
            #edf7f1 100%
        );
}

.hero-v2::before {
    position: absolute;
    top: -160px;
    right: -120px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(15, 91, 66, 0.08);
    border-radius: 50%;
    content: "";
}

.hero-v2::after {
    position: absolute;
    bottom: -230px;
    left: -180px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.34);
    content: "";
}

.hero-v2-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(420px, 0.92fr);
    align-items: center;
    gap: 70px;
}

.hero-v2-content {
    min-width: 0;
    max-width: 720px;
}

.hero-v2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 21px;
    color: var(--green-700);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-v2-eyebrow::before {
    width: 35px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    content: "";
}

.hero-v2-content h1 {
    max-width: 720px;
    margin: 0;
    color: var(--green-950);
    font-size: clamp(3rem, 4.35vw, 4.65rem);
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: -0.052em;
    text-wrap: balance;
}

.hero-v2-description {
    max-width: 630px;
    margin: 26px 0 0;
    color: #5f6d66;
    font-size: 1.06rem;
    line-height: 1.85;
}

.hero-v2-actions {
    margin-top: 31px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-v2-btn {
    min-height: 52px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 850;
    line-height: 1;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.hero-v2-btn:hover {
    transform: translateY(-2px);
}

.hero-v2-btn-primary {
    color: #ffffff;
    border-color: var(--green-800);
    background:
        linear-gradient(
            135deg,
            var(--green-800),
            var(--green-600)
        );
    box-shadow: 0 14px 30px rgba(18, 83, 62, 0.23);
}

.hero-v2-btn-primary:hover {
    background:
        linear-gradient(
            135deg,
            var(--green-700),
            var(--green-500)
        );
    box-shadow: 0 18px 38px rgba(18, 83, 62, 0.28);
}

.hero-v2-btn-secondary {
    color: var(--green-900);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-xs);
}

.hero-v2-btn-secondary:hover {
    border-color: var(--green-200);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.hero-v2-features {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 23px;
    color: #4d5d55;
    font-size: 0.86rem;
    font-weight: 750;
}

.hero-v2-features span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-v2-features b {
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    color: #ffffff;
    border-radius: 50%;
    background: var(--green-700);
    font-size: 0.68rem;
}

/* =========================================================
   HERO VISUAL
========================================================= */

.hero-v2-visual {
    position: relative;
    min-width: 0;
    min-height: 475px;
    padding: 31px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 36px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.88),
            rgba(234, 247, 241, 0.83)
        );
    box-shadow:
        0 30px 70px rgba(14, 66, 49, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
}

.hero-v2-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-v2-decoration-one {
    top: -65px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: rgba(238, 158, 85, 0.18);
}

.hero-v2-decoration-two {
    bottom: -55px;
    left: -48px;
    width: 155px;
    height: 155px;
    background: rgba(45, 140, 105, 0.13);
}

.hero-v2-summary {
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-xs);
}

.hero-v2-summary span,
.hero-v2-summary strong {
    display: block;
}

.hero-v2-summary span {
    color: var(--muted);
    font-size: 0.72rem;
}

.hero-v2-summary strong {
    margin-top: 2px;
    color: var(--green-950);
    font-size: 0.95rem;
}

.hero-v2-summary-number {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 16px;
    background:
        linear-gradient(
            145deg,
            var(--green-800),
            var(--green-600)
        );
    box-shadow: 0 10px 25px rgba(18, 83, 62, 0.2);
    font-size: 1.45rem;
    font-weight: 900;
}

.hero-v2-product {
    position: relative;
    z-index: 2;
    padding: 22px;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    border-radius: 23px;
    box-shadow: var(--shadow-sm);
}

.hero-v2-product + .hero-v2-product {
    margin-top: 16px;
}

.hero-v2-product-lele {
    border: 1px solid #cce8dc;
    background:
        linear-gradient(
            135deg,
            #e8f7f0,
            #ffffff
        );
}

.hero-v2-product-telur {
    margin-left: 58px;
    border: 1px solid #f2d9bb;
    background:
        linear-gradient(
            135deg,
            #fff2e2,
            #ffffff
        );
}

.hero-v2-product-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 20px;
}

.hero-v2-product-icon svg {
    width: 41px;
    height: 41px;
}

.hero-v2-product-lele .hero-v2-product-icon {
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            var(--green-800),
            var(--green-500)
        );
    box-shadow: 0 12px 25px rgba(18, 83, 62, 0.2);
}

.hero-v2-product-telur .hero-v2-product-icon {
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            var(--orange-600),
            var(--orange-500)
        );
    box-shadow: 0 12px 25px rgba(221, 119, 46, 0.2);
}

.hero-v2-product span {
    color: var(--muted);
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-v2-product h3 {
    margin: 4px 0 5px;
    color: var(--green-950);
    font-size: 1.25rem;
}

.hero-v2-product p {
    margin: 0;
    color: #69766f;
    font-size: 0.82rem;
    line-height: 1.6;
}

.hero-v2-owner {
    position: relative;
    z-index: 2;
    margin-top: 23px;
    padding-top: 19px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
}

.hero-v2-owner span {
    color: var(--muted);
    font-size: 0.76rem;
}

.hero-v2-owner strong {
    color: var(--green-900);
    font-size: 0.9rem;
    text-align: right;
}

/* Menghindari benturan margin dari hero lama */

.hero-v2 + .stats-section {
    margin-top: -34px;
}

/* =========================================================
   HERO TABLET
========================================================= */

@media (max-width: 1050px) {
    .hero-v2-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(365px, 0.84fr);
        gap: 40px;
    }

    .hero-v2-content h1 {
        font-size: clamp(2.7rem, 5.5vw, 4rem);
    }

    .hero-v2-visual {
        min-height: 450px;
        padding: 25px;
    }

    .hero-v2-product-telur {
        margin-left: 30px;
    }
}

/* =========================================================
   HERO MOBILE/TABLET
========================================================= */

@media (max-width: 900px) {
    .hero-v2 {
        padding: 58px 0 76px;
    }

    .hero-v2-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-v2-content {
        max-width: 760px;
    }

    .hero-v2-content h1 {
        max-width: 760px;
        font-size: clamp(2.7rem, 8vw, 4.15rem);
    }

    .hero-v2-visual {
        width: min(100%, 650px);
        min-height: 0;
        margin-inline: auto;
    }
}

/* =========================================================
   HERO MOBILE
========================================================= */

@media (max-width: 640px) {
    .hero-v2 {
        padding: 43px 0 62px;
    }

    .hero-v2-content h1 {
        font-size: clamp(2.35rem, 12vw, 3.15rem);
        line-height: 1.045;
    }

    .hero-v2-description {
        margin-top: 20px;
        font-size: 0.97rem;
    }

    .hero-v2-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-v2-btn {
        width: 100%;
    }

    .hero-v2-features {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .hero-v2-visual {
        padding: 19px;
        border-radius: 27px;
    }

    .hero-v2-summary {
        padding: 15px;
    }

    .hero-v2-summary-number {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 1.25rem;
    }

    .hero-v2-product {
        padding: 17px;
        grid-template-columns: 55px minmax(0, 1fr);
        gap: 14px;
        border-radius: 18px;
    }

    .hero-v2-product-telur {
        margin-left: 0;
    }

    .hero-v2-product-icon {
        width: 55px;
        height: 55px;
        border-radius: 16px;
    }

    .hero-v2-product-icon svg {
        width: 31px;
        height: 31px;
    }

    .hero-v2-product h3 {
        font-size: 1.05rem;
    }

    .hero-v2-product p {
        font-size: 0.75rem;
    }

    .hero-v2-owner {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .hero-v2-owner strong {
        text-align: left;
    }
}

/* =========================================================
   FINAL LAYOUT IMPROVEMENTS
========================================================= */

section[id] {
    scroll-margin-top: 105px;
}

/* Header lebih bersih */

.site-header {
    z-index: 100;
}

.nav-wrap {
    min-height: 84px;
}

.brand-copy {
    min-width: 0;
}

.main-nav {
    gap: 23px;
}

.main-nav .nav-link {
    position: relative;
    min-height: 84px;
    display: inline-flex;
    align-items: center;
    color: #3d4b44;
    font-weight: 800;
    white-space: nowrap;
}

/* Menghapus indikator lama agar tidak bertumpuk */

.main-nav .nav-link::after {
    position: absolute;
    right: 8%;
    bottom: 0;
    left: 8%;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: #1d7154;
    content: "";
    opacity: 0;
    transform: scaleX(0.35);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: #12533e;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.main-nav .nav-link.active {
    font-weight: 900;
}

.nav-order-button {
    margin-left: 3px;
}

/* Hero lebih proporsional */

.hm-hero {
    min-height: auto !important;
    padding: 76px 0 86px !important;
}

.hm-hero-grid {
    grid-template-columns:
        minmax(0, 1.02fr)
        minmax(390px, 0.88fr) !important;
    gap: 60px !important;
    align-items: center !important;
}

.hm-hero-content {
    max-width: 680px !important;
}

.hm-hero-title {
    max-width: 670px !important;
    font-size: clamp(
        2.8rem,
        4.1vw,
        4.35rem
    ) !important;
    line-height: 1.035 !important;
}

.hm-hero-description {
    max-width: 590px !important;
    font-size: 1.03rem !important;
    line-height: 1.8 !important;
}

.hm-business-panel {
    align-self: center;
    padding: 25px !important;
    border-radius: 31px !important;
}

.hm-panel-header {
    margin-bottom: 15px !important;
    padding: 16px 18px !important;
}

.hm-unit-card {
    padding: 19px !important;
}

.hm-unit-card + .hm-unit-card {
    margin-top: 14px !important;
}

.hm-unit-telur {
    margin-left: 35px !important;
}

.hm-panel-footer {
    margin-top: 18px !important;
    padding-top: 16px !important;
}

/* Footer */

.footer-description {
    max-width: 470px;
    margin-top: 21px;
    line-height: 1.8;
}

.footer-links {
    display: grid;
    gap: 9px;
}

.footer-contact {
    display: grid;
    gap: 16px;
}

.footer-contact > div {
    display: grid;
    gap: 3px;
}

.footer-contact span {
    color: #7f938b;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-contact strong,
.footer-contact a {
    color: #d9e9e1;
    font-size: 0.88rem;
    line-height: 1.65;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-bottom a {
    color: #9fd6bd;
    font-weight: 750;
}

/* Tablet */

@media (max-width: 1050px) {
    .main-nav {
        gap: 16px;
    }

    .hm-hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(355px, 0.82fr) !important;
        gap: 38px !important;
    }

    .hm-hero-title {
        font-size: clamp(
            2.65rem,
            5vw,
            3.75rem
        ) !important;
    }

    .hm-unit-telur {
        margin-left: 20px !important;
    }
}

/* Menu mobile */

@media (max-width: 920px) {
    .main-nav {
        top: 84px;
    }

    .main-nav .nav-link {
        min-height: 47px;
        padding: 0 11px !important;
        border-radius: 11px;
    }

    .main-nav .nav-link::after {
        top: 8px;
        right: auto;
        bottom: 8px;
        left: 0;
        width: 3px;
        height: auto;
        border-radius: 999px;
        transform: scaleY(0.35);
    }

    .main-nav .nav-link:hover::after,
    .main-nav .nav-link.active::after {
        transform: scaleY(1);
    }

    .main-nav .nav-link.active {
        background: #edf7f2;
    }

    .hm-hero {
        padding: 56px 0 73px !important;
    }

    .hm-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 43px !important;
    }

    .hm-business-panel {
        width: min(100%, 650px);
        margin-inline: auto;
    }

    .hm-unit-telur {
        margin-left: 35px !important;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }
}

/* Mobile */

@media (max-width: 640px) {
    section[id] {
        scroll-margin-top: 88px;
    }

    .nav-wrap {
        min-height: 74px;
    }

    .main-nav {
        top: 80px;
    }

    .hm-hero {
        padding: 42px 0 60px !important;
    }

    .hm-hero-title {
        font-size: clamp(
            2.25rem,
            11.5vw,
            3rem
        ) !important;
    }

    .hm-business-panel {
        padding: 18px !important;
        border-radius: 25px !important;
    }

    .hm-unit-card {
        padding: 16px !important;
    }

    .hm-unit-telur {
        margin-left: 0 !important;
    }
}
