/* Hero — sfondo verde ai lati + illustrazione pet sotto il titolo */

body.site-rebrand.page-home .hero.hero--doodle {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-align: center;
  background-color: #ffffff;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

body.site-rebrand.page-home .hero--doodle__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  min-height: 100vh;
  min-height: 100dvh;
  width: min(56rem, calc(100% - var(--space-gutter) * 2));
  margin-inline: auto;
  padding: var(--hero-padding-top, calc(var(--header-h) + var(--admin-bar-h, 0px) + 128px)) 0
    var(--space-section, 72px);
}

body.site-rebrand.page-home .hero--doodle h1 {
  margin: 0 auto;
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.8vw, 3.65rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--cartoon-ink);
}

body.site-rebrand.page-home .hero--doodle h1 .mark {
  color: var(--color-sage-600);
}

body.site-rebrand.page-home .hero--doodle__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.35rem, 1.5vw, 0.85rem);
  width: 100%;
}

body.site-rebrand.page-home .hero--doodle__art {
  display: block;
  width: min(52rem, 100%);
  max-height: min(52vh, 32rem);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

body.site-rebrand.page-home .hero--doodle__lede {
  margin: 0 auto;
  max-width: 34rem;
  font-size: clamp(0.98rem, 1.05rem + 0.15vw, 1.08rem);
  line-height: 1.65;
  color: var(--color-ink-700);
}

body.site-rebrand.page-home .hero--doodle__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-16);
  margin-top: var(--space-32);
}

body.site-rebrand.page-home .btn-hero-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0 0.35rem 0 1.35rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--cartoon-ink);
  border: var(--cartoon-stroke) solid var(--cartoon-ink);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-comic-accent);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

body.site-rebrand.page-home .btn-hero-dark:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-sage-500);
  color: #fff;
}

body.site-rebrand.page-home .btn-hero-dark__icon,
body.site-rebrand.page-home .btn-hero-soft__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  line-height: 0;
}

body.site-rebrand.page-home .btn-hero-dark__icon {
  background: var(--color-sage-500);
  color: var(--cartoon-ink);
}

body.site-rebrand.page-home .hero-btn-icon__svg {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
}

body.site-rebrand.page-home .btn-hero-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0 0.35rem 0 1.35rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cartoon-ink);
  background: var(--color-sage-100);
  border: var(--cartoon-stroke) solid var(--cartoon-ink);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-comic-accent);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

body.site-rebrand.page-home .btn-hero-soft__icon {
  background: #fff;
  color: var(--cartoon-ink);
  border: 2px solid var(--cartoon-ink);
  box-shadow: 2px 2px 0 rgba(var(--color-sage-rgb), 0.45);
}

body.site-rebrand.page-home .btn-hero-soft:hover {
  background: #fff;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-sage-500);
  color: var(--cartoon-ink);
}

@media (max-width: 640px) {
  body.site-rebrand.page-home .hero--doodle__art {
    width: min(52rem, 100%);
    max-height: min(44vh, 20rem);
  }

  body.site-rebrand.page-home .hero--doodle__ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  body.site-rebrand.page-home .btn-hero-dark {
    padding-right: 0.35rem;
  }
}
