/* =========================================================
   Martoyan's Garden — styles
   Colors, fonts and sizes are controlled by the variables
   in :root below. Change them to restyle the whole site.
   ========================================================= */
:root {
  --ink: #1d2a1f;
  --ink-2: #2c3b2e;
  --muted: #5b6858;
  --line: #e7dfcb;
  --line-2: #d9cfb5;
  --cream: #fbf8f0;
  --cream-2: #f4eedf;
  --cream-3: #ece3cc;
  --white: #fffdf8;

  --g-950: #0b1f11;
  --g-900: #12351c;
  --g-800: #1a4826;
  --g-700: #245f31;
  --g-600: #2f7a3c;
  --g-500: #5b8f2e;
  --g-400: #7fb03f;
  --g-300: #a8cf5a;
  --g-100: #e8f0d8;

  --gold: #d4ad55;
  --gold-2: #ecd08a;
  --gold-3: #a98327;
  --terra: #a5532f;
  --wa: #1fa855;
  --wa-2: #167a42;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 2px 10px rgba(18, 53, 28, .06);
  --shadow: 0 14px 34px -14px rgba(18, 53, 28, .22), 0 4px 10px -4px rgba(18, 53, 28, .08);
  --shadow-lg: 0 34px 80px -28px rgba(11, 31, 17, .45);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --font-sans: "Manrope", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Playfair Display", "Noto Serif Armenian", Georgia, "Times New Roman", serif;

  --header-h: 76px;
  --container: 1240px;
  --pad: clamp(18px, 4vw, 40px);
  --section: clamp(76px, 10vw, 132px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
/* Elements waiting for their slide-in animation must not widen the page on phones (fixed buttons were pushed off-screen) */
@supports (overflow: clip) { main { overflow-x: clip; } }
body.is-locked { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--g-300); color: var(--g-950); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

/* subtle paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: 100%; max-width: calc(var(--container) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 2000; padding: 10px 16px; border-radius: 10px; background: var(--g-900); color: #fff; font-weight: 700; transition: top .25s; }
.skip-link:focus { top: 12px; }

/* ---------- Icons ---------- */
i[data-icon] { display: inline-flex; flex: none; width: 1.25em; height: 1.25em; font-style: normal; line-height: 0; }
i[data-icon] > svg { width: 100%; height: 100%; }
.ico--fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--g-800);
  --fg: #fff;
  --sh: rgba(18, 53, 28, .45);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: .8em 1.5em;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px var(--sh); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.97); }
.btn i[data-icon] { width: 1.2em; height: 1.2em; transition: transform .35s var(--ease); }
.btn:hover i[data-icon="arrow"] { transform: translateX(4px); }
.btn--gold { --bg: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, #c99a3d); --fg: var(--g-950); --sh: rgba(212, 173, 85, .7); }
.btn--dark { --bg: var(--g-900); }
.btn--glass { --bg: rgba(255, 255, 255, .12); --sh: rgba(0, 0, 0, .4); border: 1px solid rgba(255, 255, 255, .38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { --bg: rgba(255, 255, 255, .2); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { --bg: var(--white); border-color: var(--g-600); }
.btn--wa { --bg: linear-gradient(135deg, #2bd46b, var(--wa-2)); --sh: rgba(22, 122, 66, .6); }
.btn--ig { --bg: linear-gradient(45deg, #f9a03f, #e1306c 55%, #8a3ab9); --sh: rgba(225, 48, 108, .5); }
.btn--sm { min-height: 42px; padding: .55em 1.15em; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: .95em 1.8em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }
.magnetic { translate: var(--mx, 0) var(--my, 0); transition: transform .35s var(--ease), box-shadow .35s var(--ease), translate .5s var(--ease), background .3s, color .3s, border-color .3s; }

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: transform .35s var(--spring), background .3s, color .3s, border-color .3s;
}
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn i[data-icon] { width: 22px; height: 22px; }
.icon-btn--soft { background: var(--cream-2); border-color: transparent; }
.icon-btn--soft:hover { background: var(--cream-3); }
.icon-btn--glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
.icon-btn--glass:hover { background: var(--gold); color: var(--g-950); border-color: var(--gold); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--g-700); border-bottom: 2px solid transparent; transition: gap .3s var(--ease), border-color .3s; }
.link-arrow:hover { gap: 14px; border-color: currentColor; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: .86rem; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--terra); }

/* ---------- Chips, badges, eyebrows ---------- */
.chip { display: inline-flex; align-items: center; gap: .5em; padding: .5em 1em; border-radius: 999px; font-size: .84rem; font-weight: 700; letter-spacing: .02em; line-height: 1.2; }
.chip i[data-icon] { width: 1.15em; height: 1.15em; }
.chip--glass { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip--glass i[data-icon] { color: var(--g-300); }
.chip--light { background: var(--white); color: var(--g-800); box-shadow: var(--shadow); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .02em; line-height: 1.25; background: var(--white); color: var(--g-800); box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.badge--gold { background: var(--gold); color: var(--g-950); }
.badge--sale { background: var(--terra); color: #fff; }
.badge--pre { background: var(--g-800); color: #fff; }
.badge--out { background: #6f6f66; color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: .7em; margin-bottom: 16px; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--g-600); }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
:lang(hy) .eyebrow { letter-spacing: .08em; }
.eyebrow--light { color: var(--g-300); }
.eyebrow--link { text-transform: none; letter-spacing: .02em; font-size: .95rem; }
.eyebrow--link::before { display: none; }
.eyebrow--link i[data-icon] { width: 20px; height: 20px; }
.eyebrow--link:hover { color: var(--g-800); }

.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars i[data-icon] { width: 16px; height: 16px; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.section-head--split .section-lead { margin-top: 0; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.4rem); color: var(--g-900); text-wrap: balance; }
:lang(ru) .section-title { font-size: clamp(1.9rem, 3.9vw, 3.1rem); }
:lang(hy) .section-title { font-size: clamp(1.7rem, 3.4vw, 2.75rem); line-height: 1.2; letter-spacing: 0; }
.section-title--light { color: #fff; }
.section-title em { font-style: italic; color: var(--g-600); }
.section-lead { max-width: 620px; margin-top: 18px; font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--muted); }
.section-lead--light { color: rgba(255, 255, 255, .78); }

/* ---------- Reveal animations ---------- */
.js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-scale {
  opacity: 0;
  transition: opacity .9s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms);
}
.js .reveal { transform: translateY(36px); }
.js .reveal-left { transform: translateX(-48px); }
.js .reveal-right { transform: translateX(48px); }
.js .reveal-scale { transform: scale(.94); }
.js .reveal.is-visible, .js .reveal-left.is-visible, .js .reveal-right.is-visible, .js .reveal-scale.is-visible { opacity: 1; transform: none; }
.js [data-stagger]:not(.is-done) > * { transition: opacity .7s var(--ease), transform .85s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-stagger]:not(.is-visible) > * { opacity: 0; transform: translateY(30px); }

.js [data-anim] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.js.is-loaded [data-anim] { opacity: 1; transform: none; }

main, .footer { transition: opacity .25s ease; }
.is-switching main, .is-switching .footer { opacity: .2; }

/* ---------- Preloader & progress ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--cream); transition: opacity .6s var(--ease), visibility 0s .6s; animation: plFailsafe .6s 3.2s forwards; }
.no-js .preloader, .mg-seen .preloader { display: none; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 24px; }
.preloader__logo { width: 128px; height: 128px; animation: plLogo 1.2s var(--spring) both; }
.preloader__bar { width: 160px; height: 4px; border-radius: 4px; background: var(--cream-3); overflow: hidden; }
.preloader__bar span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--g-500), var(--gold)); transform-origin: left; animation: plBar .9s var(--ease) both; }
@keyframes plLogo { 0% { opacity: 0; transform: scale(.6) rotate(-20deg); } 60% { opacity: 1; transform: scale(1.06) rotate(4deg); } 100% { transform: none; } }
@keyframes plBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes plFailsafe { to { opacity: 0; visibility: hidden; } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 150; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--g-300), var(--gold)); transform: scaleX(0); transform-origin: left; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); display: flex; align-items: center; color: #fff; transition: transform .5s var(--ease), color .3s, height .35s var(--ease); }
.header::before { content: ""; position: absolute; inset: 0; background: rgba(251, 248, 240, .84); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(18, 53, 28, .35); opacity: 0; transition: opacity .4s; }
.header.is-scrolled { --header-h: 66px; color: var(--ink); }
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-110%); }
.menu-open .header { color: #fff; transform: none; }
.menu-open .header::before { opacity: 0; }
.header__inner { position: relative; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand__logo { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); box-shadow: 0 6px 16px rgba(0, 0, 0, .2); transition: transform .7s var(--spring), width .35s, height .35s; }
.header.is-scrolled .brand__logo { width: 46px; height: 46px; }
.brand:hover .brand__logo { transform: rotate(-12deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: "Playfair Display", Georgia, serif; font-size: 1.32rem; font-weight: 700; letter-spacing: -.01em; }
.brand__sub { margin-top: 5px; font-size: .64rem; font-weight: 800; letter-spacing: .46em; text-transform: uppercase; opacity: .8; }
.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav__link { position: relative; padding: 10px 13px; border-radius: 999px; font-size: .94rem; font-weight: 600; white-space: nowrap; transition: color .25s, opacity .25s; }
.nav__link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav + .header__actions { margin-left: 0; }
.header .icon-btn, .burger { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .32); color: inherit; }
.header.is-scrolled .icon-btn, .header.is-scrolled .burger { background: var(--white); border-color: var(--line); }
.menu-open .header .icon-btn, .menu-open .header .burger { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }

.cart-count { position: absolute; top: -5px; right: -5px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; background: var(--gold); color: var(--g-950); font-size: .72rem; font-weight: 800; line-height: 1; transform: scale(0); transition: transform .45s var(--spring); }
.cart-count.has-items { transform: scale(1); }
.is-bump { animation: bump .7s var(--spring); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.25) rotate(-10deg); } 60% { transform: scale(.92) rotate(5deg); } 100% { transform: scale(1); } }

.lang-switch { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .32); }
.header.is-scrolled .lang-switch { background: var(--cream-2); border-color: var(--line); }
.lang-switch__pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--gold); box-shadow: 0 4px 12px -4px rgba(212, 173, 85, .8); transition: transform .5s var(--spring), width .5s var(--spring); }
.lang-switch button { position: relative; z-index: 1; min-width: 46px; height: 36px; padding: 0 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .05em; opacity: .85; transition: color .3s, opacity .3s; }
.lang-switch button:hover { opacity: 1; }
.lang-switch button[aria-pressed="true"] { color: var(--g-950); opacity: 1; }
.lang-switch--light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; align-self: flex-start; }
.lang-switch--light button { height: 44px; min-width: 64px; font-size: .9rem; }

.burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 90; overflow-y: auto; color: #fff; background: radial-gradient(120% 80% at 100% 0%, var(--g-700), var(--g-900) 55%, var(--g-950)); clip-path: circle(0 at var(--ox, calc(100% - 44px)) var(--oy, 38px)); visibility: hidden; transition: clip-path .7s var(--ease-in-out), visibility 0s .7s; }
.menu-open .mobile-menu { clip-path: circle(150vmax at var(--ox, calc(100% - 44px)) var(--oy, 38px)); visibility: visible; transition: clip-path .8s var(--ease-in-out); }
.mobile-menu__inner { min-height: 100%; display: flex; flex-direction: column; gap: 28px; padding: calc(var(--header-h) + 22px) var(--pad) calc(28px + env(safe-area-inset-bottom)); }
.mobile-menu__nav a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-family: var(--font-display); font-size: clamp(1.5rem, 6.4vw, 2.3rem); opacity: 0; transform: translateY(24px); transition: opacity .45s, transform .6s var(--ease), color .3s; }
.mobile-menu__nav a i[data-icon] { width: 26px; height: 26px; color: var(--gold-2); transition: transform .4s var(--ease); }
.mobile-menu__nav a:hover { color: var(--gold-2); }
.mobile-menu__nav a:hover i[data-icon] { transform: translateX(6px); }
.menu-open .mobile-menu__nav a { opacity: 1; transform: none; transition-delay: calc(.22s + var(--i) * 60ms); }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 14px; }
.mobile-menu__phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; font-weight: 700; font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: max(660px, 100svh); display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 130px; color: #fff; background: var(--g-950); }
.hero__bg { position: absolute; inset: -2% 0 -12%; z-index: -3; will-change: transform; }
.hero__bg picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 62% 50%; animation: kenburns 30s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.16) translate3d(-1.6%, -1%, 0); } }
.hero__overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(7, 22, 11, .9) 0%, rgba(7, 22, 11, .7) 36%, rgba(7, 22, 11, .25) 68%, rgba(7, 22, 11, .12) 100%), linear-gradient(180deg, rgba(7, 22, 11, .6) 0%, transparent 24%, transparent 66%, rgba(7, 22, 11, .8) 100%); }
.hero__particles { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.hero__content { max-width: 700px; }
.hero__title { margin: 24px 0; font-size: clamp(2.5rem, 5.2vw, 4.6rem); font-weight: 600; line-height: 1.03; letter-spacing: -.02em; text-wrap: balance; }
:lang(ru) .hero__title { font-size: clamp(2.3rem, 4.7vw, 4.2rem); }
:lang(hy) .hero__title { font-size: clamp(2.1rem, 4.6vw, 4.1rem); line-height: 1.13; letter-spacing: 0; }
.hero__title em { font-style: italic; font-weight: 500; color: var(--gold-2); }
:lang(hy) .hero__title em { font-style: normal; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em; margin: 0 -.04em -.14em; }
.hero__title .w > span { display: inline-block; transform-origin: 0 100%; }
.js .hero__title .w > span { transform: translateY(110%) rotate(5deg); transition: transform 1.1s var(--ease); transition-delay: calc(220ms + var(--wi, 0) * 65ms); }
.js.is-loaded .hero__title .w > span { transform: none; }
.hero__lead { max-width: 570px; font-size: clamp(1.02rem, 1.45vw, 1.2rem); color: rgba(255, 255, 255, .86); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__proof { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.avatars { display: flex; }
.avatars span { width: 40px; height: 40px; margin-left: -11px; border-radius: 50%; border: 2px solid var(--g-900); display: grid; place-items: center; font-size: .86rem; font-weight: 800; color: var(--g-950); background: linear-gradient(135deg, var(--g-300), var(--g-500)); }
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #f3e2c0, #d6b483); }
.avatars span:nth-child(4) { background: var(--terra); color: #fff; }
.avatars i[data-icon] { width: 18px; height: 18px; }
.hero__proof-text { display: flex; flex-direction: column; gap: 3px; font-size: .9rem; color: rgba(255, 255, 255, .86); }
.hero__proof-text .stars { color: var(--gold-2); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .92); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust i[data-icon] { color: var(--g-300); }

.hero__side { position: relative; justify-self: end; width: min(410px, 100%); }
.hero-card { position: relative; overflow: hidden; padding: 20px 24px 24px; border-radius: var(--r-xl); background: linear-gradient(160deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 34px 80px -30px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .3); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.hero-card__glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .24), transparent 45%); transition: opacity .4s; }
.hero-card:hover .hero-card__glare { opacity: 1; }
.live-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 31, 17, .55); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.hero-card > .live-chip { display: flex; width: max-content; margin-left: auto; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #5ee27a; animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(94, 226, 122, .65); } 70% { box-shadow: 0 0 0 10px rgba(94, 226, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 226, 122, 0); } }
.hero-card__img { margin: 6px -12px 2px; aspect-ratio: 1000 / 623; filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .4)); animation: float 6s ease-in-out infinite; }
.hero-card__img img { width: 100%; height: 100%; object-fit: contain; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
.hero-card__name { font-size: 1.42rem; line-height: 1.2; }
:lang(hy) .hero-card__name { font-size: 1.25rem; }
.hero-card__unit { margin-top: 4px; font-size: .88rem; opacity: .75; }
.hero-card__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.hero-card__price { font-size: 1.7rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.hero-card__price s { margin-left: 8px; font-size: .95rem; font-weight: 600; opacity: .6; }

.hero-badge { position: absolute; z-index: 2; top: -58px; left: -58px; width: 136px; height: 136px; display: grid; place-items: center; color: #fff; pointer-events: none; }
.hero-badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 18s linear infinite; }
.hero-badge__ring text { font-family: var(--font-sans); font-size: 12.5px; font-weight: 800; letter-spacing: .18em; fill: currentColor; }
.hero-badge__core { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--g-950); box-shadow: 0 12px 30px -8px rgba(212, 173, 85, .75); animation: pulse 3s ease-in-out infinite; }
.hero-badge__core i[data-icon] { width: 30px; height: 30px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

.hero__scroll { position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .7rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.hero__scroll-line { position: relative; width: 1px; height: 44px; overflow: hidden; background: rgba(255, 255, 255, .25); }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: #fff; animation: scrollcue 2s var(--ease-in-out) infinite; }
@keyframes scrollcue { to { top: 100%; } }

/* ---------- Marquee tapes ---------- */
.tapes { position: relative; z-index: 5; margin: -66px 0 -40px; padding: 26px 0 30px; overflow: hidden; pointer-events: none; }
.tape { width: 110%; margin-left: -5%; padding: 13px 0; overflow: hidden; white-space: nowrap; }
.tape--green { position: relative; z-index: 1; background: var(--g-800); color: var(--cream); transform: rotate(-2deg); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
.tape--gold { margin-top: -14px; background: var(--gold); color: var(--g-950); transform: rotate(1.4deg); }
.tape__track { display: inline-flex; align-items: center; will-change: transform; }
.tape__item { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font-family: var(--font-display); font-size: clamp(1.05rem, 1.9vw, 1.45rem); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.tape__item i[data-icon] { width: 22px; height: 22px; color: var(--g-300); }
.tape--gold .tape__item i[data-icon] { color: var(--g-800); }

/* ---------- Why us ---------- */
.why { padding-top: calc(var(--section) + 24px); overflow: hidden; }
@supports (overflow: clip) { .why { overflow: clip; } }
.why__deco { position: absolute; z-index: 0; top: 70px; right: -150px; width: 440px; transform: rotate(-26deg); filter: drop-shadow(0 22px 30px rgba(18, 53, 28, .2)); pointer-events: none; }
.why .container { position: relative; z-index: 1; }
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.benefit { position: relative; overflow: hidden; padding: 30px 26px 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.benefit:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--g-100); }
.benefit::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--g-300), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.benefit:hover::after { transform: scaleX(1); }
.benefit__num { position: absolute; top: 14px; right: 20px; font-family: var(--font-display); font-size: 3.4rem; font-weight: 700; line-height: 1; color: var(--cream-3); transition: color .4s, transform .5s var(--ease); }
.benefit:hover .benefit__num { color: var(--g-100); transform: translateY(-4px); }
.benefit__icon { position: relative; width: 58px; height: 58px; margin-bottom: 22px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(145deg, var(--g-600), var(--g-800)); color: #fff; box-shadow: 0 12px 24px -10px rgba(36, 95, 49, .7); transition: transform .6s var(--spring); }
.benefit:hover .benefit__icon { transform: rotate(-10deg) scale(1.08); }
.benefit__icon i[data-icon] { width: 28px; height: 28px; }
.benefit__title { margin-bottom: 10px; font-size: 1.24rem; color: var(--g-900); }
:lang(hy) .benefit__title { font-size: 1.1rem; line-height: 1.3; }
.benefit__text { font-size: .95rem; color: var(--muted); }

/* ---------- Shop ---------- */
.shop { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.filters { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 22px; padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.filters__pill { position: absolute; top: 5px; left: 0; height: 0; width: 0; border-radius: 999px; background: var(--g-800); transition: transform .55s var(--spring), width .55s var(--spring), height .3s; }
.filter { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: .92rem; font-weight: 700; color: var(--muted); transition: color .3s; }
.filter:hover { color: var(--g-800); }
.filter[aria-selected="true"] { color: #fff; }
.filter__count { padding: 1px 8px; border-radius: 999px; font-size: .72rem; background: var(--cream-2); color: var(--g-800); transition: background .3s, color .3s; }
.filter[aria-selected="true"] .filter__count { background: rgba(255, 255, 255, .18); color: #fff; }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pcard { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.js .products:not(.is-visible) .pcard { opacity: 0; }
.products.is-visible .pcard { animation: cardIn .75s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(34px) scale(.97); } to { opacity: 1; transform: none; } }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pcard__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.08); }
.pcard__badges { position: absolute; z-index: 1; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.pcard__quick { position: absolute; z-index: 1; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 253, 248, .94); color: var(--g-800); box-shadow: var(--shadow); opacity: 0; transform: translateY(12px) scale(.8); transition: opacity .35s, transform .45s var(--spring); }
.pcard__quick i[data-icon] { width: 22px; height: 22px; }
.pcard:hover .pcard__quick, .pcard__quick:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .pcard__quick { opacity: 1; transform: none; } }
.pcard__body { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 20px 22px 22px; }
.pcard__cat { font-size: .73rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--g-500); }
:lang(hy) .pcard__cat { letter-spacing: .06em; }
.pcard__name { font-size: 1.3rem; color: var(--g-900); }
:lang(hy) .pcard__name { font-size: 1.14rem; line-height: 1.3; }
.pcard__unit { font-size: .88rem; font-weight: 700; color: var(--muted); }
.pcard__desc { font-size: .92rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.pcard.is-soldout .pcard__media img { filter: grayscale(.7); opacity: .8; }
.price { display: flex; flex-direction: column; line-height: 1.15; }
.price b { font-size: 1.38rem; font-weight: 800; color: var(--g-900); white-space: nowrap; }
.price s { font-size: .86rem; font-weight: 600; color: #9b9a8a; white-space: nowrap; }
.pcard__actions { display: flex; justify-content: flex-end; margin-left: auto; }

.stepper { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: var(--g-100); animation: pop .45s var(--spring); }
.stepper button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--g-800); box-shadow: var(--shadow-sm); transition: transform .2s, background .2s; }
.stepper button:hover { background: #fff; }
.stepper button:active { transform: scale(.86); }
.stepper button i[data-icon] { width: 18px; height: 18px; }
.stepper__val { min-width: 34px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.stepper--sm button { width: 32px; height: 32px; }
.stepper--sm .stepper__val { min-width: 28px; font-size: .92rem; }
.stepper--lg button { width: 44px; height: 44px; }
.stepper--lg .stepper__val { min-width: 44px; font-size: 1.1rem; }
@keyframes pop { 0% { transform: scale(.7); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

.shop__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; margin-top: 36px; padding: 20px 24px; border-radius: var(--r-lg); background: var(--g-100); border: 1px dashed rgba(47, 122, 60, .35); }
.season-note { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--g-800); }
.season-note i[data-icon] { width: 24px; height: 24px; color: var(--g-600); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.about__media { position: relative; padding: 0 64px 64px 0; }
.about__photo { overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--main { aspect-ratio: 4 / 5; }
.about__photo--small { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 4 / 3; border: 8px solid var(--cream); border-radius: var(--r-lg); }
.about__chip { position: absolute; top: 28px; right: 26px; animation: bob 5s ease-in-out infinite; }
.about__chip i[data-icon] { color: var(--g-600); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
.about__leaf { position: absolute; left: -34px; bottom: 38px; width: 96px; height: 96px; fill: var(--g-300); stroke: var(--g-700); stroke-width: 3; stroke-linejoin: round; transform-origin: 20% 85%; animation: sway 7s ease-in-out infinite; }
.about__leaf path:last-child { fill: none; }
@keyframes sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(8deg); } }
.about__text { margin-top: 18px; font-size: 1.05rem; color: var(--muted); }
.about__sign { margin-top: 22px; font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--g-700); }
:lang(hy) .about__sign { font-style: normal; font-size: 1.15rem; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.stat { padding: 20px 22px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat__value { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 700; line-height: 1; color: var(--g-800); white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat__value .suf { color: var(--gold-3); }
.stat__label { margin-top: 8px; font-size: .9rem; font-weight: 600; color: var(--muted); }

/* ---------- Process ---------- */
.process { background: var(--cream-2); }
.process__wrap { position: relative; }
.process__line { position: absolute; top: 44px; left: var(--edge, 12.5%); right: var(--edge, 12.5%); height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 18px); }
.process__line span { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(90deg, var(--g-500), var(--gold)); transform: scaleX(var(--p, 0)); transform-origin: left; }
.steps { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 24px; }
.step { padding: 0 10px; text-align: center; }
.step__icon { position: relative; width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--g-700); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .6s var(--spring), background .4s, color .4s; }
.step:hover .step__icon { transform: translateY(-6px) rotate(-6deg); background: var(--g-800); color: #fff; }
.step__icon i[data-icon] { width: 34px; height: 34px; }
.step__num { position: absolute; top: -4px; right: -4px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--g-950); border: 3px solid var(--cream-2); font-size: .82rem; font-weight: 800; }
.step__title { margin-bottom: 8px; font-size: 1.2rem; color: var(--g-900); }
:lang(hy) .step__title { font-size: 1.08rem; line-height: 1.3; }
.step__text { max-width: 270px; margin-inline: auto; font-size: .94rem; color: var(--muted); }

/* ---------- Seedlings ---------- */
.seed { overflow: hidden; color: #fff; background: radial-gradient(90% 70% at 85% 8%, rgba(91, 143, 46, .38), transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(212, 173, 85, .14), transparent 60%), linear-gradient(180deg, var(--g-900), var(--g-950)); }
.seed__glow { position: absolute; top: -120px; left: 40%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 207, 90, .18), transparent 65%); filter: blur(10px); animation: glow 10s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glow { to { transform: translate(-120px, 80px) scale(1.2); } }
.seed__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.seed__points { display: grid; gap: 14px; margin-top: 30px; }
.seed__points li { display: flex; align-items: flex-start; gap: 14px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.ck { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(168, 207, 90, .16); color: var(--g-300); }
.ck i[data-icon] { width: 16px; height: 16px; }
.growth { margin-top: 40px; padding: 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.growth__title { margin-bottom: 18px; font-family: var(--font-sans); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--g-300); }
.growth__stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stage__plot { position: relative; height: 118px; margin-bottom: 12px; display: flex; align-items: flex-end; justify-content: center; gap: 7px; border-bottom: 3px solid #7a5532; }
.stage__plot::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -9px; height: 6px; border-radius: 50%; background: rgba(122, 85, 50, .5); filter: blur(2px); }
.spear { position: relative; width: 9px; height: calc(var(--h, 50) * 1%); border-radius: 50% 50% 3px 3px / 16px 16px 3px 3px; background: linear-gradient(90deg, var(--g-500), var(--g-300) 45%, var(--g-500)); transform: scaleY(0); transform-origin: bottom; transition: transform 1.3s var(--spring); transition-delay: calc(var(--s, 0) * 260ms + var(--j, 0) * 70ms); }
.spear::before { content: ""; position: absolute; left: -2px; right: -2px; top: 0; height: 18px; border-radius: 50% 50% 40% 40%; background: linear-gradient(180deg, #8c6fae, var(--g-400)); opacity: .55; }
.growth.is-visible .spear { transform: scaleY(1); }
.stage__label { font-weight: 800; color: var(--gold-2); }
.stage__text { font-size: .88rem; color: rgba(255, 255, 255, .72); line-height: 1.45; }
.seed__photo { overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 3 / 2; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.seed__photo img { width: 100%; height: 100%; object-fit: cover; }
.calc { position: relative; margin: -70px 24px 0; padding: 26px; border-radius: var(--r-lg); background: rgba(18, 53, 28, .78); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow-lg); }
.calc__title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 1.35rem; }
.calc__title i[data-icon] { color: var(--gold-2); }
.calc__label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.calc__area { font-family: var(--font-display); font-size: 1.6rem; color: #fff; white-space: nowrap; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 10px 0; border-radius: 8px; background: linear-gradient(90deg, var(--gold) 0 var(--p, 10%), rgba(255, 255, 255, .16) var(--p, 10%) 100%); cursor: pointer; }
.range:focus-visible { outline-offset: 8px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 7px solid var(--gold); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); transition: transform .2s var(--spring); }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 7px solid var(--gold); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.range:active::-webkit-slider-thumb { transform: scale(1.18); }
.calc__results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0; }
.calc__res { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; padding: 14px; border-radius: var(--r); background: rgba(255, 255, 255, .06); font-size: .8rem; font-weight: 600; line-height: 1.3; color: rgba(255, 255, 255, .72); }
.calc__res b { font-size: 1.3rem; font-weight: 800; color: #fff; white-space: nowrap; }
.calc__res b small { font-size: .7rem; font-weight: 700; opacity: .75; }
.calc__res--total b { color: var(--gold-2); }
.tick { animation: tick .35s var(--ease); }
@keyframes tick { 0% { transform: translateY(-6px); opacity: .3; } 100% { transform: none; opacity: 1; } }
.calc__note { margin-top: 12px; text-align: center; font-size: .8rem; color: rgba(255, 255, 255, .55); }

/* ---------- Nutrition flip cards ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fact { display: block; width: 100%; min-height: 240px; padding: 0; text-align: left; perspective: 1000px; }
.fact__inner { display: block; position: relative; width: 100%; height: 100%; min-height: 240px; transform-style: preserve-3d; transition: transform .85s var(--spring); }
.fact.is-flipped .fact__inner { transform: rotateY(180deg); }
@media (hover: hover) { .fact:hover .fact__inner { transform: rotateY(180deg); } }
.fact__face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-lg); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fact__front { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.fact__back { justify-content: center; gap: 12px; background: linear-gradient(150deg, var(--g-700), var(--g-900)); color: #fff; font-size: .98rem; line-height: 1.55; transform: rotateY(180deg); }
.fact__back i[data-icon] { width: 30px; height: 30px; color: var(--gold-2); }
.fact__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--g-100); color: var(--g-700); }
.fact__icon i[data-icon] { width: 26px; height: 26px; }
.fact__value { margin-top: auto; font-family: var(--font-display); font-size: clamp(2.3rem, 3.8vw, 3.1rem); font-weight: 700; line-height: 1; color: var(--g-800); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fact__value small { margin-left: 2px; font-family: var(--font-sans); font-size: .42em; font-weight: 800; color: var(--gold-3); }
.fact__label { margin-top: 8px; font-weight: 600; color: var(--muted); }
.fact__hint { position: absolute; top: 24px; right: 22px; display: flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--g-500); }
.fact__hint i[data-icon] { width: 16px; height: 16px; animation: spin 6s linear infinite; }
.nutri__source { margin-top: 26px; text-align: center; font-size: .82rem; color: var(--muted); }

/* ---------- Recipes ---------- */
.recipes { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.recipes__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.recipes__photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.recipes__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .45s; }
.recipes__photo img.is-swapping { opacity: 0; transform: scale(1.06); }
.recipes__photo:hover img { transform: scale(1.04); }
.recipes__time { position: absolute; left: 20px; bottom: 20px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 24px; }
.tab { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); font-size: .92rem; font-weight: 700; color: var(--muted); transition: background .3s, color .3s, border-color .3s, transform .3s var(--spring); }
.tab:hover { border-color: var(--g-600); color: var(--g-700); transform: translateY(-2px); }
.tab[aria-selected="true"] { background: var(--g-800); border-color: var(--g-800); color: #fff; }
.recipe { animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.recipe__name { margin-bottom: 20px; font-size: 1.6rem; color: var(--g-900); }
:lang(hy) .recipe__name { font-size: 1.35rem; line-height: 1.3; }
.recipe__cols { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 26px; }
.recipe__h { margin-bottom: 12px; font-family: var(--font-sans); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--g-500); }
.ingr li { margin-bottom: 6px; }
.ingr label { display: flex; align-items: center; gap: 10px; min-height: 32px; cursor: pointer; font-size: .95rem; font-weight: 600; }
.ingr input { -webkit-appearance: none; appearance: none; flex: none; width: 21px; height: 21px; margin: 0; border-radius: 7px; border: 2px solid var(--line-2); background: var(--white); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.ingr input:checked { background: var(--g-600); border-color: var(--g-600); }
.ingr input:checked::after { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.ingr input:checked + span { color: var(--muted); text-decoration: line-through; }
.steps-list { counter-reset: s; }
.steps-list li { position: relative; margin-bottom: 12px; padding-left: 40px; font-size: .95rem; color: var(--ink-2); counter-increment: s; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--g-100); color: var(--g-700); font-size: .8rem; font-weight: 800; }
.recipe__cta { margin-top: 22px; }

/* ---------- Reviews ---------- */
.reviews { overflow: hidden; background: var(--cream-2); }
.score { display: flex; align-items: center; gap: 16px; justify-self: end; }
.score__value { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.4rem); font-weight: 700; line-height: 1; color: var(--g-800); }
.score .stars i[data-icon] { width: 20px; height: 20px; }
.score__label { display: block; max-width: 220px; margin-top: 4px; font-size: .88rem; color: var(--muted); }
.reviews__rows { display: grid; gap: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.reviews__row { display: flex; width: max-content; animation: marquee var(--dur, 70s) linear infinite; }
.reviews__row--rev { animation-direction: reverse; }
.reviews__rows:hover .reviews__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.review { flex: none; width: min(380px, 80vw); margin-right: 20px; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.review:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: var(--shadow); }
.review__text { flex: 1; font-size: 1rem; color: var(--ink-2); }
.review__text::before { content: "\201C"; margin-right: 4px; font-family: Georgia, serif; font-size: 3rem; line-height: 0; vertical-align: -.45em; color: var(--gold); }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--g-500), var(--g-800)); }
.review:nth-child(3n+2) .review__avatar { background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); }
.review:nth-child(3n) .review__avatar { background: linear-gradient(135deg, #d98b62, var(--terra)); }
.review__name { font-weight: 800; line-height: 1.2; }
.review__place { font-size: .85rem; color: var(--muted); }

/* ---------- Social ---------- */
.social__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.social__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--g-800); transition: transform .45s var(--spring), background .3s, color .3s, border-color .3s; }
.socials a i[data-icon] { width: 20px; height: 20px; }
.socials a:hover { transform: translateY(-4px) rotate(-8deg); background: var(--g-800); border-color: var(--g-800); color: #fff; }
.socials--light a { border-color: rgba(255, 255, 255, .2); color: #fff; }
.socials--light a:hover { background: var(--gold); border-color: var(--gold); color: var(--g-950); }
.ugc { display: flex; align-items: flex-start; gap: 16px; margin-top: 30px; padding: 20px; border-radius: var(--r-lg); background: linear-gradient(135deg, #fff4dc, #fde8c4); border: 1px solid #f0d8a4; }
.ugc__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold); color: var(--g-950); animation: wiggle 3.2s ease-in-out infinite; }
.ugc__icon i[data-icon] { width: 24px; height: 24px; }
@keyframes wiggle { 0%, 78%, 100% { transform: rotate(0); } 84% { transform: rotate(-14deg); } 90% { transform: rotate(10deg); } 95% { transform: rotate(-5deg); } }
.ugc b { font-size: 1.05rem; color: var(--g-900); }
.ugc p { margin-top: 4px; font-size: .92rem; color: var(--ink-2); }
.social__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-bottom: 20px; }
.tile { position: relative; display: block; overflow: hidden; aspect-ratio: 1; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.tile:nth-child(3n+2) { transform: translateY(20px); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 17, .1), rgba(11, 31, 17, .65)); opacity: 0; transition: opacity .4s; }
.tile__ico { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .4s, transform .45s var(--spring); }
.tile__ico i[data-icon] { width: 34px; height: 34px; }
.tile:hover img { transform: scale(1.1) rotate(1deg); }
.tile:hover::after { opacity: 1; }
.tile:hover .tile__ico { opacity: 1; transform: none; }

/* ---------- B2B ---------- */
.b2b { padding-block: calc(var(--section) * .45); }
.b2b__card { position: relative; isolation: isolate; overflow: hidden; min-height: 400px; display: flex; align-items: center; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); background: var(--g-900); }
.b2b__bg { position: absolute; z-index: -2; inset: -8% 0 auto 0; width: 100%; height: 116%; object-fit: cover; }
.b2b__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 31, 17, .95) 0%, rgba(11, 31, 17, .82) 46%, rgba(11, 31, 17, .25) 100%); }
.b2b__content { max-width: 660px; padding: clamp(32px, 5vw, 64px); }
.b2b__content .btn { margin-top: 30px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.faq__intro { position: sticky; top: 100px; }
.faq__intro .btn { margin-top: 28px; }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item:first-child { border-top: 1px solid var(--line-2); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; text-align: left; font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; line-height: 1.35; color: var(--g-900); transition: color .3s; }
:lang(hy) .faq__q { font-size: 1.04rem; }
.faq__q:hover { color: var(--g-600); }
.faq__plus { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--g-100); transition: transform .5s var(--spring), background .3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--g-800); transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__plus { transform: rotate(180deg); background: var(--gold); }
.faq__item.is-open .faq__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 58px 22px 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { padding-top: calc(var(--section) * .6); }
.contact__card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); color: #fff; background: radial-gradient(80% 120% at 100% 0%, rgba(168, 207, 90, .25), transparent 55%), linear-gradient(135deg, var(--g-800), var(--g-950)); box-shadow: var(--shadow-lg); }
.contact__deco { position: absolute; z-index: -1; right: -90px; bottom: -70px; width: 440px; opacity: .14; transform: rotate(-18deg); pointer-events: none; }
.contact__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.contact__list { display: grid; gap: 12px; align-content: center; }
.contact__list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, transform .4s var(--ease); }
.contact__list li:hover { background: rgba(255, 255, 255, .1); transform: translateX(4px); }
.contact__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(212, 173, 85, .16); color: var(--gold-2); }
.contact__ico i[data-icon] { width: 22px; height: 22px; }
.contact__list small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.contact__list div { min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.contact__map { margin-left: 6px; font-size: .8rem; color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; margin-top: 0; padding-top: 80px; background: var(--g-950); color: rgba(255, 255, 255, .78); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer__logo { width: 112px; height: 112px; margin-bottom: 18px; border-radius: 50%; background: var(--cream); }
.footer__tagline { max-width: 340px; }
.footer__title { margin-bottom: 18px; font-family: var(--font-sans); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.footer__links { display: grid; gap: 10px; }
.footer__links a, .footer__links li > span { display: inline-flex; align-items: center; gap: 10px; min-height: 30px; transition: color .3s, transform .3s var(--ease); }
.footer__links a:hover { color: #fff; transform: translateX(4px); }
.footer__links i[data-icon] { width: 18px; height: 18px; color: var(--g-300); }
.footer__wordmark { margin-top: 56px; overflow: hidden; text-align: center; white-space: nowrap; line-height: .9; user-select: none; }
.footer__wordmark span { display: inline-block; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.4rem, 8.6vw, 8.6rem); font-weight: 700; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(236, 208, 138, .4); background: linear-gradient(100deg, transparent 0 40%, rgba(236, 208, 138, .75) 50%, transparent 60% 100%) 0 0 / 250% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: sheen 7s ease-in-out infinite; }
@keyframes sheen { 0% { background-position: 120% 0; } 60%, 100% { background-position: -20% 0; } }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; }
#copyright { cursor: default; user-select: none; }

/* ---------- Floating UI ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.fab__btn, .fab.is-open .fab__menu { pointer-events: auto; }
.fab__btn { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2bd46b, var(--wa-2)); color: #fff; box-shadow: 0 14px 30px -8px rgba(22, 122, 66, .65); transition: transform .45s var(--spring); }
.fab__btn:hover { transform: scale(1.06); }
.fab__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #2bd46b; animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.65); opacity: 0; } }
.fab__btn i[data-icon] { grid-area: 1 / 1; width: 28px; height: 28px; transition: transform .45s var(--spring), opacity .3s; }
.fab__close { opacity: 0; transform: rotate(-90deg) scale(.5); }
.fab.is-open .fab__open { opacity: 0; transform: rotate(90deg) scale(.5); }
.fab.is-open .fab__close { opacity: 1; transform: none; }
.fab.is-open .fab__btn::before { animation: none; opacity: 0; }
.fab__menu { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.fab__item { --c: var(--g-800); display: flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: .92rem; font-weight: 700; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .3s, transform .45s var(--spring); transition-delay: calc(var(--i) * 45ms); }
.fab__item i[data-icon] { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--c); color: #fff; }
.fab__item:hover { transform: translateX(-4px); }
.fab__item--wa { --c: #1fa855; }
.fab__item--tg { --c: #2aa3df; }
.fab__item--vb { --c: #7360f2; }
.fab.is-open .fab__menu { pointer-events: auto; }
.fab.is-open .fab__item { opacity: 1; transform: none; }

.to-top { position: fixed; right: 30px; bottom: 98px; z-index: 79; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--g-800); box-shadow: var(--shadow); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .4s, transform .5s var(--spring); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab.is-open ~ .to-top { opacity: 0; pointer-events: none; }
.to-top i[data-icon] { width: 20px; height: 20px; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }

.mobile-bar { display: none; }

/* ---------- Drawer (cart) ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; transition: visibility 0s .55s; }
.drawer.is-open { visibility: visible; pointer-events: auto; transition: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(8, 20, 11, .5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--cream); box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .35); transform: translateX(105%); transition: transform .55s var(--ease); outline: none; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__title { flex: 1; font-size: 1.5rem; color: var(--g-900); }
.drawer__title .muted { font-family: var(--font-sans); font-size: .9rem; font-weight: 700; color: var(--muted); }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 20px 22px; overscroll-behavior: contain; }
.drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.drawer__foot:empty { display: none; }
.view-anim { animation: viewIn .45s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

.free-ship { margin-bottom: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--g-100); }
.free-ship__text { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--g-800); }
.free-ship__bar { position: relative; height: 8px; margin: 14px 10px 4px 0; border-radius: 8px; background: rgba(47, 122, 60, .16); }
.free-ship__bar > span { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); border-radius: 8px; background: linear-gradient(90deg, var(--g-500), var(--gold)); transition: width .7s var(--ease); }
.free-ship__bar > i[data-icon] { position: absolute; top: 50%; left: var(--p, 0%); width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: #fff; color: var(--g-700); box-shadow: var(--shadow-sm); transform: translate(-50%, -50%); transition: left .7s var(--ease); }
.free-ship.is-done { background: linear-gradient(135deg, #fff4dc, #fde8c4); }

.citem { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: fadeUp .45s var(--ease) backwards; }
.citem__img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; background: var(--cream-2); }
.citem__name { font-size: .98rem; font-weight: 800; line-height: 1.25; }
.citem__meta { margin-top: 2px; font-size: .82rem; color: var(--muted); }
.citem__price { margin-top: 6px; font-weight: 800; color: var(--g-800); white-space: nowrap; }
.citem__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.citem__remove { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background .2s, color .2s; }
.citem__remove:hover { background: #f6e3dc; color: var(--terra); }
.citem__remove i[data-icon] { width: 18px; height: 18px; }
.citem.is-removing { animation: slideOut .35s var(--ease) forwards; }
@keyframes slideOut { to { opacity: 0; transform: translateX(40px); } }
.cart-tools { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.promo { display: flex; gap: 8px; margin-top: 16px; }
.promo .input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.promo__msg { margin-top: 8px; font-size: .85rem; font-weight: 700; }
.promo__msg.is-ok { color: var(--g-600); }
.promo__msg.is-bad { color: var(--terra); }
.summary { display: grid; gap: 8px; font-size: .95rem; }
.summary > div { display: flex; justify-content: space-between; gap: 12px; }
.summary .disc { color: var(--terra); font-weight: 700; }
.summary .total { margin-top: 4px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 1.22rem; font-weight: 800; color: var(--g-900); }
.summary + .btn { margin-top: 14px; }
.cart-empty { padding: 36px 8px; text-align: center; }
.cart-empty__art { width: 160px; height: 160px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, var(--g-100), var(--cream-2)); }
.cart-empty__art img { width: 130px; animation: float 5s ease-in-out infinite; }
.cart-empty h3 { font-size: 1.45rem; color: var(--g-900); }
.cart-empty p { margin: 8px 0 22px; color: var(--muted); }
.cart-upsell { margin-top: 22px; }
.cart-upsell h4 { margin-bottom: 10px; font-family: var(--font-sans); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--g-500); }
.upsell { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.upsell + .upsell { margin-top: 8px; }
.upsell img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.upsell div { flex: 1; min-width: 0; font-size: .9rem; font-weight: 700; line-height: 1.25; }
.upsell small { display: block; color: var(--g-700); font-weight: 800; }

/* forms */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field__label { font-size: .85rem; font-weight: 800; color: var(--ink-2); }
.field__label .req { color: var(--terra); }
.input { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--white); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--g-600); box-shadow: 0 0 0 4px rgba(47, 122, 60, .14); }
textarea.input { min-height: 84px; resize: vertical; }
select.input { -webkit-appearance: none; appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%235b6858' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.field__err { display: none; font-size: .8rem; font-weight: 700; color: var(--terra); }
.field.is-invalid .input { border-color: var(--terra); animation: shake .4s; }
.field.is-invalid .field__err { display: block; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.radio-cards { display: grid; gap: 8px; }
.radio-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--white); cursor: pointer; transition: border-color .25s, background .25s; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card__dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; transition: border-color .2s; }
.radio-card__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--g-600); transform: scale(0); transition: transform .3s var(--spring); }
.radio-card.is-checked { border-color: var(--g-600); background: var(--g-100); }
.radio-card.is-checked .radio-card__dot { border-color: var(--g-600); }
.radio-card.is-checked .radio-card__dot::after { transform: scale(1); }
.radio-card:focus-within { box-shadow: 0 0 0 3px rgba(212, 173, 85, .6); }
.radio-card__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.radio-card__txt b { font-size: .95rem; }
.radio-card__txt small { font-size: .8rem; color: var(--muted); }
.radio-card__price { font-size: .9rem; font-weight: 800; color: var(--g-800); white-space: nowrap; }
.send-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: .85rem; color: var(--muted); }
.send-alt button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); font-size: .85rem; font-weight: 700; transition: border-color .2s, transform .3s var(--spring); }
.send-alt button:hover { border-color: var(--g-600); transform: translateY(-2px); }
.send-alt i[data-icon] { width: 18px; height: 18px; }
.privacy { margin-top: 10px; text-align: center; font-size: .75rem; color: var(--muted); }
.order-mini { display: grid; gap: 6px; padding: 14px 16px; margin-bottom: 18px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); font-size: .88rem; }
.order-mini > div { display: flex; justify-content: space-between; gap: 10px; }
.order-mini span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-mini b { white-space: nowrap; }

.success { padding: 40px 10px; text-align: center; }
.success__check { width: 112px; height: 112px; margin: 0 auto 24px; }
.success__check circle { fill: var(--g-100); stroke: var(--g-600); stroke-width: 3; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw .9s var(--ease) forwards; }
.success__check path { fill: none; stroke: var(--g-700); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .6s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: 1.6rem; color: var(--g-900); }
.success p { margin: 10px 0 24px; color: var(--muted); }

/* ---------- Modal (quick view) ---------- */
.modal { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; transition: visibility 0s .45s; }
.modal.is-open { visibility: visible; pointer-events: auto; transition: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 20, 11, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel { position: relative; width: min(900px, 100%); max-height: calc(100svh - 40px); overflow: auto; border-radius: var(--r-xl); background: var(--cream); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .4s, transform .55s var(--ease); outline: none; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; z-index: 2; top: 14px; right: 14px; }
.qv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.qv__media { position: relative; min-height: 320px; background: var(--cream-2); }
.qv__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qv__media .pcard__badges { right: auto; }
.qv__body { display: flex; flex-direction: column; gap: 12px; padding: 40px 32px 32px; }
.qv__name { font-size: 1.9rem; color: var(--g-900); padding-right: 40px; }
:lang(hy) .qv__name { font-size: 1.5rem; line-height: 1.3; }
.qv__desc { color: var(--muted); }
.qv__price { display: flex; align-items: baseline; gap: 10px; }
.qv__price b { font-size: 2rem; font-weight: 800; color: var(--g-900); }
.qv__price s { color: #9b9a8a; font-weight: 600; }
.qv__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.qv__buy .btn { flex: 1; }
.qv__perks { display: grid; gap: 8px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.qv__perks li { display: flex; align-items: center; gap: 10px; }
.qv__perks i[data-icon] { color: var(--g-600); }

/* ---------- Toasts, confetti, fly-to-cart ---------- */
.toasts { position: fixed; z-index: 300; top: calc(var(--header-h) + 12px); left: 50%; transform: translateX(-50%); width: min(420px, calc(100% - 24px)); display: grid; gap: 10px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 16px; background: var(--g-900); color: #fff; font-size: .92rem; font-weight: 700; line-height: 1.35; box-shadow: var(--shadow-lg); pointer-events: auto; animation: toastIn .55s var(--spring) both; }
.toast img { flex: none; width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.toast__btn { flex: none; margin-left: 4px; padding: 7px 12px; border-radius: 999px; background: var(--gold-2); color: var(--g-950); font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; transition: transform .25s var(--ease), background .25s; }
.toast__btn:hover { transform: translateY(-1px); background: #fff; }
.toast > span:not(.toast__ico) { flex: 1 1 auto; min-width: 0; }
.toast__ico { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--g-950); }
.toast__ico i[data-icon] { width: 20px; height: 20px; }
.toast.is-leaving { animation: toastOut .4s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-20px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-12px) scale(.95); } }
.confetti { position: fixed; inset: 0; z-index: 400; width: 100%; height: 100%; pointer-events: none; }
.fly { position: fixed; z-index: 500; left: 0; top: 0; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); pointer-events: none; }
.leaf-p { position: fixed; z-index: 500; left: 0; top: 0; width: 10px; height: 16px; border-radius: 0 100% 0 100%; background: var(--g-500); pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-block; }
}
@media (max-width: 1100px) {
  .benefits, .products, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__deco { width: 340px; right: -170px; opacity: .6; }
}
@media (max-width: 980px) {
  .hero { min-height: auto; padding-bottom: 150px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 72px; }
  .hero__side { justify-self: start; width: min(400px, 100%); margin-left: 50px; }
  .hero__scroll { display: none; }
  .section-head--split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .about__grid, .seed__grid, .recipes__grid, .social__grid, .faq__grid, .contact__card { grid-template-columns: minmax(0, 1fr); }
  .about__media { max-width: 560px; }
  .faq__intro { position: static; }
  .score { justify-self: start; }
  .recipes__photo { aspect-ratio: 16 / 10; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .header.is-scrolled { --header-h: 60px; }
  .brand__logo { width: 44px; height: 44px; }
  .header.is-scrolled .brand__logo { width: 40px; height: 40px; }
  .brand__name { font-size: 1.15rem; }
  .brand__sub { font-size: .58rem; letter-spacing: .4em; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero__overlay { background: linear-gradient(180deg, rgba(7, 22, 11, .82) 0%, rgba(7, 22, 11, .62) 42%, rgba(7, 22, 11, .7) 70%, rgba(7, 22, 11, .9) 100%); }
  .hero__img { object-position: 50% 50%; }
  .hero__side { margin-left: 34px; width: calc(100% - 34px); max-width: 380px; }
  .hero-badge { width: 112px; height: 112px; top: -50px; left: -40px; }
  .hero-badge__core { width: 54px; height: 54px; }
  .tapes { margin-top: -74px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .process__line { top: 44px; bottom: var(--vb, 44px); left: 43px; right: auto; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 10px, transparent 10px 18px); }
  .process__line span { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .step { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 4px 20px; padding: 0; text-align: left; }
  .step__icon { grid-row: span 2; margin: 0; }
  .step__title { align-self: end; margin: 0; }
  .step__text { margin: 0; max-width: none; }
  .calc { margin: -46px 10px 0; padding: 22px 18px; }
  .calc__results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc__res--total { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .growth { padding: 20px 16px; }
  .growth__stages { gap: 10px; }
  .recipe__cols { grid-template-columns: minmax(0, 1fr); }
  .social__tiles { gap: 8px; }
  .tile { border-radius: var(--r); }
  .qv { grid-template-columns: minmax(0, 1fr); }
  .qv__media { min-height: 0; aspect-ratio: 4 / 3; }
  .qv__body { padding: 24px 20px 24px; }
  .modal { padding: 10px; align-items: end; }
  .modal__panel { max-height: calc(100svh - 20px); }
  .faq__a p { padding-right: 0; }
  .mobile-bar { position: fixed; z-index: 85; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 20px; background: rgba(11, 31, 17, .93); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .55); transform: translateY(150%); transition: transform .55s var(--ease); }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar__cart { flex: 1; min-width: 0; min-height: 48px; display: flex; align-items: center; gap: 12px; text-align: left; }
  .mobile-bar__ico { position: relative; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
  .mobile-bar__ico i[data-icon] { width: 22px; height: 22px; }
  .mobile-bar__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
  .mobile-bar__txt small { font-size: .72rem; opacity: .7; }
  .mobile-bar__txt b { font-size: 1.05rem; white-space: nowrap; }
  .mobile-bar__cta { min-height: 48px; padding: 0 18px; font-size: .92rem; }
  .fab { right: 14px; bottom: calc(90px + env(safe-area-inset-bottom)); }
  .fab__btn { width: 54px; height: 54px; }
  .to-top { right: 19px; bottom: calc(158px + env(safe-area-inset-bottom)); }
  .footer__bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .header .lang-switch, .header__cta { display: none; }
  .header__actions { gap: 8px; }
  .benefits, .products { grid-template-columns: minmax(0, 1fr); }
  .facts { gap: 12px; }
  .fact, .fact__inner { min-height: 230px; }
  .fact__face { padding: 18px; }
  .fact__back { font-size: .86rem; line-height: 1.45; }
  .fact__hint { top: 18px; right: 16px; }
  .fact__hint span { display: none; }
  .hero__ctas .btn { width: 100%; }
  .hero__proof { align-items: flex-start; }
  .stats { gap: 10px; }
  .stat { padding: 16px; }
  .about__media { padding: 0 34px 44px 0; }
  .about__leaf { left: -14px; width: 70px; height: 70px; }
  .shop__foot { padding: 18px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__btns .btn { width: 100%; }
  .why__deco { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-scale, .js [data-anim], .js [data-stagger] > *, .js .products .pcard { opacity: 1 !important; transform: none !important; }
  .js .hero__title .w > span, .spear { transform: none !important; }
  .reviews__rows { overflow-x: auto; }
}

/* ---------- Small helpers used by app.js ---------- */
.tape__group { display: inline-flex; flex: none; align-items: center; }
.js.is-loaded .hero__title.retext .w > span { animation: wordIn .9s var(--ease) backwards; animation-delay: calc(var(--wi, 0) * 45ms); }
@keyframes wordIn { from { transform: translateY(110%) rotate(5deg); } to { transform: none; } }
.tick { display: inline-block; }
.hero-card__name { font-family: var(--font-display); font-weight: 600; }
.review__text { margin: 0; }
.review__meta { display: flex; flex-direction: column; line-height: 1.3; }
.citem.no-anim { animation: none; }
.shake { animation: shake .4s; }
.link-btn i[data-icon] { width: 16px; height: 16px; }
.free-ship__text i[data-icon] { width: 20px; height: 20px; }
.faq__item h3 { font-size: inherit; line-height: inherit; }

/* ---------- QA polish ---------- */
.btn { max-width: 100%; }
.recipe__cta { max-width: 100%; }
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .recipe__cta { width: 100%; }
  .filters { display: flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; padding: 0 14px; }
}
.form, .radio-cards, .field { grid-template-columns: minmax(0, 1fr); }
.radio-card__price { max-width: 46%; white-space: normal; text-align: right; line-height: 1.25; }
.order-mini > div { min-width: 0; }
@media (max-width: 560px), (max-height: 720px) {
  #checkoutSummary .summary > div:not(.total):not(.disc) { display: none; }
  #checkoutSummary .summary .total { margin-top: 0; padding-top: 0; border-top: 0; }
  #cartFoot .btn--wa { margin-top: 10px !important; min-height: 52px; padding: 0 14px; font-size: .95rem; white-space: nowrap; }
  #cartFoot .send-alt { margin-top: 8px; gap: 6px; }
  #cartFoot .send-alt > span { width: 100%; text-align: center; font-size: .78rem; }
  #cartFoot .send-alt button { min-height: 36px; padding: 0 11px; font-size: .8rem; }
  #cartFoot .privacy { margin-top: 8px; font-size: .68rem; }
}
/* scroll cue sits under the hero card (right column) so it never collides with the trust list */
@media (min-width: 981px) {
  .hero__scroll { left: auto; right: max(var(--pad), calc((100vw - var(--container)) / 2)); width: min(410px, 32vw); transform: none; }
}
@media (min-width: 981px) and (max-height: 760px) { .hero__scroll { display: none; } }

/* ==========================================================================
   FX — спаржа-компаньон, курсор-спаржа, частицы (assets/js/fx.js)
   ========================================================================== */
.spear-fx { position: fixed; inset: 0; z-index: 70; overflow: hidden; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .6s, visibility 0s .6s; }
.spear-fx.is-on { opacity: 1; visibility: visible; transition: opacity .6s; }
.spear-fx * { pointer-events: none; }
.spear-fx__body { position: absolute; left: 0; top: 0; width: 80px; height: 420px; transform-origin: 40px 210px; }
.spear-fx__pose { position: absolute; inset: 0; transform-origin: 40px 404px; animation: spSway 4.2s ease-in-out infinite; }
.spear-fx .sp-svg { display: block; width: 80px; height: 420px; max-width: none; overflow: visible; filter: drop-shadow(0 14px 14px rgba(23, 46, 14, .28)); transition: filter .6s; }
.spear-fx.is-dark .sp-svg { filter: drop-shadow(0 0 7px rgba(205, 238, 140, .38)) drop-shadow(0 12px 16px rgba(0, 0, 0, .35)); }
.spear-fx.is-on .sp-hit { pointer-events: all; cursor: pointer; }

/* parts of the spear */
.sp-scale { transform-box: fill-box; transform-origin: 50% 100%; transform: rotate(calc(var(--open, 0deg) * var(--d))); }
.sp-fern { opacity: 0; transform-box: view-box; transform-origin: 40px 70px; transform: scale(.15) rotate(-25deg); transition: opacity .45s, transform .9s cubic-bezier(.34, 1.56, .64, 1); }
.sp-fern__stem { fill: none; stroke: #7cb342; stroke-width: 1.6; stroke-linecap: round; }
.sp-fern__n { fill: none; stroke: #a5d36a; stroke-width: 1.3; stroke-linecap: round; }
.spear-fx[data-pose="fern"] .sp-fern { opacity: 1; transform: none; }
.sp-grill path { fill: none; stroke: #3b2513; stroke-width: 6; stroke-linecap: round; opacity: 0; transition: opacity .7s .15s; }
.spear-fx[data-pose="grill"] .sp-grill path { opacity: .6; }
.sp-soil { opacity: 0; transform: translateY(28px); transition: opacity .45s, transform .7s cubic-bezier(.34, 1.56, .64, 1); }
.spear-fx[data-pose="soil"] .sp-soil { opacity: 1; transform: none; }
.sp-sprout { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(0); transition: transform .6s .45s cubic-bezier(.34, 1.56, .64, 1); }
.spear-fx[data-pose="soil"] .sp-sprout { transform: none; }
.sp-q { opacity: 0; transform-box: fill-box; transform-origin: 0 100%; transform: scale(.3); transition: opacity .3s, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.sp-q circle { fill: #fffdf6; stroke: #2f5f1f; stroke-width: 1.4; }
.sp-q text { font: 800 28px Georgia, "Times New Roman", serif; fill: #2f5f1f; }
.spear-fx[data-pose="think"] .sp-q { opacity: 1; transform: none; }
.sp-z { opacity: 0; transition: opacity .4s; }
.sp-z text { font: 700 22px Georgia, serif; fill: #ecd08a; transform-box: fill-box; }
.sp-z text + text { font-size: 30px; }
.spear-fx[data-pose="soil"] .sp-z { opacity: 1; }
.spear-fx[data-pose="soil"] .sp-z text { animation: spZ 2.6s ease-out infinite; }
.spear-fx[data-pose="soil"] .sp-z text + text { animation-delay: 1.3s; }

/* face */
.sp-face path { fill: none; stroke: #20301a; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-face .sp-mouth-o { fill: #5a2219; stroke-width: 1.4; }
.sp-cheek { fill: #ff8f7e; opacity: .5; }
.sp-joy, .sp-closed, .sp-mouth-o, .sp-shades { opacity: 0; }
.sp-eye { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .07s; }
.spear-fx.is-blink .sp-eye { transform: scaleY(.08); }
.spear-fx[data-face="joy"] .sp-eyes, .spear-fx[data-face="sleep"] .sp-eyes, .spear-fx[data-face="cool"] .sp-eyes { opacity: 0; }
.spear-fx[data-face="joy"] .sp-joy, .spear-fx[data-face="sleep"] .sp-closed { opacity: 1; }
.spear-fx[data-face="joy"] .sp-mouth { opacity: 0; }
.spear-fx[data-face="joy"] .sp-mouth-o { opacity: 1; }
.sp-face .sp-shades path { fill: #12170f; stroke: none; }
.sp-face .sp-shades .sp-shades__b { fill: none; stroke: #12170f; stroke-width: 1.6; }
.sp-face .sp-shades .sp-shades__g { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1; }
.sp-shades { transform: translateY(-14px); transition: opacity .3s, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.spear-fx[data-face="cool"] .sp-shades { opacity: 1; transform: none; }
.spear-fx.is-small .sp-face, .spear-fx.is-small .sp-q, .spear-fx.is-small .sp-z { display: none; }

/* what the spear does in each section */
.spear-fx[data-pose="hop"] .spear-fx__pose { animation: spHop 1.15s cubic-bezier(.4, 0, .4, 1) infinite; }
.spear-fx[data-pose="run"] .spear-fx__pose { animation: spRun .44s linear infinite; }
.spear-fx[data-pose="wave"] .spear-fx__pose, .spear-fx.is-hello .spear-fx__pose { animation: spWave 1s ease-in-out infinite; }
.spear-fx[data-pose="point"] .spear-fx__pose { animation: spPoke 1.1s ease-in-out infinite; }
.spear-fx[data-pose="grill"] .spear-fx__pose { animation: spSizzle .24s linear infinite; }
.spear-fx[data-pose="think"] .spear-fx__pose { animation: spThink 3.2s ease-in-out infinite; }
.spear-fx[data-pose="joy"] .spear-fx__pose { animation: spJoy 1.6s ease-in-out infinite; }
.spear-fx[data-pose="soil"] .spear-fx__pose { animation: spSway 5.5s ease-in-out infinite; }
@keyframes spSway { 0%, 100% { transform: rotate(-2.4deg); } 50% { transform: rotate(2.4deg); } }
@keyframes spHop { 0%, 100% { transform: translateY(0) scale(1.07, .9); } 14% { transform: translateY(0) scale(1); } 46% { transform: translateY(-58px) scale(.97, 1.04) rotate(4deg); } 78% { transform: translateY(0) scale(1); } 88% { transform: translateY(0) scale(1.07, .9); } }
@keyframes spRun { 0%, 50%, 100% { transform: translateX(0) rotate(0deg); } 25% { transform: translateX(-16px) rotate(-3deg); } 75% { transform: translateX(-16px) rotate(3deg); } }
@keyframes spWave { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg); } }
@keyframes spPoke { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-30px); } 55% { transform: translateY(-24px); } }
@keyframes spSizzle { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(.9px, -.7px); } 50% { transform: translate(-.7px, .7px); } 75% { transform: translate(.7px, .9px); } }
@keyframes spThink { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(1deg); } }
@keyframes spJoy { 0%, 100% { transform: translateY(0) rotate(-3deg); } 25% { transform: translateY(-18px) rotate(0deg); } 50% { transform: translateY(0) rotate(3deg); } 75% { transform: translateY(-18px) rotate(0deg); } }
@keyframes spZ { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(12px, -28px) scale(1.15); } }

/* speech bubble */
.spear-bubble { position: absolute; left: 0; top: 0; width: max-content; max-width: min(280px, calc(100vw - 32px)); visibility: hidden; }
.spear-bubble.is-on { visibility: visible; }
.spear-bubble__in { position: relative; padding: 12px 16px; border-radius: 18px; background: var(--white, #fffdf8); color: var(--g-900, #12351c); font-size: .9rem; font-weight: 600; line-height: 1.45; box-shadow: 0 18px 40px -12px rgba(15, 40, 20, .38), 0 0 0 1px rgba(47, 95, 31, .1); opacity: 0; transform: scale(.7); transition: opacity .2s, transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.spear-bubble.is-left .spear-bubble__in { transform-origin: 100% 60%; }
.spear-bubble.is-right .spear-bubble__in { transform-origin: 0 60%; }
.spear-bubble.is-on .spear-bubble__in { opacity: 1; transform: none; }
.spear-bubble__in::after { content: ""; position: absolute; top: 58%; width: 14px; height: 14px; margin-top: -7px; background: inherit; transform: rotate(45deg); border-radius: 3px; }
.spear-bubble.is-left .spear-bubble__in::after { right: -6px; box-shadow: 1px -1px 0 rgba(47, 95, 31, .08); }
.spear-bubble.is-right .spear-bubble__in::after { left: -6px; box-shadow: -1px 1px 0 rgba(47, 95, 31, .08); }

/* asparagus cursor: only for a real mouse */
html.has-spear-cursor, html.has-spear-cursor * { cursor: none !important; }
html.has-spear-cursor textarea, html.has-spear-cursor [contenteditable="true"],
html.has-spear-cursor input:not([type]), html.has-spear-cursor input[type="text"], html.has-spear-cursor input[type="tel"],
html.has-spear-cursor input[type="email"], html.has-spear-cursor input[type="search"], html.has-spear-cursor input[type="number"],
html.has-spear-cursor input[type="url"], html.has-spear-cursor input[type="password"], html.has-spear-cursor input[type="date"],
html.has-spear-cursor input[type="time"] { cursor: text !important; }
.spear-cursor { position: fixed; left: 0; top: 0; z-index: 2147483001; width: 0; height: 0; pointer-events: none; transform-origin: 0 0; opacity: 0; transition: opacity .18s; }
.spear-cursor.is-on { opacity: 1; }
.spear-cursor svg { position: absolute; left: -8.6px; top: -.7px; width: 17.25px; height: 46px; max-width: none; overflow: visible; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .95)) drop-shadow(0 0 .5px rgba(255, 255, 255, .9)) drop-shadow(0 3px 3px rgba(0, 0, 0, .3)); }
.spear-ring { position: fixed; left: 0; top: 0; z-index: 2147483000; width: 0; height: 0; pointer-events: none; }
.spear-ring::before { content: ""; position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(212, 173, 85, .95); background: rgba(212, 173, 85, .14); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); opacity: 0; transform: scale(.2); transition: opacity .2s, transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.spear-ring.is-on::before { opacity: 1; transform: scale(1); }
.fx-canvas { position: fixed; inset: 0; z-index: 2147482999; width: 100%; height: 100%; pointer-events: none; }
@media (hover: none), (pointer: coarse) { .spear-cursor, .spear-ring { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .spear-fx { display: none !important; } }
@media print { .spear-fx, .spear-cursor, .spear-ring, .fx-canvas { display: none !important; } }
