/* ============================================================
   heyUP! — Soft land (asd2)
   Replica mockup: lavender · purple #512BF4 · lime #DCF933
   ============================================================ */

:root {
  --ld-bg: #fefcff;
  --ld-bg-soft: #f7f4ff;
  --ld-white: #ffffff;
  --ld-ink: #12131a;
  --ld-muted: #5c6170;
  --ld-muted-2: #8b90a0;
  --ld-line: #eceaf3;
  --ld-purple: #512bf4;
  --ld-purple-deep: #3f1fd4;
  --ld-purple-soft: #eeebff;
  --ld-lime: #dcf933;
  --ld-lime-deep: #c8e600;
  --ld-navy: #18243a;
  --ld-orange: #ffb35c;
  --ld-peach: #ffc9a3;
  --ld-pink: #ff9eb5;
  --ld-mint: #c5e86b;
  --ld-sky: #9ec9ff;
  --ld-ok: #2fbe6a;
  --ld-no: #f07171;
  --ld-radius: 24px;
  --ld-radius-sm: 16px;
  --ld-radius-pill: 999px;
  --ld-max: 1240px;
  --ld-pad: clamp(1.25rem, 4vw, 2rem);
  --ld-font: "Plus Jakarta Sans", system-ui, sans-serif;
  --ld-script: "Caveat", cursive;
  --ld-shadow: 0 12px 40px rgba(24, 36, 58, 0.08);
  --ld-shadow-sm: 0 6px 20px rgba(24, 36, 58, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.page-land {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 48% 36% at 100% 8%, rgba(255, 190, 210, 0.28), transparent 60%),
    radial-gradient(ellipse 42% 32% at 0% 18%, rgba(158, 170, 255, 0.22), transparent 58%),
    radial-gradient(ellipse 40% 30% at 95% 55%, rgba(220, 249, 51, 0.14), transparent 55%),
    radial-gradient(ellipse 36% 28% at 0% 78%, rgba(177, 164, 255, 0.16), transparent 55%),
    var(--ld-bg);
  color: var(--ld-ink);
  font-family: var(--ld-font);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ld-container {
  width: min(100% - (var(--ld-pad) * 2), var(--ld-max));
  margin-inline: auto;
}

.ld-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */
.ld-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.45rem;
  border-radius: var(--ld-radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.ld-btn-lime {
  background: var(--ld-lime);
  color: var(--ld-ink);
  box-shadow: 0 8px 24px rgba(220, 249, 51, 0.35);
}

.ld-btn-lime:hover {
  background: #e7ff4d;
  transform: translateY(-1px);
}

.ld-btn-purple {
  background: var(--ld-purple);
  color: #fff;
}

.ld-btn-purple:hover {
  background: var(--ld-purple-deep);
}

.ld-btn svg {
  flex-shrink: 0;
}

.ld-cta-pop {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.ld-sparkle {
  position: absolute;
  top: -14px;
  right: -18px;
  width: 34px;
  height: auto;
  pointer-events: none;
  z-index: 2;
  transform: rotate(8deg);
  filter: drop-shadow(0 2px 4px rgba(81, 43, 244, 0.2));
}

.ld-cta-pop--on-dark .ld-sparkle {
  top: -16px;
  right: -20px;
  width: 38px;
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.25)) brightness(1.15);
}

/* ---------- Header ---------- */
.ld-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(254, 252, 255, 0.86);
  backdrop-filter: blur(14px);
  overflow: visible;
}

.ld-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
  overflow: visible;
}

.ld-header-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.ld-header-logo img {
  height: 34px;
  width: auto;
}

.ld-nav {
  display: none;
  align-items: center;
  gap: 1.6rem;
  margin-inline: auto;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--ld-ink);
}

.ld-nav a:hover {
  color: var(--ld-purple);
}

.ld-header-cta {
  display: inline-flex;
  position: relative;
}

.ld-header-cta .ld-sparkle {
  top: -12px;
  right: -16px;
  width: 30px;
}

.ld-header-cta .ld-btn {
  min-height: 2.7rem;
  padding: 0.7rem 1.15rem;
  font-size: 0.88rem;
}

@media (min-width: 960px) {
  .ld-nav {
    display: inline-flex;
  }

  .ld-header-logo img {
    height: 38px;
  }

  .ld-header-cta .ld-btn {
    min-height: 3.1rem;
    padding: 0.85rem 1.45rem;
    font-size: 0.95rem;
  }
}

/* ---------- Hero ---------- */
.ld-hero {
  position: relative;
  padding: 2.5rem 0 3.5rem;
  overflow: visible;
}

.ld-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.ld-brand-logo {
  display: inline-block;
  margin: 0 0 1.15rem;
}

.ld-brand-logo img {
  height: clamp(72px, 7vw, 78px);
  width: auto;
}

.ld-eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ld-purple);
}

.ld-hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ld-ink);
}

.ld-hero-title .script {
  display: inline-block;
  margin: 0.55em 0 0.35em;
  font-family: var(--ld-script);
  font-weight: 600;
  font-size: 1.28em;
  letter-spacing: 0;
  color: var(--ld-purple);
  line-height: 1.15;
  transform: rotate(-3deg);
  transform-origin: left center;
}

.ld-hero-title .script em {
  font-style: normal;
  position: relative;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-image: linear-gradient(transparent 62%, #dcf933 62%, #dcf933 92%, transparent 92%);
}

.ld-hero-sub {
  margin: 0 0 2rem;
  max-width: 36rem;
  color: var(--ld-ink);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.65;
}

.ld-hero-sub b {
  color: var(--ld-ink);
  font-weight: 700;
}

.ld-checks {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
}

.ld-checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.98rem;
  font-weight: 400;
  color: #3d4150;
}

.ld-check-ico {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--ld-purple);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hero feature row (gruppi) */
.ld-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1.25rem;
  margin: 0 0 2.25rem;
  max-width: 40rem;
}

.ld-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: #3d4150;
}

.ld-features b {
  display: block;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--ld-ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.ld-features small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: var(--ld-muted);
  font-weight: 500;
  line-height: 1.35;
}

.ld-feature-ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--ld-purple-soft);
  color: var(--ld-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 720px) {
  .ld-features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem 1.35rem;
    max-width: none;
  }

  .ld-features li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
}

.ld-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.ld-cta-note {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ld-purple);
  font-family: var(--ld-script);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
  transform: rotate(-2deg);
}

.ld-cta-note > span {
  font-weight: 600;
}

.ld-cta-note svg {
  width: 42px;
  height: 32px;
  transform: rotate(-18deg);
  flex-shrink: 0;
}

.ld-hero-media {
  position: relative;
  justify-self: center;
  width: min(90%, 560px);
  padding: 1.25rem 1.5rem 2.75rem 0.5rem;
}

.ld-hero-blob {
  position: absolute;
  inset: 8% -8% -6% 12%;
  background:
    radial-gradient(ellipse 70% 65% at 70% 45%, rgba(255, 140, 180, 0.55), transparent 70%),
    radial-gradient(ellipse 55% 50% at 40% 70%, rgba(255, 180, 210, 0.4), transparent 70%);
  border-radius: 48% 52% 45% 55% / 55% 42% 58% 45%;
  z-index: 0;
  pointer-events: none;
}

.ld-hero-video,
.ld-hero-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  overflow: hidden;
  background: var(--ld-navy);
  box-shadow: 0 22px 50px rgba(24, 36, 58, 0.22);
  z-index: 1;
}

.ld-hero-photo {
  border-radius: 42% 48% 40% 52% / 48% 38% 55% 42%;
  background: var(--ld-purple-soft);
}

.ld-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ld-hero-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ld-hero-video + .ld-hero-video {
  margin-top: 1.1rem;
}

.ld-hero-video--916 {
  aspect-ratio: 9 / 16;
  width: min(100%, 340px);
  margin-inline: auto;
}

/* Visibilità per breakpoint (desktop = da 960px in su) */
.ld-desktop-only {
  display: none;
}

@media (min-width: 960px) {
  .ld-desktop-only {
    display: block;
  }

  .ld-mobile-only {
    display: none;
  }
}

.ld-live-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.65rem;
  border-radius: var(--ld-radius-pill);
  background: #e11d48;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.ld-live-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: ld-pulse 1.6s ease-out infinite;
}

@keyframes ld-pulse {
  70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.ld-deco {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.ld-deco-squiggle {
  top: 0;
  right: 8px;
  width: 90px;
  color: #ff8fb4;
  z-index: 0;
}

.ld-deco-star {
  top: 18%;
  right: -2%;
  bottom: auto;
  left: auto;
  width: 54px;
  color: #ff8fb4;
  filter: drop-shadow(0 6px 10px rgba(255, 143, 180, 0.35));
}

.ld-deco-smile {
  top: 8%;
  left: 2%;
  right: auto;
  width: 44px;
  z-index: 3;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}

/* Age seal — anchored to video bottom-right */
.ld-hero-media .ld-age-seal {
  position: absolute;
  right: -0.35rem;
  bottom: 0.15rem;
  width: clamp(132px, 34%, 168px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 40px rgba(24, 36, 58, 0.16);
  display: grid;
  place-items: center;
  z-index: 4;
}

.ld-age-seal-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ld-age-seal-curved {
  font-family: var(--ld-font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ld-age-seal-curved--purple { fill: var(--ld-purple); }
.ld-age-seal-curved--lime { fill: #9ec400; }
.ld-age-seal-curved--ink { fill: var(--ld-ink); }

.ld-age-seal-core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 0.95;
  color: var(--ld-ink);
}

.ld-age-seal-num {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ld-age-seal-anni {
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

@media (min-width: 960px) {
  .ld-hero {
    padding: 2.75rem 0 3.5rem;
  }

  .ld-hero-grid {
    grid-template-columns: 0.9fr 1.2fr;
    gap: 3.5rem;
    align-items: center;
  }

  .ld-hero-media {
    width: min(100%, 640px);
    justify-self: end;
    padding: 1.5rem 2.25rem 3.25rem 1rem;
  }

  .ld-hero-media .ld-age-seal {
    right: -0.5rem;
    bottom: 0.35rem;
    width: clamp(156px, 30%, 188px);
  }
}

@media (min-width: 1200px) {
  :root {
    --ld-max: 1400px;
  }

  .ld-hero-grid {
    gap: 4.5rem;
  }

  .ld-hero-media {
    width: min(100%, 700px);
  }
}

/* ---------- Ticker ---------- */
.ld-ticker-wrap {
  position: relative;
  margin: 0.5rem 0 1rem;
  overflow: hidden;
  line-height: 0;
}

.ld-ticker-svg {
  display: block;
  width: 105%;
  margin-left: -2.5%;
  height: clamp(88px, 10vw, 120px);
  transform: rotate(-1.1deg);
  transform-origin: center center;
  overflow: visible;
}

.ld-ticker-fill {
  fill: var(--ld-navy);
}

.ld-ticker-text {
  fill: #fff;
  font-family: var(--ld-font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- Sections ---------- */
.ld-section {
  position: relative;
  padding: 4.5rem 0;
}

.ld-section-alt {
  background: linear-gradient(180deg, transparent, rgba(247, 244, 255, 0.65) 20%, rgba(247, 244, 255, 0.65) 80%, transparent);
}

.ld-label {
  display: block;
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ld-purple);
}

.ld-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ld-ink);
}

.ld-title .hl {
  color: var(--ld-purple);
  position: relative;
}

.ld-title .hl::after {
  content: "";
  position: absolute;
  top: -0.55em;
  right: -0.85em;
  width: 36px;
  height: 30px;
  background: url("../img/hrigh.png") center / contain no-repeat;
}

.ld-subtitle {
  margin: 0 0 2rem;
  max-width: 36rem;
  color: var(--ld-muted);
  font-size: 1.05rem;
}

.ld-section-head {
  margin-bottom: 2rem;
}

.ld-section-head.center {
  text-align: center;
}

.ld-section-head.center .ld-subtitle {
  margin-inline: auto;
}

/* ---------- How to ---------- */
.ld-howto-grid {
  display: grid;
  gap: 0.85rem;
  max-width: 1200px;
  margin-inline: auto;
}

.ld-step {
  background: var(--ld-white);
  border-radius: 20px;
  padding: 1.1rem 1.15rem 1.15rem;
  box-shadow: var(--ld-shadow-sm);
}

.ld-step-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ld-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
  color: var(--ld-ink);
  box-shadow: 0 4px 12px rgba(255, 179, 92, 0.3);
}

.ld-step-ico svg {
  width: 18px;
  height: 18px;
}

.ld-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ld-step p {
  margin: 0;
  color: var(--ld-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ld-step p b {
  color: var(--ld-ink);
}

.highlight{
  background-image: linear-gradient(transparent 62%, #dcf933 62%, #dcf933 92%, transparent 92%);
  display: inline-block;
}

.ld-faq-item b{
  color: var(--ld-purple);
}
@media (min-width: 768px) {
  .ld-howto-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.9rem;
  }
}

/* How-to panel (single card + centered steps) */
.ld-howto-panel {
  background: #fff;
  border-radius: 28px;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.25rem, 3vw, 2.5rem) clamp(1.85rem, 3.5vw, 2.85rem);
  box-shadow: 0 18px 48px rgba(24, 36, 58, 0.08);
}

#come-funziona .ld-section-head {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.ld-howto-flow {
  display: grid;
  gap: 1.5rem;
  max-width: 1100px;
  margin-inline: auto;
}

.ld-howto-flow .ld-step {
  position: relative;
  text-align: center;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ld-howto-flow .ld-step-ico {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  color: var(--ld-purple);
  box-shadow: none;
}

.ld-howto-flow .ld-step-ico svg {
  width: 24px;
  height: 24px;
}

.ld-howto-flow .ld-step h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ld-ink);
}

.ld-howto-flow .ld-step-num {
  display: inline;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.ld-howto-flow .ld-step p {
  margin: 0;
  max-width: 15.5rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ld-muted);
}

.ld-step-ico--lavender { background: #ebe6ff; }
.ld-step-ico--rose { background: #ffe0ea; }
.ld-step-ico--violet { background: #e8e2ff; }
.ld-step-ico--lime { background: #eef9b8; }
.ld-step-ico--mint { background: var(--ld-mint); }
.ld-step-ico--pink { background: var(--ld-pink); }
.ld-step-ico--sky { background: var(--ld-sky); }

.ld-howto-arrow {
  display: none;
  color: var(--ld-purple);
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

@media (min-width: 900px) {
  .ld-howto-flow {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0.35rem 0.5rem;
  }

  .ld-howto-arrow {
    display: inline-flex;
    align-self: start;
    margin-top: 1.35rem;
  }
}

/* ---------- Groups ---------- */
.ld-btn-sm {
  min-height: 2.45rem;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.ld-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.75rem;
}

.ld-filter {
  min-height: 2.35rem;
  padding: 0.45rem 1rem;
  border-radius: var(--ld-radius-pill);
  border: 1.5px solid #e2dff0;
  background: #fff;
  color: var(--ld-ink);
  font-size: 0.88rem;
  font-weight: 650;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ld-filter:hover {
  border-color: var(--ld-purple);
  color: var(--ld-purple);
}

.ld-filter.is-active {
  background: var(--ld-purple);
  border-color: var(--ld-purple);
  color: #fff;
  box-shadow: 0 8px 20px rgba(81, 43, 244, 0.28);
}

.ld-groups-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ld-groups-viewport {
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  border-radius: 8px;
}

.ld-groups-viewport::-webkit-scrollbar {
  display: none;
}

.ld-groups-track {
  display: flex;
  gap: 1.1rem;
  padding: 0.25rem 0.15rem 0.85rem;
}

.ld-group-card {
  flex: 0 0 min(340px, 88vw);
  scroll-snap-align: start;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(24, 36, 58, 0.08);
  display: flex;
  flex-direction: column;
}

.ld-group-card[hidden] {
  display: none;
}

.ld-group-top {
  position: relative;
  min-height: 148px;
  padding: 0.85rem 0.95rem 1.1rem;
  color: var(--ld-purple);
}

.ld-group-top--purple { background: #e8e2ff; color: #6b4dff; }
.ld-group-top--pink { background: #ffe0ea; color: #e85a8a; }
.ld-group-top--lime { background: #eef8b8; color: #7a9a00; }
.ld-group-top--sky { background: #dcecff; color: #3d7fd4; }
.ld-group-top--peach { background: #ffe4c8; color: #d4873a; }

.ld-seats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.65rem;
  align-items: center;
  max-width: 200px;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(24, 36, 58, 0.08);
}

.ld-seats-badge {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 1.4rem;
  padding: 0.22rem 0.5rem;
  border-radius: 7px;
  background: var(--ld-lime);
  color: var(--ld-ink);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ld-seats-bar {
  height: 7px;
  border-radius: 999px;
  background: #e8e6f2;
  overflow: hidden;
}

.ld-seats-bar span {
  display: block;
  height: 100%;
  width: var(--pct, 50%);
  border-radius: inherit;
  background: var(--ld-purple);
}

.ld-seats-count {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ld-ink);
  letter-spacing: -0.02em;
}

.ld-group-illu {
  display: block;
  width: 92px;
  height: auto;
  margin: 0.85rem auto 0;
  pointer-events: none;
}

.ld-group-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.15rem 1.15rem 1.15rem;
  flex: 1;
}

.ld-group-body h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ld-ink);
}

.ld-group-body > p {
  margin: -0.15rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ld-muted);
}

.ld-group-host {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ld-group-host img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ld-purple-soft);
}

.ld-group-host strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--ld-ink);
  line-height: 1.25;
}

.ld-group-host span {
  display: block;
  margin-top: 0.08rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ld-muted);
}

/* 5 date del gruppo */
.ld-group-dates {
  margin-top: 0.1rem;
}

.ld-group-dates-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  color: var(--ld-purple);
  font-size: 0.86rem;
  font-weight: 700;
}

.ld-group-dates-head svg {
  flex-shrink: 0;
  color: var(--ld-purple);
}

.ld-group-dates-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.ld-group-dates-list li {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 0.55rem;
  align-items: start;
}

.ld-group-dates-main {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.ld-group-dates-desc {
  font-size: 0.78rem;
  font-weight: 500;
  color: #3d4250;
  line-height: 1.35;
}

.ld-group-dates-ico {
  flex-shrink: 0;
  color: var(--ld-purple);
  display: block;
}

.ld-group-dates-day {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ld-ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.ld-group-dates-time {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ld-ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
  white-space: nowrap;
  text-align: right;
}

.ld-group-foot {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1.05rem;
  border-top: 1px solid var(--ld-line);
}

.ld-group-pricing {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.1rem 0 0.15rem;
}

.ld-group-pricing-unit,
.ld-group-pricing-pack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.ld-group-pricing-unit {
  gap: 0.32rem;
  padding: 0.1rem 0.7rem 0.1rem 0;
  border-right: 1px solid var(--ld-line);
}

.ld-group-pricing-pack {
  gap: 0.2rem;
}

.ld-group-pricing-label {
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ld-muted-2);
}

.ld-group-unit-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.4rem;
  padding: 0.4rem 0.65rem;
  border-radius: 11px;
  background: var(--ld-lime);
  color: var(--ld-ink);
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.ld-group-unit-sub {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ld-ink);
  letter-spacing: -0.02em;
}

.ld-group-pack-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ld-ink);
}

.ld-group-pack-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--ld-lime);
  color: var(--ld-ink);
}

.ld-group-pack-ico svg {
  width: 11px;
  height: 11px;
}

.ld-group-pack-price {
  margin-top: 0.12rem;
  font-size: 1.48rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ld-ink);
}

.ld-group-pack-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ld-ink);
}

.ld-group-pack-iva {
  margin-top: 0.1rem;
  font-size: 0.58rem;
  font-weight: 400;
  color: var(--ld-muted-2);
  letter-spacing: 0.01em;
}

.ld-group-buy {
  width: 100%;
  justify-content: center;
  min-height: 2.55rem;
  margin-top: 0;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ld-group-buy svg {
  width: 13px;
  height: 13px;
}

.ld-groups-prev,
.ld-groups-next {
  flex-shrink: 0;
}

@media (min-width: 1100px) {
  .ld-group-card {
    flex-basis: calc((100% - 3.3rem) / 4);
  }
}

/* ---------- Trust strip ---------- */
.ld-trust-section {
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.ld-trust {
  display: grid;
  gap: 0.85rem;
  padding: 1.15rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #eef5ff, #f4f0ff);
  box-shadow: var(--ld-shadow-sm);
}

.ld-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.ld-trust-ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  color: var(--ld-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(81, 43, 244, 0.12);
}

.ld-trust-item h3 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ld-ink);
}

.ld-trust-item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ld-muted);
}

@media (min-width: 860px) {
  .ld-trust {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 1rem;
  }
}

.ld-extract {
  margin-top: 2rem;
  text-align: center;
}

.ld-extract-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ld-ink);
}

.ld-extract-link svg {
  color: var(--ld-purple);
  transform: rotate(18deg);
}

.ld-extract-video {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--ld-radius);
  overflow: hidden;
  background: var(--ld-navy);
  box-shadow: 0 18px 48px rgba(24, 36, 58, 0.18);
}

.ld-extract-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Background blobs (img/bg) ---------- */
.ld-bg-blob {
  position: absolute;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

.ld-bg-blob--team-left {
  top: -8%;
  left: -14%;
  width: clamp(420px, 46vw, 760px);
}

.ld-bg-blob--team-right {
  top: -14%;
  right: 16%;
  width: clamp(460px, 50vw, 820px);
  transform: scaleX(-1) rotate(8deg);
}

.ld-bg-blob--duo-right {
  bottom: -18%;
  right: 14%;
  width: clamp(420px, 44vw, 720px);
  transform: rotate(-6deg);
  opacity: 0.6;
}

/* ---------- Team (carosello) + duo ---------- */
.ld-section-tight {
  padding-top: 0.5rem;
}

.ld-team-section > .ld-container,
.ld-duo-section > .ld-container {
  position: relative;
  z-index: 1;
}

.ld-team-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.ld-team-arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ld-purple);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(81, 43, 244, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ld-team-arrow:hover {
  background: var(--ld-purple-deep);
  transform: scale(1.06);
}

.ld-team-viewport {
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 20px;
}

.ld-team-viewport::-webkit-scrollbar {
  display: none;
}

.ld-team-track {
  display: flex;
  gap: 1rem;
}

.ld-psy {
  flex: 0 0 clamp(140px, 15vw, 176px);
  text-align: center;
  background: #fff;
  border-radius: 18px;
  padding-bottom: 0.8rem;
  box-shadow: 0 12px 28px rgba(24, 33, 59, 0.08);
  overflow: hidden;
}

.ld-psy-photo {
  aspect-ratio: 1 / 1.28;
  overflow: hidden;
  margin-bottom: 0.6rem;
  background: var(--ld-mint);
}

.ld-psy-photo img,
.ld-psy-photo svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ld-psy-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.1rem;
  color: var(--ld-ink);
}

.ld-psy-role {
  display: block;
  font-size: 0.78rem;
  color: var(--ld-muted-2);
  font-weight: 500;
}

.ld-authority {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 620px;
  margin: 2.2rem auto 0;
  padding: 1.05rem 1.4rem;
  border-radius: 16px;
  background: #f2f1f6;
}

.ld-authority-ico {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  color: var(--ld-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(24, 33, 59, 0.06);
}

.ld-authority p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ld-muted);
}

.ld-authority b {
  color: var(--ld-ink);
  font-weight: 700;
}

.ld-duo {
  display: grid;
  gap: 1.25rem;
}

.ld-duo-col {
  background: #fff;
  border-radius: 22px;
  padding: 1.6rem 1.7rem 1.8rem;
  box-shadow: 0 16px 40px rgba(24, 33, 59, 0.08);
  height: 100%;
  box-sizing: border-box;
}

.ld-duo-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.15rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ld-ink);
}

.ld-duo-badge {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ld-duo-badge--ok {
  background: #b8e600;
  box-shadow: 0 6px 14px rgba(184, 230, 0, 0.4);
}

.ld-duo-badge--no {
  background: #f071a0;
  box-shadow: 0 6px 14px rgba(240, 113, 160, 0.35);
}

.ld-duo-col ul {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
}

.ld-duo-col li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--ld-ink);
  font-size: 0.97rem;
  line-height: 1.5;
  font-weight: 400;
}

.ld-duo-col li b {
  font-weight: 700;
}

.ld-dot {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 0.5rem;
}

.ld-dot--ok {
  background: #b8e600;
}

.ld-dot--no {
  background: #f071a0;
}

@media (min-width: 860px) {
  .ld-duo {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: stretch;
  }
}

@media (max-width: 719px) {
  .ld-team-arrow {
    display: none;
  }

  /* Frecce sotto il carosello: niente overlay sulle card */
  .ld-groups-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.7rem 1rem;
  }

  .ld-groups-viewport {
    flex: 1 1 100%;
    order: -1;
    margin-inline: calc(-1 * var(--ld-pad));
    padding-inline: var(--ld-pad);
    border-radius: 0;
    scroll-padding-inline: var(--ld-pad);
  }

  .ld-groups-track {
    padding-right: var(--ld-pad);
  }

  .ld-group-card {
    flex-basis: min(320px, calc(100vw - 4.5rem));
  }

  .ld-groups-prev,
  .ld-groups-next {
    display: inline-flex;
    position: static;
    width: 40px;
    height: 40px;
    transform: none;
  }

  .ld-groups-prev:hover,
  .ld-groups-next:hover {
    transform: scale(1.06);
  }

  .ld-team-section .ld-subtitle br {
    display: none;
  }

  .ld-team-viewport {
    margin-inline: -1.25rem;
    padding-inline: 1.25rem;
  }

  .ld-bg-blob {
    opacity: 0.4;
  }
}

/* ---------- Calendar ---------- */
.ld-calendar {
  margin-top: 0.5rem;
}

.ld-day-tabs {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding: 0.25rem 0 1.35rem;
  scrollbar-width: none;
}

.ld-day-tabs::-webkit-scrollbar {
  display: none;
}

.ld-day-tab {
  flex: 0 0 auto;
  min-width: 86px;
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  background: var(--ld-white);
  border: 1.5px solid #e8e6f0;
  box-shadow: var(--ld-shadow-sm);
  display: grid;
  gap: 0.15rem;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ld-day-tab[aria-selected="true"] {
  background: var(--ld-purple);
  border-color: var(--ld-purple);
  color: #fff;
  box-shadow: 0 10px 24px rgba(81, 43, 244, 0.28);
}

.ld-day-tab-weekday {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}

.ld-day-tab[aria-selected="true"] .ld-day-tab-weekday {
  opacity: 0.9;
}

.ld-day-tab-date {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ld-day-tab-count {
  display: none;
}

.ld-appt-grid {
  display: grid;
  gap: 1rem;
}

.ld-appt-card {
  background: var(--ld-white);
  border-radius: 22px;
  padding: 1.25rem 1.2rem 1.2rem;
  box-shadow: var(--ld-shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "slot slot"
    "title title"
    "question question"
    "desc desc"
    "meta cta";
  gap: 0.55rem 0.75rem;
  position: relative;
  min-height: 100%;
  align-items: start;
}

.ld-appt-title { grid-area: title; }
.ld-appt-question { grid-area: question; }
.ld-appt-desc { grid-area: desc; }
.ld-appt-meta { grid-area: meta; align-self: end; }
.ld-appt-cta { grid-area: cta; justify-self: end; align-self: end; margin-top: 0; }

.ld-appt-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ld-appt-question {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ld-ink);
}

.ld-appt-clock {
  color: var(--ld-muted-2);
  flex-shrink: 0;
}

.ld-appt-desc {
  margin: 0;
  color: var(--ld-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.ld-appt-slot {
  grid-area: slot;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ld-appt-slot-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: #f4f1ec;
}

.ld-appt-slot[data-slot="colazione"] .ld-appt-slot-ico { background: #ffe4cc; }
.ld-appt-slot[data-slot="caffe"] .ld-appt-slot-ico { background: #f0e9df; }
.ld-appt-slot[data-slot="aperitivo"] .ld-appt-slot-ico { background: #fdf3d1; }
.ld-appt-slot[data-slot="spaghettata"] .ld-appt-slot-ico { background: #e7e2fb; }

.ld-appt-slot-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.ld-appt-slot-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ld-ink);
  letter-spacing: -0.01em;
}

.ld-appt-time {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ld-muted);
}

.ld-appt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--ld-muted-2);
}

.ld-appt-tag {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: var(--ld-radius-pill);
  background: var(--ld-purple-soft);
  color: var(--ld-purple);
  font-weight: 700;
  font-size: 0.75rem;
}

/* Colori per area tematica */
.ld-appt-tag[data-area="ansia"] {
  background: #ffedd9;
  color: #c2620e;
}

.ld-appt-tag[data-area="stress"] {
  background: #ffe2de;
  color: #d84a3c;
}

.ld-appt-tag[data-area="stress-e-performance"] {
  background: #ffe1ee;
  color: #d43781;
}

.ld-appt-tag[data-area="autostima"] {
  background: #eff8c8;
  color: #718c00;
}

.ld-appt-tag[data-area="relazioni"] {
  background: #ddedff;
  color: #2b6cd4;
}

.ld-appt-tag[data-area="prendersi-cura-di-se"] {
  background: #d9f4e7;
  color: #178f5c;
}

.ld-appt-cta {
  min-height: 2.5rem;
  padding: 0.65rem 1.2rem;
  border-radius: var(--ld-radius-pill);
  background: var(--ld-purple);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.ld-appt-cta:hover {
  background: var(--ld-purple-deep);
  transform: translateY(-1px);
}

.ld-calendar-loading,
.ld-calendar-error {
  padding: 1.5rem;
  text-align: center;
  color: var(--ld-muted);
}

@media (min-width: 720px) {
  .ld-appt-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .ld-appt-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ---------- FAQ + CTA ---------- */
.ld-faq-cta {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

.ld-faq-list {
  display: grid;
}

.ld-faq-item {
  border-bottom: 1px solid var(--ld-line);
}

.ld-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ld-ink);
}

.ld-faq-q svg {
  flex-shrink: 0;
  color: var(--ld-muted-2);
  transition: transform 0.2s ease;
}

.ld-faq-item.is-open .ld-faq-q svg {
  transform: rotate(90deg);
  color: var(--ld-purple);
}

.ld-faq-a {
  display: none;
  padding: 0 0 1.15rem;
  color: var(--ld-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.ld-faq-item.is-open .ld-faq-a {
  display: block;
}

.ld-cta-card {
  position: relative;
  overflow: hidden;
  background: var(--ld-purple);
  color: #fff;
  border-radius: 28px;
  padding: 2.6rem 1.5rem;
  text-align: center;
  min-height: 320px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  box-shadow: 0 18px 48px rgba(81, 43, 244, 0.28);
}

.ld-cta-card-logo {
  height: 56px;
  width: auto;
}

.ld-cta-card h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 14ch;
}

.ld-cta-card p {
  margin: 0;
  opacity: 0.88;
  font-size: 0.92rem;
  max-width: 22ch;
  line-height: 1.45;
}

.ld-cta-card .ld-btn-lime {
  margin-top: 0.5rem;
}

.ld-cta-sun {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 68px;
  height: 68px;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 960px) {
  .ld-faq-cta {
    grid-template-columns: 1.65fr 0.7fr;
    gap: 4rem;
    align-items: stretch;
  }

  .ld-cta-card {
    min-height: 0;
    gap: 2.75rem;
    padding: 3rem 1.6rem;
  }

  .ld-cta-card-logo {
    height: 72px;
  }

  .ld-cta-card .ld-btn-lime {
    margin-top: 0.75rem;
  }
}

/* ---------- Footer ---------- */
.ld-footer {
  padding: 1.35rem 0 1.5rem;
  border-top: 1px solid var(--ld-line);
  background: #fff;
}

.ld-footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.ld-footer-logo {
  flex-shrink: 0;
}

.ld-footer-logo img {
  height: 28px;
  width: auto;
}

.ld-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.15rem;
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ld-ink);
}

.ld-footer-nav a:hover {
  color: var(--ld-purple);
}

.ld-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.ld-social a {
  color: var(--ld-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ld-social a svg {
  width: 28px;
  height: 28px;
  display: block;
}

.ld-social a:hover {
  color: var(--ld-purple);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .ld-footer-bar {
    justify-content: center;
    text-align: center;
  }

  .ld-footer-nav {
    margin-left: 0;
    width: 100%;
    order: 3;
  }

  .ld-social a svg {
    width: 26px;
    height: 26px;
  }
}

/* ---------- Checkout modal (fullscreen + 2 col) ---------- */
/* Overrides are reinforced at end of file (after .ld-book-dialog) */

.ld-checkout-form {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: auto;
}

.ld-checkout-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--ld-pad) 1rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ld-line);
}

.ld-checkout-modal .ld-book-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 5;
}

.ld-checkout-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ld-purple);
}

.ld-checkout-dialog h3 {
  margin: 0;
  padding-right: 2.5rem;
}

.ld-checkout-grid {
  display: grid;
  gap: 1.5rem;
  width: min(100% - (var(--ld-pad) * 2), 1100px);
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
}

.ld-checkout-col--pay {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ld-checkout-recap {
  margin: 0 0 1rem;
  padding: 1.05rem 1.15rem;
  border-radius: 18px;
  background: var(--ld-bg-soft);
}

.ld-checkout-recap-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.ld-checkout-recap strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ld-ink);
}

.ld-checkout-recap #checkout-group-meta,
.ld-checkout-host {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.84rem;
  color: var(--ld-muted);
}

.ld-checkout-host {
  font-weight: 650;
  color: var(--ld-ink);
}

.ld-checkout-host[hidden] {
  display: none;
}

.ld-checkout-amount b {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ld-ink);
}

.ld-checkout-recap-dates {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(81, 43, 244, 0.12);
}

.ld-checkout-recap-dates[hidden] {
  display: none;
}

.ld-checkout-recap-dates-label {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--ld-purple);
}

.ld-checkout-recap-dates ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.ld-checkout-recap-dates li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ld-ink);
  line-height: 1.3;
}

.ld-checkout-recap-dates li span:last-child {
  color: var(--ld-muted);
  font-weight: 550;
  white-space: nowrap;
}

.ld-checkout-block {
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
}

.ld-checkout-block legend {
  margin: 0 0 0.7rem;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ld-ink);
}

.ld-checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ld-checkout-row--3 {
  grid-template-columns: 0.85fr 1.4fr 0.75fr;
}

.ld-checkout-stripe {
  min-height: 120px;
  padding: 0.95rem 1rem;
  border: 1.5px solid #e2dff0;
  border-radius: 14px;
  background: #fff;
}

.ld-checkout-stripe-placeholder {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ld-muted-2);
  line-height: 1.45;
}

.ld-checkout-col--pay .ld-submit {
  width: 100%;
  margin-top: 0.5rem;
}

#checkout-pay-err {
  display: block;
  margin: 0.55rem 0 0;
  color: #c44a2f;
  font-size: 0.82rem;
  font-weight: 600;
}

#checkout-pay-err[hidden] {
  display: none;
}

#cw-privacy.invalid label {
  color: #c44a2f;
}

#c-cf,
#c-province {
  text-transform: uppercase;
}

@media (max-width: 719px) {
  .ld-checkout-row,
  .ld-checkout-row--3 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  .ld-checkout-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: start;
    padding-top: 1.75rem;
    padding-bottom: 3rem;
  }

  .ld-checkout-col--pay {
    position: sticky;
    top: 5.5rem;
  }

  .ld-checkout-head {
    padding-inline: max(var(--ld-pad), calc((100% - 1100px) / 2));
  }
}

/* ---------- Modal ---------- */
.ld-book-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.ld-book-modal.open {
  display: flex;
}

.ld-book-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 19, 26, 0.55);
  backdrop-filter: blur(4px);
}

.ld-book-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: var(--ld-white);
  border-radius: 28px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 30px 80px rgba(18, 19, 26, 0.28);
}

.ld-book-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ld-bg-soft);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--ld-muted);
}

.ld-book-dialog h3 {
  margin: 0 0 0.65rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ld-purple);
  padding-right: 2rem;
}

.ld-book-recap {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--ld-bg-soft);
  font-size: 0.92rem;
  color: var(--ld-muted);
}

.ld-book-recap b {
  color: var(--ld-ink);
}

.ld-field {
  margin-bottom: 0.95rem;
}

.ld-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.ld-field input[type="text"],
.ld-field input[type="tel"],
.ld-field input[type="email"],
.ld-field input[type="password"] {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid #e2dff0;
  border-radius: 14px;
  background: #fff;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ld-field input:focus {
  outline: none;
  border-color: var(--ld-purple);
  box-shadow: 0 0 0 3px rgba(81, 43, 244, 0.12);
}

.ld-field .err {
  display: none;
  margin-top: 0.35rem;
  color: #c44a2f;
  font-size: 0.8rem;
  font-weight: 600;
}

.ld-field.invalid input {
  border-color: #c44a2f;
}

.ld-field.invalid .err {
  display: block;
}

.ld-privacy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.65rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--ld-muted);
  line-height: 1.45;
}

.ld-privacy .err {
  grid-column: 2;
}

.ld-field.invalid input[type="checkbox"] {
  outline: 2px solid #c44a2f;
  outline-offset: 2px;
}

.ld-privacy input {
  margin-top: 0.2rem;
  accent-color: var(--ld-purple);
}

.ld-privacy a {
  color: var(--ld-purple);
  text-decoration: underline;
}

.ld-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.ld-submit {
  width: 100%;
  margin-top: 1rem;
}

.ld-form-note {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ld-muted-2);
}

.ld-success {
  display: none;
  text-align: center;
  padding: 1rem 0.5rem;
}

.ld-success.show {
  display: block;
}

.ld-success .badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--ld-lime);
  display: grid;
  place-items: center;
}

.ld-success h3 {
  color: var(--ld-ink);
  padding: 0;
}

.ld-success .recap {
  margin: 1rem 0;
  padding: 0.9rem;
  border-radius: 14px;
  background: var(--ld-bg-soft);
  text-align: left;
  font-size: 0.92rem;
}

.ld-btn-ghost {
  display: inline-flex;
  margin-top: 0.5rem;
  color: var(--ld-purple);
  font-weight: 700;
  text-decoration: underline;
}

body.ld-book-open {
  overflow: hidden;
}

/* Checkout fullscreen — must win over .ld-book-modal / .ld-book-dialog */
.ld-book-modal.ld-checkout-modal.open {
  display: flex;
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #fff;
}

.ld-book-modal.ld-checkout-modal .ld-book-backdrop {
  display: none;
}

.ld-book-modal.ld-checkout-modal .ld-book-dialog.ld-checkout-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  min-height: 100%;
  margin: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}

@media (max-width: 600px) {
  .ld-header-inner {
    min-height: 64px;
  }

  .ld-hero {
    padding-top: 1.5rem;
  }

}

/* ---------- Prezzi: decimali piccoli ---------- */
.ld-price {
  display: inline-flex;
  align-items: flex-start;
  line-height: 1;
  font-weight: inherit;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.ld-price-main {
  font-size: 1em;
  font-weight: inherit;
}

.ld-price-dec {
  font-size: 0.52em;
  font-weight: 750;
  margin-left: 0.04em;
  margin-top: 0.12em;
  letter-spacing: -0.02em;
}

.ld-price-eur {
  font-size: 0.62em;
  font-weight: 750;
  margin-left: 0.12em;
  margin-top: 0.18em;
}

.ld-price--sm {
  font-size: 1em;
}

.ld-price-dec-inline {
  font-size: 0.72em;
  font-weight: 750;
  vertical-align: super;
  line-height: 0;
}

.ld-group-unit-box .ld-price,
.ld-group-pack-price .ld-price {
  align-items: flex-start;
}

.ld-checkout-amount .ld-price {
  font-size: 1.35rem;
  font-weight: 800;
}

/* ---------- Composer calendario ---------- */
.ld-composer {
  display: grid;
  gap: 1.35rem;
  align-items: stretch;
}

.ld-composer-step {
  min-width: 0;
  padding: 1.25rem 1.35rem 1.4rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(81, 43, 244, 0.1);
  box-shadow: var(--ld-shadow-sm);
}

.ld-composer-main {
  background: rgba(255, 255, 255, 0.84);
}

.ld-composer-step-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.ld-composer-step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.45rem;
  border-radius: 12px;
  background: var(--ld-lime);
  color: var(--ld-ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ld-composer-step-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ld-ink);
  line-height: 1.25;
}

.ld-composer-step-sub {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ld-muted);
  line-height: 1.4;
}

.ld-composer-themes {
  margin-bottom: 1rem;
}

.ld-composer-slots {
  display: grid;
  gap: 0.65rem;
  max-height: min(480px, 60vh);
  overflow: auto;
  padding-right: 0.15rem;
}

.ld-composer-empty {
  margin: 0;
  padding: 1.5rem 0.5rem;
  color: var(--ld-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.ld-composer-slot {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  width: 100%;
  text-align: left;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1.5px solid var(--ld-line);
  background: #fff;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.ld-composer-slot:hover:not(:disabled) {
  border-color: rgba(81, 43, 244, 0.35);
  transform: translateY(-1px);
}

.ld-composer-slot.is-selected {
  border-color: var(--ld-purple);
  background: linear-gradient(180deg, #f7f4ff, #fff);
  box-shadow: 0 0 0 3px rgba(220, 249, 51, 0.35);
}

.ld-composer-slot.is-dimmed,
.ld-composer-slot.is-soldout {
  opacity: 0.45;
}

.ld-composer-slot:disabled {
  cursor: not-allowed;
}

.ld-composer-slot-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--ld-line);
  color: var(--ld-ink);
  background: #fff;
  margin-top: 0.1rem;
}

.ld-composer-slot.is-selected .ld-composer-slot-check {
  border-color: transparent;
  background: var(--ld-lime);
}

.ld-composer-slot-body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.ld-composer-slot-when {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
}

.ld-composer-slot-when strong {
  font-size: 0.92rem;
  font-weight: 750;
  color: var(--ld-ink);
}

.ld-composer-slot-when span {
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--ld-purple);
}

.ld-composer-slot-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ld-ink);
  line-height: 1.35;
}

.ld-composer-slot-desc {
  font-size: 0.82rem;
  font-weight: 500;
  color: #3d4250;
  line-height: 1.45;
  margin-top: 0.1rem;
}

.ld-composer-slot-meta {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ld-muted);
}

.ld-composer-side {
  display: grid;
  gap: 0.95rem;
}

.ld-composer-side > .ld-composer-step-head {
  margin-bottom: 0.15rem;
}

.ld-composer-side-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.ld-composer-theme-pill {
  display: inline-flex;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--ld-purple-soft);
  color: var(--ld-purple);
  font-size: 0.78rem;
  font-weight: 700;
}

.ld-composer-progress-label {
  margin: 0 0 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ld-ink);
}

.ld-composer-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--ld-line);
  overflow: hidden;
}

.ld-composer-progress > span {
  display: block;
  height: 100%;
  width: var(--pct, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ld-purple), var(--ld-lime));
  transition: width 0.25s ease;
}

.ld-composer-selected {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  max-height: min(280px, 40vh);
  overflow: auto;
}

.ld-composer-selected li {
  position: relative;
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 2rem 0.7rem 0.8rem;
  border-radius: 14px;
  background: var(--ld-bg-soft);
}

.ld-composer-selected strong {
  font-size: 0.84rem;
  font-weight: 750;
}

.ld-composer-selected span {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--ld-purple);
}

.ld-composer-selected em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ld-muted);
  line-height: 1.3;
}

.ld-composer-selected-desc {
  margin: 0.15rem 0 0;
  font-size: 0.76rem;
  font-weight: 500;
  color: #3d4250;
  line-height: 1.4;
}

.ld-composer-selected-empty {
  background: transparent !important;
  padding: 0.4rem 0 !important;
  color: var(--ld-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.ld-composer-remove {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  color: var(--ld-muted);
  font-size: 1.1rem;
  line-height: 1;
}

.ld-composer-remove:hover {
  background: #fff;
  color: var(--ld-ink);
}

.ld-composer-plans {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .ld-composer-plans {
    grid-template-columns: 1fr 1fr;
  }
}

.ld-composer-plan {
  position: relative;
  display: block;
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  border: 1.5px solid var(--ld-line);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ld-composer-plan input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ld-composer-plan.is-selected {
  border-color: var(--ld-purple);
  box-shadow: 0 0 0 3px rgba(220, 249, 51, 0.28);
  background: linear-gradient(180deg, #fbfaff, #fff);
}

.ld-composer-plan-badge {
  position: absolute;
  top: -0.55rem;
  right: 0.85rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--ld-lime);
  color: var(--ld-ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.ld-composer-plan-body {
  display: grid;
  gap: 0.15rem;
}

.ld-composer-plan-title {
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--ld-ink);
}

.ld-composer-plan-price {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ld-ink);
  margin: 0.15rem 0;
}

.ld-composer-plan-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ld-muted);
}

.ld-composer-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--ld-line);
  font-size: 0.9rem;
  font-weight: 650;
}

.ld-composer-total-row strong {
  font-size: 1.45rem;
  font-weight: 800;
}

.ld-composer-hint {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ld-muted);
}

.ld-composer-hint.is-error {
  color: #c44b4b;
}

.ld-composer-cta {
  width: 100%;
  justify-content: center;
  min-height: 3rem;
}

.ld-composer-cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ld-composer-note {
  margin: 0;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ld-muted-2);
}

.ld-composer-ready {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ld-line);
}

.ld-section-head--compact {
  margin-bottom: 1.1rem;
}

.ld-title--sm {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

