﻿/* ==========================================================================
   Greenleaf — Born for Beauty
   1. Design tokens
   ========================================================================== */
:root {
  /* palette */
  --forest: #0b3928;
  --forest-2: #124b34;
  --green: #2d8b57;
  --green-deep: #1c6f42;
  --leaf: #69bf69;
  --lime: #c9f36b;
  --lime-soft: #d8fa86;
  --mint: #e8f7e9;
  --turquoise: #8be0c6;
  --ink: #163024;
  --muted: #64756b;
  --paper: #fbfdf9;
  --line: rgba(18, 75, 52, .13);
  --line-strong: rgba(18, 75, 52, .22);

  /* radii */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 30px;
  --r-pill: 999px;
  --radius: var(--r-lg);

  /* elevation */
  --sh-1: 0 2px 8px rgba(14, 54, 35, .05), 0 10px 24px rgba(14, 54, 35, .05);
  --sh-2: 0 4px 14px rgba(14, 54, 35, .07), 0 16px 40px rgba(14, 54, 35, .09);
  --sh-3: 0 8px 22px rgba(14, 54, 35, .09), 0 28px 62px rgba(14, 54, 35, .14);
  --sh-glow: 0 0 0 1px rgba(105, 191, 105, .28), 0 18px 44px rgba(45, 139, 87, .18);
  --shadow: var(--sh-2);

  /* ---- unified motion system ----
     every interactive surface on the site pulls its timing from here */
  --t-fast: 180ms;
  --t-base: 320ms;
  --t-mid: 420ms;
  --t-slow: 620ms;
  --t-hover: 360ms;                              /* cards / links / buttons */
  --ease-out: cubic-bezier(.22, .61, .36, 1);    /* general entrances */
  --ease-soft: cubic-bezier(.4, 0, .2, 1);       /* neutral UI moves */
  --ease-spring: cubic-bezier(.34, 1.28, .64, 1);/* icon pops */
  --ease-sine: cubic-bezier(.45, 0, .55, 1);     /* looping sways */

  /* hover choreography — shared by every card so nothing feels out of step */
  --lift: -6px;
  --lift-sm: -3px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@supports not (overflow-x: clip) {
  html, body { overflow-x: hidden; }
}

/* Scroll lock. `html` carries overflow-x, so body's overflow no longer
   propagates to the viewport — both elements have to be locked. */
html.menu-open, body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { display: block; }
img, svg { max-width: 100%; }
h1, h2, h3, p, ul { overflow-wrap: break-word; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* anchor targets clear the floating header */
section[id], #top { scroll-margin-top: 104px; }

/* ---- global focus ring: one look, everywhere ---- */
:where(a, button, [tabindex]):focus-visible {
  outline: 2.5px solid var(--green);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
.site-footer :where(a, button):focus-visible,
.hero__card :where(a, button):focus-visible,
.opp__card--accent :where(a, button):focus-visible {
  outline-color: var(--lime);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--lime);
  color: var(--forest);
  font-weight: 800;
  box-shadow: var(--sh-2);
  transition: top var(--t-base) var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* ==========================================================================
   3. Ambient background
   ========================================================================== */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
}
.bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #fbfdf9, #f2f9ef 58%, #eef9f4);
}
.bg-layer .glow {
  position: absolute;
  width: 34vw;
  height: 34vw;
  border-radius: 50%;
  filter: blur(75px);
  opacity: .12;
  background: var(--lime);
}
.bg-layer .glow--1 { top: 5%; left: -12%; }
.bg-layer .glow--2 { top: 42%; right: -15%; background: var(--turquoise); }
.bg-layer .glow--3 { bottom: -20%; left: 30%; opacity: .08; }
.bg-layer .blob {
  position: absolute;
  width: 260px;
  height: 150px;
  border-radius: 70% 30% 65% 35%;
  opacity: .16;
  background: #d8f0d4;
}
.bg-layer .blob--1 { top: 27%; right: -120px; rotate: -18deg; }
.bg-layer .blob--2 { bottom: 8%; left: -150px; rotate: 28deg; }
.bg-layer .leaf {
  position: absolute;
  width: 120px;
  height: 120px;
  color: rgba(45, 139, 87, .055);
  will-change: transform;
}
.bg-layer .leaf--1 { top: 13%; left: 2%;  rotate: -26deg; animation: drift-a 26s var(--ease-sine) infinite; }
.bg-layer .leaf--2 { top: 33%; right: 4%; width: 160px; height: 160px; rotate: 30deg;  animation: drift-b 32s var(--ease-sine) infinite; }
.bg-layer .leaf--3 { top: 57%; left: 7%;  width: 90px;  height: 90px;  rotate: 64deg;  animation: drift-a 29s var(--ease-sine) infinite reverse; }
.bg-layer .leaf--4 { bottom: 7%; right: 10%; width: 145px; height: 145px; rotate: -18deg; animation: drift-b 35s var(--ease-sine) infinite reverse; }
.bg-layer .leaf--5 { bottom: 30%; left: 45%; width: 70px; height: 70px; rotate: 105deg; animation: drift-a 24s var(--ease-sine) infinite; }

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: .01em;
  transition:
    transform var(--t-hover) var(--ease-out),
    box-shadow var(--t-hover) var(--ease-out),
    background-color var(--t-hover) var(--ease-out),
    border-color var(--t-hover) var(--ease-out),
    color var(--t-hover) var(--ease-out);
}
.btn__ico { width: 18px; height: 18px; flex: none; }
.btn__chevron { width: 16px; height: 16px; flex: none; transition: transform var(--t-base) var(--ease-out); }

.btn--contact {
  overflow: hidden;
  color: var(--forest);
  border-color: rgba(61, 131, 75, .28);
  background: #d9f47b;
  box-shadow: 0 8px 22px rgba(90, 150, 67, .18), inset 0 1px rgba(255, 255, 255, .5);
}
/* sheen sweep */
.btn--contact::before {
  content: "";
  position: absolute;
  inset: -60% auto -60% -45%;
  width: 32%;
  background: rgba(255, 255, 255, .58);
  filter: blur(8px);
  rotate: 18deg;
  transition: left var(--t-slow) var(--ease-soft);
}
.btn--contact > * { position: relative; z-index: 1; }
.btn--contact[aria-expanded="true"] .btn__chevron { transform: rotate(180deg); }

.btn--primary {
  color: var(--forest);
  border-color: rgba(61, 131, 75, .28);
  background: #d9f47b;
  box-shadow: 0 10px 26px rgba(111, 176, 70, .2), inset 0 1px rgba(255, 255, 255, .5);
}
.btn--ghost {
  color: var(--forest);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .5);
}
.btn--lg { min-height: 54px; padding-inline: 24px; font-size: 16px; }

@media (hover: hover) {
  .btn:hover { transform: translateY(var(--lift-sm)); }
  .btn--contact:hover::before,
  .btn--contact[aria-expanded="true"]::before { left: 115%; }
  .btn--primary:hover { border-color: rgba(38, 112, 63, .38); background: #d2ef70; box-shadow: 0 16px 34px rgba(111, 176, 70, .28), inset 0 1px rgba(255, 255, 255, .6); }
  .btn--contact:hover { border-color: rgba(38, 112, 63, .38); background: #d2ef70; box-shadow: 0 14px 30px rgba(90, 150, 67, .25), inset 0 1px rgba(255, 255, 255, .62); }
  .btn--ghost:hover { border-color: rgba(45, 139, 87, .4); background: #fff; box-shadow: var(--sh-1); }
}
.btn:active { transform: translateY(0) scale(.985); }
.btn--primary:hover .btn__ico { transform: translateX(3px); }
.btn__ico { transition: transform var(--t-base) var(--ease-out); }

/* ==========================================================================
   5. Header — floating glass pill
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 14px 0 6px;
  transition: padding var(--t-mid) var(--ease-soft);
}
.header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 9px 12px 9px 16px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--r-pill);
  background: rgba(251, 253, 249, .72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .7) inset,
    0 10px 30px rgba(14, 54, 35, .07);
  transition:
    background-color var(--t-mid) var(--ease-soft),
    box-shadow var(--t-mid) var(--ease-soft),
    border-color var(--t-mid) var(--ease-soft),
    min-height var(--t-mid) var(--ease-soft),
    transform var(--t-mid) var(--ease-soft);
}
/* scrolled state — denser, brighter, more elevated */
.site-header.is-stuck { padding-top: 8px; }
.site-header.is-stuck .header__inner {
  min-height: 60px;
  border-color: rgba(255, 255, 255, .82);
  background: rgba(250, 253, 248, .9);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .8) inset,
    0 8px 20px rgba(14, 54, 35, .08),
    0 18px 44px rgba(14, 54, 35, .1);
}

/* ---- brand / logo lockup ---- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  border-radius: var(--r-md);
}
.brand__mark {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  transition: transform var(--t-hover) var(--ease-out), filter var(--t-hover) var(--ease-out);
}
.brand__mark svg { width: 27px; height: 27px; }
.brand__mark img { width: 46px; height: 46px; object-fit: contain; display: block; }
.brand__text { display: grid; line-height: 1.05; }
.brand__name {
  font: 700 17px/1 "Unbounded", sans-serif;
  letter-spacing: -.01em;
  color: var(--forest);
}
.brand__slogan {
  margin-top: 5px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
@media (hover: hover) {
  .brand:hover .brand__mark {
    transform: translateY(-2px) rotate(-3deg) scale(1.03);
    filter: drop-shadow(0 8px 12px rgba(11, 57, 40, .18));
  }
}

/* ---- nav ---- */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.4vw, 14px);
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 9px 12px;
  border-radius: var(--r-pill);
  color: #496056;
  font-size: 13px;
  font-weight: 800;
  transition: color var(--t-hover) var(--ease-out), background-color var(--t-hover) var(--ease-out);
}
/* underline grows from the middle */
.nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .55;
  transform: scaleX(0);
  transition: transform var(--t-hover) var(--ease-out);
}
@media (hover: hover) {
  .nav a:hover { color: var(--forest); background: rgba(201, 243, 107, .2); }
  .nav a:hover::after { transform: scaleX(1); }
}
.nav a:focus-visible { color: var(--forest); }

.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav ~ .header__actions { margin-left: 4px; }

/* ---- burger: three bars that fold into a real, centred cross ---- */
.burger {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .7);
  cursor: pointer;
  transition:
    background-color var(--t-hover) var(--ease-out),
    border-color var(--t-hover) var(--ease-out),
    transform var(--t-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.burger__box { position: absolute; inset: 0; pointer-events: none; }
.burger__box span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2.4px;
  border-radius: 3px;
  background: var(--forest);
  transition:
    transform var(--t-base) var(--ease-spring),
    opacity 140ms var(--ease-out);
}
.burger__box span:nth-child(1) { top: 14px; }
.burger__box span:nth-child(2) { top: 20.8px; }
.burger__box span:nth-child(3) { top: 27.6px; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }
.burger[aria-expanded="true"] { border-color: rgba(45, 139, 87, .34); background: #eef8e6; }
.burger:active { transform: scale(.94); }
@media (hover: hover) {
  .burger:hover { background: #fff; border-color: rgba(45, 139, 87, .3); }
}

/* ==========================================================================
   6. Contact dropdown
   ========================================================================== */
.contact-menu { position: relative; }
.contact-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(340px, calc(100vw - 28px));
  padding: 10px;
  border: 1px solid rgba(167, 218, 157, .55);
  border-radius: var(--r-xl);
  background: linear-gradient(145deg, rgba(251, 255, 248, .97), rgba(232, 248, 235, .95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 22px 50px rgba(8, 52, 34, .2), inset 0 1px rgba(255, 255, 255, .72);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(.97);
  transform-origin: top right;
  transition:
    opacity var(--t-base) var(--ease-out),
    transform var(--t-base) var(--ease-out),
    visibility var(--t-base) linear;
}
.contact-menu.is-open .contact-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.contact-dropdown__title {
  margin: 6px 10px 8px;
  color: #789083;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-dropdown__title--community { margin-top: 12px; }
.cd-item {
  display: grid;
  grid-template-columns: 42px 1fr 18px;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  transition:
    background-color var(--t-hover) var(--ease-out),
    border-color var(--t-hover) var(--ease-out),
    transform var(--t-hover) var(--ease-out),
    box-shadow var(--t-hover) var(--ease-out);
}
.cd-item__ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--forest);
  background: #d9f47b;
  box-shadow: 0 7px 16px rgba(14, 54, 35, .12);
  transition: transform var(--t-hover) var(--ease-spring), box-shadow var(--t-hover) var(--ease-out);
}
.cd-item--tg .cd-item__ico, .cd-item--max .cd-item__ico, .cd-item--wa .cd-item__ico, .cd-item--chat .cd-item__ico { background: #d9f47b; }
.cd-item__ico svg { width: 22px; height: 22px; }
.cd-item--max .cd-item__ico svg, .cd-item--chat .cd-item__ico svg { color: var(--forest); }
.cd-item__body { min-width: 0; display: grid; }
.cd-item__name { color: var(--forest); font-weight: 800; }
.cd-item__sub {
  color: #789083;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cd-item__arrow {
  width: 16px;
  color: #77a184;
  transition: transform var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out);
}
@media (hover: hover) {
  .cd-item:hover {
    background: rgba(234, 247, 229, .9);
    border-color: rgba(105, 191, 105, .3);
    transform: translateX(3px);
    box-shadow: 0 6px 18px rgba(32, 110, 70, .1);
  }
  .cd-item:hover .cd-item__ico { transform: scale(1.06) rotate(-3deg); box-shadow: 0 6px 16px rgba(20, 86, 59, .28); }
  .cd-item:hover .cd-item__arrow { transform: translateX(3px); color: var(--green); }
}
.cd-item:focus-visible { background: rgba(234, 247, 229, .9); border-color: rgba(105, 191, 105, .35); }
.cd-divider { height: 1px; margin: 8px 10px; background: var(--line); }

/* ==========================================================================
   7. Mobile navigation
   ========================================================================== */
.mobile-nav { display: none; }

/* ==========================================================================
   8. Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 620px;
  padding: 74px 0 130px;
  overflow: hidden;
  background: linear-gradient(135deg, #f6fcf2 0%, #e8f7e9 56%, #d6f3e8 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .4;
  background:
    radial-gradient(circle at 76% 36%, rgba(201, 243, 107, .65), transparent 28%),
    radial-gradient(circle at 11% 90%, rgba(139, 224, 198, .35), transparent 25%);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: center;
  gap: 56px;
}
.hero__content, .hero__title, .hero__lead { min-width: 0; max-width: 100%; }

.pill, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pill {
  padding: 9px 14px;
  border: 1px solid rgba(45, 139, 87, .18);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 4px 14px rgba(45, 139, 87, .07);
}
.pill svg { width: 16px; height: 16px; flex: none; }

.hero__title { margin: 22px 0 18px; }
.hero__brand {
  display: block;
  color: var(--forest);
  font: 700 clamp(40px, 7vw, 76px)/1.05 "Unbounded", sans-serif;
  letter-spacing: -.015em;
}
.hero__tagline {
  display: block;
  max-width: 580px;
  margin-top: 13px;
  color: var(--green);
  font: 600 clamp(20px, 3vw, 32px)/1.2 "Unbounded", sans-serif;
  letter-spacing: -.01em;
}
.hero__lead { max-width: 620px; margin: 0; color: #536c5d; font-size: 18px; }
.hero__lead b { color: #33513f; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 40px; }
.stat { display: grid; gap: 3px; }
.stat__num { color: var(--forest); font: 700 22px/1 "Unbounded", sans-serif; font-variant-numeric: tabular-nums; transform: translateZ(0); }
.stat__label { color: #769084; font-size: 12px; font-weight: 700; }

/* ---- hero visual: the card + badges sway together with their content ---- */
.hero__visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}
.hero__card {
  --tilt: 3deg;
  --sway: 5.5deg;
  width: min(100%, 380px);
  padding: 40px 36px 34px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(155deg, rgba(20, 92, 57, .96), rgba(11, 57, 40, .9));
  box-shadow: 0 28px 60px rgba(15, 75, 47, .25), inset 0 1px 0 rgba(255, 255, 255, .12);
  transform-origin: 50% 88%;
  transform: rotate(var(--tilt));
  animation: hero-sway 11s var(--ease-sine) infinite;
  will-change: transform;
}
.hero__logo {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--lime);
  background: transparent;
  box-shadow: none;
}
.hero__logo svg { width: 50px; height: 50px; }
.hero__logo img { width: 84px; height: 84px; object-fit: contain; display: block; }
.hero__card-title { margin: 25px 0 3px; font: 600 19px "Unbounded", sans-serif; letter-spacing: -.01em; }
.hero__card-sub { margin: 0; color: var(--lime); font-weight: 800; }
.hero__list {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
}
.hero__list li { display: flex; align-items: flex-start; gap: 9px; }
.hero__list svg { width: 17px; min-width: 17px; margin-top: 1px; color: var(--lime); }

.hero__badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--r-pill);
  color: var(--forest);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(17, 73, 48, .16);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  will-change: transform;
}
.hero__badge svg { width: 18px; height: 18px; flex: none; color: var(--green); }
.hero__badge--eco {
  top: 30px;
  right: 2%;
  --sway: 10deg;
  transform-origin: 50% -40%;
  animation: hero-sway 7.5s var(--ease-sine) infinite;
}
.hero__badge--beauty {
  bottom: 34px;
  left: 0;
  --sway: 12deg;
  transform-origin: 50% 150%;
  animation: hero-sway 9s var(--ease-sine) -2.5s infinite;
}
.hero__wave { position: absolute; right: 0; bottom: -1px; left: 0; height: 100px; color: var(--paper); }
.hero__wave svg { width: 100%; height: 100%; }
.hero__wave path { fill: currentColor; }

/* ==========================================================================
   9. Section shell
   ========================================================================== */
.section { padding: 104px 0; }
.section--tint { background: #f0f8ee; }
.section__head { max-width: 700px; margin: 0 auto 46px; text-align: center; }
.section__title {
  margin: 12px 0 14px;
  color: var(--forest);
  font: 600 clamp(28px, 4vw, 44px)/1.15 "Unbounded", sans-serif;
  letter-spacing: -.015em;
}
.section__sub { margin: 0 auto; color: var(--muted); font-size: 16px; }

/* ---- trust strip ---- */
.trust {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  padding: 26px 0;
  background: var(--paper);
}
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust__item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 14px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  transition:
    background-color var(--t-hover) var(--ease-out),
    border-color var(--t-hover) var(--ease-out),
    transform var(--t-hover) var(--ease-out),
    box-shadow var(--t-hover) var(--ease-out);
}
.trust__item > svg {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--green);
  transition: transform var(--t-hover) var(--ease-spring), color var(--t-hover) var(--ease-out);
}
.trust__item div { display: grid; min-width: 0; }
.trust__item b { color: var(--forest); font-size: 14px; }
.trust__item span { color: var(--muted); font-size: 12px; }
/* Informational items are intentionally quiet: they do not imply a click. */

/* ==========================================================================
   10. Product categories
   ========================================================================== */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat {
  position: relative;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 8px 26px rgba(22, 79, 49, .05);
  transition:
    transform var(--t-slow) var(--ease-out),
    box-shadow var(--t-slow) var(--ease-out),
    border-color var(--t-slow) var(--ease-out),
    background-color var(--t-slow) var(--ease-out);
}
.cat__ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(105, 191, 105, .14);
  border-radius: var(--r-sm);
  color: var(--green);
  background: linear-gradient(145deg, #effbea, #dcf1e4);
  box-shadow: inset 0 1px rgba(255, 255, 255, .8);
  transition:
    transform var(--t-slow) var(--ease-out),
    background var(--t-slow) var(--ease-out),
    color var(--t-slow) var(--ease-out),
    box-shadow var(--t-slow) var(--ease-out);
}
.cat__ico svg { width: 23px; height: 23px; }
.cat__name { color: var(--forest); font-size: 15px; font-weight: 800; line-height: 1.3; }
.cat__hint {
  margin-top: auto;
  padding-top: 11px;
  color: #819489;
  font-size: 12px;
  transition: color var(--t-slow) var(--ease-out);
}
@media (hover: hover) {
  .cat:hover {
    transform: translateY(-4px);
    border-color: rgba(105, 191, 105, .45);
    background: #fff;
    box-shadow: var(--sh-3);
  }
  .cat:hover .cat__ico {
    transform: scale(1.06) rotate(-2deg);
    color: var(--forest);
    background: linear-gradient(145deg, var(--lime-soft), #a5e8ae);
    box-shadow: 0 8px 20px rgba(111, 176, 70, .22);
  }
  .cat:hover .cat__hint { color: var(--green); }
}
.cat:active { transform: translateY(-2px) scale(.995); }

/* ---- product context from the printed Greenleaf materials ---- */
.catalog-story {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 34px;
  margin-top: 42px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(145deg, #f7fbf4, #edf7ef);
  box-shadow: var(--sh-1);
}
.catalog-story__intro h3, .how-it-works h3 { margin: 10px 0 12px; color: var(--forest); font: 600 clamp(22px, 3vw, 31px)/1.2 "Unbounded", sans-serif; letter-spacing: -.015em; }
.catalog-story__intro p { margin: 0; color: var(--muted); font-size: 15px; }
.catalog-story__grid { display: grid; gap: 10px; }
.catalog-note { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 16px; border: 1px solid rgba(18, 75, 52, .09); border-radius: var(--r-md); background: rgba(255, 255, 255, .67); }
.catalog-note__ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--green-deep); background: #e1f1df; }
.catalog-note__ico svg { width: 23px; height: 23px; }
.catalog-note h4 { margin: 1px 0 4px; color: var(--forest); font-size: 15px; }
.catalog-note p { margin: 0; color: var(--muted); font-size: 13px; }
.how-it-works { margin-top: 18px; padding: 30px 34px 34px; border: 1px solid rgba(201, 243, 107, .22); border-radius: var(--r-xl); color: #fff; background: #0d402d; box-shadow: 0 20px 46px rgba(11, 57, 40, .18); }
.how-it-works__head { max-width: 660px; }
.how-it-works .eyebrow { color: var(--lime); }
.how-it-works h3 { margin-bottom: 24px; color: #fff; }
.how-it-works__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.how-it-works__steps li { display: grid; align-content: start; min-width: 0; padding: 17px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-md); background: rgba(255, 255, 255, .055); }
.how-it-works__steps span { color: var(--lime); font: 700 13px/1 "Unbounded", sans-serif; }
.how-it-works__steps b { margin-top: 18px; color: #fff; font-size: 14px; }
.how-it-works__steps small { margin-top: 7px; color: rgba(255, 255, 255, .65); font-size: 12px; line-height: 1.45; }

/* ==========================================================================
   11. Compare (why Greenleaf)
   ========================================================================== */
.compare { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center; gap: 20px; }
.compare__card, .opp__card {
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sh-2);
}
.compare__card {
  position: relative;
  isolation: isolate;
  transition: transform var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out);
}
/* dedicated glow layer: we animate opacity/scale only, never box-shadow itself */
.compare__card::after,
.compare__arrow::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}
.compare__card--bad { background: linear-gradient(150deg, #fffdfb, #fff7f2); }
.compare__card--bad::after {
  box-shadow: 0 0 0 1.5px rgba(210, 57, 57, .5), 0 0 38px rgba(220, 46, 46, .32);
}
.compare__card--good { background: linear-gradient(145deg, #f5fde9, #e8f7e9); }
.compare__card--good::after {
  box-shadow: 0 0 0 1.5px rgba(105, 191, 105, .4), 0 0 42px rgba(105, 191, 105, .34);
}
.compare__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 800;
}
.compare__badge svg { width: 15px; height: 15px; flex: none; }
.compare__badge--bad { color: #9c2828; background: #ffe7e3; }
.compare__badge--good { color: var(--green); background: #dff3c8; }
/* halo behind the badge — soft, no colour flashing */
.compare__badge::before {
  content: "";
  position: absolute;
  inset: -6px -10px;
  z-index: -1;
  border-radius: var(--r-pill);
  opacity: 0;
  filter: blur(7px);
  pointer-events: none;
}
.compare__badge--bad::before { background: radial-gradient(closest-side, rgba(222, 59, 59, .48), transparent); }
.compare__badge--good::before { background: radial-gradient(closest-side, rgba(126, 205, 108, .6), transparent); }
.compare ul { display: grid; gap: 11px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); }
.compare li { position: relative; padding-left: 24px; }
/* custom markers replace default bullets for a tidier rhythm */
.compare li::before {
  content: "";
  position: absolute;
  top: .58em;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: .45;
}
.compare__card--good li::before {
  background: var(--green);
  opacity: .9;
}
.compare__arrow {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  color: var(--forest);
  background: linear-gradient(150deg, var(--lime-soft), var(--lime));
  box-shadow: 0 8px 20px rgba(111, 176, 70, .26);
}
.compare__arrow::after { box-shadow: 0 0 0 8px rgba(201, 243, 107, .26), 0 0 30px rgba(119, 207, 78, .6); }
.compare__arrow svg { width: 20px; }

/* ==========================================================================
   12. Features
   ========================================================================== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.feature {
  padding: 22px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  transition:
    background-color var(--t-hover) var(--ease-out),
    border-color var(--t-hover) var(--ease-out),
    transform var(--t-hover) var(--ease-out),
    box-shadow var(--t-hover) var(--ease-out);
}
.feature__ico {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  color: var(--green);
  background: linear-gradient(145deg, #e9f7e4, #d8efdd);
  box-shadow: inset 0 1px rgba(255, 255, 255, .7);
  transition: transform var(--t-hover) var(--ease-spring), background var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out);
}
.feature__ico svg { width: 26px; height: 26px; }
.feature h3 { margin: 17px 0 7px; color: var(--forest); font-size: 18px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* ==========================================================================
   13. Brand family — country cards with integrated flags
   ========================================================================== */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brand-card {
  --accent: 45, 139, 87;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 124px;
  display: flex;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 8px 26px rgba(22, 79, 49, .05);
  transition:
    transform var(--t-hover) var(--ease-out),
    box-shadow var(--t-hover) var(--ease-out),
    border-color var(--t-hover) var(--ease-out);
}
/* The flag sits inset from the card edge so its own rounded corners read as
   a soft panel — never a hard square butting against the card border. */
.brand-card__flag {
  position: absolute;
  top: 9px;
  right: 10px;
  bottom: 9px;
  z-index: -1;
  width: 50%;
  overflow: hidden;
  border-radius: 13px;
  opacity: .38;
  background: #eaf5e6;
  filter: saturate(.94) contrast(.98);
  mask-image: linear-gradient(100deg, transparent 2%, #000 44%);
  -webkit-mask-image: linear-gradient(100deg, transparent 2%, #000 44%);
  transform-origin: 100% 50%;
  transition:
    opacity var(--t-slow) var(--ease-out),
    transform var(--t-slow) var(--ease-out),
    filter var(--t-slow) var(--ease-out);
  will-change: transform, opacity;
}
.brand-card__flag svg { width: 100%; height: 100%; object-fit: cover; }
.brand-card--ch { --accent: 220, 57, 66; }
.brand-card--it { --accent: 52, 143, 83; }
.brand-card--cn { --accent: 211, 48, 54; }
.brand-card--jp { --accent: 197, 65, 92; }
.brand-card--de { --accent: 194, 153, 63; }
.brand-card--fr { --accent: 61, 105, 190; }
.brand-card--jp .brand-card__flag { opacity: .52; }
/* accent wash keeps the country colour reading through the whole card */
.brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(100deg, #fff 30%, rgba(var(--accent), .06));
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-out);
  pointer-events: none;
}
.brand-card__body { position: relative; display: grid; gap: 4px; max-width: 62%; }
.brand-card__country {
  color: #7a8e81;
  font-size: 12px;
  font-weight: 700;
  transition: color var(--t-hover) var(--ease-out);
}
.brand-card__name {
  color: var(--forest);
  font: 700 clamp(13px, 1.1vw, 15px)/1.25 "Unbounded", sans-serif;
  letter-spacing: -.01em;
}
@media (hover: hover) {
  .brand-card:hover {
    transform: translateY(var(--lift));
    border-color: rgba(var(--accent), .38);
    box-shadow: 0 10px 24px rgba(22, 79, 49, .08), 0 26px 54px rgba(var(--accent), .2);
  }
  .brand-card:hover::before { opacity: 1; }
  .brand-card:hover .brand-card__flag {
    opacity: .94;
    transform: scale(1.025);
    filter: saturate(1.14);
  }
  .brand-card:hover .brand-card__country { color: var(--green); }
}
.brand-card:focus-visible .brand-card__flag { opacity: .9; transform: scale(1.02); }

/* ==========================================================================
   14. Opportunity
   ========================================================================== */
.opp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.opp__card {
  position: relative;
  border: 1px solid var(--line);
  background: #fff;
  transition:
    transform var(--t-hover) var(--ease-out),
    box-shadow var(--t-hover) var(--ease-out),
    border-color var(--t-hover) var(--ease-out);
}
.opp__card--accent {
  color: #fff;
  border-color: rgba(255, 255, 255, .1);
  background: linear-gradient(145deg, var(--forest-2), var(--forest));
  box-shadow: 0 20px 48px rgba(11, 57, 40, .24);
}
.opp__num {
  display: block;
  color: var(--green);
  font: 700 38px/1 "Unbounded", sans-serif;
  letter-spacing: -.02em;
}
.opp__card--accent .opp__num { color: var(--lime); }
.opp h3 { margin: 18px 0 8px; font-size: 18px; letter-spacing: -.01em; }
.opp p { margin: 0; color: var(--muted); font-size: 14px; }
.opp__card--accent p { color: rgba(255, 255, 255, .78); }
@media (hover: hover) {
  .opp__card:hover { transform: translateY(var(--lift)); box-shadow: var(--sh-3); border-color: rgba(105, 191, 105, .34); }
  .opp__card--accent:hover { box-shadow: 0 28px 60px rgba(11, 57, 40, .3); border-color: rgba(201, 243, 107, .28); }
}
.opp__note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 730px;
  margin: 28px auto 0;
  padding: 20px 24px;
  border: 1px solid rgba(105, 191, 105, .24);
  border-radius: var(--r-md);
  background: linear-gradient(140deg, #eaf8e6, #e2f4ea);
}
.opp__note svg { width: 26px; min-width: 26px; margin-top: 1px; color: var(--green); }
.opp__note p { margin: 0; color: #536c5d; font-size: 14px; }

/* ==========================================================================
   15. Contacts
   ========================================================================== */
.contacts {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 112px 0 92px;
  color: var(--forest);
  background: linear-gradient(135deg, #ecf9df 0%, #d6f2df 52%, #d4f1ec 100%);
}
.contacts::before {
  content: "";
  position: absolute;
  inset: -5%;
  z-index: -1;
  opacity: .64;
  background:
    radial-gradient(circle at 16% 18%, rgba(201, 243, 107, .78), transparent 22%),
    radial-gradient(circle at 84% 78%, rgba(139, 224, 198, .62), transparent 25%);
  animation: contact-light-shift 14s var(--ease-sine) infinite alternate;
}
.contacts__decor { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.contacts__decor .glow {
  position: absolute;
  width: 38vw;
  height: 38vw;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .22;
  background: var(--lime);
  animation: contact-glow-drift 12s var(--ease-sine) infinite alternate;
}
.glow--c1 { top: -22%; left: -12%; }
.glow--c2 { right: -10%; bottom: -28%; background: var(--turquoise); animation-delay: -4s; }
.contacts__decor .leaf {
  position: absolute;
  color: rgba(45, 139, 87, .12);
  animation: contact-leaf-float 11s var(--ease-sine) infinite alternate;
}
.leaf--c1 { width: 270px; right: -55px; top: 50px; rotate: 26deg; }
.leaf--c2 { width: 190px; bottom: 8%; left: -35px; rotate: -36deg; animation-delay: -3s; }
.leaf--c3 { width: 90px; right: 25%; bottom: 15%; rotate: 65deg; animation-delay: -6s; }
.particles {
  position: absolute;
  inset: 0;
  opacity: .36;
  background-image: radial-gradient(circle, rgba(45, 139, 87, .32) 0 1px, transparent 1.5px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}
.section__head--light .section__title { color: var(--forest); }
.section__head--light .section__sub { color: #527366; }
.eyebrow--light { color: var(--green); }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ccard, .ccard-wide {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(45, 139, 87, .18);
  color: var(--forest);
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 16px 38px rgba(32, 110, 70, .1);
  transition:
    transform var(--t-hover) var(--ease-out),
    border-color var(--t-hover) var(--ease-out),
    background-color var(--t-hover) var(--ease-out),
    box-shadow var(--t-hover) var(--ease-out);
}
.ccard { min-height: 258px; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); }
/* soft light bloom, faded in rather than switched on */
.ccard::after, .ccard-wide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(120% 90% at 80% -10%, rgba(201, 243, 107, .5), transparent 62%);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-out);
  pointer-events: none;
}
.ccard__glow {
  position: absolute;
  top: -55px;
  right: -35px;
  z-index: -1;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(201, 243, 107, .16);
  filter: blur(22px);
  transition: transform var(--t-slow) var(--ease-out), opacity var(--t-slow) var(--ease-out);
}
.ccard__ico {
  position: relative;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--forest);
  background: #d9f47b;
  box-shadow: 0 8px 18px rgba(45, 139, 87, .16);
  transition: transform var(--t-hover) var(--ease-spring), box-shadow var(--t-hover) var(--ease-out);
}
.ccard__ico svg { width: 30px; height: 30px; }
/* per-channel gradients — distinct brands, one green family */
.ccard--tg .ccard__ico, .ccard--max .ccard__ico, .ccard--wa .ccard__ico { background: #d9f47b; }
.ccard--max .ccard__ico svg, .ccard-wide__ico svg { color: var(--forest); }
.ccard__name { position: relative; margin-top: 22px; font: 600 20px/1.15 "Unbounded", sans-serif; letter-spacing: -.01em; }
.ccard__handle { position: relative; min-height: 40px; margin-top: 8px; color: #557469; font-size: 13px; overflow-wrap: anywhere; }
.ccard__btn, .ccard-wide__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--green);
  font-weight: 800;
  transition: color var(--t-hover) var(--ease-out), gap var(--t-hover) var(--ease-out);
}
.ccard__btn svg, .ccard-wide__btn svg { width: 17px; flex: none; transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) {
  .ccard:hover, .ccard-wide:hover {
    transform: translateY(-8px);
    border-color: rgba(45, 139, 87, .4);
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 24px 52px rgba(32, 110, 70, .16), 0 0 32px rgba(201, 243, 107, .22);
  }
  .ccard:hover::after, .ccard-wide:hover::after { opacity: 1; }
  .ccard:hover .ccard__glow { transform: scale(1.28); opacity: 1.4; }
  .ccard:hover .ccard__ico, .ccard-wide:hover .ccard-wide__ico {
    transform: scale(1.07) rotate(-4deg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 12px 26px rgba(45, 139, 87, .26);
  }
  .ccard:hover .ccard__btn, .ccard-wide:hover .ccard-wide__btn { color: var(--green-deep); }
  .ccard:hover .ccard__btn svg, .ccard-wide:hover .ccard-wide__btn svg { transform: translateX(5px); }
}
.ccard:active, .ccard-wide:active { transform: translateY(-2px) scale(.995); }
.ccard:focus-visible::after, .ccard-wide:focus-visible::after { opacity: 1; }

.ccard-wide {
  min-height: 92px;
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 18px 24px;
  border-radius: var(--r-xl);
}
.ccard-wide__ico {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--forest);
  background: #d9f47b;
  box-shadow: 0 8px 18px rgba(45, 139, 87, .16);
  transition: transform var(--t-hover) var(--ease-spring), box-shadow var(--t-hover) var(--ease-out);
}
.ccard-wide__ico svg { width: 28px; height: 28px; }
.ccard-wide__body { display: grid; gap: 2px; min-width: 0; }
.ccard-wide__name { font: 600 17px "Unbounded", sans-serif; letter-spacing: -.01em; }
.ccard-wide__sub { color: #557469; font-size: 13px; }
.contacts__seller {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 28px 0 0;
  color: #557469;
  font-size: 13px;
}
.contacts__seller svg { width: 17px; flex: none; color: var(--green); }
.contacts__seller a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(45, 139, 87, .35);
  text-underline-offset: 3px;
  transition: color var(--t-hover) var(--ease-out), text-decoration-color var(--t-hover) var(--ease-out);
}
@media (hover: hover) {
  .contacts__seller a:hover { color: var(--green-deep); text-decoration-color: var(--green); }
}

/* ==========================================================================
   16. Footer
   ========================================================================== */
.site-footer {
  padding: 52px 0 30px;
  color: rgba(255, 255, 255, .72);
  background: #08291e;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__slogan { color: var(--lime); }
.footer__brand .brand__mark {
  background: transparent;
  box-shadow: none;
}
.footer__copy { max-width: 300px; margin: 16px 0 0; color: rgba(255, 255, 255, .55); font-size: 13px; }
.footer__title {
  margin: 0 0 13px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer__links { display: grid; gap: 2px; }
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 4px 10px 4px 8px;
  margin-left: -8px;
  border-radius: var(--r-xs);
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  width: fit-content;
  transition:
    color var(--t-hover) var(--ease-out),
    background-color var(--t-hover) var(--ease-out),
    transform var(--t-hover) var(--ease-out);
}
.footer__links svg { width: 18px; height: 18px; flex: none; color: var(--lime); transition: transform var(--t-hover) var(--ease-spring); }
@media (hover: hover) {
  .footer__links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .06);
    transform: translateX(3px);
  }
  .footer__links a:hover svg { transform: scale(1.12) rotate(-6deg); }
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .11);
  color: rgba(255, 255, 255, .42);
  font-size: 11px;
}

/* ==========================================================================
   17. Scroll reveal system
   Base state only applies when JS is running, so content can never be
   trapped invisible. Transitions (not one-shot animations) drive the
   fade so the effect replays every time a block re-enters the viewport.
   ========================================================================== */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity var(--t-slow) var(--ease-out) var(--rd, 0ms),
    transform var(--t-slow) var(--ease-out) var(--rd, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Catalog cards are reveal targets as well as hover surfaces. Keep both
   transitions in one timeline so the hover never snaps after reveal. */
.js .cat {
  transition:
    opacity var(--t-slow) var(--ease-out) var(--rd, 0ms),
    transform var(--t-slow) var(--ease-out) var(--rd, 0ms),
    box-shadow var(--t-slow) var(--ease-out),
    border-color var(--t-slow) var(--ease-out),
    background-color var(--t-slow) var(--ease-out);
}

/* staggered entrance for any grid of revealed siblings */
.reveal:nth-child(2) { --rd: 70ms; }
.reveal:nth-child(3) { --rd: 140ms; }
.reveal:nth-child(4) { --rd: 210ms; }
.reveal:nth-child(5) { --rd: 280ms; }
.reveal:nth-child(6) { --rd: 350ms; }
.reveal:nth-child(7) { --rd: 420ms; }
.reveal:nth-child(8) { --rd: 490ms; }
.reveal:nth-child(9) { --rd: 560ms; }
.reveal:nth-child(10) { --rd: 630ms; }

/* --- icon / number focus pops. fill-mode `backwards` (not `both`) so the
   animation releases the element afterwards and hover transforms still work --- */
.cat.is-visible .cat__ico,
.feature.is-visible .feature__ico,
.ccard.is-visible .ccard__ico,
.ccard-wide.is-visible .ccard-wide__ico {
  animation: icon-pop 760ms var(--ease-out) calc(var(--rd, 0ms) + 130ms) backwards;
}
.trust__item.is-visible > svg {
  animation: trust-icon-pop 700ms var(--ease-out) calc(var(--rd, 0ms) + 110ms) backwards;
}
.opp__card.is-visible .opp__num {
  animation: number-rise 820ms var(--ease-out) calc(var(--rd, 0ms) + 140ms) backwards;
}
.brand-card.is-visible .brand-card__flag {
  animation: flag-sweep 900ms var(--ease-out) calc(var(--rd, 0ms) + 120ms) backwards;
}

/* --- "why Greenleaf" comparison: soft neon that breathes in and out.
   Timings are deliberately brisk — the whole red → arrow → green story
   resolves in ~3.4s instead of dragging on for seven seconds. --- */
.compare.is-visible .compare__card--bad::after  { animation: glow-hold 1250ms var(--ease-soft) 150ms backwards; }
.compare.is-visible .compare__badge--bad::before { animation: halo-hold 1200ms var(--ease-soft) 150ms backwards; }
.compare.is-visible .compare__badge--bad         { animation: badge-lift 1200ms var(--ease-soft) 150ms backwards; }
.compare.is-visible .compare__arrow::after       { animation: glow-hold 820ms var(--ease-soft) 1240ms backwards; }
.compare.is-visible .compare__arrow              { animation: arrow-pulse 820ms var(--ease-out) 1240ms backwards; }
.compare.is-visible .compare__card--good::after  { animation: glow-hold 1450ms var(--ease-soft) 1980ms backwards; }
.compare.is-visible .compare__badge--good::before { animation: halo-hold 1400ms var(--ease-soft) 1980ms backwards; }
.compare.is-visible .compare__badge--good        { animation: badge-lift 1400ms var(--ease-soft) 1980ms backwards; }

/* ==========================================================================
   18. Keyframes
   ========================================================================== */

/* hero card + badges: tilt one way, ease back, tilt the other way, repeat */
@keyframes hero-sway {
  0%   { transform: rotate(var(--tilt, 0deg)); }
  25%  { transform: rotate(calc(var(--tilt, 0deg) + var(--sway, 3deg))); }
  50%  { transform: rotate(var(--tilt, 0deg)); }
  75%  { transform: rotate(calc(var(--tilt, 0deg) - var(--sway, 3deg))); }
  100% { transform: rotate(var(--tilt, 0deg)); }
}

/* ambient leaves */
@keyframes drift-a {
  0%, 100% { translate: 0 0; }
  50% { translate: 10px -16px; }
}
@keyframes drift-b {
  0%, 100% { translate: 0 0; }
  50% { translate: -14px 12px; }
}

@keyframes icon-pop {
  0%   { opacity: .45; transform: translateY(10px) scale(.76) rotate(-8deg); }
  55%  { opacity: 1;   transform: translateY(-3px) scale(1.09) rotate(3deg); }
  78%  { transform: translateY(0) scale(.985) rotate(-1deg); }
  100% { opacity: 1;   transform: none; }
}
@keyframes trust-icon-pop {
  0%   { opacity: .35; transform: scale(.7) rotate(-11deg); }
  58%  { opacity: 1;   transform: scale(1.14) rotate(4deg); }
  80%  { transform: scale(.99) rotate(-1deg); }
  100% { opacity: 1;   transform: none; }
}
@keyframes number-rise {
  0%   { opacity: .35; transform: translateY(12px) scale(.9); }
  60%  { opacity: 1;   transform: translateY(-2px) scale(1.04); }
  100% { opacity: 1;   transform: none; }
}
@keyframes flag-sweep {
  0%   { opacity: 0; transform: translateX(18px) scale(1.02); }
  100% { opacity: .46; transform: none; }
}

/* soft glow layers: only opacity + scale animate, shadows stay static */
@keyframes glow-breathe {
  0%   { opacity: 0; transform: scale(.99); }
  38%  { opacity: 1; transform: scale(1.006); }
  62%  { opacity: .92; transform: scale(1.004); }
  100% { opacity: 0; transform: scale(.995); }
}
@keyframes glow-hold {
  0% { opacity: 0; transform: scale(.995); }
  18%, 78% { opacity: 1; transform: scale(1.006); }
  100% { opacity: 0; transform: scale(.998); }
}
@keyframes halo-breathe {
  0%   { opacity: 0; }
  40%  { opacity: 1; }
  62%  { opacity: .9; }
  100% { opacity: 0; }
}
@keyframes halo-hold {
  0% { opacity: 0; }
  18%, 78% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes badge-lift {
  0%, 100% { transform: none; }
  45%      { transform: translateY(-2px) scale(1.035); }
}
@keyframes arrow-pulse {
  0%, 100% { transform: none; }
  46%      { transform: scale(1.14); }
  72%      { transform: scale(.99); }
}

/* contacts ambience */
@keyframes contact-light-shift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to   { transform: translate3d(1.5%, 1%, 0) scale(1.05); }
}
@keyframes contact-glow-drift {
  from { transform: translate3d(-10px, -7px, 0) scale(.96); }
  to   { transform: translate3d(18px, 12px, 0) scale(1.08); }
}
@keyframes contact-leaf-float {
  from { translate: 0 -6px; }
  to   { translate: 8px 10px; }
}

/* ==========================================================================
   19. Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .cats { grid-template-columns: repeat(4, 1fr); }
  .brand-card { padding: 20px; }
}

@media (max-width: 980px) {
  section[id], #top { scroll-margin-top: 92px; }
  .nav { display: none; }
  /* .nav is hidden here, so the actions must snap back to the right edge */
  .nav ~ .header__actions { margin-left: auto; }
  .burger { display: block; }

  .mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 29;
    display: block;
    padding: calc(var(--header-h, 92px) + 4px) 14px 20px;
    opacity: 0;
    visibility: hidden;
    /* overflow:hidden on the page is not enough on iOS — swallow the gesture */
    touch-action: none;
    overscroll-behavior: contain;
    transition: opacity var(--t-base) var(--ease-out), visibility var(--t-base) linear;
  }
  /* the dimmer is a real button: one tap anywhere outside closes the menu */
  .mobile-nav__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 0;
    border: 0;
    background: rgba(8, 41, 30, .46);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-nav.is-open { opacity: 1; visibility: visible; }
  .mobile-nav__panel {
    position: relative;
    width: min(340px, 100%);
    max-height: 100%;
    margin-left: auto;
    padding: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 26px;
    background: #f7fff5;
    box-shadow: 0 24px 54px rgba(8, 41, 30, .26);
    transform: translateY(-10px) scale(.97);
    transform-origin: top right;
    opacity: .5;
    transition: transform var(--t-base) var(--ease-out), opacity var(--t-base) var(--ease-out);
  }
  .mobile-nav.is-open .mobile-nav__panel { transform: none; opacity: 1; }
  .mobile-nav__links { display: grid; gap: 2px; }
  .mobile-nav__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 50px;
    padding: 10px 14px;
    border-radius: 15px;
    color: var(--forest);
    font-size: 15px;
    font-weight: 800;
    transition: background-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-nav__links a svg {
    width: 17px;
    flex: none;
    color: #8aab97;
    transition: transform var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out);
  }
  .mobile-nav__links a:active { background: #e8f6e5; }
  .mobile-nav__links a:active svg { transform: translateX(4px); color: var(--green); }
  /* the last link is the CTA — same row rhythm, brighter surface */
  .mobile-nav__links a:last-child {
    margin-top: 6px;
    color: var(--forest);
    background: linear-gradient(135deg, var(--lime-soft), var(--lime));
    box-shadow: 0 8px 18px rgba(111, 176, 70, .22);
  }
  .mobile-nav__links a:last-child svg { color: var(--forest); }
  .mobile-nav__call {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 48px;
    margin-top: 8px;
    padding: 9px 14px;
    border-top: 1px solid var(--line);
    border-radius: 0 0 14px 14px;
    color: var(--forest);
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-nav__call svg { width: 19px; flex: none; color: var(--green); }
  .mobile-nav__call span { display: grid; font-size: 13.5px; font-weight: 700; line-height: 1.25; }
  .mobile-nav__call b { font-size: 11px; font-weight: 800; color: #7b9386; letter-spacing: .06em; text-transform: uppercase; }
  .mobile-nav__call:active { background: #eef8ea; }

  .hero { padding-top: 60px; }
  .hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .hero__content { max-width: 690px; }
  .hero__visual { min-height: 0; padding: 12px 0 26px; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .features { gap: 16px; }
  .catalog-story { grid-template-columns: 1fr; }
  .how-it-works__steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .section { padding: 84px 0; }
  /* Tablets keep the two columns side by side — stacked they turn into two
     near-empty ribbons — just with a tighter arrow gutter. */
  .compare { grid-template-columns: 1fr 44px 1fr; gap: 12px; }
  .compare__arrow { width: 44px; height: 44px; }
  .compare__arrow svg { width: 18px; }

  /* Stacked cards get an icon/number rail instead of a tall column, so the
     page reads as a compact list rather than an endless ribbon of boxes. */
  .features { grid-template-columns: 1fr; gap: 10px; }
  .feature {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 2px 15px;
    padding: 16px 16px;
    border-color: var(--line);
    background: rgba(255, 255, 255, .6);
  }
  .feature__ico { grid-row: 1 / span 2; width: 48px; height: 48px; align-self: center; }
  .feature h3 { margin: 0; align-self: end; font-size: 16.5px; }
  .feature p { align-self: start; font-size: 13.5px; }

  /* a side rail would cost a third of the width ("30–50%" is wide), so the
     opportunity cards keep their stack — just far tighter than on desktop */
  .opp { grid-template-columns: 1fr; gap: 12px; }
  .opp__card { padding: 19px 20px; }
  .opp__num { font-size: 29px; }
  .opp h3 { margin: 9px 0 5px; font-size: 17px; }
  .opp p { font-size: 13.5px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 24px, 520px); }
  section[id], #top { scroll-margin-top: 84px; }

  /* ---- header: compact pill, actions pushed out to the right edge ---- */
  .site-header { padding: 9px 0 4px; }
  .header__inner { min-height: 56px; gap: 8px; padding: 6px 5px 6px 12px; }
  .site-header.is-stuck .header__inner { min-height: 52px; }
  .header__actions { gap: 6px; align-items: center; }
  .brand { gap: 9px; }
  .brand__mark { width: 38px; height: 38px; border-radius: 50%; }
  .brand__mark svg { width: 23px; height: 23px; }
  .brand__mark img { width: 38px; height: 38px; }
  .brand__name { font-size: 14.5px; }
  .brand__slogan { margin-top: 3px; font-size: 8px; letter-spacing: .06em; }
  /* smaller contact button = real breathing room between logo and actions */
  .btn--contact { min-height: 40px; padding: 9px 13px; font-size: 13.5px; }
  .btn--contact .btn__ico { width: 16px; height: 16px; }
  .btn--contact .btn__chevron { display: none; }
  .burger { width: 40px; height: 40px; border-radius: 12px; }
  .burger__box span { left: 11px; right: 11px; }
  .burger__box span:nth-child(1) { top: 13px; }
  .burger__box span:nth-child(2) { top: 18.8px; }
  .burger__box span:nth-child(3) { top: 24.6px; }
  .burger[aria-expanded="true"] .burger__box span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger__box span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }
  .mobile-nav { padding-top: 76px; }

  /* ---- contact menu becomes a full-width sheet aligned to the page edges.
     `.contact-menu` goes static so the panel anchors to the header shell
     instead of the button — it can no longer spill off-screen. ---- */
  .contact-menu { position: static; }
  .contact-dropdown {
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    width: auto;
    padding: 8px;
    border-radius: 24px;
    transform: translateY(-8px) scale(.985);
    transform-origin: top center;
  }
  .contact-dropdown__title { margin: 7px 12px 7px; }
  .contact-dropdown__title--community { margin-top: 10px; }
  .cd-item {
    min-height: 62px;
    grid-template-columns: 44px minmax(0, 1fr) 18px;
    gap: 13px;
    padding: 9px 12px;
    border-color: rgba(105, 191, 105, .16);
    border-radius: 17px;
    background: rgba(255, 255, 255, .58);
  }
  .cd-item + .cd-item { margin-top: 6px; }
  .cd-item__ico { width: 44px; height: 44px; }
  .cd-item__ico svg { width: 23px; height: 23px; }
  .cd-item__name { font-size: 15px; }
  .cd-item__sub { font-size: 12px; }

  .hero { min-height: 0; padding: 40px 0 92px; }
  .hero__brand { font-size: clamp(33px, 11vw, 55px); }
  .hero__tagline { font-size: 20px; overflow-wrap: anywhere; }
  .hero__lead { max-width: 100%; font-size: 15.5px; }
  .hero__cta { display: grid; min-width: 0; margin-top: 26px; }
  .hero__cta .btn { width: 100%; min-width: 0; }
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 10px;
    margin-top: 26px;
    padding: 14px 12px;
    border: 1px solid rgba(45, 139, 87, .14);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .5);
  }
  .stat { justify-items: center; text-align: center; }
  .stat__num { font-size: 19px; }
  .stat__label { font-size: 10.5px; }
  .hero__wave { height: 64px; }

  /* badges hang off the card edges so they never cover the card copy */
  .hero__visual { padding: 8px 0 20px; }
  /* pulled in from the gutters so the tilt + shadow never clip on the edge */
  .hero__card { --tilt: 1.6deg; --sway: 3deg; width: min(100% - 18px, 360px); padding: 26px 22px 24px; border-radius: 28px; }
  .hero__logo { width: 68px; height: 68px; border-radius: 50%; }
  .hero__logo svg { width: 40px; height: 40px; }
  .hero__logo img { width: 66px; height: 66px; }
  .hero__card-title { margin-top: 18px; font-size: 17.5px; }
  .hero__list { gap: 11px; margin-top: 22px; }
  .hero__badge { padding: 9px 12px; font-size: 10.5px; }
  .hero__badge svg { width: 16px; height: 16px; }
  .hero__badge--eco { top: -14px; right: 6px; --sway: 6deg; transform-origin: 50% 50%; }
  .hero__badge--beauty { bottom: -14px; left: 10px; --sway: 7deg; transform-origin: 50% 50%; }

  .section { padding: 60px 0; }
  .section__head { margin-bottom: 26px; }
  .section__title { font-size: 26px; }
  .section__sub { font-size: 14px; }

  /* trust strip stays a 2×2 card grid — one column looked like dead space */
  .trust { padding: 18px 0; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .trust__item {
    gap: 10px;
    padding: 12px 11px;
    border-color: var(--line);
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, .55);
  }
  .trust__item > svg { width: 23px; height: 23px; }
  .trust__item b { font-size: 13px; }
  .trust__item span { font-size: 11px; line-height: 1.35; }

  .cats { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .cat { min-height: 0; padding: 15px 14px; border-radius: var(--r-sm); }
  .cat__ico { width: 38px; height: 38px; margin-bottom: 12px; }
  .cat__ico svg { width: 20px; height: 20px; }
  .cat__name { font-size: 14px; }
  .cat__hint { padding-top: 8px; font-size: 11.5px; }

  .catalog-story { gap: 20px; margin-top: 26px; padding: 22px 18px; border-radius: var(--r-lg); }
  .catalog-story__grid { gap: 8px; }
  .catalog-note { grid-template-columns: 40px 1fr; gap: 12px; padding: 13px; }
  .catalog-note__ico { width: 40px; height: 40px; }
  .catalog-note__ico svg { width: 21px; height: 21px; }
  .catalog-note h4 { font-size: 14.5px; }
  .catalog-note p { font-size: 12.5px; }

  /* numbered steps read as compact rows: number rail + copy */
  .how-it-works { margin-top: 14px; padding: 24px 18px; border-radius: var(--r-lg); }
  .how-it-works h3 { margin-bottom: 18px; }
  .how-it-works__steps { grid-template-columns: 1fr; gap: 8px; }
  .how-it-works__steps li {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 2px 13px;
    align-content: center;
    padding: 13px 15px;
  }
  .how-it-works__steps span { grid-row: 1 / span 2; align-self: center; font-size: 14px; }
  .how-it-works__steps b { margin-top: 0; align-self: end; }
  .how-it-works__steps small { margin-top: 2px; align-self: start; }

  /* phones: only here does the pair have to stack, arrow turned downward */
  .compare { grid-template-columns: 1fr; gap: 14px; }
  .compare__arrow { rotate: 90deg; }
  .compare__card, .opp__card { padding: 22px 20px; }
  .compare ul { margin-top: 18px; gap: 9px; }
  .compare li { font-size: 14px; }
  .opp__note { gap: 12px; padding: 17px 18px; }
  .opp__note svg { width: 22px; min-width: 22px; }
  .opp__note p { font-size: 13.5px; }

  /* one flag card per row, but shorter — six tall boxes was a wall */
  .brands { grid-template-columns: 1fr; gap: 10px; }
  .brand-card { min-height: 86px; padding: 15px 18px; border-radius: var(--r-sm); }
  .brand-card__flag { top: 7px; right: 8px; bottom: 7px; width: 108px; border-radius: 11px; }
  .brand-card__body { max-width: 62%; gap: 2px; }
  .brand-card__country { font-size: 11.5px; }

  /* contact cards flip to icon-left rows: three taller cards became a list */
  .contacts { padding: 66px 0 58px; }
  .contact-cards { grid-template-columns: 1fr; gap: 10px; }
  .ccard {
    min-height: 0;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 1px 15px;
    padding: 16px 18px;
    border-radius: var(--r-md);
  }
  .ccard__ico { grid-row: 1 / span 3; width: 52px; height: 52px; align-self: center; }
  .ccard__ico svg { width: 26px; height: 26px; }
  .ccard__name { margin-top: 0; font-size: 17px; }
  .ccard__handle { min-height: 0; margin: 0 0 6px; font-size: 12.5px; }
  .ccard__btn { margin-top: 0; font-size: 13px; }
  .ccard__glow { display: none; }
  .ccard-wide { grid-template-columns: 50px minmax(0, 1fr); gap: 4px 15px; margin-top: 10px; padding: 15px 18px; border-radius: var(--r-lg); }
  .ccard-wide__ico { grid-row: 1 / span 2; width: 50px; height: 50px; align-self: center; }
  .ccard-wide__ico svg { width: 25px; height: 25px; }
  .ccard-wide__name { font-size: 16px; }
  .ccard-wide__sub { font-size: 12.5px; }
  .ccard-wide__btn { grid-column: 2; margin-top: 4px; font-size: 13px; }
  .contacts__seller { flex-wrap: wrap; margin-top: 22px; text-align: center; }

  .site-footer { padding: 38px 0 24px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__copy { margin-top: 12px; font-size: 12.5px; }
  .footer__bottom { display: grid; gap: 6px; margin-top: 24px; }
}

@media (max-width: 420px) {
  .hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 6px; padding: 12px 8px; }
  .stat__num { font-size: 17px; }
  .stat__label { font-size: 9.5px; letter-spacing: -.01em; }
  .cat { padding: 14px 13px; }
  .cat__name { font-size: 13.5px; }
  .cat__hint { font-size: 11px; }
  .brand-card__name { font-size: 13px; }
  .trust__item { padding: 11px 9px; }
  .trust__item b { font-size: 12.5px; }
  .trust__item span { font-size: 10.5px; }
  .opp__num { font-size: 27px; }
  .footer__grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 20px); }
  .brand__slogan { display: none; }
  .brand__name { font-size: 14px; }
  .btn--contact span { display: none; }
  .btn--contact { padding: 9px 11px; }
  .hero__brand { font-size: 31px; }
  .hero__tagline { font-size: 18px; }
  .section__title { font-size: 23px; }
  .cats { gap: 8px; }
  .cat { padding: 13px 12px; }
  .cat__ico { margin-bottom: 10px; }
  .ccard, .compare__card, .opp__card { padding: 18px 16px; }
  .opp__num { font-size: 25px; }
  .trust__grid { grid-template-columns: 1fr; }
}

/* touch devices never get a hover, so surface the flags and keep feedback */
@media (hover: none) {
  .brand-card__flag { opacity: .68; }
  .brand-card:active { transform: translateY(-2px); }
  .brand-card:active .brand-card__flag { opacity: .92; transform: scale(1.02); }
  .cat:active { transform: scale(.975); border-color: rgba(105, 191, 105, .4); background: #fff; }
  .cat:active .cat__ico { transform: scale(1.06); background: linear-gradient(145deg, var(--lime-soft), #a5e8ae); color: var(--forest); }
  .ccard:active, .ccard-wide:active { transform: scale(.985); background: rgba(255, 255, 255, .82); }
  .ccard:active .ccard__ico, .ccard-wide:active .ccard-wide__ico { transform: scale(1.06); }
  .cd-item:active { background: #e9f7e3; border-color: rgba(105, 191, 105, .34); }
  .cd-item:active .cd-item__arrow { transform: translateX(3px); color: var(--green); }
  .feature:active, .opp__card:active { transform: scale(.99); }
  .btn:active { transform: scale(.97); }
}

/* ==========================================================================
   19b. Mobile motion & load: same choreography, lighter and snappier
   ========================================================================== */
@media (max-width: 820px) {
  /* shorter travel + quicker curve: reveals finish inside the flick */
  .js .reveal { transform: translateY(14px); }
  .js .reveal,
  .js .cat {
    transition-duration: 420ms;
  }
  /* long stagger chains felt laggy while scrolling a narrow screen */
  .reveal:nth-child(2) { --rd: 45ms; }
  .reveal:nth-child(3) { --rd: 90ms; }
  .reveal:nth-child(4) { --rd: 135ms; }
  .reveal:nth-child(5) { --rd: 165ms; }
  .reveal:nth-child(6) { --rd: 195ms; }
  .reveal:nth-child(n + 7) { --rd: 220ms; }

  .cat.is-visible .cat__ico,
  .feature.is-visible .feature__ico,
  .ccard.is-visible .ccard__ico,
  .ccard-wide.is-visible .ccard-wide__ico { animation-duration: 560ms; }
  .trust__item.is-visible > svg { animation-duration: 520ms; }
  .opp__card.is-visible .opp__num { animation-duration: 600ms; }
  .brand-card.is-visible .brand-card__flag { animation-duration: 640ms; }

  /* ---- phones: no live blur, no infinite animation, no compositor hints.
     Those three are what make scrolling stutter on real devices. ---- */
  .bg-layer,
  .contacts__decor { display: none; }

  *,
  *::before,
  *::after { will-change: auto !important; }

  .hero__card,
  .hero__badge,
  .hero__badge--eco,
  .hero__badge--beauty { animation: none !important; }

  /* every backdrop-filter off: a blurring sticky header repaints the whole
     page on each scroll frame */
  .header__inner,
  .site-header.is-stuck .header__inner,
  .contact-dropdown,
  .mobile-nav__backdrop,
  .ccard,
  .ccard-wide,
  .hero__badge,
  .cat,
  .trust,
  .trust__item,
  .opp__note {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .header__inner { background: #fbfefa; }
  .contact-dropdown { background: #fbfefa; }
  .ccard, .ccard-wide { background: rgba(255, 255, 255, .88); }
  .hero__badge { background: #fff; }

  /* flags: the mask + negative z-index + will-change combo simply does not
     paint on a lot of mobile GPUs — plain rounded panel instead */
  .brand-card__flag {
    z-index: 0;
    opacity: .5;
    mask-image: none;
    -webkit-mask-image: none;
    filter: none;
    animation: none !important;
    transition: none;
  }
  .brand-card--jp .brand-card__flag { opacity: .6; }
  .brand-card__body { position: relative; z-index: 1; }
}

/* ==========================================================================
   20. Reduced motion — keep the layout, drop the choreography
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__card { transform: rotate(var(--tilt)); }
  .hero__badge { transform: none; }
  .brand-card__flag { opacity: .55; }
  .compare__card::after, .compare__arrow::after, .compare__badge::before { opacity: 0; }
}
