:root {
  --ink: #171a15;
  --ink-soft: #f7f9f4;
  --paper: #ffffff;
  --green: #a0ce4e;
  --green-bright: #b4df66;
  --teal: #285d43;
  --line: rgba(23, 26, 21, .16);
  --muted: #5f685b;
}

body { background: #ffffff; color: #171a15; }

/* Palette Farmacia Vincente: nero concentrato nella hero, resto luminoso. */
.hero, .hero-content { background: #080908; color: #ffffff; }

.hero-visual {
  background-image:
    linear-gradient(180deg, rgba(8, 9, 8, .02) 42%, rgba(8, 9, 8, .72) 100%),
    url("assets/hero-consulenza-telenutrizione.webp");
  background-position: 64% center;
}

.hero-visual__shade {
  inset: 0 -2px 0 0;
  background: linear-gradient(
    90deg,
    transparent 52%,
    rgba(8, 9, 8, .12) 62%,
    rgba(8, 9, 8, .48) 76%,
    rgba(8, 9, 8, .86) 90%,
    #080908 98%,
    #080908 100%
  );
}

.section-dark { background: #ffffff; color: #171a15; }
.benefits { background: #ffffff; }

.benefits .eyebrow,
.why .eyebrow,
.topics .eyebrow,
.signup .eyebrow { color: #557d20; }

.benefits h2 span,
.topics h2 span,
.signup h2 span { color: #6c9929; }

.section-heading > p:last-child,
.benefit-card p:last-child,
.accordion details p,
.form-intro { color: #566052; }

.benefit-grid { background: #dce5d4; border-color: #dce5d4; }
.benefit-card { background: #f7f9f4; color: #171a15; }
.benefit-card:hover { background: #edf5e2; }
.benefit-card .number { color: #82a84b; }

.event-facts {
  grid-template-columns: 1.65fr 1fr .55fr;
  align-items: start;
}

.event-speakers dd {
  display: grid;
  gap: .7rem;
}

.event-speakers dd span {
  display: block;
}

.event-speakers dd strong,
.event-speakers dd small {
  display: block;
}

.event-speakers dd small {
  margin-top: .08rem;
  color: #aeb5ae;
  font-size: .62rem;
  font-weight: 500;
  line-height: 1.35;
}

.why { background: #f7f9f4; color: #171a15; }
.speaker-panel { background: #285d43; color: #ffffff; }
.speaker-panel > div p { margin: 0; }
.speaker-panel > div strong { display: block; }
.speaker-panel > div > img {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255,255,255,.82);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  background: #ffffff;
}
.speaker-panel > div small {
  display: block;
  margin-top: .2rem;
  color: #d8e5d5;
  font-size: .72rem;
  line-height: 1.35;
}

.speakers {
  background: #eef4e8;
  color: #171a15;
}

.speakers-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1rem 7vw;
  align-items: end;
  margin-bottom: 3.2rem;
}

.speakers-heading .eyebrow {
  grid-column: 1 / -1;
  color: #557d20;
}

.speakers-heading h2 {
  margin-bottom: 0;
  font-size: clamp(3.5rem, 6.3vw, 7rem);
  line-height: .88;
}

.speakers-heading > p:last-child {
  max-width: 560px;
  margin: 0;
  color: #566052;
}

.speakers-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 1.5rem;
}

.speaker-card {
  padding: clamp(1.7rem, 3vw, 3rem);
  background: #ffffff;
  border-top: 5px solid #a0ce4e;
  box-shadow: 0 18px 55px rgba(42, 66, 39, .08);
}

.speaker-card--featured {
  background: #f8fbf5;
  border-top-color: #285d43;
}

.speaker-card__identity {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 1.7rem;
}

.speaker-card__identity > img {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 4px solid #a0ce4e;
  object-fit: cover;
  object-position: center 20%;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(40,93,67,.14);
}

.speaker-card--featured .speaker-card__identity > img {
  border-color: #285d43;
}

.speaker-card__role {
  margin: 0 0 .45rem;
  color: #557d20;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.speaker-card h3 {
  margin-bottom: .35rem;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: .95;
}

.speaker-card__title {
  margin: 0;
  color: #344a31;
  font-weight: 700;
  line-height: 1.35;
}

.speaker-card > p:not(.speaker-card__focus) {
  color: #465143;
}

.speaker-card__focus {
  display: grid;
  gap: .25rem;
  margin: 1.8rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid #d4dfcd;
}

.speaker-card__focus strong {
  color: #557d20;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.speaker-card__focus span {
  font-weight: 700;
  line-height: 1.4;
}

.speakers-cta {
  margin-top: 2.2rem;
}

.topics { background: #edf4e6; color: #171a15; }
.accordion details, .accordion details:last-child { border-color: rgba(23, 26, 21, .18); }
.accordion summary { color: #171a15; }

.date-banner { background: #a0ce4e; color: #073f0a; }

.editorial { background: #a0ce4e; color: #073f0a; }
.editorial::after { color: rgba(7, 63, 10, .055); }
.editorial .eyebrow, .editorial-copy .intro { color: #073f0a; }
.editorial-title h2 span { color: #ffffff; }
.editorial-copy > p:not(.intro) { color: #234626; }
.editorial .button { background: #073f0a; color: #ffffff; }

.signup { background: #ffffff; color: #171a15; }
.signup label { color: #384234; }

.signup input[type="text"],
.signup input[type="email"],
.signup input[type="tel"] {
  color: #171a15;
  border-bottom-color: #bfc9b8;
}

.signup input:focus { border-color: #6b972b; }
.privacy a { color: #4d7618; }
.submit-row p { color: #657060; }

.form-aside {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: url("assets/form-san-leo-telenutrizione.webp") 50% center / cover no-repeat;
  color: #ffffff;
}

.form-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 63, 10, .02) 42%, rgba(7, 45, 10, .78) 100%);
}

.form-aside .orbit { visibility: hidden; }
.form-aside > p strong { color: #c3ed77; }
.form-aside > small { color: #ffffff; }

footer {
  background: #f7f9f4;
  color: #586254;
  border-top: 1px solid #e0e7da;
}

.brand-logo {
  display: block;
  width: clamp(220px, 19vw, 300px);
  height: auto;
}

.brand-footer { margin: 0; }
.brand-footer .brand-logo { width: 190px; }
.mobile-cta { background: #a0ce4e; color: #073f0a; }

@media (max-width: 760px) {
  body { overflow-x: hidden; }
  .hero-content h1 { font-size: clamp(2.7rem, 12vw, 5rem); }
  .hero-visual { background-position: 68% center; }
  .hero-visual__shade {
    inset: 0;
    background: linear-gradient(180deg, transparent 62%, rgba(8,9,8,.58) 78%, #080908 100%);
  }
  .event-facts { grid-template-columns: 1fr 1fr; }
  .event-facts .event-speakers { grid-column: 1 / -1; }
  .event-speakers dd {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .speakers-heading,
  .speakers-grid { grid-template-columns: 1fr; }
  .speakers-heading { margin-bottom: 2.2rem; }
  .speakers-heading h2 { font-size: clamp(3.2rem, 15vw, 5.3rem); }
  .speaker-card { padding: 1.5rem; }
  .speaker-card__identity { gap: .9rem; }
  .speaker-card__identity > img {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
    border-width: 3px;
  }
  .thankyou h1 { font-size: clamp(3.2rem, 14vw, 5.5rem); overflow-wrap: anywhere; }
}
