/* ==========================================================================
   Fresh V Mart — stylesheet
   Palette drawn from the brand mark: deep mandi-green, warm gold trim,
   a tomato-red accent for the "fresh pick of the day", and a paper-bag cream.
   ========================================================================== */

:root {
    --forest: #0f3d22;
    --forest-dark: #082716;
    --forest-darker: #051a0e;
    --forest-pale: #e9f2ea;
    --forest-pale-2: #dcebe0;
    --gold: #e3bd5d;
    --gold-deep: #b9902f;
    --gold-pale: #faf1da;
    --tomato: #d9483a;
    --tomato-dark: #b8382c;
    --cream: #fbf8ef;
    --paper: #f5f0e2;
    --charcoal: #171f18;
    --text: #2a332b;
    --muted: #5f6b60;
    --border: #e3ddc9;
    --white: #ffffff;
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 8px 30px rgba(15,61,34,.10);
    --shadow-lg: 0 24px 60px rgba(15,61,34,.18);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 32px; }

h1, h2, h3, .display {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    line-height: 1.08;
    color: var(--forest-darker);
    letter-spacing: -0.01em;
}
em { font-style: italic; color: var(--tomato); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Mono', monospace;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--forest);
    background: var(--forest-pale);
    border: 1px solid var(--forest-pale-2);
    padding: 6px 14px;
    border-radius: 999px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tomato); }

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin: 14px 0 16px; }
.section-desc { color: var(--muted); font-size: 1.05rem; max-width: 620px; line-height: 1.6; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 48px; }
.section-head.center { display: flex; flex-direction: column; align-items: center; }

.tag { font-family: 'Space Mono', monospace; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- buttons ---------- */
.btn-primary, .btn-secondary, .btn-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--tomato); color: var(--white); box-shadow: 0 10px 26px rgba(217,72,58,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(217,72,58,.4); }
.btn-secondary { background: var(--forest); color: var(--white); }
.btn-secondary:hover { background: var(--forest-dark); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--border); color: var(--forest-darker); background: var(--white); }
.btn-ghost:hover { border-color: var(--forest); }

/* ==========================================================================
   HEADER
   ========================================================================== */
header {
    position: sticky; top: 0; z-index: 500;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 32px;
    background: rgba(251,248,239,.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .25s ease;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-mark img { width: 46px; height: 46px; object-fit: contain; }
.logo-text { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.25rem; color: var(--forest-darker); line-height: 1.1; }
.logo-text span { color: var(--tomato); }
.logo-sub { font-size: .68rem; color: var(--muted); letter-spacing: .04em; }

nav { display: flex; gap: 30px; }
nav a { font-size: .92rem; font-weight: 600; color: var(--text); position: relative; padding: 4px 0; }
nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--tomato); transition: width .2s ease; }
nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-call, .btn-wa {
    display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .85rem;
}
.btn-call { background: var(--forest-pale); color: var(--forest-darker); }
.btn-wa { background: #1fae4d; color: var(--white); }
.btn-call:hover, .btn-wa:hover { filter: brightness(1.05); }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 26px; }
.hamburger span { height: 2px; background: var(--forest-darker); border-radius: 2px; }

.mob-nav {
    display: none; flex-direction: column; position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: var(--cream); z-index: 480; padding: 24px 32px; gap: 4px; transform: translateY(-110%); transition: transform .3s ease;
}
.mob-nav.open { transform: translateY(0); }
.mob-nav a { padding: 16px 4px; font-size: 1.15rem; font-weight: 700; border-bottom: 1px solid var(--border); }

/* ==========================================================================
   HERO + "BASKET HUB" SLIDER  (signature element)
   ========================================================================== */
#hero {
    position: relative;
    padding: 32px 32px 0;
    background: var(--cream);
    overflow: hidden;
}
.hero-inner { position: relative; max-width: 1240px; margin: 0 auto; }
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
    min-height: 560px; position: relative;
}

/* ---- left copy panel (swaps per slide) ---- */
.hero-copy-stack { position: relative; }
.hero-copy {
    position: absolute; inset: 0 40px 0 0;
    opacity: 0; transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease;
    pointer-events: none;
    display: flex; flex-direction: column; justify-content: center;
}
.hero-copy.active { opacity: 1; transform: translateY(0); pointer-events: auto; position: relative; }
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-copy h1 {
    font-size: clamp(2rem, 3.4vw, 2.85rem); margin-bottom: 16px; color: var(--forest-darker);
}
.hero-copy h1 em { color: var(--forest); font-style: italic; }
.hero-copy p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; max-width: 460px; margin-bottom: 30px; }
.hero-btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- hub visual ---- */
.hero-hub-wrap { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1/1; margin: 0 auto; }
.hub-slide { position: absolute; inset: 0; opacity: 0; transform: scale(.96); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.hub-slide.active { opacity: 1; transform: scale(1); pointer-events: auto; z-index: 2; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-lines line { stroke: var(--forest); stroke-width: 2; stroke-dasharray: 4 5; opacity: .55; }
.hub-lines circle.joint { fill: var(--gold-deep); }

.hub-center {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
    width: 33%; aspect-ratio: 1/1; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--forest); box-shadow: 0 16px 40px rgba(15,61,34,.35), inset 0 0 0 6px var(--forest-dark);
    border: 3px solid var(--gold); text-align: center; padding: 6%;
}
.hub-center span {
    font-family: 'Fraunces', serif; font-weight: 700; color: var(--white); text-transform: uppercase;
    font-size: 1.3rem; letter-spacing: .02em; text-align: center; line-height: 1.1;
}

.hub-node {
    position: absolute; left: var(--x); top: var(--y); transform: translate(-50%,-50%);
    width: 23%; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
}
.hub-node .avatar {
    width: 68%; aspect-ratio: 1/1; border-radius: 50%; background: var(--white);
    border: 1px solid var(--border); box-shadow: var(--shadow);
    display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.hub-node .label { font-size: .82rem; font-weight: 700; color: var(--forest-darker); }

/* ---- pagination dots (shared, centered under hero grid) ---- */
.hero-dots { display: flex; justify-content: center; gap: 9px; padding: 30px 0 26px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--border); transition: all .25s ease; }
.hero-dots button.active { background: var(--forest); width: 26px; border-radius: 5px; }

/* ---- stitched divider ---- */
.hero-divider { display: block; width: 100%; height: 34px; }
.hero-divider path { stroke: var(--gold-deep); stroke-width: 2; stroke-dasharray: 7 7; fill: none; opacity: .55; }

/* ---- scroll-to-top button ---- */
.scroll-top {
    position: fixed; bottom: 98px; right: 26px; z-index: 900;
    width: 46px; height: 46px; border-radius: 14px; background: var(--forest-darker); color: var(--gold);
    display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
    box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}
.scroll-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

.hero-stats {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 1px;
    background: var(--border); margin: 0 0 40px; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border);
}
.hero-stats .stat { background: var(--white); padding: 22px 18px; text-align: center; }
.hero-stats .stat b { display: block; font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--forest); }
.hero-stats .stat span { font-size: .78rem; color: var(--muted); }

/* ==========================================================================
   CATEGORY / BASKET GRID
   ========================================================================== */
#categories { background: var(--cream); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px 26px; position: relative; overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--forest-pale-2); }
.cat-icon {
    width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: var(--forest-pale); font-size: 1.6rem; margin-bottom: 18px;
}
.cat-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.cat-card p { color: var(--muted); font-size: .92rem; line-height: 1.55; margin-bottom: 16px; }
.cat-items { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-items span {
    font-family: 'Space Mono', monospace; font-size: .72rem; background: var(--paper); color: var(--forest);
    padding: 5px 10px; border-radius: 6px; border: 1px solid var(--border);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
#about { background: var(--forest-pale); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
.about-card {
    background: var(--forest); border-radius: var(--radius-lg); padding: 40px; color: var(--white);
    box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.about-card::after {
    content: ""; position: absolute; width: 240px; height: 240px; right: -70px; bottom: -70px; border-radius: 50%;
    background: radial-gradient(circle, rgba(227,189,93,.25), transparent 70%);
}
.about-card .leaf-row { display: flex; gap: 14px; margin-bottom: 22px; }
.about-card .leaf-row span { font-size: 1.4rem; }
.about-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 12px; }
.about-card p { color: rgba(255,255,255,.75); line-height: 1.7; font-size: .96rem; }
.about-list { display: flex; flex-direction: column; gap: 22px; }
.about-item { display: flex; gap: 16px; align-items: flex-start; }
.about-item .num { font-family: 'Space Mono', monospace; color: var(--tomato); font-weight: 700; font-size: .95rem; padding-top: 3px; }
.about-item h4 { font-size: 1.08rem; margin-bottom: 6px; }
.about-item p { color: var(--muted); font-size: .93rem; line-height: 1.6; }

/* ==========================================================================
   FEATURES
   ========================================================================== */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; text-align: left; }
.feat-card .fi { font-size: 1.7rem; margin-bottom: 14px; display: inline-block; }
.feat-card h4 { font-size: 1.02rem; margin-bottom: 6px; }
.feat-card p { color: var(--muted); font-size: .88rem; line-height: 1.55; }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
#how { background: var(--forest-darker); color: var(--white); }
#how .section-title, #how .tag { color: var(--white); }
#how .section-desc { color: rgba(255,255,255,.65); }
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; position: relative; }
.how-step { background: rgba(255,255,255,.04); border: 1px solid rgba(227,189,93,.18); border-radius: var(--radius); padding: 30px 26px; }
.how-step .step-num { font-family: 'Fraunces', serif; font-size: 2.4rem; color: var(--gold); opacity: .5; }
.how-step h4 { color: var(--white); font-size: 1.15rem; margin: 10px 0 8px; }
.how-step p { color: rgba(255,255,255,.65); font-size: .92rem; line-height: 1.6; }
.how-cta { text-align: center; margin-top: 40px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.test-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.test-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.test-stars { color: var(--gold-deep); font-size: .9rem; margin-bottom: 14px; letter-spacing: 2px; }
.test-card p { font-size: .95rem; line-height: 1.65; color: var(--text); margin-bottom: 20px; }
.test-who { display: flex; align-items: center; gap: 12px; }
.test-avatar {
    width: 42px; height: 42px; border-radius: 50%; background: var(--forest); color: var(--gold);
    display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-weight: 700;
}
.test-who b { display: block; font-size: .92rem; }
.test-who span { font-size: .78rem; color: var(--muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
#faq { background: var(--forest-pale); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; font-weight: 700; font-size: .98rem; }
.faq-q .plus { font-size: 1.3rem; color: var(--tomato); transition: transform .25s ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 220px; }
.faq-a p { padding: 0 24px 20px; color: var(--muted); font-size: .92rem; line-height: 1.6; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
#contact { background: var(--cream); }
.contact-panel {
    background: var(--forest); border-radius: var(--radius-lg); padding: 56px; color: var(--white);
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.contact-panel::before {
    content: ""; position: absolute; width: 320px; height: 320px; left: -100px; top: -120px; border-radius: 50%;
    background: radial-gradient(circle, rgba(227,189,93,.18), transparent 70%);
}
.contact-panel h2 { color: var(--white); font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 14px; }
.contact-panel p.lead { color: rgba(255,255,255,.72); line-height: 1.7; margin-bottom: 26px; max-width: 460px; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row .ii { width: 40px; height: 40px; border-radius: 10px; background: rgba(227,189,93,.14); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.info-row b { display: block; font-size: .95rem; }
.info-row span { font-size: .85rem; color: rgba(255,255,255,.62); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { background: var(--forest-darker); color: rgba(255,255,255,.55); padding: 56px 32px 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand b { color: var(--white); font-family: 'Fraunces', serif; font-size: 1.15rem; }
.footer-col h5 { color: var(--white); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a, .footer-col li { display: block; font-size: .88rem; margin-bottom: 10px; color: rgba(255,255,255,.55); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; font-size: .8rem; flex-wrap: wrap; gap: 10px; }

/* ---------- whatsapp float ---------- */
.wa-float {
    position: fixed; bottom: 26px; right: 26px; z-index: 900;
    width: 58px; height: 58px; border-radius: 50%; background: #1fae4d; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
    box-shadow: 0 12px 28px rgba(31,174,77,.4);
    animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(31,174,77,.45)} 70%{box-shadow:0 0 0 16px rgba(31,174,77,0)} 100%{box-shadow:0 0 0 0 rgba(31,174,77,0)} }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
    nav { display: none; }
    .hamburger { display: flex; }
    .header-actions .btn-call span, .header-actions .btn-wa span { display: none; }
    .mob-nav { display: flex; }
    .about-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: repeat(2,1fr); }
    .feat-grid { grid-template-columns: repeat(2,1fr); }
    .how-grid { grid-template-columns: 1fr; }
    .test-grid { grid-template-columns: 1fr; }
    .contact-panel { grid-template-columns: 1fr; padding: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-grid { grid-template-columns: 1fr; gap: 10px; }
    .hero-copy-stack { order: 2; }
    .hero-copy {   inset: auto; padding: 10px 0 30px; text-align: center; }
    .hero-copy p { margin-left: auto; margin-right: auto; }
    .hero-btn-row { justify-content: center; }
    .hero-hub-wrap { order: 1; max-width: 400px; }
    .hero-stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
    .container { padding: 0 20px; }
    #hero { padding: 32px 16px 0; }
    .cat-grid { grid-template-columns: 1fr; }
    .feat-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-hub-wrap { max-width: 320px; }
    .hub-node .label { font-size: .68rem; }
    .hub-node .avatar { font-size: 1.5rem; }
    .hub-center span { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hub-slide, .hero-copy, .hero-dots button, .wa-float, .scroll-top { transition: none; animation: none; }
}

/* TERMS & CONDITIONS */


.policy-content {
    max-width: 1000px;
    margin: auto;
}

.policy-box {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

    .policy-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(46,125,50,0.1);
    }

    .policy-box h3 {
        color: #2e7d32;
        margin-bottom: 15px;
        font-size: 24px;
        font-family: 'Baloo 2', cursive;
    }

    .policy-box p {
        color: #555;
        line-height: 1.8;
        margin-bottom: 15px;
        font-family: 'Nunito', sans-serif;
    }

    .policy-box ul {
        padding-left: 20px;
    }

        .policy-box ul li {
            margin-bottom: 12px;
            color: #444;
            line-height: 1.7;
            font-family: 'Nunito', sans-serif;
        }

.contact-box {
    background: #f3f8f3;
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
}

    .contact-box p {
        margin-bottom: 8px;
    }

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

    .section-title h2 {
        font-size: 42px;
        color: #2e7d32;
        margin-bottom: 10px;
        font-family: 'Baloo 2', cursive;
    }

    .section-title p {
        color: #777;
        font-size: 16px;
        font-family: 'Nunito', sans-serif;
    }

@media(max-width:768px) {
    .section-title h2 {
        font-size: 32px;
    }

    .policy-box {
        padding: 22px;
    }

        .policy-box h3 {
            font-size: 21px;
        }
}
 