/* КуклаДом — site styles. Mobile-first; colors come from the logo (raspberry, sun, sky). */
@view-transition { navigation: auto; }

:root {
  --bg: #fbf7f1;
  --surface: #ffffff;
  --ink: #1f1c18;
  --muted: #6b6259;
  --line: #ebe3d6;
  --berry: #c8336b;
  --berry-ink: #a3214f;
  --berry-soft: #fbe4ed;
  --sun: #ffd23f;
  --sun-soft: #fff4cc;
  --sky: #97ddf2;
  --sky-soft: #e4f6fc;
  --leaf: #b9d36b;
  --leaf-soft: #eef5d6;
  --dark: #1f1c18;
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 1px 2px rgb(31 28 24 / .05), 0 12px 32px -12px rgb(31 28 24 / .18);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: min(1200px, 100% - 32px);
  --header-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); interpolate-size: allow-keywords; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--berry-ink); }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.1rem + 4.4vw, 4.4rem); }
h2 { font-size: clamp(1.55rem, 1.05rem + 2.3vw, 2.75rem); }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { padding-left: 1.2em; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }

/* ---------- scroll progress (scroll-driven, progressive) ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--berry), var(--sun)); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .progress { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { to { transform: scaleX(1); } }
}

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgb(251 247 241 / .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(31 28 24 / .35); }
.header__in { height: 100%; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 40px; width: auto; }
.nav { display: none; }
.header__cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header__phone { display: none; font-weight: 600; text-decoration: none; white-space: nowrap; }
.burger {
  width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; color: var(--ink);
}
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s, background .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
[aria-expanded="true"] .burger__i, .burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--bg);
  padding: 24px 16px calc(32px + env(safe-area-inset-bottom)); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu a { display: block; text-decoration: none; }
.menu__main a { font: 700 1.5rem/1.2 var(--font-display); padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu__label { margin: 28px 0 8px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.menu__seg a { padding: 10px 0; font-weight: 600; }
.menu__contacts { margin-top: 28px; display: grid; gap: 10px; }
body.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
  :root { --header-h: 76px; }
  .logo img { height: 46px; }
  .burger, .menu { display: none; }
  .nav { display: flex; gap: 4px; margin-left: 24px; }
  .nav a, .nav button { font: 600 .95rem var(--font-body); text-decoration: none; padding: 10px 14px; border-radius: 999px; border: 0; background: none; color: inherit; cursor: pointer; }
  .nav a:hover, .nav button:hover, .nav a[aria-current="page"] { background: var(--surface); color: var(--ink); }
  .nav__drop { position: relative; }
  .nav__drop > button::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
  .nav__panel {
    position: absolute; top: calc(100% + 8px); left: 0; width: 340px; padding: 10px; background: var(--surface);
    border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav__drop:hover .nav__panel, .nav__drop:focus-within .nav__panel { opacity: 1; visibility: visible; transform: none; }
  .nav__panel a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; }
  .nav__panel a:hover { background: var(--bg); }
  .nav__panel .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
  .header__phone { display: inline-block; }
}

/* ---------- buttons, chips ---------- */
.btn {
  --b: var(--ink); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 2px solid var(--b); background: var(--b); color: var(--c);
  font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, background .2s, color .2s;
}
.btn:hover { color: var(--c); transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--b); }
.btn:active { transform: translateY(0); }
.btn--berry { --b: var(--berry); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { color: var(--ink); background: var(--surface); }
.btn--sun { --b: var(--sun); --c: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; margin-bottom: 18px;
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--berry); box-shadow: 0 0 0 4px var(--berry-soft); }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--bg); border: 1px solid var(--line); }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section__head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section__head h2 { margin: 0; }
.section__head p { margin: 0; }
.section__head--row { max-width: none; }
@media (min-width: 900px) { .section__head--row { grid-template-columns: 1fr auto; align-items: end; } }
.panel { background: var(--surface); border-radius: var(--radius); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(20px, 4vw, 40px); }
.hero__grid { display: grid; gap: 24px; }
.hero__text h1 { margin-bottom: 18px; }
.hero__text h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--sun) 62% 92%, transparent 92%); padding-inline: .05em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px;
  background: rgb(255 255 255 / .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--shadow);
  font-size: .85rem; line-height: 1.25; font-weight: 600; animation: bob 6s ease-in-out infinite;
}
.float-chip b { display: block; font: 700 1.05rem var(--font-display); }
.float-chip .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-chip .ic svg { width: 20px; height: 20px; }
.float-chip--a { left: 12px; bottom: 12px; }
.float-chip--b { right: 12px; top: 12px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-6px); } }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; position: relative; }
  .hero__media { aspect-ratio: 16 / 8.2; grid-area: 1 / 1; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(251 247 241 / .97) 0%, rgb(251 247 241 / .93) 38%, rgb(251 247 241 / .72) 50%, rgb(251 247 241 / 0) 64%); }
  .hero__text { grid-area: 1 / 1; z-index: 2; align-self: center; padding: 56px; max-width: 620px; }
  .float-chip--a { left: auto; right: 32%; bottom: 28px; }
  .float-chip--b { right: 28px; top: 28px; }
}
@supports (animation-timeline: view()) {
  .hero__media img { animation: heroZoom linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  @keyframes heroZoom { to { transform: scale(1.12) translateY(4%); } }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding-block: 22px; border-block: 1px solid var(--line); margin-top: clamp(28px, 4vw, 48px); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 48px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font: 700 clamp(1.1rem, 1rem + 1vw, 1.6rem) var(--font-display); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--berry); }
.marquee__track span:nth-child(3n+2)::after { background: var(--sun); }
.marquee__track span:nth-child(3n)::after { background: var(--sky); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { padding: 22px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.stat b { display: block; font: 700 clamp(1.8rem, 1.3rem + 2.2vw, 3rem)/1 var(--font-display); letter-spacing: -.03em; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: .95rem; }
.stat:nth-child(1) { background: var(--berry-soft); border-color: transparent; }
.stat:nth-child(2) { background: var(--sun-soft); border-color: transparent; }
.stat:nth-child(3) { background: var(--sky-soft); border-color: transparent; }
.stat:nth-child(4) { background: var(--leaf-soft); border-color: transparent; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 16px; } .stat { padding: 28px; } }

/* ---------- segments (horizontal snap on phones, bento on desktop) ---------- */
.segs { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin-inline: -16px; scrollbar-width: none; }
.segs::-webkit-scrollbar { display: none; }
.seg {
  scroll-snap-align: center; position: relative; display: flex; flex-direction: column; min-height: 420px;
  border-radius: var(--radius); overflow: hidden; background: var(--surface); text-decoration: none; color: var(--ink); isolation: isolate;
  box-shadow: var(--shadow);
}
.seg__img { position: absolute; inset: 0; z-index: -1; }
.seg__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.seg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(31 28 24 / 0) 35%, rgb(31 28 24 / .78) 100%); }
.seg__body { margin-top: auto; padding: 22px; color: #fff; }
.seg__body h3 { color: #fff; margin-bottom: 6px; }
.seg__body p { margin: 0; opacity: .9; font-size: .95rem; }
.seg__go { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transition: transform .3s, background .3s; }
.seg__go svg { width: 20px; height: 20px; }
.seg:hover { color: var(--ink); }
.seg:hover .seg__img img { transform: scale(1.06); }
.seg:hover .seg__go { transform: rotate(-45deg); background: var(--sun); }
@media (min-width: 900px) {
  .segs { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; padding: 0; margin: 0; }
  .seg { grid-column: span 2; min-height: 380px; }
  .seg:nth-child(1), .seg:nth-child(2) { grid-column: span 3; min-height: 440px; }
}

/* ---------- feature cards ---------- */
.features { display: grid; gap: 14px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.c-berry { background: var(--berry-soft); color: var(--berry-ink); }
.c-sun { background: var(--sun-soft); color: #8a6a00; }
.c-sky { background: var(--sky-soft); color: #11708f; }
.c-leaf { background: var(--leaf-soft); color: #4f6a12; }

/* ---------- brand grid ---------- */
.brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.brand {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.brand:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.brand__logo { height: 84px; display: grid; place-items: center; }
.brand__logo img { max-height: 84px; max-width: 88%; width: auto; object-fit: contain; }
.brand__name { font: 700 1rem var(--font-display); }
.brand__meta { font-size: .85rem; color: var(--muted); }
@media (min-width: 700px) { .brands { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .brands { grid-template-columns: repeat(4, 1fr); gap: 16px; } .brands--home { grid-template-columns: repeat(6, 1fr); } }
.brand-cards { display: grid; gap: 16px; }
.brand-card { display: grid; gap: 18px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.brand-card__logo { height: 110px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 14px; }
.brand-card__logo img { max-height: 80px; width: auto; object-fit: contain; }
.brand-card h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); margin-bottom: 6px; }
.brand-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.brand-card__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
@media (min-width: 800px) { .brand-card { grid-template-columns: 240px 1fr; align-items: start; padding: 28px; } .brand-card__logo { height: 160px; } }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: step; }
.step { position: relative; padding: 22px 22px 22px 78px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 1rem var(--font-display); background: var(--sun); }
.step h3 { margin-bottom: 4px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .step { padding: 76px 22px 24px; }
  .step::before { left: 22px; top: 22px; }
}

/* ---------- logo wall (clients) ---------- */
.logos { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logos__track { display: flex; gap: 14px; width: max-content; animation: marquee 50s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__item { width: 180px; height: 96px; flex: none; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 14px 18px; }
.logos__item img { max-height: 62px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logos__item:hover img { filter: none; opacity: 1; }

/* ---------- timeline ---------- */
.timeline { position: relative; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--berry), var(--sun), var(--sky)); border-radius: 2px; }
.tl { position: relative; padding-left: 74px; }
.tl__year { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); font: 700 .82rem var(--font-display); }
.tl__card { padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.tl__card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.tl__card p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); gap: 16px 28px; } .timeline::before { display: none; } }

/* ---------- reviews ---------- */
.reviews { display: grid; gap: 14px; }
.review { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-size: 1rem; }
.review blockquote::before { content: "“"; display: block; font: 700 3rem/0.6 var(--font-display); color: var(--berry); margin-bottom: 10px; }
.review figcaption { margin-top: auto; font-weight: 600; }
.review figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font: 600 1.3rem/1 var(--font-body); transition: rotate .3s, background .3s; }
.faq details[open] summary::after { rotate: 45deg; background: var(--sun); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); padding: clamp(32px, 6vw, 72px);
  background: radial-gradient(120% 140% at 0% 0%, #ffe680 0%, var(--sun) 35%, #ffb35c 70%, #ff8aa8 100%); color: var(--ink);
}
.cta h2 { max-width: 18ch; }
.cta p { max-width: 52ch; font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cta__deco { position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgb(255 255 255 / .25); }
.cta__deco--2 { right: 120px; bottom: auto; top: -90px; width: 180px; height: 180px; background: rgb(255 255 255 / .18); }

/* ---------- page hero (inner pages) ---------- */
.phero { padding-block: clamp(24px, 4vw, 48px) clamp(32px, 5vw, 64px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.phero__grid { display: grid; gap: 24px; align-items: center; }
.phero__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) { .phero__grid--media { grid-template-columns: 1.05fr 1fr; gap: 48px; } }

/* ---------- prose & two-column ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.two { display: grid; gap: 24px; }
@media (min-width: 960px) { .two { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } .two--wide { grid-template-columns: 1.4fr 1fr; } }
.card { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card h3 { margin-bottom: 10px; }
.card > :last-child { margin-bottom: 0; }
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check li { position: relative; padding-left: 32px; }
.check li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f6a12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; background: var(--surface); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure.is-contain { background: #fff; border: 1px solid var(--line); }
.gallery figure.is-contain img { object-fit: contain; padding: 10px; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; } .gallery--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- picks (product directions for segments) ---------- */
.picks { display: grid; gap: 14px; }
.pick { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.pick__logo { width: 72px; height: 72px; border-radius: 14px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; padding: 8px; }
.pick__logo img { max-height: 52px; width: auto; object-fit: contain; }
.pick h3 { font-size: 1.05rem; margin-bottom: 4px; }
.pick p { margin: 0; color: var(--muted); font-size: .97rem; }
.pick a { font-weight: 600; }
@media (min-width: 900px) { .picks { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* ---------- contacts ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list b { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-list a { font-weight: 600; text-decoration: none; font-size: 1.1rem; }
.map { border: 0; width: 100%; height: 420px; border-radius: var(--radius); background: var(--surface); }
.req { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.req dt { color: var(--muted); }
.req dd { margin: 0; font-weight: 500; }

/* ---------- news ---------- */
.posts { display: grid; gap: 16px; }
.post-card { display: grid; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.post-card__img { aspect-ratio: 16 / 9; background: #fff; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px; }
.post-card time { font-size: .85rem; color: var(--muted); }
.post-card h2 { font-size: 1.2rem; margin: 6px 0 0; }
@media (min-width: 900px) { .posts { grid-template-columns: repeat(3, 1fr); } }

/* ---------- form embed ---------- */
.form-shell { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(8px, 2vw, 20px); min-height: 520px; }
.form-shell iframe { width: 100% !important; border: 0; }

/* ---------- footer ---------- */
.footer { margin-top: clamp(56px, 8vw, 112px); background: var(--dark); color: #e9e2d8; padding-block: 56px calc(28px + env(safe-area-inset-bottom)); }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--sun); }
.footer__grid { display: grid; gap: 32px; }
.footer__brand img { height: 44px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; }
.footer__brand p { margin-top: 16px; color: #b9b0a4; max-width: 36ch; }
.footer h3 { font: 600 .8rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #b9b0a4; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .12); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; color: #b9b0a4; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* ---------- mobile action bar ---------- */
.actionbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px; border-radius: 22px;
  background: rgb(31 28 24 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 40px -12px rgb(0 0 0 / .45);
  transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.actionbar.is-shown { transform: none; }
.actionbar .btn { min-height: 48px; padding: 0 12px; font-size: .95rem; }
.actionbar .btn--ghost { color: #fff; border-color: rgb(255 255 255 / .25); }
.actionbar .btn--ghost:hover { background: rgb(255 255 255 / .1); }
@media (min-width: 1024px) { .actionbar { display: none; } }
@media (max-width: 1023px) { .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); } }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track, .logos__track { animation: none !important; flex-wrap: wrap; width: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .header, .actionbar, .marquee, .footer, .progress { display: none; } }

/* ---------- 2026-10 additions ---------- */
.header__call { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--berry); color: #fff; }
.header__call svg { width: 20px; height: 20px; }
.header__call:hover { color: #fff; background: var(--berry-ink); }
@media (max-width: 1023px) { .header__btn { display: none; } }
@media (min-width: 1024px) { .header__call { display: none; } }
.section__head--row > .btn, .section__head--row > a { justify-self: start; }
@media (max-width: 699px) {
  .feature { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 18px; }
  .feature .ic { grid-row: span 2; width: 48px; height: 48px; margin: 0; }
  .feature h3 { margin: 2px 0 4px; }
  .features { gap: 10px; }
}
.wordmark { font: 800 clamp(1.4rem, 1.1rem + 1.2vw, 2rem)/1 var(--font-display); letter-spacing: -.03em; color: var(--ink);
  background: linear-gradient(90deg, #2f7d3b, #8bbf3c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pick__logo .wordmark { font-size: 1rem; }
.badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--sun); color: var(--ink); font: 600 .7rem var(--font-body); letter-spacing: .02em; }
.tag--new { background: var(--sun); border-color: var(--sun); }
.brand-hero { display: grid; gap: 20px; align-items: center; }
.brand-hero .brand-card__logo { max-width: 320px; }
@media (min-width: 800px) { .brand-hero { grid-template-columns: 280px 1fr; gap: 40px; } }
.formers { display: grid; gap: 12px; }
.former { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px dashed var(--line); }
.former__logo { width: 96px; height: 72px; border-radius: 12px; background: #fff; display: grid; place-items: center; padding: 6px; filter: grayscale(.6); }
.former__logo img { max-height: 60px; width: auto; object-fit: contain; }
.former h3 { font-size: 1rem; margin: 0 0 2px; }
.former p { margin: 0; color: var(--muted); font-size: .92rem; }
.former__meta { font-size: .82rem !important; }
@media (min-width: 900px) { .formers { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.steps--col { grid-template-columns: 1fr !important; }
.steps--col .step { padding: 18px 18px 18px 72px; }
.steps--col .step::before { left: 18px; top: 18px; }
.footer small { color: #8f867b; }
.contact-list small { color: var(--muted); }
@media (min-width: 900px) {
  .seg { grid-column: span 3 !important; min-height: 340px; }
  .seg:nth-child(1), .seg:nth-child(2) { min-height: 440px; }
  .seg:nth-child(3), .seg:nth-child(4), .seg:nth-child(5) { grid-column: span 2 !important; }
  .seg:nth-child(6) { grid-column: span 6 !important; min-height: 300px; }
  .seg:nth-child(6) .seg__img img { object-position: 70% 50%; }
}

@media (max-width: 699px) { .form-shell { padding: 0; border: 0; border-radius: 20px; overflow: hidden; } }

.form-note { margin: 14px 4px 0; font-size: .88rem; color: var(--muted); }
.legal h2 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); margin-top: 1.8em; }
.legal p { font-size: 1rem; }
.footer__bottom a { color: #b9b0a4; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- wholesale application form ---------- */
.form-card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(18px, 3vw, 32px); }
.lead-form { display: grid; gap: 20px; }
.lf-field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.lf-field > span, .lf-field legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: 2px; }
.lf-field i, .lf-consent i { color: var(--berry); font-style: normal; }
.lf-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .lf-grid { grid-template-columns: 1fr 1fr; } }
.lead-form input:not([type=radio]):not([type=checkbox]), .lead-form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid #e2d8ca; border-radius: 14px;
  padding: 13px 14px; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
.lead-form textarea { resize: vertical; min-height: 110px; }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--berry); box-shadow: 0 0 0 4px var(--berry-soft); }
.lead-form ::placeholder { color: #a99f93; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .95rem; transition: background .2s, border-color .2s, color .2s; }
.chip:hover span { border-color: #d8ccbb; }
.chip input:checked + span { background: var(--berry-soft); border-color: var(--berry); color: var(--berry-ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--berry); outline-offset: 2px; }
.lf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.lf-consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--berry); flex: none; }
.lf-err { margin: 0; min-height: 0; color: #b42318; font-size: .88rem; }
.lf-err:empty { display: none; }
.has-error input, .has-error textarea { border-color: #d92d20 !important; }
.has-error .chip span { border-color: #f1b5ae; }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.lf-submit[disabled] { opacity: .6; cursor: progress; }
.lf-status { margin: 0; color: var(--muted); font-size: .95rem; }
.lf-done { text-align: center; padding: clamp(24px, 5vw, 48px) 12px; }
.lf-done .ic { width: 64px; height: 64px; border-radius: 20px; display: inline-grid; place-items: center; margin-bottom: 16px; }
.lf-done .ic svg { width: 30px; height: 30px; }
@media (max-width: 699px) { .lf-submit { width: 100%; } }
