/* YOTA FOODS LIMITED – public website */
:root {
  --green: #1f4d2b;
  --green-2: #2f6b3a;
  --leaf: #4c9a2a;
  --brown: #5b3a29;
  --gold: #d99a29;
  --cream: #f7f3ea;
  --sand: #efe7d6;
  --ink: #1d2420;
  --muted: #5f6b63;
  --line: #e3dccb;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 77, 43, .10);
  --serif: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--green-2); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--green); margin: 0 0 .5em; }
h3, h4 { font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; background: var(--green); color: #fff; font-weight: 600; border: 2px solid var(--green); cursor: pointer; font: inherit; font-weight: 600; transition: .2s; }
.btn:hover { background: var(--green-2); color: #fff; transform: translateY(-1px); }
.btn-accent { background: var(--gold); border-color: var(--gold); color: #2b1c0f; }
.btn-accent:hover { background: #c4851a; border-color: #c4851a; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; color: var(--green); }
.btn-outline { background: transparent; color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }

/* top bar & header */
.topbar { background: var(--green); color: #dfeccf; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: #dfeccf; margin-left: 1.2rem; }
.topbar a:hover { color: var(--gold); }
.site-header { background: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand img { object-fit: contain; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--green); }
.brand strong { display: block; font-weight: 800; font-size: 1.3rem; line-height: 1; letter-spacing: -.02em; }
.brand small { display: block; font-size: .75rem; color: var(--muted); letter-spacing: .04em; }
.brand-light strong { color: #fff; }
.brand-light small { color: #b9cdb5; }
.main-nav > ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: .55rem .6rem; color: var(--ink); font-weight: 600; font-size: .9rem; border-radius: 8px; white-space: nowrap; }
.main-nav li.active > a, .main-nav a:hover { color: var(--green-2); background: #eef4e8; }
.main-nav .caret { font-size: .7em; }
.main-nav .sub { list-style: none; margin: 0; padding: .4rem; position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; min-width: 48px; min-height: 48px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-toggle span { transition: .25s; }
.sub-toggle { display: none; background: none; border: 0; font-size: 1.1rem; padding: 0 1rem; cursor: pointer; color: var(--green); min-height: 48px; }
.nav-contact { display: none; }
.nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(10,25,15,.45); z-index: 60; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--green); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--green); border-radius: 2px; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% 10%, #2f6b3a 0, transparent 60%), linear-gradient(135deg, #173d22, #1f4d2b 55%, #3b2a1c); color: #fff; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding: 5rem 0; }
.hero h1 { color: #fff; }
.slider .lead, .hero .lead { color: #dfeccf; font-size: 1.15rem; max-width: 34em; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: .6rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-art { position: relative; height: 380px; }
.hero-img { position: absolute; height: auto; border-radius: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.35); border: 6px solid rgba(255,255,255,.12); }
.hero-img.a { width: 62%; top: 0; right: 0; }
.hero-img.b { width: 52%; bottom: 0; left: 0; }
.hero-img.c { width: 40%; bottom: 20px; right: 8%; }

/* slider */
.slider { position: relative; background: radial-gradient(1200px 500px at 85% 10%, #2f6b3a 0, transparent 60%), linear-gradient(135deg, #173d22, #1f4d2b 55%, #3b2a1c); color: #fff; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; display: flex; align-items: center; }
.slide.active { position: relative; opacity: 1; visibility: visible; }
.slide { min-height: 520px; }
.slide.has-image { background: linear-gradient(90deg, rgba(16,40,22,.88) 0%, rgba(16,40,22,.55) 55%, rgba(16,40,22,.15) 100%), var(--slide-img) center / cover no-repeat; }
.slide.has-image .hero-inner { grid-template-columns: 1fr; }
.slide.has-image .hero-text { max-width: 640px; }
.hero-title { color: #fff; font-size: clamp(2rem, 4.5vw, 3.3rem); }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.14); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; z-index: 2; }
.slider-btn:hover { background: rgba(255,255,255,.3); }
.slider-btn.prev { left: 16px; } .slider-btn.next { right: 16px; }
.slider-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: .5rem; z-index: 2; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.slider-dots button.on { background: var(--gold); width: 28px; border-radius: 99px; }

/* stats */
.stats-band { background: var(--white); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 1.8rem 0; gap: 1rem; }
.stats strong { display: block; font-weight: 800; font-size: 2rem; color: var(--green); }
.stats span { color: var(--muted); font-size: .9rem; }

/* sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--sand); }
.section-head { margin-bottom: 2rem; }
.section-head.row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
.split-wide { grid-template-columns: 1.3fr .7fr; align-items: center; }
.page-hero { background: linear-gradient(135deg, #173d22, #2f6b3a); color: #fff; padding: 3.5rem 0 3rem; }
.page-hero.has-image { background: linear-gradient(90deg, rgba(16,40,22,.9), rgba(16,40,22,.55)), var(--hero-img) center / cover no-repeat; padding: 5rem 0 4.5rem; }
.about-img { border-radius: var(--radius); margin-top: 1.5rem; box-shadow: var(--shadow); }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .lead { color: #dfeccf; max-width: 44em; margin: 0; }
.crumbs { font-size: .85rem; color: #b9cdb5; margin-bottom: .8rem; }
.crumbs a { color: inherit; }
.crumbs span { margin: 0 .3em; opacity: .6; }
.section .crumbs, .article .crumbs { color: var(--muted); }
.prose p { color: #34403a; }
.cat-illus { border-radius: var(--radius); box-shadow: var(--shadow); }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.cat-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); transition: .2s; display: flex; flex-direction: column; }
.cat-card:hover { transform: translateY(-4px); color: var(--ink); }
.cat-card img { aspect-ratio: 4/3; object-fit: cover; }
.cat-card > div { padding: 1rem 1.1rem 1.2rem; }
.cat-card p { color: var(--muted); font-size: .9rem; margin-bottom: .6rem; }
.link { font-weight: 600; color: var(--green-2); }

/* products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product-media img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .4s; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-media { overflow: hidden; }
.product-body { padding: 1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.1rem; margin: .3rem 0 .4rem; }
.product-body h3 a { color: var(--green); }
.product-body p { color: var(--muted); font-size: .9rem; flex: 1; }
.product-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: .7rem; }
.price { font-weight: 700; color: var(--brown); }
.price small { font-weight: 400; color: var(--muted); }
.price.big { font-size: 1.6rem; font-weight: 800; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--leaf); }
.stock { font-size: .78rem; font-weight: 600; padding: .2em .7em; border-radius: 99px; }
.stock.in { background: #e3f1d9; color: #2f6b3a; display: inline-block; }
.stock.out { background: #fbe4dc; color: #a23b1f; display: inline-block; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.product-detail > img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.enquiry { background: var(--white); padding: 1.4rem; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 1.5rem; display: grid; gap: .7rem; }

/* forms */
input, textarea, select { width: 100%; padding: .75em .9em; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--leaf); border-color: transparent; }
.contact-form { display: grid; gap: 1rem; }
.contact-form label { font-weight: 500; font-size: .92rem; display: grid; gap: .35rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.notice { padding: .9rem 1.1rem; border-radius: 10px; margin: 1rem 0; }
.notice-success { background: #e3f1d9; color: #1f4d2b; }
.notice-danger { background: #fbe4dc; color: #8a2a12; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; }
.info-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; margin-bottom: 1.5rem; }
.info-card.bank { border-top: 5px solid var(--gold); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0; font-size: .93rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); margin-top: 2rem; }

/* about */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.5rem 0; }
.mv.three { grid-template-columns: repeat(3, 1fr); margin: 0; }
.mv h4 { margin-bottom: .3em; }
.card-plain { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 1.6em; position: relative; margin-bottom: .4em; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--leaf); font-weight: 700; }
.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.dept-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border-top: 5px solid var(--c); }
.dept-card p { color: var(--muted); margin: 0; font-size: .93rem; }
.links-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.link-tile { background: var(--green); color: #fff; padding: 2rem; border-radius: var(--radius); }
.link-tile h3 { color: #fff; }
.link-tile p { color: #cfe0c8; margin: 0; }
.link-tile:hover { background: var(--green-2); color: #fff; }
.garden-card { background: var(--green); color: #e8f0e2; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.garden-card h3 { color: #fff; }
.garden-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; }
.garden-list li { display: flex; gap: .8rem; align-items: center; background: rgba(255,255,255,.07); padding: .7rem .9rem; border-radius: 10px; }
.garden-list strong { display: block; color: #fff; font-size: .95rem; }
.garden-list small { color: #b9cdb5; }
.pill { font-size: .7rem; font-weight: 700; padding: .25em .7em; border-radius: 99px; text-transform: uppercase; }
.pill-brown { background: #d9b48a; color: #3b2418; }
.pill-green { background: #9cc65b; color: #1f3d14; }

/* team & journals */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.team-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; text-align: center; }
.team-card img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; margin: 0 auto 1rem; border: 4px solid var(--sand); }
.team-card .role { display: block; color: var(--gold); font-weight: 600; font-size: .88rem; margin-bottom: .6rem; }
.team-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.journal-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.journal-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.journal-body { padding: 1.2rem; }
.journal-body h3 a { color: var(--green); }
.journal-body p { color: var(--muted); font-size: .92rem; }
.chips-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chips-filter a { padding: .4em 1em; border-radius: 99px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-size: .9rem; }
.chips-filter a.on { background: var(--green); color: #fff; border-color: var(--green); }
.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 2rem; }
.pager a { padding: .4em .9em; border-radius: 8px; background: var(--white); border: 1px solid var(--line); }
.pager a.on { background: var(--green); color: #fff; }
.article h1 { margin-top: .3em; }
.article .meta { color: var(--muted); }
.article-cover { border-radius: var(--radius); margin: 1.5rem 0 2rem; width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.article .prose p { font-size: 1.07rem; }
.more { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.5rem; }
.more ul { padding-left: 1.2em; }
.more small { color: var(--muted); }

/* tables */
.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: #eef4e8; color: var(--green); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.table .num { text-align: right; }

/* traceability */
.trace-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2.5rem; align-items: start; }
.trace-steps { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 2rem; }
.trace-steps span { flex: 1; min-width: 110px; text-align: center; padding: .6rem .4rem; border-radius: 10px; background: var(--white); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--muted); }
.trace-steps span.done { background: var(--green); color: #fff; border-color: var(--green); }
.trace-timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--leaf); }
.trace-timeline li { position: relative; padding: 0 0 1.4rem 1.4rem; }
.trace-timeline li::before { content: ''; position: absolute; left: -9px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--white); border: 3px solid var(--leaf); }
.trace-timeline time { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.trace-timeline p { margin: .2rem 0 0; color: #34403a; }
.trace-card img { border-radius: 10px; margin-bottom: 1rem; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.trace-card .btn { margin-top: 1.2rem; }
.badge-ok { display: inline-block; background: #e3f1e1; color: var(--green); font-weight: 800; padding: .1rem .55rem; border-radius: 999px; font-size: .85rem; letter-spacing: .03em; }
.trace-card .map-btn { display: block; text-align: center; margin-top: .8rem; }
.trace-search { display: flex; gap: .6rem; }

/* CTA & footer */
.cta { background: linear-gradient(120deg, var(--brown), #3b2418); color: #f1e4d6; padding: 3rem 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .2em; }
.cta p { margin: 0; }
.site-footer { background: #142e1b; color: #cfe0c8; padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 1rem; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: #cfe0c8; }
.site-footer a:hover { color: var(--gold); }
.site-footer address { font-style: normal; line-height: 1.8; }
.muted-light { color: #9fb89a; margin-top: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.1rem 0; font-size: .85rem; color: #8aa585; }

/* scroll reveal (only when JS runs; respects reduced motion) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } .slide { transition: none; } }
.site-header.scrolled { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
img { height: auto; }

/* partners, projects, foundation, services */
.lead-dark { color: var(--muted); font-size: 1.08rem; max-width: 46em; }
.center-text { text-align: center; margin-inline: auto; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }
.partner-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; color: var(--ink); }
a.partner-card:hover { color: var(--ink); transform: translateY(-3px); }
.partner-card img { max-height: 60px; width: auto; object-fit: contain; align-self: flex-start; }
.partner-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.partner-initials { width: 56px; height: 56px; border-radius: 14px; background: #eef4e8; color: var(--green); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }
.links-row.three { grid-template-columns: repeat(3, 1fr); }
.card-media { position: relative; display: block; }
.status-pill { position: absolute; top: 12px; left: 12px; background: var(--green); color: #fff; font-size: .72rem; font-weight: 700; padding: .25em .8em; border-radius: 99px; text-transform: uppercase; letter-spacing: .05em; }
.status-pill.inline { position: static; display: inline-block; margin-bottom: .5rem; }
.status-pill.st-planned { background: var(--gold); color: #2b1c0f; } .status-pill.st-completed { background: var(--brown); }
.project-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; margin: 0 0 1.8rem; }
.project-facts div { background: var(--white); border-radius: 12px; padding: .8rem 1rem; box-shadow: var(--shadow); }
.project-facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.project-facts dd { margin: .2rem 0 0; font-weight: 700; color: var(--green); }
.focus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.focus-card { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.focus-no { font-weight: 800; color: var(--gold); font-size: 1.4rem; }
.focus-card p { color: var(--muted); margin: 0; }
.service-index { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 1.5rem 0 2.5rem; }
.service-index a { background: var(--white); border: 1px solid var(--line); border-radius: 99px; padding: .5em 1em; color: var(--ink); font-size: .9rem; }
.service-index a:hover { border-color: var(--green); color: var(--green); }
.service-list { display: grid; gap: 1.5rem; }
.service-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; display: grid; grid-template-columns: 120px 1fr; gap: 1.6rem; scroll-margin-top: 100px; }
.service-card img { width: 100%; border-radius: 12px; object-fit: cover; aspect-ratio: 1; }
.service-card h2 { font-size: 1.4rem; }
.service-icon { width: 96px; height: 96px; border-radius: 24px; background: #eef4e8; display: grid; place-items: center; font-size: 2.6rem; }
.service-summary { font-weight: 600; color: var(--green-2); }
.service-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }
.price-note { font-weight: 700; color: var(--brown); }

/* mobile quick-contact bar */
.mobile-cta { display: none; }

/* responsive */
@media (max-width: 1240px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1060px) {
  /* slide-in drawer navigation */
  .nav-toggle { display: block; position: relative; z-index: 62; }
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); background: #fff; z-index: 61; transform: translateX(100%); transition: transform .3s ease;
              overflow-y: auto; padding: 5rem 1rem 6rem; box-shadow: -10px 0 40px rgba(0,0,0,.18); display: flex; flex-direction: column; gap: 1rem; }
  .main-nav.open { transform: none; }
  .main-nav > ul { flex-direction: column; gap: .15rem; }
  .main-nav a { padding: .85rem 1rem; font-size: 1.02rem; }
  .main-nav .has-sub { display: grid; grid-template-columns: 1fr auto; }
  .main-nav .sub-toggle { display: block; }
  .main-nav .sub { grid-column: 1 / -1; position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 .3rem 1rem; display: none; min-width: 0; }
  .main-nav .has-sub.open .sub, .main-nav .has-sub.active .sub { display: block; }
  .main-nav .has-sub:hover .sub { transform: none; }
  .nav-contact { display: block; }
  .nav-backdrop.show { display: block; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 960px) {
  .hero-inner, .split, .split-wide, .product-detail, .contact-grid, .trace-grid { grid-template-columns: 1fr; }
  .slider-btn { display: none; }
  .hero-art { height: 300px; }
  .journal-grid, .dept-grid, .mv.three { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .mobile-cta { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff;
                box-shadow: 0 -4px 18px rgba(0,0,0,.12); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-cta a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .55rem .2rem; font-size: .72rem; font-weight: 700; color: var(--green); min-height: 56px; justify-content: center; }
  .mobile-cta span { font-size: 1.2rem; }
  body { padding-bottom: 64px; }
  .service-card { grid-template-columns: 1fr; padding: 1.3rem; }
  .service-icon { width: 64px; height: 64px; font-size: 1.8rem; border-radius: 16px; }
  .links-row.three { grid-template-columns: 1fr; }
  .header-inner { min-height: 64px; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 1.15rem; }
  .slide { min-height: 0; }
  .slide .hero-inner { padding: 2.5rem 0 3.5rem; }
  .hero-title { font-size: clamp(1.75rem, 8vw, 2.4rem); }
  .slider .lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .slide .hero-art { display: none; }
  .btn { min-height: 46px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .product-body { padding: .8rem; }
  .product-body p { display: none; }
  .product-foot { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .table th, .table td { padding: .6rem .7rem; font-size: .9rem; }
  input, textarea, select { font-size: 16px; }
}
@media (max-width: 640px) {
  .topbar-inner > span:first-child { display: none; }
  .topbar a { margin: 0 1rem 0 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cat-grid, .journal-grid, .dept-grid, .mv, .mv.three, .links-row, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 3rem 0; }
  .hero-art { height: 220px; }
  .section { padding: 3rem 0; }
}

/* logo size & body colour (set in Website → Branding) */
.site-header .brand img { width: calc(48px * var(--logo-scale, 1)); height: calc(48px * var(--logo-scale, 1)); }
.site-footer .brand img { width: calc(44px * var(--logo-scale, 1)); height: calc(44px * var(--logo-scale, 1)); }
@media (max-width: 900px) { .site-header .brand img { width: calc(40px * var(--logo-scale, 1)); height: calc(40px * var(--logo-scale, 1)); } }

/* footer extras */
.social-links { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1rem 0 0; }
.social-links a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #e4efe0; transition: .2s; }
.social-links a:hover { background: var(--gold); color: #2b1c0f; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: .6rem 1.5rem; flex-wrap: wrap; }
.footer-bottom .maintainer a { color: #e4efe0; font-weight: 700; }
.footer-bottom .maintainer a:hover { color: var(--gold); }

/* WhatsApp floating button (contact page) */
.wa-float { position: fixed; right: 18px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: .5rem; background: #25d366; color: #fff; border-radius: 999px;
  padding: .7rem 1.1rem .7rem .8rem; box-shadow: 0 10px 26px rgba(0,0,0,.22); font-weight: 700; animation: wa-pop .5s ease both .6s; }
.wa-float:hover { color: #fff; background: #1ebe5b; transform: translateY(-2px); }
@keyframes wa-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .wa-float { bottom: 76px; right: 14px; padding: .8rem; } .wa-float span { display: none; } }

/* cart & shop */
.topbar .cart-btn { position: relative; display: inline-flex; align-items: center; gap: .35rem; color: #fff; font-weight: 700; padding: .1rem .7rem .1rem .55rem; border-radius: 999px; background: rgba(255,255,255,.12); }
.topbar .cart-btn:hover { background: var(--gold); color: #2b1c0f; }
.topbar-links { display: inline-flex; align-items: center; flex-wrap: wrap; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; border-radius: 999px; background: var(--gold); color: #2b1c0f; font-size: .7rem; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }
.cart-count[hidden] { display: none; }
.add-cart { padding: .45em .9em; font-size: .85rem; }
.add-cart.added { background: var(--leaf); border-color: var(--leaf); }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2rem; align-items: start; }
.shop-tools { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.4rem; }
.shop-tools input[type=search] { flex: 1; min-width: 200px; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: #fff; }
.shop-chip { font: inherit; padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .9rem; font-weight: 600; cursor: pointer; }
.shop-chip.on { background: var(--green); color: #fff; border-color: var(--green); }
.cart-panel { position: sticky; top: 96px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; }
.cart-panel h2 { font-size: 1.35rem; }
.cart-lines { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; max-height: 320px; overflow: auto; }
.cart-lines li { display: grid; grid-template-columns: 48px 1fr auto; gap: .2rem .6rem; border-bottom: 1px solid var(--line); padding-bottom: .6rem; font-size: .92rem; }
.cart-lines .qty { display: inline-flex; align-items: center; gap: .3rem; }
.cart-lines .qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 800; color: var(--green); }
.cart-lines .rm { background: none; border: 0; color: #b3261e; cursor: pointer; font-size: .8rem; }
.cart-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.1rem; color: var(--green); margin-bottom: 1rem; }
.cart-empty { color: var(--muted); }
.checkout-form { display: grid; gap: .7rem; }
.checkout-form label { display: grid; gap: .25rem; font-size: .88rem; font-weight: 600; }
.checkout-form input, .checkout-form textarea { padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.checkout-form .btn { justify-content: center; }
.wa-btn { background: #25d366; border-color: #25d366; }
.wa-btn:hover { background: #1ebe5b; border-color: #1ebe5b; }
.order-done { text-align: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.5rem 1.5rem; }
@media (max-width: 1000px) { .shop-layout { grid-template-columns: 1fr; } .cart-panel { position: static; } }
.brand small { white-space: nowrap; }
.checkout-form label small { display: inline; font-weight: 400; color: var(--muted); }
@media (min-width: 1061px) and (max-width: 1200px) { .main-nav a { padding: .5rem .5rem; font-size: .92rem; } }
@media (max-width: 1060px) { .main-nav:not(.open) { box-shadow: none; visibility: hidden; transition: transform .3s ease, visibility 0s .3s; } .main-nav.open { visibility: visible; transition: transform .3s ease; } }

.cart-lines li > img, .cart-lines li > .no-img { grid-row: span 2; width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--sand); }
.cart-lines li > .qty { grid-column: 2; }

/* product photo gallery */
.product-media { position: relative; display: block; }
.photo-badge { position: absolute; right: .6rem; bottom: .6rem; background: rgba(20, 46, 27, .78); color: #fff; font-size: .75rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; }
.gallery { position: relative; display: grid; gap: .7rem; min-width: 0; }
.gallery-main-img, .gallery-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--sand); display: block; }
.gallery-main { position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); display: block; width: 100%; }
.gallery-main img { transition: opacity .25s; }
.gallery-main img.fading { opacity: .25; }
.gallery-count { position: absolute; right: .8rem; top: .8rem; background: rgba(20, 46, 27, .78); color: #fff; font-size: .8rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; }
.gallery-nav { position: absolute; top: calc((100% - 92px) / 2); transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--green);
  font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.15); display: grid; place-items: center; padding-bottom: 4px; }
.gallery-nav.prev { left: .7rem; } .gallery-nav.next { right: .7rem; }
.gallery-thumbs { display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .2rem; scrollbar-width: thin; }
.gallery-thumbs button { flex: 0 0 82px; height: 62px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--sand); scroll-snap-align: start; opacity: .7; transition: .2s; }
.gallery-thumbs button.on, .gallery-thumbs button:hover { border-color: var(--green); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-caption { margin: 0; font-size: .9rem; color: var(--muted); min-height: 1.2em; }
.gallery-caption:empty { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 18, 12, .94); display: grid; place-items: center; padding: 3.5rem 1rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, calc(100vw - 2rem)); max-height: calc(100vh - 8rem); max-height: calc(100dvh - 8rem); object-fit: contain; border-radius: 8px; }
.lightbox .lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; display: grid; place-items: center; }
.lightbox .lb-btn:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-close { top: 1rem; right: 1rem; font-size: 1.4rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); } .lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-cap { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #e4efe0; font-size: .9rem; }
@media (max-width: 640px) { .gallery-nav { width: 38px; height: 38px; font-size: 1.5rem; } .gallery-thumbs button { flex-basis: 68px; height: 52px; } }
.cart-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.cart-row .add-cart { padding: .8em 1.4em; font-size: 1rem; }
.checkout-form label { display: block; }
.checkout-form label input, .checkout-form label textarea { display: block; width: 100%; margin-top: .25rem; }
.garden-thumb { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }

/* header: logo on the left, bold menu on the right */
.header-inner { justify-content: flex-start; gap: 1.5rem; }
.main-nav { margin-left: auto; }
.main-nav > ul { gap: .35rem; }
.main-nav > ul > li > a { font-weight: 800; font-size: .98rem; letter-spacing: -.005em; }
.main-nav .sub a { font-weight: 700; }
.main-nav .has-sub > a::after { content: ' ▾'; font-size: .7em; }
.main-nav .sub { left: auto; right: 0; }
.main-nav > ul > li:first-child .sub, .main-nav > ul > li:nth-child(2) .sub, .main-nav > ul > li:nth-child(3) .sub { left: 0; right: auto; }
@media (max-width: 1060px) { .nav-toggle { margin-left: auto; } .main-nav .has-sub > a::after { content: ''; } }
@media (max-width: 640px) { .topbar-links a[href^="mailto:"] { display: none; } .topbar-inner { justify-content: flex-end; } }

/* home: core values box */
.values-list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .7rem; }
.values-list li { display: flex; gap: .9rem; align-items: flex-start; background: rgba(255,255,255,.07); padding: .8rem 1rem; border-radius: 12px; }
.values-num { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #2b1c0f; font-weight: 800; display: grid; place-items: center; }
.values-list strong { display: block; color: #fff; font-size: 1rem; }
.values-list small { display: block; color: #cfe0c8; font-size: .88rem; line-height: 1.45; margin-top: 2px; }

/* ---------- Design settings (IT → Website Information → Design & branding) ---------- */
body { font-size: var(--base-size, 16px); }
h1, h2, h3, h4 { color: var(--heading, var(--green)); }
a { color: var(--link, var(--green-2)); }
.btn { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-color); border-radius: var(--btn-radius, 8px); padding: var(--btn-pad, .65em 1.25em); line-height: 1.25; }
.btn:hover { background: var(--btn-bg); color: var(--btn-color); filter: brightness(.9); }
.btn-accent, .btn-accent:hover { background: var(--btn2-bg); border-color: var(--btn2-bg); color: var(--btn2-color); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--green); filter: none; }
.btn-outline { background: transparent; color: var(--btn-bg); border-color: var(--btn-bg); }
.btn-outline:hover { background: var(--btn-bg); color: var(--btn-color); filter: none; }
.add-cart { padding: .42em .8em; font-size: .8rem; white-space: nowrap; border-radius: var(--btn-radius, 8px); }
.product-foot { gap: .6rem; }
.topbar { background: var(--topbar-bg); color: var(--topbar-color); }
.topbar a { color: var(--topbar-color); }
.site-header { background: var(--header-bg); }
.main-nav > ul > li > a { color: var(--menu-color); }
.main-nav li.active > a, .main-nav a:hover { color: var(--menu-active); background: color-mix(in srgb, var(--menu-active) 10%, transparent); }
@media (max-width: 1060px) { .main-nav { background: var(--header-bg); } }
/* Home slider: the photo shows at full strength unless a shade is set; text keeps a soft shadow for legibility */
.slide { min-height: var(--slider-height, 520px); }
.slide.has-image { background: linear-gradient(90deg, rgba(16,40,22,var(--slider-shade, 0)) 0%, rgba(16,40,22,calc(var(--slider-shade, 0) * .6)) 55%, rgba(16,40,22,calc(var(--slider-shade, 0) * .2)) 100%), var(--slide-img) center / cover no-repeat; }
.slide.has-image .hero-text { text-shadow: 0 2px 14px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.45); }
.slide.has-image .hero-text .btn { text-shadow: none; }
.page-hero.has-image { background: linear-gradient(90deg, rgba(16,40,22,calc(var(--title-shade, .45) * 1.6)), rgba(16,40,22,var(--title-shade, .45))), var(--hero-img) center / cover no-repeat; }
.page-hero.has-image h1, .page-hero.has-image .lead { text-shadow: 0 2px 12px rgba(0,0,0,.45); }
/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-color); font-size: var(--footer-size, 15px); }
.site-footer h4 { color: var(--footer-heading); }
.site-footer a, .footer-bottom .maintainer a { color: var(--footer-link); }
.site-footer .muted-light { color: var(--footer-color); }
.footer-bottom { color: var(--footer-color); opacity: .9; }
.footer-grid { grid-template-columns: 1.4fr repeat(var(--cols, 3), minmax(0, 1fr)); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
/* Long texts (rich text), product details, galleries */
.prose h2 { font-size: 1.45rem; margin: 1.6em 0 .5em; } .prose h3 { font-size: 1.15rem; margin: 1.3em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; } .prose li { margin: .3em 0; }
.read-more { font-weight: 700; white-space: nowrap; font-size: .9em; }
.product-details { border-top: 1px solid var(--line); }
.details-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 2.5rem; align-items: start; }
.details-grid.one { grid-template-columns: minmax(0, 860px); }
.spec-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem 1.5rem; position: sticky; top: 110px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; } .spec-table th { text-align: left; color: var(--muted); font-weight: 600; padding: .5rem .6rem .5rem 0; width: 45%; vertical-align: top; }
.spec-table td { padding: .5rem 0; font-weight: 600; } .spec-table tr + tr { border-top: 1px solid var(--line); }
@media (max-width: 860px) { .details-grid { grid-template-columns: 1fr; } .spec-card { position: static; } }
.content-gallery { margin: 2.2rem 0; } .content-gallery h2 { font-size: 1.35rem; }
.cg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .8rem; }
.cg-grid figure { margin: 0; } .cg-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) * .7); transition: transform .25s; } .cg-grid a:hover img { transform: scale(1.02); }
.cg-grid figcaption { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.cg-lightbox { position: fixed; inset: 0; background: rgba(8,16,10,.92); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 3rem 4rem; }
.cg-lightbox[hidden] { display: none; }
.cg-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; } .cg-lightbox img { max-width: 100%; max-height: 80vh; margin: auto; border-radius: 8px; }
.cg-lightbox figcaption { color: #e8f0e2; margin-top: .6rem; }
.cg-lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; }
.cg-close { top: 16px; right: 16px; } .cg-prev { left: 14px; top: 50%; } .cg-next { right: 14px; top: 50%; }
@media (max-width: 640px) { .cg-lightbox { padding: 3.5rem .6rem; } .cg-prev, .cg-next { top: auto !important; bottom: 14px; } }
/* Videos (journals, projects, Community Foundation): the YouTube player loads only when the picture is tapped */
.video-embed { margin: 1.6rem 0; position: relative; aspect-ratio: 16 / 9; background: #0f1a12; border-radius: 14px; overflow: hidden; }
.video-embed iframe, .video-embed video, .video-facade, .video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-embed video { object-fit: contain; background: #000; }
.video-facade { display: block; cursor: pointer; }
.video-play { position: absolute; top: 50%; left: 50%; width: 72px; height: 50px; margin: -25px 0 0 -36px; background: #e62117; border-radius: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .15s; }
.video-play::after { content: ''; position: absolute; left: 29px; top: 15px; border-left: 18px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.video-facade:hover .video-play, .video-facade:focus-visible .video-play { transform: scale(1.08); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
