/* ─────────── Hero slider ─────────── */
.hero {
  position: relative;
  min-height: min(84vh, 740px);
  display: grid;
  align-items: center;
  padding-block: clamp(7.5rem, 12vw, 10rem) clamp(3rem, 5vw, 4.5rem);
  overflow: hidden;
  background: var(--night);
  color: rgba(255, 255, 255, 0.86);
  outline: none;
}
.hero h1 { color: var(--paper); }
.hero .kicker { color: var(--accent); }
.hero .kicker::before { background: var(--accent); }
.hero .lede { color: rgba(255, 255, 255, 0.82); }

.hero__wash { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 58% 50%;
}
/* velo: garantisce la leggibilità del testo su qualsiasi scatto */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(15, 13, 22, 0.94) 0%, rgba(15, 13, 22, 0.78) 34%, rgba(15, 13, 22, 0.3) 62%, rgba(15, 13, 22, 0.5) 100%),
    linear-gradient(180deg, rgba(15, 13, 22, 0.6) 0%, transparent 26%);
}
.hero__spectrum-arc {
  position: absolute;
  right: 8%;
  top: 18%;
  width: min(30vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid transparent;
  background: var(--spectrum) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.85;
  animation: spin 90s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__copy { display: grid; grid-template-rows: 1fr auto; align-content: center; min-height: 26rem; }
.hero h1 {
  margin-block: 1.2rem 1.5rem;
  font-size: clamp(2.5rem, 4.9vw, 4rem);
  text-wrap: balance;
}
.hero__line { display: block; }
.hero h1 em { font-style: italic; font-weight: 300; color: var(--accent); }
.hero .lede { max-width: 50ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.2rem; }
.hero .btn--ghost {
  --btn-fg: var(--paper);
  --btn-hover: var(--paper);
  --btn-hover-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.42);
}

/* comandi del carosello */
.hero__controls { display: flex; align-items: center; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); align-self: end; }
.hero__arrow {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 99px;
  color: var(--paper);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.34);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.hero__arrow:hover { background: var(--paper); color: var(--ink); box-shadow: none; transform: scale(1.06); }
.hero__dots { display: flex; align-items: center; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.hero__dot { display: block; padding: 0.5rem 0; }
.hero__dot-track {
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
  transition: width 0.5s var(--ease);
}
.hero__dot.is-on .hero__dot-track { width: 84px; }
.hero__dot-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 99px;
  background: var(--accent);
  transform-origin: 0 50%;
}

/* palcoscenico prodotto */
.hero__stage { position: relative; display: grid; place-items: center; min-height: clamp(20rem, 36vw, 27rem); }
.hero__shot { position: relative; width: min(84%, 410px); aspect-ratio: 1; grid-area: 1 / 1; }
.hero__shot .pshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.72);
}
.hero__badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.55);
  font-size: 0.79rem;
  font-weight: 550;
  color: var(--ink);
  white-space: nowrap;
}
.hero__badge::before { content: ''; width: 7px; height: 7px; border-radius: 99px; }
.hero__badge--1 { top: 10%; left: -4%; }
.hero__badge--1::before { background: var(--lime); }
.hero__badge--2 { bottom: 22%; right: -5%; }
.hero__badge--2::before { background: var(--amber); }
.hero__badge--3 { bottom: 4%; left: 6%; }
.hero__badge--3::before { background: var(--cyan); }

@media (max-width: 940px) {
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { min-height: 0; }
  .hero h1 { font-size: clamp(2.4rem, 8vw, 3.4rem); }
  .hero__stage { order: -1; min-height: 17rem; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(15, 13, 22, 0.72) 0%, rgba(15, 13, 22, 0.86) 46%, rgba(15, 13, 22, 0.95) 100%);
  }
  .hero__spectrum-arc { opacity: 0.5; }
  .hero__badge { font-size: 0.72rem; padding: 0.5rem 0.82rem; }
  .hero__badge--1 { left: 0; }
  .hero__badge--2 { right: 0; }
}

/* ─────────── Section heads & grids ─────────── */
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.shead__text { max-width: 60ch; }
.shead h2 { margin-top: 0.9rem; }
.shead p { margin-top: 0.9rem; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

/* ─────────── Pillars ─────────── */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-soft); border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-soft); }
.pillar { background: var(--paper); padding: 1.7rem 1.35rem; transition: background 0.4s var(--ease); }
.pillar:hover { background: var(--bg); }
.pillar__i { width: 34px; height: 34px; color: var(--accent-ink); margin-bottom: 1.1rem; }
.pillar h4 { margin-bottom: 0.45rem; }
.pillar p { font-size: 0.84rem; color: var(--ink-mute); line-height: 1.55; }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ─────────── Manifesto / split ─────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--rev > *:first-child { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--rev > *:first-child { order: 0; } }

.synergy {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.82;
  max-width: 440px;
  margin-inline: auto;
  width: 100%;
}
.synergy__c {
  position: absolute;
  top: 0;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 550;
  line-height: 1.3;
  mix-blend-mode: multiply;
}
.synergy__c--1 { left: 0; background: var(--cyan); color: #06202c; }
.synergy__c--2 { right: 0; background: var(--pink); color: #3a0f22; }
/* le etichette stanno nella porzione non sovrapposta */
.synergy__c--1 span { max-width: 52%; margin-right: 30%; }
.synergy__c--2 span { max-width: 52%; margin-left: 30%; }
.synergy__mid {
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  z-index: 2;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  padding: 0.55rem 1.1rem;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.synergy__mid::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 1px;
  height: 16%;
  background: currentColor;
  opacity: 0.28;
}

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--bg); padding: 1.5rem 1.2rem; text-align: center; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: var(--ink); line-height: 1; }
.stat span { font-size: 0.76rem; letter-spacing: 0.05em; color: var(--ink-mute); }
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr 1fr; } }

/* ─────────── Dark band ─────────── */
.band { position: relative; background: var(--ink); color: rgba(240, 246, 242, 0.78); overflow: hidden; }
.band h2, .band h3, .band h4 { color: var(--paper); }
.band .kicker { color: var(--accent); }
.band .kicker::before { background: var(--amber); }
.band__glow { position: absolute; width: 60vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(143, 196, 164, 0.22), transparent 65%); top: -30%; right: -18%; pointer-events: none; }

/* ─────────── Page header ─────────── */
.phead { position: relative; padding-block: clamp(7.5rem, 13vw, 10rem) clamp(2rem, 4vw, 3.4rem); overflow: hidden; }
.phead__blob { position: absolute; top: -38%; right: -12%; width: min(46vw, 560px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, hsl(var(--h) 45% 93%), hsl(var(--h) 40% 88%)); opacity: 0.55; filter: blur(34px); animation: morph 22s ease-in-out infinite; }
.phead h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-block: 1rem 1.1rem; }
.crumbs { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--ink-mute); }
.crumbs a:hover { color: var(--ink); }

/* ─────────── Filters ─────────── */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.2rem; }
.filter {
  padding: 0.55rem 1.05rem;
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color 0.3s var(--ease), background 0.35s var(--ease),
    box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.filter:hover { color: var(--ink); background: rgba(143, 196, 164, 0.22); box-shadow: inset 0 0 0 1px transparent; }
.filter:active { transform: scale(0.97); }
.filter.is-on {
  color: var(--paper);
  background: var(--ink);
  box-shadow: inset 0 0 0 1px transparent, var(--shadow-sm);
}
.filter.is-on:hover { background: var(--accent-ink); color: var(--paper); }

/* ─────────── Product detail ─────────── */
.pdp { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.pdp__stage {
  position: sticky;
  top: 100px;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-xl);
  background: radial-gradient(120% 100% at 50% 10%, hsl(var(--h) 44% 93%), hsl(var(--h) 30% 97%) 55%, var(--bg));
  box-shadow: inset 0 0 0 1px var(--line-soft);
  overflow: hidden;
}
.pdp__shot { position: absolute; inset: 0; z-index: 2; }
.pdp__stage .pshot { width: 100%; height: 100%; object-fit: cover; }
.pdp__stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(158deg, hsl(var(--h) 62% 62%) 0%, hsl(var(--h) 40% 84%) 100%);
  mix-blend-mode: soft-light;
  opacity: 0.42;
  pointer-events: none;
}
.pdp__stage .bottle { width: 62%; margin-inline: auto; filter: drop-shadow(0 24px 34px rgba(14, 36, 24, 0.2)); }
.pdp__price { display: flex; align-items: baseline; gap: 0.9rem; margin-block: 1.3rem; }
.pdp__price strong { font-family: var(--display); font-size: 2.3rem; color: var(--ink); line-height: 1; }
.pdp__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border-radius: var(--r-md); overflow: hidden; margin-block: 1.8rem; box-shadow: inset 0 0 0 1px var(--line-soft); }
.pdp__fact { background: var(--paper); padding: 0.95rem 1.1rem; }
.pdp__fact dt { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.pdp__fact dd { font-size: 0.92rem; color: var(--ink); margin-top: 0.22rem; }
.ilist { display: flex; flex-direction: column; gap: 0.62rem; margin-top: 1rem; }
.ilist li { display: flex; gap: 0.7rem; font-size: 0.92rem; list-style: none; }
.ilist li svg { flex: none; margin-top: 0.32rem; color: var(--accent-ink); }
.plain-list { padding: 0; margin: 0; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } .pdp__stage { position: static; } }

.notice {
  display: flex;
  gap: 0.85rem;
  padding: 1.05rem 1.2rem;
  border-radius: var(--r-md);
  background: rgba(226, 199, 138, 0.18);
  box-shadow: inset 0 0 0 1px rgba(195, 160, 92, 0.32);
  font-size: 0.83rem;
  line-height: 1.6;
  color: #5b4a24;
}
.notice svg { flex: none; margin-top: 0.15rem; color: var(--amber); }

/* ─────────── Ingredient cards ─────────── */
.icard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.icard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.icard__leaf { position: absolute; top: -14%; right: -12%; width: 46%; aspect-ratio: 1; color: hsl(var(--h) 44% 84%); opacity: 0.38; transition: transform 0.7s var(--ease); }
.icard:hover .icard__leaf { transform: rotate(-12deg) scale(1.12); opacity: 0.24; }
.icard__latin { font-family: var(--display); font-style: italic; font-size: 0.82rem; color: var(--ink-mute); }
.icard h3 { margin-block: 0.3rem 0.6rem; position: relative; }
.icard p { font-size: 0.87rem; color: var(--ink-soft); position: relative; }
.icard__in { margin-top: 1.1rem; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); position: relative; }

/* ─────────── Contact ─────────── */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.38rem; }
.field label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent-ink);
  box-shadow: 0 0 0 3px rgba(143, 196, 164, 0.35);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

.info-line { display: flex; gap: 0.9rem; padding-block: 1.05rem; border-bottom: 1px solid var(--line-soft); }
.info-line:last-child { border-bottom: 0; }
.info-line svg { flex: none; margin-top: 0.2rem; color: var(--accent-ink); }
.info-line dt { font-size: 0.72rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-mute); }
.info-line dd { margin: 0.18rem 0 0; color: var(--ink); }

.toast {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.15rem;
  border-radius: var(--r-md);
  background: rgba(143, 196, 164, 0.24);
  box-shadow: inset 0 0 0 1px rgba(20, 82, 62, 0.2);
  color: var(--ink);
  font-size: 0.9rem;
}

/* ─────────── Founder ─────────── */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.founder__portrait {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5.4;
  border-radius: 220px 220px var(--r-lg) var(--r-lg);
  overflow: hidden;
  background: var(--night-2);
}
.founder__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.founder__portrait::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--spectrum);
}
.founder blockquote { font-family: var(--display); font-size: clamp(1.2rem, 2.4vw, 1.9rem); font-style: italic; font-weight: 300; line-height: 1.35; color: var(--ink); }
.founder blockquote::before { content: '“'; color: var(--accent); }
.founder blockquote::after { content: '”'; color: var(--accent); }
@media (max-width: 780px) { .founder { grid-template-columns: 1fr; } .founder__portrait { max-width: 300px; } }

/* ─────────── CTA band ─────────── */
.cta {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(2.4rem, 5vw, 4.2rem);
  background: linear-gradient(140deg, var(--ink) 0%, #0b2f24 60%, #10412f 100%);
  color: rgba(240, 246, 242, 0.8);
  overflow: hidden;
  text-align: center;
}
.cta h2 { color: var(--paper); max-width: 18ch; margin-inline: auto; }
.cta p { max-width: 52ch; margin: 1rem auto 2rem; }
.cta__glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(143, 196, 164, 0.2), transparent 62%); bottom: -55%; left: 50%; translate: -50% 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; position: relative; }

/* ─────────── 404 ─────────── */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 8rem 4rem; }
.nf h1 { font-size: clamp(5rem, 18vw, 12rem); color: var(--accent); line-height: 0.9; }

.pdp__fact-note { display: block; margin-top: 0.3rem; font-size: 0.78rem; line-height: 1.45; color: var(--ink-mute); }

/* Il testo ufficiale è lungo: corpo normale, non lede, per non competere con il titolo. */
.pdp__lede { font-size: 1rem; line-height: 1.7; max-width: 62ch; }

/* ─────────── Ritocchi sistema colore ─────────── */
.section--tight { padding-top: 0; }

.phead__blob {
  background: radial-gradient(circle at 40% 35%,
    color-mix(in srgb, var(--accent) 42%, white),
    color-mix(in srgb, var(--accent) 22%, white));
}

.filter.is-on {
  color: var(--ink);
  background: var(--accent);
  box-shadow: inset 0 0 0 1px transparent, var(--shadow-sm);
}
.filter.is-on:hover { background: var(--accent); color: var(--ink); filter: brightness(0.95); }
.filter:hover { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 16%, white); box-shadow: inset 0 0 0 1px transparent; }

.pdp__stage::after,
.pcard__stage::after { background: var(--accent); opacity: 0.16; mix-blend-mode: multiply; }

.synergy__c--1 { background: color-mix(in srgb, var(--cyan) 70%, transparent); color: var(--ink); }
.synergy__c--2 { background: color-mix(in srgb, var(--pink) 70%, transparent); color: var(--ink); }
.synergy__mid { color: var(--ink); }

.stat strong { color: var(--ink); }
.stat-row { background: var(--line-soft); }
.stat { background: var(--paper); position: relative; }
.stat::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent);
}
.stat:nth-child(1) { --accent: var(--coral); }
.stat:nth-child(2) { --accent: var(--lime); }
.stat:nth-child(3) { --accent: var(--cyan); }
.stat:nth-child(4) { --accent: var(--pink); }

.pillar__i { color: var(--accent-ink); }
.pillars .pillar:nth-child(1) { --accent: var(--coral); --accent-ink: var(--coral-ink); }
.pillars .pillar:nth-child(2) { --accent: var(--lime); --accent-ink: var(--lime-ink); }
.pillars .pillar:nth-child(3) { --accent: var(--red); --accent-ink: var(--red-ink); }
.pillars .pillar:nth-child(4) { --accent: var(--amber); --accent-ink: var(--amber-ink); }
.pillars .pillar:nth-child(5) { --accent: var(--cyan); --accent-ink: var(--cyan-ink); }
.pillar { position: relative; }
.pillar::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
  transform: scaleY(0.34);
  transform-origin: 50% 0;
  transition: transform 0.5s var(--ease);
}
.pillar:hover::before { transform: scaleY(1); }

.band { background: var(--night); color: rgba(255, 255, 255, 0.76); }
.band__glow { background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 65%); }
.band .kicker { color: color-mix(in srgb, var(--accent) 70%, white); }
.band .kicker::before { background: var(--accent); }

.cta { background: linear-gradient(140deg, var(--night) 0%, #201d2c 58%, #2a2338 100%); }
.cta::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--spectrum);
}
.cta__glow { background: radial-gradient(circle, color-mix(in srgb, var(--accent) 26%, transparent), transparent 62%); }

.icard { --accent: var(--cyan); }
.icard__leaf { color: color-mix(in srgb, var(--accent) 40%, white); }
.icard:hover { box-shadow: var(--shadow-md), inset 0 0 0 1px transparent; }
.icard::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--ease);
}
.icard:hover::after { transform: scaleX(1); }

.nf h1 { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ─────────── Fascia fotografica "Scienza e natura" ─────────── */
.band--photo { position: relative; isolation: isolate; }
.band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.band__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(18, 16, 26, 0.96) 0%, rgba(18, 16, 26, 0.86) 44%, rgba(18, 16, 26, 0.62) 100%);
}
.band__figure { margin: 0; position: relative; }
.band__figure img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.band__figure figcaption {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}
.band__figure-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--red); flex: none; }

.synergy-block {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}
.synergy-block .synergy { max-width: 340px; }
.synergy-block p { max-width: 62ch; }
@media (max-width: 820px) { .synergy-block { grid-template-columns: 1fr; } }

/* ─────────── Partner cosmetico ─────────── */
.partner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.partner__free {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.partner__free li {
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--accent) 18%, white);
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 550;
}
.partner__figure { position: relative; margin: 0; }
.partner__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.partner__brand {
  position: absolute;
  left: 50%;
  bottom: -1.1rem;
  translate: -50% 0;
  padding: 0.7rem 1.6rem;
  border-radius: var(--r-pill);
  background: var(--paper);
  box-shadow: var(--shadow-md);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  color: var(--ink);
}
@media (max-width: 820px) { .partner { grid-template-columns: 1fr; } }

/* Testata di pagina con sfondo fotografico */
.phead--photo {
  background: var(--night);
  color: rgba(255, 255, 255, 0.82);
  padding-block: clamp(9rem, 15vw, 13rem) clamp(3rem, 5vw, 4.5rem);
}
.phead--photo h1 { color: var(--paper); }
.phead--photo .lede { color: rgba(255, 255, 255, 0.8); }
.phead--photo .kicker { color: var(--accent); }
.phead--photo .crumbs { color: rgba(255, 255, 255, 0.6); }
.phead--photo .crumbs a:hover { color: var(--paper); }
.phead__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
}
.phead__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(100deg, rgba(15, 13, 22, 0.93) 0%, rgba(15, 13, 22, 0.78) 42%, rgba(15, 13, 22, 0.44) 100%);
}
.phead--photo .shell { position: relative; z-index: 1; }

/* ─────────── Blog ─────────── */
.post {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.post::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line-soft);
  pointer-events: none;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post__media { margin: 0; overflow: hidden; background: var(--bg-2); }
.post__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.post:hover .post__media img { transform: scale(1.05); }
.post__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.3rem 1.35rem 1.45rem;
  border-top: 3px solid var(--accent);
}
.post__latin {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--ink-mute);
  margin-bottom: 0.25rem;
}
.post__body h3 { margin-bottom: 0.5rem; }
.post__excerpt { font-size: 0.88rem; color: var(--ink-soft); }
.post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  font-size: 0.76rem;
  color: var(--ink-mute);
}
.post__meta span:not(.chip) { opacity: 0.75; }
.post__body .link-arrow { margin-top: auto; padding-top: 1rem; }
.post__meta--head { margin-top: 1.2rem; color: rgba(255, 255, 255, 0.7); }

/* articolo in evidenza */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  border-radius: var(--r-xl);
  background: color-mix(in srgb, var(--accent) 12%, white);
  transition: background 0.5s var(--ease), transform 0.5s var(--ease);
}
.feature:hover { background: color-mix(in srgb, var(--accent) 20%, white); transform: translateY(-4px); }
.feature__media { margin: 0; border-radius: var(--r-lg); overflow: hidden; }
.feature__media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.feature__body { padding-right: clamp(0rem, 2vw, 1.5rem); }
.feature__body h2 { margin-block: 0.9rem 0.2rem; }
.feature__latin { font-family: var(--display); font-style: italic; color: var(--ink-mute); margin-bottom: 0.9rem; }
.feature__body .link-arrow { margin-top: 1.4rem; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* corpo dell'articolo */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.article__body { max-width: 68ch; }
.article__body p { margin-bottom: 1.1rem; font-size: 1rem; line-height: 1.75; }
.article__lede { font-size: 1.15rem !important; line-height: 1.65 !important; color: var(--ink); }
.article__h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  margin-block: 2.4rem 0.9rem;
  padding-top: 0.4rem;
  border-top: 3px solid var(--accent);
  display: inline-block;
}
.article__aside { position: sticky; top: 100px; }
.article__products { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.1rem; }
.article__product {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0.8rem 0.5rem 0.5rem;
  border-radius: var(--r-md);
  background: var(--bg);
  font-weight: 550;
  font-size: 0.9rem;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.article__product:hover { background: color-mix(in srgb, var(--accent) 18%, white); transform: translateX(3px); }
.article__product img { width: 44px; height: 44px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.article__product svg { margin-left: auto; color: var(--accent-ink); }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .article__aside { position: static; } }

/* ─────────── Pagine legali ─────────── */
.legal { max-width: 76ch; }
.legal p { margin-bottom: 1rem; line-height: 1.75; }
.legal__lede { font-size: 1.06rem; color: var(--ink); }
.legal__h2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin-block: 2.6rem 1rem;
  padding-top: 0.4rem;
  border-top: 3px solid var(--accent);
  display: inline-block;
}
.legal__list { margin: 0.4rem 0 1.4rem; }
.legal__list > div { padding-block: 0.85rem; border-bottom: 1px solid var(--line-soft); }
.legal__list dt { font-weight: 600; color: var(--ink); margin-bottom: 0.2rem; }
.legal__list dd { margin: 0; color: var(--ink-soft); font-size: 0.94rem; line-height: 1.65; }
.legal__table-wrap { overflow-x: auto; margin: 0.6rem 0 1.4rem; }
.legal__table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 34rem; }
.legal__table th, .legal__table td {
  padding: 0.8rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
.legal__table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 2px solid var(--accent);
}
.legal__table tbody th { font-weight: 600; color: var(--ink); }
.legal__table td { color: var(--ink-soft); }
.legal__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.6rem; }

.footer__pref {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: inherit;
  transition: color 0.25s var(--ease);
}
.footer__pref:hover { color: var(--amber); }

/* ─────────── Scheda prodotto: testi revisionati ─────────── */
.pdp__h1 { margin-block: 1rem 0.8rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.pdp__par { margin-bottom: 1rem; line-height: 1.75; }
.pdp__comp-note { font-size: 0.8rem; line-height: 1.55; margin-block: 0.5rem 0.9rem; }

.pdp__table-wrap { overflow-x: auto; margin-block: 1rem; }
.pdp__table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 30rem; }
.pdp__table th,
.pdp__table td { padding: 0.7rem 0.8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.pdp__table thead th {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 2px solid var(--accent);
  white-space: nowrap;
}
.pdp__table tbody th { font-weight: 500; color: var(--ink); }
.pdp__table td { color: var(--ink-soft); white-space: nowrap; }
.pdp__table td:last-child { text-align: right; }
/* le righe «di cui» sono già comprese in quella sopra */
.pdp__table tr.is-sub th {
  padding-left: 2rem;
  font-weight: 400;
  color: var(--ink-mute);
  font-size: 0.84rem;
}
.pdp__table tr.is-sub td { color: var(--ink-mute); font-size: 0.84rem; }

.pcard__format { margin-top: 0.7rem; font-size: 0.78rem; color: var(--ink-mute); }
