/* Jo-zak Garden
   Palette comes from the logo: deep green, leaf green, lime, marigold amber.
   Display type: Young Serif (warm, sturdy). Body: Atkinson Hyperlegible (made to be readable in bright sun on small screens). */

:root {
  --moss: #123509;
  --turf: #26801a;
  --turf-dark: #1d6513;
  --lime: #9dc424;
  --amber: #f2b315;
  --paper: #fbfdf7;
  --mist: #edf3e3;
  --stone: #d6dbcc;
  --paver: #e3e6db;
  --ink: #15240e;
  --muted: #55644a;
  --danger: #b3261e;
  --display: 'Young Serif', Georgia, 'Times New Roman', serif;
  --body: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --tabbar-h: 84px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.55 var(--body);
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}
img, video, iframe { display: block; max-width: 100%; }
a { color: var(--turf-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -0.005em; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; max-width: 62ch; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 8px; left: 8px; background: var(--amber); color: var(--moss); padding: 10px 14px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 640px; }
.block { padding-top: 36px; padding-bottom: 36px; }
.block__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); margin-bottom: 18px; }
.h2 { font-size: 1.4rem; margin: 28px 0 10px; }
.muted { color: var(--muted); font-weight: 400; }
.empty { color: var(--muted); padding: 20px 0; }
.back { display: inline-block; margin-bottom: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 10px; border: 2px solid transparent;
  font: 700 1rem var(--body); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, color .15s;
}
.btn--sm { min-height: 40px; padding: 0 14px; font-size: .95rem; }
.btn--block { display: flex; width: 100%; margin-top: 8px; }
.btn--amber { background: var(--amber); color: var(--moss); }
.btn--amber:hover { background: #ffc531; }
.btn--turf { background: var(--turf); color: #fff; }
.btn--turf:hover { background: var(--turf-dark); }
.btn--line { border-color: var(--turf); color: var(--turf-dark); background: transparent; }
.btn--line:hover { background: var(--mist); }
.btn--light { border-color: rgba(255,255,255,.85); color: #fff; background: rgba(255,255,255,.08); }
.btn--light:hover { background: rgba(255,255,255,.2); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--turf-dark); font: inherit; text-decoration: underline; cursor: pointer; }
.linkbtn.danger { color: var(--danger); }

/* ---------- top bar, tab bar, banners ---------- */
.demo-bar { background: var(--amber); color: var(--moss); font-size: .92rem; padding: 8px 16px; display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; text-align: center; }
.demo-bar a { color: var(--moss); font-weight: 700; }
.topbar { background: var(--paper); border-bottom: 1px solid var(--stone); }
.topbar__in { position: relative; display: flex; justify-content: center; padding-block: 12px 14px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; text-decoration: none; color: var(--moss); max-width: 100%; }
.brand__logo { height: 104px; width: auto; }
.brand__name { font: 400 1.6rem/1.1 var(--display); white-space: nowrap; }
.brand__tag { font: 700 clamp(.6rem, 2.9vw, .76rem)/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--turf-dark); white-space: nowrap; }
.topbar__book { position: absolute; top: 12px; right: 16px; }
.soundbtn { position: absolute; top: 12px; left: 16px; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--stone); background: #fff; color: var(--moss); display: inline-grid; place-items: center; cursor: pointer; }
.soundbtn[hidden] { display: none; }
.soundbtn .i-off, .soundbtn[aria-pressed="false"] .i-on { display: none; }
.soundbtn[aria-pressed="false"] .i-off { display: block; }
.soundbtn[aria-pressed="true"] { background: var(--turf); border-color: var(--turf); color: #fff; }
.topnav { display: none; }
.topbar__end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.iconlink { position: relative; display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--moss); }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--amber); color: var(--moss); font: 700 .75rem/20px var(--body); text-align: center; }

.tabbar {
  position: fixed; inset: auto 0 0 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
  padding: 10px 8px calc(10px + env(safe-area-inset-bottom)); background: var(--moss);
  border-radius: 20px 20px 0 0; box-shadow: 0 -6px 18px rgba(0, 0, 0, .28);
}
.tabbar a {
  --c: #26801a; --fg: #fff; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 62px; padding: 6px 2px; border-radius: 16px; border: 3px solid transparent; background: var(--c); color: var(--fg);
  text-decoration: none; font-size: .82rem; font-weight: 700; line-height: 1.1; transition: transform .15s;
}
.tabbar a svg { width: 27px; height: 27px; stroke-width: 2.2; }
.tabbar a:nth-child(1) { --c: #26801a; }
.tabbar a:nth-child(2) { --c: #0b6f82; }
.tabbar a:nth-child(3) { --c: #f2b315; --fg: #15240e; }
.tabbar a:nth-child(4) { --c: #c2410c; }
.tabbar a:nth-child(5) { --c: #2a4fd0; }
.tabbar a[aria-current] { border-color: #fff; transform: translateY(-5px); box-shadow: 0 8px 14px rgba(0, 0, 0, .4); }
.tabbar .badge { top: -6px; right: 6px; background: #fff; color: var(--moss); }

.wa-fab {
  position: fixed; right: 14px; bottom: calc(var(--tabbar-h) + 14px + env(safe-area-inset-bottom)); z-index: 25;
  display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #1fa855; color: #fff; text-decoration: none; box-shadow: 0 6px 16px rgba(10, 30, 5, .4); border: 3px solid #fff;
}
.wa-fab svg { width: 30px; height: 30px; stroke-width: 2; }
.wa-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[data-area="admin"] .wa-fab, [data-area="admin"] .tabbar, [data-area="admin"] .footer { display: none; }
[data-area="admin"] body, body[data-area="admin"] { padding-bottom: 24px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: min(80vh, 620px); color: #fff; background: var(--moss); }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,32,5,.92) 0%, rgba(10,32,5,.55) 42%, rgba(10,32,5,.08) 78%); }
.hero__body { padding-top: 96px; padding-bottom: 32px; }
.hero h1 { font-size: clamp(2.2rem, 8.4vw, 4.2rem); max-width: 15ch; margin-bottom: 14px; text-wrap: balance; }
.hero p { font-size: 1.1rem; max-width: 46ch; color: #eaf3e0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- service groups, rows ---------- */
.groups { display: grid; gap: 12px; margin-top: 14px; }
.group { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: var(--mist); color: #fff; text-decoration: none; }
.group img, .group .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.group .art { background: var(--moss); color: var(--lime); }
.group::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,32,5,.85), rgba(10,32,5,0) 65%); }
.group__name { position: absolute; left: 16px; bottom: 34px; z-index: 1; font: 400 1.5rem var(--display); }
.group__n { position: absolute; left: 16px; bottom: 12px; z-index: 1; font-size: .92rem; color: #dfeed2; }

.rows { border-bottom: 1px solid var(--stone); }
.row { display: grid; grid-template-columns: 64px 1fr; gap: 6px 14px; padding: 14px 0; border-top: 1px solid var(--stone); align-items: start; }
.row__thumb { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--mist); }
.row__thumb img, .row__thumb .art { width: 100%; height: 100%; object-fit: cover; }
.row__text h3 { margin-bottom: 4px; }
.row__text p { margin: 0; color: var(--muted); font-size: .98rem; }
.row__end { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.row__price { font-weight: 700; }

.art { display: grid; place-items: center; width: 100%; height: 100%; background: var(--mist); color: var(--turf); }
.art svg { width: 40%; max-width: 64px; height: auto; aspect-ratio: 1; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; margin: 0 -16px; padding-inline: 16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 20px; border: 1.5px solid var(--stone); background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.chip[aria-current] { background: var(--moss); border-color: var(--moss); color: #fff; }

/* ---------- the path: how booking works ---------- */
.trail { background: var(--moss); color: #fff; padding: 40px 0 48px; margin: 12px 0; }
.trail h2 { margin-bottom: 22px; }
.trail__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.stone {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; max-width: 440px;
  padding: 16px 20px; border-radius: 16px; color: var(--ink);
  background: linear-gradient(150deg, #eef0e8, var(--paver) 55%, #d2d6c8);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 6px 0 rgba(0,0,0,.22);
}
.stone:nth-child(1) { rotate: -1.4deg; }
.stone:nth-child(2) { rotate: 1.2deg; margin-left: auto; }
.stone:nth-child(3) { rotate: -0.6deg; margin-left: 10%; }
.stone__n { font: 400 2.6rem/1 var(--display); color: var(--turf); min-width: 1ch; }
.stone h3 { margin-bottom: 2px; }
.stone p { margin: 0; font-size: .98rem; color: #33422a; }

.video { border-radius: 8px; overflow: hidden; background: #000; max-width: 360px; }
.video video { width: 100%; aspect-ratio: 9 / 16; max-height: 70vh; background: #000; object-fit: contain; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video:has(iframe) { max-width: 720px; }

.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 44%); gap: 12px; overflow-x: auto; padding-bottom: 10px; margin: 0 -16px; padding-inline: 16px; scroll-snap-type: x proximity; }
.shelf .pcard { scroll-snap-align: start; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.strip__item { padding: 0; border: 0; background: var(--mist); aspect-ratio: 1; overflow: hidden; border-radius: 6px; cursor: zoom-in; }
.strip__item img { width: 100%; height: 100%; object-fit: cover; }

.cta { background: var(--mist); padding: 40px 0; }
.cta__in p { margin-bottom: 16px; }
.cta h2 { margin-bottom: 8px; }

/* ---------- shop ---------- */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pcard { display: flex; flex-direction: column; border-bottom: 3px solid var(--stone); padding-bottom: 12px; min-width: 0; }
.pcard__img { display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--mist); }
.pcard__img img, .pcard__img .art { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; flex: 1; }
.pcard__body .btn { margin-top: auto; }
.pcard__name { color: var(--ink); font-weight: 700; text-decoration: none; line-height: 1.25; }
.pcard__price { font-weight: 700; color: var(--turf-dark); }
.pcard__price s { color: var(--muted); font-weight: 400; margin-left: 4px; }
.pcard__note { color: #8a5a00; font-size: .9rem; font-weight: 700; }
.pcard.is-out .pcard__img { opacity: .5; }
.search input { width: 100%; }
.note { font-size: .95rem; color: var(--muted); }
.note--warn { background: #fff6dc; border-left: 4px solid var(--amber); padding: 10px 14px; color: #4a3600; border-radius: 4px; }

.product__grid { display: grid; gap: 20px; }
.product__img { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--mist); max-width: 480px; }
.product__img img, .product__img .art { width: 100%; height: 100%; object-fit: cover; }
.product__price { font: 400 1.6rem var(--display); margin-bottom: 12px; }
.product__price s { font: 400 1rem var(--body); color: var(--muted); }

.lines { list-style: none; margin: 0 0 12px; padding: 0; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-top: 1px solid var(--stone); align-items: start; }
.line__img { width: 72px; height: 72px; border-radius: 6px; overflow: hidden; background: var(--mist); }
.line__img img, .line__img .art { width: 100%; height: 100%; object-fit: cover; }
.line__main { display: grid; gap: 2px; }
.line__main span { color: var(--muted); font-size: .95rem; }
.line__total { font-weight: 700; }
.qty { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.qty button:not(.linkbtn) { width: 40px; height: 40px; border: 1.5px solid var(--stone); background: #fff; border-radius: 8px; font: 700 1.2rem var(--body); cursor: pointer; }
.qty output { min-width: 34px; text-align: center; font-weight: 700; }
.qty .linkbtn { margin-left: 12px; }
.totals { display: flex; justify-content: space-between; padding: 8px 0; }
.totals--big { font-size: 1.25rem; border-top: 2px solid var(--ink); margin-top: 4px; padding-top: 12px; }

/* ---------- forms ---------- */
.form { display: block; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > label, .field > span, legend { font-weight: 700; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; min-height: 48px; padding: 11px 12px; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #8f9b84; border-radius: 8px;
}
textarea { resize: vertical; }
input[type=file] { font: inherit; max-width: 100%; }
.grid2 { display: grid; gap: 0 12px; }
.seg { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.seg label { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1.5px solid var(--stone); border-radius: 8px; background: #fff; font-weight: 400; min-height: 48px; }
.seg input { width: 20px; height: 20px; accent-color: var(--turf); }
.seg:not(.seg--stack) { grid-template-columns: 1fr 1fr; }
.done__ref { font-size: 1.1rem; }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 20px; }
.kv dt { font-weight: 700; }
.kv dd { margin: 0; overflow-wrap: anywhere; }

.masonry { columns: 2; column-gap: 8px; }
.masonry__item { display: block; width: 100%; margin: 0 0 8px; padding: 0; border: 0; background: var(--mist); border-radius: 6px; overflow: hidden; break-inside: avoid; text-align: left; cursor: zoom-in; position: relative; }
.masonry__item img { width: 100%; height: auto; }
.masonry__item span { display: block; padding: 6px 8px 8px; font-size: .88rem; color: var(--muted); background: var(--paper); }
.masonry__item--video { cursor: default; }
.masonry__item--video .video { max-width: none; border-radius: 0; }

#lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
#lightbox::backdrop { background: rgba(8,24,4,.88); }
#lightbox img { max-width: 96vw; max-height: 88vh; border-radius: 6px; }
.lb-close { position: absolute; top: -44px; right: 0; width: 44px; height: 44px; border: 0; border-radius: 22px; background: var(--amber); color: var(--moss); font: 700 1.6rem/1 var(--body); cursor: pointer; }

/* ---------- footer, toasts ---------- */
.footer { background: var(--moss); color: #dbe9cf; margin-top: 0; padding: 32px 0 28px; }
.footer a, .footer .linkbtn { color: #fff; }
.footer__in { display: grid; gap: 14px; }
.footer__in strong { font: 400 1.4rem var(--display); color: #fff; }
.footer__in p { margin: 4px 0 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
#toasts { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + 70px + env(safe-area-inset-bottom)); z-index: 60; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { max-width: 440px; padding: 12px 16px; border-radius: 10px; background: var(--moss); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.3); font-weight: 700; }
.toast--error { background: var(--danger); }
body[data-area="admin"] #toasts { bottom: 20px; }

/* ---------- owner dashboard ---------- */
.admin { padding-top: 18px; padding-bottom: 40px; }
.admin__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.admin__nav { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px 18px; padding: 0 16px 6px; border-bottom: 1px solid var(--stone); scrollbar-width: none; }
.admin__nav::-webkit-scrollbar { display: none; }
.admin__nav a { flex: none; padding: 10px 14px; text-decoration: none; color: var(--ink); font-weight: 700; border-bottom: 3px solid transparent; }
.admin__nav a[aria-current] { border-bottom-color: var(--amber); color: var(--moss); }
.admin h1 { font-size: 1.8rem; margin-bottom: 14px; }
.admin h2 { font-size: 1.3rem; margin: 22px 0 10px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.stat { display: block; padding: 14px; border: 1.5px solid var(--stone); border-radius: 10px; background: #fff; text-decoration: none; color: var(--ink); }
.stat strong { display: block; font: 400 2rem/1.1 var(--display); color: var(--moss); }
.stat--alert { border-color: var(--amber); background: #fff8e1; }
.ad-card { border: 1.5px solid var(--stone); border-radius: 10px; padding: 14px; background: #fff; margin-bottom: 12px; }
.ad-card__head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 6px; }
.ad-card label { display: grid; gap: 4px; font-weight: 700; margin-bottom: 12px; }
.ad-card .actions, .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: .82rem; font-weight: 700; background: var(--mist); color: var(--moss); white-space: nowrap; }
.pill--new { background: var(--amber); }
.pill--done, .pill--delivered, .pill--paid { background: #cfe9c2; }
.pill--cancelled { background: #f0d3d0; color: var(--danger); }
.mrow { display: grid; grid-template-columns: 56px 1fr; gap: 8px 12px; padding: 12px 0; border-top: 1px solid var(--stone); align-items: center; }
.mrow__thumb { width: 56px; height: 56px; border-radius: 6px; overflow: hidden; background: var(--mist); }
.mrow__thumb img, .mrow__thumb .art { width: 100%; height: 100%; object-fit: cover; }
.mrow__main { display: grid; }
.mrow__ctrl { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; }
.mrow__ctrl label { display: grid; gap: 2px; font-size: .85rem; font-weight: 700; }
.mrow__ctrl input:not([type=checkbox]), .mrow__ctrl select { min-height: 42px; padding: 6px 8px; width: 132px; }
.switch { display: inline-flex !important; grid-auto-flow: column; align-items: center; gap: 8px; font-weight: 700; }
.switch input { width: 22px; height: 22px; accent-color: var(--turf); }
.mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mtile { border: 1.5px solid var(--stone); border-radius: 8px; background: #fff; overflow: hidden; display: grid; }
.mtile__img { aspect-ratio: 4 / 3; background: var(--mist); display: grid; place-items: center; overflow: hidden; }
.mtile__img img, .mtile__img video { width: 100%; height: 100%; object-fit: cover; }
.mtile__body { padding: 8px; display: grid; gap: 6px; }
.mtile__body input:not([type=checkbox]), .mtile__body select { min-height: 40px; padding: 6px 8px; font-size: .92rem; }
.dlg__head, .dlg__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; }
.dlg__body { padding: 0 16px 6px; max-height: 66vh; overflow: auto; }
.dlg__foot { justify-content: flex-end; border-top: 1px solid var(--stone); }
dialog#editor { border: 0; border-radius: 14px; padding: 0; width: calc(100% - 20px); max-width: 560px; }
dialog#editor::backdrop { background: rgba(8,24,4,.6); }
.preview { max-width: 160px; border-radius: 6px; }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .groups { grid-template-columns: repeat(3, 1fr); }
  .group { aspect-ratio: 4 / 5; }
  .row { grid-template-columns: 88px 1fr auto; align-items: center; }
  .row__thumb { width: 88px; height: 88px; }
  .row__end { grid-column: auto; flex-direction: column; align-items: flex-end; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .shelf { grid-auto-columns: 200px; }
  .strip { grid-template-columns: repeat(6, 1fr); }
  .masonry { columns: 3; }
  .grid2 { grid-template-columns: 1fr 1fr; }
  .product__grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .mgrid { grid-template-columns: repeat(3, 1fr); }
  .mrow { grid-template-columns: 56px 1fr auto; }
  .mrow__ctrl { grid-column: auto; }
  .footer__in { grid-template-columns: 1fr auto; align-items: start; }
}
@media (min-width: 860px) {
  .tabbar { max-width: 620px; margin-inline: auto; border-radius: 22px 22px 0 0; }
  .brand__logo { height: 120px; }
  #toasts { bottom: 110px; }
  .chips { margin: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; }
  .pgrid { grid-template-columns: repeat(4, 1fr); }
  .masonry { columns: 4; }
  .hero { min-height: 560px; }
  .trail__list { grid-template-columns: repeat(3, 1fr); align-items: start; gap: 24px; }
  .stone:nth-child(n) { margin: 0; }
  .stone:nth-child(2) { margin-top: 32px; }
  .stone:nth-child(3) { margin-top: 12px; }
  .shelf { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding-inline: 0; }
  .block { padding-top: 52px; padding-bottom: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* mission and vision */
.about{display:grid;gap:12px}
@media(min-width:700px){.about{grid-template-columns:1fr 1fr}}
.about__card{background:#eaf5e4;border-radius:18px;padding:18px 18px 20px;border:1px solid #cfe5c6}
.about__card--alt{background:#fff6dc;border-color:#f2dc93}
.about__card h2{margin:0 0 6px;font-size:1.15rem}
.about__card p{margin:0;line-height:1.55}

/* app-style home */
.hero--app { min-height: min(58vh, 460px); border-radius: 0 0 28px 28px; overflow: hidden; }
.hero--app .hero__body { padding-top: 64px; padding-bottom: 26px; }
.hero--app h1 { font-size: clamp(1.9rem, 7.4vw, 3rem); max-width: 17ch; }
.hero--app p { font-size: 1rem; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: -26px; position: relative; z-index: 2; }
.qtile { --c: #26801a; --fg: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 84px; border-radius: 18px; background: var(--c); color: var(--fg); text-decoration: none; font: 700 .82rem var(--body); box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.qtile svg { width: 28px; height: 28px; }
.qtile--shop { --c: #0b6f82; } .qtile--call { --c: #f2b315; --fg: #15240e; } .qtile--wa { --c: #1fa855; }
.installcard { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 12px 14px; background: var(--moss); color: #fff; border-radius: 18px; }
.installcard div { display: flex; flex-direction: column; font-size: .88rem; line-height: 1.3; color: #dfeed2; }
.installcard strong { color: #fff; font-size: 1rem; }
@media (display-mode: standalone) { .installcard { display: none; } .hero__cta [data-act=install] { display: none; } }
.block--tight { padding-top: 26px; padding-bottom: 14px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 42%); gap: 12px; overflow-x: auto; padding: 2px 16px 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .rail { grid-auto-columns: 220px; } }
.scard { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--stone); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ink); }
.scard__img { aspect-ratio: 4 / 3; background: var(--mist); }
.scard__img img, .scard__img .art { width: 100%; height: 100%; object-fit: cover; }
.scard__img .art { background: var(--moss); color: var(--lime); display: grid; place-items: center; }
.scard__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.scard h3 { font-size: 1rem; line-height: 1.2; }
.scard span { font-size: .85rem; color: var(--muted); font-weight: 700; }
.pond { margin: 18px 0; padding: 30px 0 34px; color: #fff; background: radial-gradient(120% 90% at 85% 0, #14a3a8 0, #0b6f82 38%, #08384a 100%); }
.pond__eyebrow { margin: 0 0 6px; font: 700 .76rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: #bfeff0; }
.pond h2 { margin-bottom: 10px; max-width: 18ch; }
.pond p { color: #e3f7f7; }
.pond__chips { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pond__chips li { padding: 6px 14px; border-radius: 20px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); font-weight: 700; font-size: .92rem; }
.findus { background: var(--mist); border-radius: 22px; padding: 20px 18px; display: grid; gap: 12px; }
.findus__addr { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-weight: 700; }
.findus__phones { display: grid; gap: 8px; }
.findus .btn { justify-content: center; gap: 8px; }
.btn--wa { background: #1fa855; color: #fff; }
.block--tight .shelf { margin: 0; padding-inline: 16px; }
.rail { align-items: start; }
.scard__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.scard__img img, .scard__img .art { position: absolute; inset: 0; }
.rail, .shelf { scroll-padding-inline: 16px; }

/* ---------- app look for the inner pages ---------- */
body { background: #f3f7ec; }
.h1 { display: flex; align-items: center; gap: 10px; font-size: clamp(1.7rem, 6vw, 2.4rem); margin-bottom: 16px; }
.h1::before { content: ''; width: 8px; height: 1.1em; border-radius: 4px; background: linear-gradient(var(--lime), var(--turf)); flex: none; }
.rows { border: 0; display: grid; gap: 12px; }
.row { background: #fff; border: 1px solid var(--stone); border-radius: 20px; padding: 12px; box-shadow: 0 3px 10px rgba(18,53,9,.07); grid-template-columns: 76px 1fr; }
.row__thumb { width: 76px; height: 76px; border-radius: 14px; }
.row__text h3 { font-size: 1.08rem; }
.row__end { padding-top: 4px; }
.chip { min-height: 42px; border-radius: 22px; border-width: 0; background: #fff; box-shadow: 0 2px 6px rgba(18,53,9,.12); }
.chip[aria-current] { background: var(--turf); color: #fff; }
.pcard { background: #fff; border: 1px solid var(--stone); border-bottom-width: 1px; border-radius: 20px; padding: 8px 8px 12px; box-shadow: 0 3px 10px rgba(18,53,9,.07); }
.pcard__img { border-radius: 14px; }
.pcard__body { padding-inline: 4px; }
.lines { display: grid; gap: 10px; }
.line { background: #fff; border: 1px solid var(--stone); border-radius: 18px; padding: 12px; }
.line__img { border-radius: 12px; }
.form, .kv { background: #fff; border: 1px solid var(--stone); border-radius: 22px; padding: 18px 16px 8px; box-shadow: 0 3px 10px rgba(18,53,9,.07); }
.kv { padding-bottom: 16px; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { border-radius: 14px; border-color: #b5c1a8; background: #fbfdf7; }
.seg label { border-radius: 14px; }
.form .btn[type=submit], .form .btn--turf { width: 100%; min-height: 54px; border-radius: 16px; font-size: 1.08rem; }
.btn { border-radius: 16px; }
.strip__item, .gallery img, .gitem { border-radius: 14px; }
.note { border-radius: 14px; }
.masonry__item { border-radius: 16px; }

/* smaller WhatsApp buttons */
.wa-fab { width: 44px; height: 44px; }
.wa-fab svg { width: 22px; height: 22px; }
.findus .btn--wa { width: auto; min-height: 44px; padding: 0 18px; font-size: .95rem; justify-self: start; }
.qtile--wa { min-height: 84px; }


/* ---------- motion: auto-sliding services, fading photos ---------- */
.fader { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--mist); }
@media (min-width: 700px) { .fader { aspect-ratio: 16 / 9; } }
.fader__slide { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: zoom-in; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.fader__slide.is-on { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1s ease; }
.fader__slide:first-child:not(.is-on) { z-index: 0; }
.fader__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fader__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 30px; text-align: left; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.fader__dots { position: absolute; left: 0; right: 0; bottom: 4px; z-index: 2; display: flex; justify-content: center; }
.fader__dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.fader__dot::before { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-radius: 4px; background: rgba(255, 255, 255, .6); box-shadow: 0 0 3px rgba(0, 0, 0, .5); transition: width .3s, background .3s; }
.fader__dot[aria-current="true"]::before { width: 20px; background: #fff; }

@keyframes jz-fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.masonry__item, .row { animation: jz-fade-in .7s ease both; }
.masonry__item:nth-child(2), .row:nth-child(2) { animation-delay: .08s; }
.masonry__item:nth-child(3), .row:nth-child(3) { animation-delay: .16s; }
.masonry__item:nth-child(4), .row:nth-child(4) { animation-delay: .24s; }
.masonry__item:nth-child(5), .row:nth-child(5) { animation-delay: .32s; }
.masonry__item:nth-child(n+6), .row:nth-child(n+6) { animation-delay: .4s; }
