/* ==========================================================================
   Benessere Casa — main.css
   Minimale, chiaro, veloce. Nessun font esterno, nessuna libreria.
   ========================================================================== */

/* ---------- 1. Token ---------- */
:root {
	--bc-bg: #f6f8f3;
	--bc-surface: #ffffff;
	--bc-tint: #ecf2e6;
	--bc-tint-2: #e3f1c6;
	--bc-water: #e1eef0;
	--bc-ink: #12211a;
	--bc-ink-2: #46544c;
	--bc-ink-3: #6b786f;
	--bc-line: #dde5d7;
	--bc-green: #1f7a3e;
	--bc-green-700: #165f30;
	--bc-green-900: #0e1b14;
	--bc-lime: #a8d05a;

	--bc-font: "Inter", "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--bc-fs-sm: 0.875rem;
	--bc-fs-base: 1.0625rem;
	--bc-fs-lead: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
	--bc-fs-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
	--bc-fs-h2: clamp(1.9rem, 1.4rem + 2vw, 3rem);
	--bc-fs-h1: clamp(2.5rem, 1.7rem + 3.2vw, 4.4rem);

	--bc-r-sm: 12px;
	--bc-r: 20px;
	--bc-r-lg: 32px;
	--bc-shadow: 0 1px 2px rgba(18, 33, 26, .04), 0 8px 24px -12px rgba(18, 33, 26, .12);
	--bc-shadow-lg: 0 2px 4px rgba(18, 33, 26, .04), 0 24px 60px -24px rgba(18, 33, 26, .22);

	--bc-container: 1240px;
	--bc-gutter: clamp(1.25rem, 4vw, 2.5rem);
	--bc-section: clamp(4.5rem, 9vw, 8.5rem);
	--bc-header-h: 84px;
	--bc-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bc-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	background: var(--bc-bg);
	color: var(--bc-ink);
	font-family: var(--bc-font);
	font-size: var(--bc-fs-base);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--bc-green); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--bc-green-700); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.12; font-weight: 600; letter-spacing: -.025em; color: var(--bc-ink); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--bc-tint-2); color: var(--bc-ink); }
:focus-visible { outline: 2px solid var(--bc-green); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.bc-skip { position: absolute; left: 1rem; top: -100px; z-index: 1000; padding: .75rem 1.25rem; background: var(--bc-ink); color: #fff; border-radius: 999px; text-decoration: none; }
.bc-skip:focus { top: 1rem; color: #fff; }
.bc-main { display: block; outline: none; }

.bc-container { width: 100%; max-width: calc(var(--bc-container) + var(--bc-gutter) * 2); margin-inline: auto; padding-inline: var(--bc-gutter); }
.bc-container--narrow { max-width: calc(820px + var(--bc-gutter) * 2); }

.bc-icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- 3. Tipografia utility ---------- */
.bc-eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--bc-green); }
.bc-eyebrow--pill { padding: .45rem .9rem; border: 1px solid var(--bc-line); border-radius: 999px; background: rgba(255,255,255,.7); color: var(--bc-ink-2); letter-spacing: .06em; }
.bc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bc-lime); box-shadow: 0 0 0 4px rgba(168, 208, 90, .25); }
.bc-h2 { font-size: var(--bc-fs-h2); }
.bc-h3 { font-size: var(--bc-fs-h3); }
.bc-lead { font-size: var(--bc-fs-lead); color: var(--bc-ink-2); line-height: 1.6; }
.bc-lead p:last-child { margin-bottom: 0; }
.bc-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--bc-green); text-decoration: none; }
.bc-link .bc-icon { transition: transform .3s var(--bc-ease); }
.bc-link:hover .bc-icon, a:hover > .bc-link .bc-icon { transform: translateX(4px); }

/* ---------- 4. Pulsanti ---------- */
.bc-btn {
	--_bg: var(--bc-surface); --_fg: var(--bc-ink); --_bd: var(--bc-line);
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	min-height: 48px; padding: .75rem 1.35rem;
	border: 1px solid var(--_bd); border-radius: 999px;
	background: var(--_bg); color: var(--_fg);
	font-weight: 600; font-size: .975rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
	cursor: pointer; transition: background .25s var(--bc-ease), color .25s, border-color .25s, transform .25s var(--bc-ease), box-shadow .25s;
}
.bc-btn:hover { transform: translateY(-1px); color: var(--_fg); }
.bc-btn:active { transform: translateY(0); }
.bc-btn .bc-icon { width: 1.15em; height: 1.15em; }
.bc-btn--primary { --_bg: var(--bc-green); --_fg: #fff; --_bd: var(--bc-green); box-shadow: 0 8px 20px -10px rgba(31, 122, 62, .7); }
.bc-btn--primary:hover { --_bg: var(--bc-green-700); --_bd: var(--bc-green-700); }
.bc-btn--ghost:hover { --_bd: var(--bc-ink); }
.bc-btn--light { --_bg: #fff; --_fg: var(--bc-green-900); --_bd: #fff; }
.bc-btn--outline-light { --_bg: transparent; --_fg: #fff; --_bd: rgba(255,255,255,.4); }
.bc-btn--outline-light:hover { --_bd: #fff; }
.bc-btn--sm { min-height: 40px; padding: .55rem 1.05rem; font-size: .9rem; }
.bc-btn--lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.025rem; }
.bc-btn--block { width: 100%; }

/* ---------- 5. Header ---------- */
.bc-header {
	position: sticky; top: 0; z-index: 100;
	border-bottom: 1px solid transparent;
	transition: border-color .3s, background .3s;
}
.bc-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(246, 248, 243, .8); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); transition: background .3s; }
.bc-header.is-scrolled::before { background: rgba(246, 248, 243, .93); }
.bc-nav-open .bc-header { transform: none !important; transition: none; }
.bc-nav-open .bc-header::before { background: var(--bc-bg); }
.admin-bar .bc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bc-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .bc-header { top: 0; } }
.bc-header.is-scrolled { border-bottom-color: var(--bc-line); }
.bc-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--bc-header-h); }
.bc-header__brand { flex: none; display: flex; align-items: center; }
.bc-header__brand .custom-logo-link { display: block; }
.bc-header__brand .custom-logo { width: auto; max-height: 64px; }

/* marchio registrato (SVG fedele all'attestato: non alterare colori o proporzioni) */
.bc-logo { display: block; line-height: 0; }
.bc-logo img { display: block; width: auto; height: 66px; transition: height .4s var(--bc-ease); }
.bc-header.is-scrolled .bc-logo--header img, .bc-header.is-scrolled .custom-logo { height: 54px; max-height: 54px; }
@media (max-width: 600px) { .bc-logo--header img { height: 52px; } .bc-header.is-scrolled .bc-logo--header img { height: 46px; } }
.bc-logo--footer { display: inline-block; padding: .9rem 1.1rem; border-radius: var(--bc-r); background: #fff; }
.bc-logo--footer img { height: 78px; }

.bc-nav { margin-left: auto; }
.bc-menu { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.bc-menu a { position: relative; display: block; padding: .55rem .9rem; border-radius: 999px; color: var(--bc-ink-2); font-weight: 500; font-size: .975rem; text-decoration: none; transition: color .2s, background .2s; }
.bc-menu a:hover { color: var(--bc-ink); background: rgba(18, 33, 26, .05); }
.bc-menu .current-menu-item > a, .bc-menu .current_page_item > a, .bc-menu .current-menu-ancestor > a { color: var(--bc-ink); background: var(--bc-surface); box-shadow: inset 0 0 0 1px var(--bc-line); }
.bc-menu .sub-menu { position: absolute; min-width: 220px; margin: 0; padding: .5rem; list-style: none; background: var(--bc-surface); border: 1px solid var(--bc-line); border-radius: var(--bc-r); box-shadow: var(--bc-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--bc-ease); }
.bc-menu li { position: relative; }
.bc-menu li:hover > .sub-menu, .bc-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bc-menu .sub-menu a { border-radius: var(--bc-r-sm); }
.bc-nav__mobile-extra { display: none; }

.bc-header__actions { display: flex; align-items: center; gap: .75rem; }
.bc-header__phone { display: inline-flex; align-items: center; gap: .45rem; color: var(--bc-ink-2); font-weight: 500; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.bc-header__phone:hover { color: var(--bc-ink); }
.bc-burger { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--bc-line); border-radius: 50%; background: var(--bc-surface); cursor: pointer; }
.bc-burger__close { display: none; }

@media (max-width: 1180px) { .bc-header__phone span { display: none; } }

@media (max-width: 1023px) {
	.bc-burger { display: grid; }
	.bc-header__phone, .bc-header__cta { display: none; }
	.bc-header__actions { margin-left: auto; }
	.bc-nav {
		position: fixed; inset: var(--bc-header-h) 0 0 0; z-index: 99;
		display: flex; flex-direction: column; gap: 2rem;
		margin: 0; padding: 1.5rem var(--bc-gutter) 2rem;
		background: var(--bc-bg); overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s var(--bc-ease), transform .25s var(--bc-ease), visibility .25s;
	}
	.admin-bar .bc-nav { top: calc(var(--bc-header-h) + 46px); }
	.bc-nav-open .bc-nav { opacity: 1; visibility: visible; transform: none; }
	.bc-nav-open body { overflow: hidden; }
	.bc-nav { overscroll-behavior: contain; }
	.bc-nav-open .bc-burger__open { display: none; }
	.bc-nav-open .bc-burger__close { display: block; }
	.bc-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.bc-menu a { padding: 1rem 0; border-radius: 0; border-bottom: 1px solid var(--bc-line); font-size: 1.5rem; font-weight: 500; color: var(--bc-ink); letter-spacing: -.02em; }
	.bc-menu a:hover, .bc-menu .current-menu-item > a, .bc-menu .current_page_item > a { background: none; box-shadow: none; color: var(--bc-green); }
	.bc-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 1rem; background: none; }
	.bc-menu .sub-menu a { font-size: 1.1rem; }
	.bc-nav__mobile-extra { display: grid; gap: 1rem; }
	.bc-nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; color: var(--bc-ink-2); text-decoration: none; font-weight: 500; }
}

/* ---------- 6. Sezioni ---------- */
.bc-section { padding-block: var(--bc-section); }
.bc-section--flush-top { padding-top: 0; }
.bc-section--tint { background: var(--bc-tint); }
.bc-section__head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.bc-section__head .bc-h2 { margin: 0; }
.bc-section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; max-width: none; }

/* reveal: vedi sezione 19 (animazioni) */

/* ---------- 7. Hero ---------- */
.bc-hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(4rem, 8vw, 7rem); }
.bc-hero__bg { position: absolute; inset: 0; z-index: -1; background:
	radial-gradient(60% 55% at 85% 20%, rgba(168, 208, 90, .22), transparent 70%),
	radial-gradient(45% 50% at 10% 90%, rgba(170, 210, 220, .35), transparent 70%); }
.bc-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(2.5rem, 6vw, 5.5rem); }
.bc-hero__title { margin: 0 0 1.25rem; font-size: var(--bc-fs-h1); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.bc-hero__text { max-width: 34rem; margin-bottom: 2rem; font-size: var(--bc-fs-lead); color: var(--bc-ink-2); }
.bc-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.bc-hero__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 2.5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--bc-line); list-style: none; color: var(--bc-ink-2); font-size: .925rem; font-weight: 500; }
.bc-hero__trust li { display: inline-flex; align-items: center; gap: .5rem; }
.bc-hero__trust .bc-icon { color: var(--bc-green); }
.bc-hero__media { position: relative; }
.bc-hero__frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--bc-r-lg); overflow: hidden; background: linear-gradient(160deg, var(--bc-water), var(--bc-tint)); box-shadow: var(--bc-shadow-lg); }
.bc-hero__img { width: 100%; height: 100%; object-fit: cover; }
.bc-hero__placeholder { display: grid; place-items: center; height: 100%; color: var(--bc-green); }
.bc-hero__placeholder .bc-icon { width: 30%; height: auto; opacity: .35; stroke-width: 1; }
.bc-glass { background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); border: 1px solid rgba(255,255,255,.7); box-shadow: var(--bc-shadow-lg); }
.bc-hero__chip { position: absolute; left: clamp(-1.5rem, -2vw, -.5rem); bottom: 2rem; display: flex; align-items: center; gap: .85rem; padding: .85rem 1.25rem .85rem .85rem; border-radius: 999px; }
.bc-hero__chip strong, .bc-hero__chip small { display: block; line-height: 1.25; }
.bc-hero__chip small { color: var(--bc-ink-3); font-size: .825rem; }
.bc-hero__chip-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bc-green); color: #fff; }

@media (max-width: 900px) {
	.bc-hero__grid { grid-template-columns: 1fr; }
	.bc-hero__frame { aspect-ratio: 5 / 4; }
	.bc-hero__chip { left: 1rem; bottom: 1rem; }
}

/* ---------- 8. Pilastri (Acqua / Riposo / Relax) ---------- */
.bc-pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.bc-pillar { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--bc-r-lg); background: var(--bc-surface); border: 1px solid var(--bc-line); color: var(--bc-ink); text-decoration: none; transition: transform .4s var(--bc-ease), box-shadow .4s var(--bc-ease), border-color .3s; }
.bc-pillar:hover { color: var(--bc-ink); transform: translateY(-4px); box-shadow: var(--bc-shadow-lg); border-color: transparent; }
.bc-pillar__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bc-tint); }
.bc-pillar__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--bc-ease); }
.bc-pillar:hover .bc-pillar__img { transform: scale(1.05); }
.bc-pillar__placeholder { display: grid; place-items: center; height: 100%; color: var(--bc-green); }
.bc-pillar__placeholder .bc-icon { width: 25%; height: auto; opacity: .4; }
.bc-pillar__tag { position: absolute; left: 1rem; top: 1rem; display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 999px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .825rem; font-weight: 600; color: var(--bc-ink); }
.bc-pillar__tag .bc-icon { width: 1rem; height: 1rem; color: var(--bc-green); }
.bc-pillar__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.75rem; }
.bc-pillar__title { font-size: 1.45rem; margin-bottom: .5rem; }
.bc-pillar__body p { color: var(--bc-ink-2); flex: 1; }
@media (max-width: 900px) { .bc-pillars__grid { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 900px) { .bc-pillar { flex-direction: row; } .bc-pillar__media { flex: 0 0 42%; aspect-ratio: auto; } }

.bc-pillars__grid--compact { gap: 1rem; }
.bc-mini { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; border: 1px solid var(--bc-line); border-radius: var(--bc-r); background: var(--bc-surface); color: var(--bc-ink); text-decoration: none; transition: border-color .25s, box-shadow .25s; }
.bc-mini:hover { color: var(--bc-ink); border-color: var(--bc-green); box-shadow: var(--bc-shadow); }
.bc-mini strong, .bc-mini small { display: block; }
.bc-mini small { color: var(--bc-ink-3); }
.bc-mini__arrow { margin-left: auto; color: var(--bc-green); }

/* ---------- 9. Frase in evidenza ---------- */
.bc-statement { padding-block: clamp(3rem, 7vw, 6rem); background: var(--bc-green-900); color: #fff; }
.bc-statement__text { max-width: 22ch; margin: 0 auto; font-size: clamp(1.9rem, 1.2rem + 3vw, 3.75rem); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; text-align: center; text-wrap: balance; }

/* ---------- 10. Chi siamo + valori ---------- */
.bc-about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.bc-about__copy { position: sticky; top: calc(var(--bc-header-h) + 2rem); }
.bc-about__copy .bc-lead { margin-bottom: 2rem; }
.bc-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.bc-values--4 { grid-template-columns: repeat(4, 1fr); }
.bc-value { padding: 1.75rem; border-radius: var(--bc-r); background: var(--bc-surface); border: 1px solid var(--bc-line); }
.bc-value p { margin: 0; color: var(--bc-ink-2); font-size: .975rem; }
.bc-value__title { font-size: 1.15rem; margin: 1.25rem 0 .5rem; }
.bc-value__icon { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--bc-tint); color: var(--bc-green); }
@media (max-width: 1100px) { .bc-values--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .bc-about__grid { grid-template-columns: 1fr; } .bc-about__copy { position: static; } }
@media (max-width: 560px) { .bc-values, .bc-values--4 { grid-template-columns: 1fr; } }

/* ---------- 11. Come funziona ---------- */
.bc-steps { background: var(--bc-surface); border-block: 1px solid var(--bc-line); }
.bc-steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.bc-steps__list li { padding-top: 1.5rem; border-top: 2px solid var(--bc-ink); }
.bc-steps__n { display: block; margin-bottom: 1.5rem; font-size: .875rem; font-weight: 600; color: var(--bc-green); font-variant-numeric: tabular-nums; }
.bc-steps__list h3 { font-size: 1.35rem; }
.bc-steps__list p { margin: 0; color: var(--bc-ink-2); }
@media (max-width: 800px) { .bc-steps__list { grid-template-columns: 1fr; } }

/* ---------- 12. Contatti ---------- */
.bc-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.bc-contact__list { display: grid; gap: .75rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.bc-contact__item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--bc-line); border-radius: var(--bc-r); background: var(--bc-surface); color: var(--bc-ink); text-decoration: none; transition: border-color .25s, box-shadow .25s, transform .25s var(--bc-ease); }
.bc-contact__item:hover { color: var(--bc-ink); border-color: var(--bc-green); box-shadow: var(--bc-shadow); transform: translateY(-1px); }
.bc-contact__item small { display: block; color: var(--bc-ink-3); font-size: .8125rem; font-weight: 500; }
.bc-contact__item > span:last-child { font-weight: 600; }
.bc-contact__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--bc-tint); color: var(--bc-green); }
.bc-contact__hours { display: flex; gap: .6rem; margin-top: 1.25rem; color: var(--bc-ink-2); font-size: .95rem; }
.bc-contact__hours .bc-icon { margin-top: .2em; color: var(--bc-green); }
.bc-contact__card { padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--bc-r-lg); background: var(--bc-surface); border: 1px solid var(--bc-line); box-shadow: var(--bc-shadow-lg); }
.bc-contact__card h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 1.5rem; }
.bc-contact__card p { color: var(--bc-ink-2); }
.bc-contact__badge { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--bc-green); color: #fff; }
.bc-checklist { display: grid; gap: .65rem; margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.bc-checklist li { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.bc-checklist .bc-icon { color: var(--bc-green); }
.bc-form { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--bc-r-lg); background: var(--bc-surface); border: 1px solid var(--bc-line); }
@media (max-width: 900px) { .bc-contact__grid { grid-template-columns: 1fr; } }

/* moduli (anche Contact Form 7 e simili) */
.bc-form input:not([type=submit]):not([type=checkbox]):not([type=radio]), .bc-form textarea, .bc-form select,
.bc-search input[type=search], .comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea {
	width: 100%; padding: .85rem 1rem; border: 1px solid var(--bc-line); border-radius: var(--bc-r-sm); background: var(--bc-bg); transition: border-color .2s, box-shadow .2s;
}
.bc-form input:focus, .bc-form textarea:focus, .bc-search input:focus, .comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--bc-green); box-shadow: 0 0 0 4px rgba(31, 122, 62, .12); }
.bc-form input[type=submit], .comment-form input[type=submit], .wpcf7-submit { min-height: 48px; padding: .75rem 1.5rem; border: 0; border-radius: 999px; background: var(--bc-green); color: #fff; font-weight: 600; cursor: pointer; }
.bc-form label { display: block; margin-bottom: .35rem; font-weight: 500; font-size: .95rem; }

.bc-search { position: relative; display: flex; align-items: center; gap: .5rem; max-width: 520px; margin: 1.5rem 0; }
.bc-search > .bc-icon { position: absolute; left: 1rem; color: var(--bc-ink-3); pointer-events: none; }
.bc-search input[type=search] { padding-left: 2.75rem; border-radius: 999px; background: var(--bc-surface); }

/* ---------- 13. Fascia CTA ---------- */
.bc-cta-band { padding-block: 0 var(--bc-section); }
.bc-cta-band__box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr auto; align-items: center; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); border-radius: var(--bc-r-lg); background: var(--bc-green); color: #fff; }
.bc-cta-band__box::after { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(168, 208, 90, .45), transparent 65%); pointer-events: none; }
.bc-cta-band .bc-eyebrow { color: var(--bc-lime); }
.bc-cta-band__title { color: #fff; font-size: var(--bc-fs-h2); margin-bottom: .5rem; }
.bc-cta-band p { margin: 0; color: rgba(255,255,255,.82); }
.bc-cta-band__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 860px) { .bc-cta-band__box { grid-template-columns: 1fr; } }

/* ---------- 14. Footer ---------- */
.bc-footer { padding-top: clamp(3.5rem, 7vw, 5.5rem); background: var(--bc-green-900); color: rgba(255,255,255,.72); font-size: .95rem; }
.bc-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.bc-footer a:hover { color: #fff; }
.bc-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.bc-footer__brand .custom-logo-link { display: inline-block; padding: .9rem 1.1rem; border-radius: var(--bc-r); background: #fff; }
.bc-footer__brand .custom-logo { width: auto; max-height: 64px; }
.bc-footer__brand p { max-width: 34ch; margin: 1.25rem 0 1.5rem; }
.bc-footer__title { margin-bottom: 1rem; color: #fff; font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.bc-footer__links, .bc-footer__contacts { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.bc-footer__contacts li { display: flex; gap: .65rem; }
.bc-footer__contacts .bc-icon { margin-top: .2em; color: var(--bc-lime); width: 1.1em; height: 1.1em; }
.bc-social { display: flex; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.bc-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); transition: background .2s, border-color .2s; }
.bc-social a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.bc-social .bc-icon { width: 1.1rem; height: 1.1rem; }
.bc-footer__legal { padding-block: 1.75rem 2rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: rgba(255,255,255,.6); }
.bc-footer__company p { margin: 0 0 .5rem; }
.bc-footer__company strong { color: rgba(255,255,255,.9); font-weight: 600; }
.bc-footer__company p:first-child span::before { content: "·"; margin: 0 .5rem; opacity: .5; }
.bc-footer__tm { display: flex; gap: .5rem; align-items: flex-start; }
.bc-footer__tm .bc-icon { flex: none; width: 1.1em; height: 1.1em; margin-top: .15em; color: var(--bc-lime); }
.bc-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.08); }
.bc-footer__bottom p { margin: 0; }
.bc-footer__policies { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1000px) { .bc-footer__grid { grid-template-columns: 1fr 1fr; } .bc-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .bc-footer__grid { grid-template-columns: 1fr; } }

/* WhatsApp fisso */
.bc-wa-float { position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: 76px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .55); transition: transform .25s var(--bc-ease); }
.bc-wa-float:hover { color: #fff; transform: scale(1.06); }
.bc-wa-float .bc-icon { width: 30px; height: 30px; }
.bc-nav-open .bc-wa-float { display: none; }

/* ---------- 15. Pagine interne ---------- */
.bc-page-hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3.5rem); }
.bc-page-hero__title { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); letter-spacing: -.035em; margin-bottom: 1rem; }
.bc-page-hero .bc-lead { max-width: 46rem; }
.bc-page-hero--split { padding-bottom: clamp(3rem, 6vw, 5rem); }
.bc-page-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.bc-page-hero__media { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--bc-r-lg); background: var(--bc-tint); box-shadow: var(--bc-shadow-lg); }
.bc-page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .bc-page-hero__grid { grid-template-columns: 1fr; } }

.bc-story__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
@media (max-width: 900px) { .bc-story__grid { grid-template-columns: 1fr; } }

.bc-featured-img { margin: 0 0 2.5rem; overflow: hidden; border-radius: var(--bc-r-lg); }
.bc-prose { font-size: 1.075rem; color: var(--bc-ink-2); }
.bc-prose > * + * { margin-top: 1.1em; }
.bc-prose h2, .bc-prose h3, .bc-prose h4 { color: var(--bc-ink); margin-top: 2em; }
.bc-prose h2 { font-size: 1.85rem; } .bc-prose h3 { font-size: 1.4rem; }
.bc-prose img { border-radius: var(--bc-r); }
.bc-prose blockquote { margin: 2rem 0; padding: .25rem 0 .25rem 1.5rem; border-left: 3px solid var(--bc-lime); font-size: 1.25rem; color: var(--bc-ink); }
.bc-prose table { width: 100%; border-collapse: collapse; }
.bc-prose th, .bc-prose td { padding: .75rem; border-bottom: 1px solid var(--bc-line); text-align: left; }
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; } .alignright { float: right; margin: 0 0 1rem 1.5rem; }
.wp-caption-text, figcaption { margin-top: .5rem; font-size: .875rem; color: var(--bc-ink-3); }

.bc-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.bc-post-card__link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--bc-r); background: var(--bc-surface); border: 1px solid var(--bc-line); color: var(--bc-ink); text-decoration: none; transition: box-shadow .3s, transform .3s var(--bc-ease); }
.bc-post-card__link:hover { color: var(--bc-ink); box-shadow: var(--bc-shadow-lg); transform: translateY(-3px); }
.bc-post-card__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.bc-post-card__body { padding: 1.5rem; }
.bc-post-card__title { font-size: 1.3rem; }
.bc-post-card__body p { color: var(--bc-ink-2); }
.bc-empty { padding: 3rem 0; }

.bc-pagination, .woocommerce-pagination { margin-top: 3rem; }
.bc-pagination .nav-links, .woocommerce-pagination ul.page-numbers { display: flex; background: none; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 0; padding: 0; list-style: none; border: 0; }
a.page-numbers, span.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--bc-line); background: var(--bc-surface); color: var(--bc-ink); text-decoration: none; font-weight: 500; }
.page-numbers.current { background: var(--bc-ink); border-color: var(--bc-ink); color: #fff; }
a.page-numbers:hover { border-color: var(--bc-ink); color: var(--bc-ink); }

.bc-404__code { margin: 0; font-size: clamp(5rem, 15vw, 10rem); font-weight: 600; line-height: 1; letter-spacing: -.06em; color: var(--bc-tint-2); -webkit-text-stroke: 1px var(--bc-lime); }
.bc-404__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.bc-comments { margin-top: 4rem; }
.bc-comments__list { padding: 0; list-style: none; }

/* ---------- 16. WooCommerce (vetrina) ---------- */
.bc-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-bottom: 1.5rem; font-size: .875rem; color: var(--bc-ink-3); }
.bc-breadcrumb a { color: var(--bc-ink-2); text-decoration: none; }
.bc-breadcrumb a:hover { color: var(--bc-green); }
.bc-crumb-sep { opacity: .5; }

.bc-pills ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.bc-pills a { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--bc-line); background: var(--bc-surface); color: var(--bc-ink-2); font-size: .925rem; font-weight: 500; text-decoration: none; transition: .2s; }
.bc-pills a span { font-size: .78rem; color: var(--bc-ink-3); }
.bc-pills a:hover { border-color: var(--bc-ink); color: var(--bc-ink); }
.bc-pills a[aria-current] { background: var(--bc-ink); border-color: var(--bc-ink); color: #fff; }
.bc-pills a[aria-current] span { color: rgba(255,255,255,.6); }

.woocommerce-result-count { margin: 0 0 1.5rem; color: var(--bc-ink-3); font-size: .9rem; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { margin: 0 0 1.5rem; padding: 1rem 1.25rem; border-radius: var(--bc-r-sm); background: var(--bc-tint); list-style: none; }

ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
ul.products::before, ul.products::after { display: none; }
ul.products li.product { position: relative; display: flex; flex-direction: column; width: auto; margin: 0; float: none; border-radius: var(--bc-r); background: var(--bc-surface); border: 1px solid var(--bc-line); overflow: hidden; transition: transform .35s var(--bc-ease), box-shadow .35s var(--bc-ease), border-color .3s; }
ul.products li.product:hover { transform: translateY(-3px); box-shadow: var(--bc-shadow-lg); border-color: transparent; }
ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: var(--bc-ink); text-decoration: none; }
ul.products li.product img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 1.25rem; margin: 0; background: linear-gradient(180deg, #fff, var(--bc-bg)); transition: transform .8s var(--bc-ease); }
ul.products li.product:hover img { transform: scale(1.04); }
.bc-card__cat { display: block; padding: 1.1rem 1.35rem 0; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--bc-green); }
ul.products li.product .woocommerce-loop-product__title { margin: .35rem 0 0; padding: 0 1.35rem; font-size: 1.15rem; font-weight: 600; letter-spacing: -.015em; }
.bc-card__more { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; padding: 1rem 1.35rem 1.35rem; font-size: .9rem; font-weight: 600; color: var(--bc-ink-2); }
.bc-card__more .bc-icon { width: 1rem; height: 1rem; transition: transform .3s var(--bc-ease); }
ul.products li.product:hover .bc-card__more { color: var(--bc-green); }
ul.products li.product:hover .bc-card__more .bc-icon { transform: translateX(4px); }
ul.products li.product .price, ul.products li.product .button, ul.products li.product .onsale { display: none; }
body:not(.bc-catalog) ul.products li.product .price { display: block; padding: 0 1.35rem; color: var(--bc-ink); font-weight: 600; }
body:not(.bc-catalog) ul.products li.product .button { display: inline-flex; margin: 0 1.35rem 1.35rem; }
@media (max-width: 1000px) { ul.products, ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { ul.products, ul.products.columns-4, ul.products.columns-2 { grid-template-columns: 1fr 1fr; gap: .75rem; } ul.products li.product img { padding: .75rem; } .bc-card__cat { padding: .85rem .9rem 0; font-size: .68rem; } ul.products li.product .woocommerce-loop-product__title { padding: 0 .9rem; font-size: 1rem; } .bc-card__more { padding: .75rem .9rem 1rem; } }

/* scheda prodotto */
.bc-section--product { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.single-product div.product { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.single-product div.product > .woocommerce-product-gallery, .single-product div.product > .summary { width: auto; float: none; margin: 0; }
.single-product div.product > .woocommerce-tabs, .single-product div.product > .related, .single-product div.product > .upsells { grid-column: 1 / -1; }
@media (max-width: 900px) { .single-product div.product { grid-template-columns: 1fr; } }

.woocommerce-product-gallery { position: relative; opacity: 1 !important; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery .flex-viewport, .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:only-child { border-radius: var(--bc-r-lg); overflow: hidden; background: var(--bc-surface); border: 1px solid var(--bc-line); }
.woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: clamp(1rem, 3vw, 2.5rem); background: #fff; }
.woocommerce-product-gallery__trigger { position: absolute; top: 1rem; right: 1rem; z-index: 5; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bc-surface); border: 1px solid var(--bc-line); font-size: 0; text-decoration: none; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 20px; height: 20px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312211a' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.4-4.4M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E"); }
.woocommerce-product-gallery__trigger img, .woocommerce-product-gallery__trigger > span { display: none !important; }
.woocommerce-product-gallery__trigger:hover { border-color: var(--bc-ink); }
.flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.flex-control-thumbs li img { aspect-ratio: 1; object-fit: contain; padding: .35rem; border-radius: var(--bc-r-sm); border: 1px solid var(--bc-line); background: #fff; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.flex-control-thumbs li img.flex-active, .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--bc-green); }

.single-product .summary .product_title { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); letter-spacing: -.03em; margin-bottom: 1rem; }
.single-product .summary .woocommerce-product-details__short-description { color: var(--bc-ink-2); font-size: 1.05rem; }
.single-product .summary .woocommerce-product-details__short-description ul { margin: 0 0 1rem; padding: 0; list-style: none; display: grid; gap: .45rem; }
.single-product .summary .woocommerce-product-details__short-description li { position: relative; padding-left: 1.4rem; line-height: 1.45; }
.single-product .summary .woocommerce-product-details__short-description li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--bc-lime); }
.single-product .summary .woocommerce-product-details__short-description p:empty, .single-product .summary .woocommerce-product-details__short-description p:has(> br:only-child) { display: none; }
.single-product .summary .woocommerce-product-details__short-description p { margin-bottom: .5em; }
.single-product .summary .product_meta { display: grid; gap: .35rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--bc-line); font-size: .9rem; color: var(--bc-ink-3); }
.single-product .summary .product_meta a { color: var(--bc-ink-2); }
.single-product .summary .price { font-size: 1.5rem; font-weight: 600; }
.bc-catalog.single-product .summary .price, .bc-catalog .summary form.cart { display: none; }

.bc-inquiry { margin: 1.75rem 0; padding: clamp(1.25rem, 3vw, 1.75rem); border-radius: var(--bc-r); background: var(--bc-tint); }
.bc-inquiry__title { margin: 0 0 .25rem; font-size: 1.2rem; font-weight: 600; color: var(--bc-ink); }
.bc-inquiry__text { margin-bottom: 1.25rem; color: var(--bc-ink-2); font-size: .975rem; }
.bc-inquiry__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.bc-inquiry__actions .bc-btn--primary { flex: 1 1 100%; }
.bc-inquiry__actions .bc-btn--ghost { flex: 1 1 0; }
.bc-inquiry__trust { display: grid; gap: .45rem; margin: 1.25rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid rgba(18, 33, 26, .08); list-style: none; font-size: .9rem; color: var(--bc-ink-2); }
.bc-inquiry__trust li { display: flex; align-items: center; gap: .5rem; }
.bc-inquiry__trust .bc-icon { width: 1rem; height: 1rem; color: var(--bc-green); }

.woocommerce-tabs { margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; padding: 0; list-style: none; border-bottom: 1px solid var(--bc-line); }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; }
.woocommerce-tabs ul.tabs li a { display: block; padding: .85rem 1.1rem; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--bc-ink-3); font-weight: 600; text-decoration: none; }
.woocommerce-tabs ul.tabs li.active a { color: var(--bc-ink); border-bottom-color: var(--bc-green); }
.woocommerce-Tabs-panel { max-width: 860px; color: var(--bc-ink-2); font-size: 1.05rem; }
.woocommerce-Tabs-panel ul { padding-left: 1.2em; }
.woocommerce-Tabs-panel li { margin-bottom: .35em; }
.woocommerce-Tabs-panel table.shop_attributes { width: 100%; border-collapse: collapse; }
.woocommerce-Tabs-panel table.shop_attributes th, .woocommerce-Tabs-panel table.shop_attributes td { padding: .8rem 0; border-bottom: 1px solid var(--bc-line); text-align: left; }
.woocommerce-Tabs-panel table.shop_attributes th { width: 35%; color: var(--bc-ink); font-weight: 600; }
.related.products, .upsells.products { margin-top: clamp(3.5rem, 7vw, 6rem); }
.related.products > h2, .upsells.products > h2 { font-size: var(--bc-fs-h2); margin-bottom: 2rem; }

/* Lightbox PhotoSwipe sopra l'header */
.pswp { z-index: 2000; }

/* ---------- 17. Elementor: pagine costruite con Elementor dentro il nuovo tema ---------- */
.bc-elementor .bc-main > .elementor { width: 100%; }
.bc-elementor .elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--bc-container); }

/* ---------- 18. Stampa ---------- */
/* ---------- 19. Animazioni ---------- */
/* Tutto è attivo solo con JS e senza "riduci movimento" (classe .bc-motion sull'html). */

/* passaggio morbido tra le pagine (browser compatibili) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* barra di avanzamento */
.bc-progress { position: fixed; left: 0; top: 0; z-index: 200; width: 100%; height: 3px; background: linear-gradient(90deg, var(--bc-lime), var(--bc-green)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.admin-bar .bc-progress { top: 32px; }

/* comparsa allo scroll */
.bc-motion [data-bc-reveal] { opacity: 0; transform: translate3d(0, 24px, 0) scale(.99); filter: blur(4px); transition: opacity .65s var(--bc-ease), transform .75s var(--bc-ease), filter .6s var(--bc-ease); transition-delay: var(--bc-delay, 0ms); will-change: transform, opacity; }
.bc-motion [data-bc-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ingresso hero: parole che salgono da una maschera */
.bc-split .bc-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.bc-split .bc-w > span { display: inline-block; }
.bc-motion .bc-split .bc-w > span { transform: translate3d(0, 105%, 0) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(120ms + var(--i) * 65ms); }
.bc-motion.bc-loaded .bc-split .bc-w > span { transform: none; }

.bc-motion .bc-intro { opacity: 0; transform: translate3d(0, 20px, 0); filter: blur(4px); transition: opacity .9s var(--bc-ease), transform 1s var(--bc-ease), filter .9s var(--bc-ease); transition-delay: calc(var(--d, 0) * 110ms + 60ms); }
.bc-motion.bc-loaded .bc-intro { opacity: 1; transform: none; filter: none; }

.bc-motion .bc-intro-media .bc-hero__frame { clip-path: inset(18% 12% 18% 12% round 40px); transition: clip-path 1.5s cubic-bezier(.16, 1, .3, 1) .25s; }
.bc-motion .bc-intro-media .bc-hero__img { transform: scale(1.18); transition: transform 2.2s cubic-bezier(.16, 1, .3, 1) .25s; }
.bc-motion.bc-loaded .bc-intro-media .bc-hero__frame { clip-path: inset(0 0 0 0 round var(--bc-r-lg)); }
.bc-motion.bc-loaded .bc-intro-media .bc-hero__img { transform: scale(1.04); }
.bc-motion .bc-intro-media .bc-hero__chip { opacity: 0; transform: translate3d(-16px, 16px, 0); transition: opacity .8s var(--bc-ease) 1.1s, transform .8s var(--bc-ease) 1.1s; }
.bc-motion.bc-loaded .bc-intro-media .bc-hero__chip { opacity: 1; transform: none; }
.bc-hero__frame { will-change: transform; }

/* sfondo hero che respira */
.bc-motion .bc-hero__bg { animation: bc-breathe 14s ease-in-out infinite alternate; }
@keyframes bc-breathe { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.08) translate3d(-2%, 1.5%, 0); } }

/* chip che fluttua */
.bc-motion.bc-loaded .bc-float { animation: bc-float 6s ease-in-out 2s infinite; }
@keyframes bc-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* intestazioni delle pagine interne */
.bc-motion .bc-page-hero .bc-container > *, .bc-motion .bc-page-hero__grid > * > *, .bc-motion .bc-page-hero__media { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .9s var(--bc-ease), transform 1s var(--bc-ease); }
.bc-motion.bc-loaded .bc-page-hero .bc-container > *, .bc-motion.bc-loaded .bc-page-hero__grid > * > *, .bc-motion.bc-loaded .bc-page-hero__media { opacity: 1; transform: none; }
.bc-motion .bc-page-hero .bc-container > :nth-child(2), .bc-motion .bc-page-hero__grid > * > :nth-child(2) { transition-delay: .1s; }
.bc-motion .bc-page-hero .bc-container > :nth-child(3), .bc-motion .bc-page-hero__grid > * > :nth-child(3) { transition-delay: .2s; }
.bc-motion .bc-page-hero .bc-container > :nth-child(n+4) { transition-delay: .3s; }
.bc-motion .bc-page-hero__media { transition-delay: .2s; }
.bc-motion .bc-page-hero__grid > .bc-page-hero__media { clip-path: inset(10% round var(--bc-r-lg)); transition: opacity .9s var(--bc-ease) .2s, transform 1s var(--bc-ease) .2s, clip-path 1.3s cubic-bezier(.16, 1, .3, 1) .2s; }
.bc-motion.bc-loaded .bc-page-hero__grid > .bc-page-hero__media { clip-path: inset(0 round var(--bc-r-lg)); }

/* nastro scorrevole */
.bc-marquee { overflow: hidden; padding-block: 1.1rem; border-block: 1px solid var(--bc-line); background: var(--bc-surface); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.bc-marquee__track { display: flex; width: max-content; animation: bc-marquee 38s linear infinite; }
.bc-marquee:hover .bc-marquee__track { animation-play-state: paused; }
.bc-marquee__item { display: inline-flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem; font-size: clamp(1.05rem, .9rem + .6vw, 1.4rem); font-weight: 500; letter-spacing: -.01em; color: var(--bc-ink-2); white-space: nowrap; }
.bc-marquee__sep { width: 1rem; height: 1rem; color: var(--bc-lime); }
@keyframes bc-marquee { to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .bc-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .bc-marquee__item:nth-child(n+9) { display: none; } }

/* frase in evidenza che si accende con lo scroll */
.bc-statement .bc-w { transition: color .5s var(--bc-ease), opacity .5s var(--bc-ease); }
.bc-motion .bc-statement .bc-w { opacity: .22; }
.bc-motion .bc-statement .bc-w.is-lit { opacity: 1; }

/* linea dei passi che si disegna */
.bc-steps__list { position: relative; }
.bc-steps__list li { border-top-color: var(--bc-line); position: relative; }
.bc-steps__list li::before { content: ""; position: absolute; left: 0; top: -2px; width: 100%; height: 2px; background: var(--bc-ink); transform: scaleX(1); transform-origin: 0 50%; }
.bc-motion .bc-steps__list li::before { transform: scaleX(clamp(0, calc(var(--bc-steps, 0) * 3 - var(--n, 0)), 1)); transition: transform .2s linear; }
.bc-steps__list li:nth-child(1) { --n: 0; } .bc-steps__list li:nth-child(2) { --n: 1; } .bc-steps__list li:nth-child(3) { --n: 2; }
.bc-steps__list li::after { content: ""; position: absolute; left: 0; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--bc-lime); box-shadow: 0 0 0 4px rgba(168, 208, 90, .25); }

/* inclinazione 3D e riflesso sulle card */
.bc-motion [data-bc-tilt], .bc-motion ul.products li.product { transform-style: preserve-3d; }
.bc-motion [data-bc-tilt].is-tilting, .bc-motion ul.products li.product.is-tilting { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translate3d(0, -4px, 0); transition: transform .12s linear, box-shadow .35s var(--bc-ease); }
.bc-motion [data-bc-tilt]::after, .bc-motion ul.products li.product::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 45%); opacity: 0; transition: opacity .35s; }
.bc-pillar { position: relative; }
.bc-motion [data-bc-tilt].is-tilting::after, .bc-motion ul.products li.product.is-tilting::after { opacity: 1; }

/* pulsanti: riflesso al passaggio e magnetismo */
.bc-header__cta, .bc-header__cta:hover, .bc-header__cta:active { transform: none !important; }
.bc-btn { position: relative; overflow: hidden; isolation: isolate; }
.bc-btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--bc-ease); }
.bc-btn--primary:hover::before { transform: translateX(120%); }
.bc-motion [data-bc-magnetic] { transition: transform .35s cubic-bezier(.2, .9, .3, 1.3), background .25s, box-shadow .25s; }
.bc-btn .bc-icon--arrow { transition: transform .35s var(--bc-ease); }
.bc-btn:hover .bc-icon--arrow { transform: translateX(4px); }

/* WhatsApp: ingresso e alone pulsante */
.bc-motion .bc-wa-float { animation: bc-pop .7s cubic-bezier(.2, .9, .3, 1.4) 1.6s both; }
.bc-motion .bc-wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: bc-ring 2.8s ease-out 2.4s infinite; }
@keyframes bc-pop { from { opacity: 0; transform: scale(.4) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes bc-ring { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* icone dei valori: piccolo rimbalzo al passaggio */
.bc-value { transition: transform .45s var(--bc-ease), box-shadow .45s var(--bc-ease), border-color .3s; }
.bc-value:hover { transform: translateY(-4px); box-shadow: var(--bc-shadow-lg); border-color: transparent; }
.bc-value__icon { transition: transform .5s cubic-bezier(.2, .9, .3, 1.4), background .3s, color .3s; }
.bc-value:hover .bc-value__icon { transform: rotate(-8deg) scale(1.1); background: var(--bc-green); color: #fff; }
.bc-contact__icon { transition: transform .4s cubic-bezier(.2, .9, .3, 1.4), background .3s, color .3s; }
.bc-contact__item:hover .bc-contact__icon { transform: scale(1.1); background: var(--bc-green); color: #fff; }

/* menu mobile: voci a cascata */
@media (max-width: 1023px) {
	.bc-motion .bc-menu > li { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .4s var(--bc-ease), transform .5s var(--bc-ease); }
	.bc-motion.bc-nav-open .bc-menu > li { opacity: 1; transform: none; }
	.bc-motion.bc-nav-open .bc-menu > li:nth-child(2) { transition-delay: .05s; }
	.bc-motion.bc-nav-open .bc-menu > li:nth-child(3) { transition-delay: .1s; }
	.bc-motion.bc-nav-open .bc-menu > li:nth-child(4) { transition-delay: .15s; }
	.bc-motion.bc-nav-open .bc-menu > li:nth-child(n+5) { transition-delay: .2s; }
}

@media print {
	.bc-header, .bc-footer, .bc-wa-float, .bc-cta-band, .bc-burger { display: none !important; }
	body { background: #fff; }
}

/* pillole categorie scorrevoli su mobile */
@media (max-width: 640px) {
	.bc-pills ul { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--bc-gutter) * -1); padding: 0 var(--bc-gutter) .25rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.bc-pills ul::-webkit-scrollbar { display: none; }
	.bc-pills li { flex: none; }
}
