/* ============================================================
   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: flex-end;
  gap: 1.5rem;
  min-height: 72px;
  overflow: visible;
}

.ld-nav {
  display: none;
  align-items: center;
  gap: 1.6rem;
  margin-right: 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-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.6em 0;
  font-family: var(--ld-script);
  font-weight: 600;
  font-size: 1.42em;
  letter-spacing: 0;
  color: var(--ld-purple);
  line-height: 0.6;
  transform: rotate(-4deg);
  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 1.35rem;
  max-width: 34rem;
  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;
}

.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 {
  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-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 {
  bottom: 22%;
  left: -6px;
  width: 58px;
  color: var(--ld-lime);
  filter: drop-shadow(0 6px 10px rgba(220, 249, 51, 0.45));
}

.ld-deco-smile {
  top: 12%;
  right: 6%;
  width: 42px;
  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;
  }
}

#come-funziona .ld-section-head {
  margin-bottom: 1.35rem;
}

.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;
  }

  .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;
  }
}

/* ---------- 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"] {
  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: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--ld-muted);
  line-height: 1.45;
}

.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;
}

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

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

}
