/* StoreDesk — stili condivisi vetrina (tema chiaro) */
:root {
  --storedesk-primary: #116ef8;
  --storedesk-teal: #03918f;
  --storedesk-navy: #122c44;
  --storedesk-accent: #0d9b96;
  --storedesk-bg: #eef3f9;
  --storedesk-surface: #ffffff;
  --storedesk-text: #122c44;
  --storedesk-muted: #5a6b7d;
  --storedesk-border: rgba(18, 44, 68, 0.12);
  --storedesk-blue-soft: #dbeafe;
  --nav-height: 72px;
}

html { scroll-behavior: smooth; }

body.landing-storedesk {
  min-height: 100vh;
  background: var(--storedesk-bg);
  color: var(--storedesk-text);
  overflow-x: hidden;
  padding-top: var(--nav-height);
}

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  height: var(--nav-height);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--storedesk-border);
  box-shadow: 0 4px 24px rgba(18, 44, 68, 0.06);
  overflow: visible;
}

.landing-nav .navbar-brand {
  gap: 0;
}

.landing-nav .navbar-brand img {
  width: auto;
  border-radius: 0;
  background: transparent;
}

/* Desktop: wordmark con puntino */
.landing-nav .navbar-brand .brand-logo-desktop {
  display: block;
  height: 36px;
  max-width: min(220px, 42vw);
  object-fit: contain;
}

.landing-nav .navbar-brand .brand-logo-mobile {
  display: none;
  height: 40px;
  width: auto;
  max-width: 40px;
  object-fit: contain;
}

/* Mobile: solo icona */
@media (max-width: 991.98px) {
  .landing-nav .navbar-brand .brand-logo-desktop {
    display: none;
  }

  .landing-nav .navbar-brand .brand-logo-mobile {
    display: block;
  }
}

.landing-nav .navbar-brand span {
  display: none;
}

.landing-nav .nav-link {
  position: relative;
  color: var(--storedesk-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 0.9rem !important;
  border-radius: 0.45rem;
  transition: color 0.25s ease, background 0.25s ease;
}

.landing-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--storedesk-primary), var(--storedesk-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.landing-nav .nav-link:hover {
  color: var(--storedesk-navy);
  background: rgba(17, 110, 248, 0.08);
}

.landing-nav .nav-link:hover::after,
.landing-nav .nav-link.active::after {
  transform: scaleX(1);
}

.landing-nav .nav-link.active {
  color: var(--storedesk-primary);
  background: rgba(17, 110, 248, 0.1);
}

/* Una sola riga in desktop: evita che Accedi scenda sotto l'header fisso */
.landing-nav .nav-actions {
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
}

.landing-nav .navbar {
  flex-wrap: nowrap;
}

.landing-nav .navbar-toggler {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  border: 1.5px solid rgba(18, 44, 68, 0.28);
  border-radius: 0.55rem;
  background: #fff;
  padding: 0.35rem;
}

@media (min-width: 1200px) {
  .landing-nav .navbar-toggler {
    display: none !important;
  }

  .landing-nav .navbar-collapse {
    flex-wrap: nowrap;
    align-items: center;
  }

  .landing-nav .navbar-nav {
    flex-wrap: nowrap;
  }

  .landing-nav .nav-link {
    padding: 0.45rem 0.65rem !important;
    font-size: 0.9rem;
  }

  .landing-nav .nav-link::after {
    left: 0.65rem;
    right: 0.65rem;
  }

  .landing-nav .nav-actions {
    gap: 0.4rem !important;
  }

  .landing-nav .nav-actions .btn-sm {
    padding: 0.4rem 0.85rem;
  }
}

.btn-storedesk,
.btn-storedesk-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  overflow: hidden;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 0.65rem;
  white-space: nowrap;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.btn-storedesk {
  background: linear-gradient(135deg, #3a86fa 0%, var(--storedesk-primary) 48%, var(--storedesk-teal) 100%);
  background-size: 160% 160%;
  color: #fff !important;
  border: none;
  padding: 0.7rem 1.55rem;
  box-shadow:
    0 10px 28px rgba(17, 110, 248, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-storedesk::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn-storedesk:hover {
  transform: translateY(-3px) scale(1.02);
  background-position: 100% 50%;
  box-shadow:
    0 16px 36px rgba(3, 145, 143, 0.3),
    0 6px 14px rgba(17, 110, 248, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #fff !important;
}

.btn-storedesk:hover::before { transform: translateX(120%); }
.btn-storedesk:active { transform: translateY(-1px) scale(0.99); }
.btn-storedesk i {
  position: relative;
  z-index: 1;
  color: inherit;
  transition: transform 0.25s ease;
}
.btn-storedesk:hover i { transform: translateX(3px); }

.btn-storedesk-outline {
  background: rgba(255, 255, 255, 0.7);
  color: var(--storedesk-navy) !important;
  border: 1.5px solid rgba(18, 44, 68, 0.28);
  padding: 0.68rem 1.45rem;
  box-shadow: 0 4px 16px rgba(18, 44, 68, 0.06);
}

.btn-storedesk-outline:hover {
  transform: translateY(-3px);
  color: var(--storedesk-primary) !important;
  background: #fff;
  border-color: var(--storedesk-primary);
  box-shadow: 0 12px 28px rgba(17, 110, 248, 0.18);
}

.btn-storedesk-outline:active { transform: translateY(-1px); }

.btn-storedesk.btn-sm,
.btn-storedesk-outline.btn-sm {
  padding: 0.45rem 1.05rem;
  font-size: 0.875rem;
  border-radius: 0.55rem;
}

.btn-storedesk.btn-lg,
.btn-storedesk-outline.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.08rem;
  border-radius: 0.75rem;
}

.cta-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.cta-group .btn {
  flex: 0 0 auto;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  white-space: nowrap;
  min-height: 2.55rem;
  height: 2.55rem;
  padding: 0 0.65rem;
  font-size: 0.75rem;
  line-height: 1;
  border-radius: 0.55rem;
  border-width: 1.5px;
  border-style: solid;
}

.cta-group .btn.btn-lg {
  min-height: 2.55rem;
  height: 2.55rem;
  padding: 0 0.65rem;
  font-size: 0.75rem;
}

.cta-group .btn-storedesk {
  border-color: transparent;
  animation: cta-pulse 2.8s ease-in-out infinite;
}

.cta-group .btn-storedesk-outline {
  border-color: rgba(18, 44, 68, 0.28);
}

.cta-group .btn i {
  flex-shrink: 0;
  font-size: 0.9em;
  line-height: 1;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(17, 110, 248, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
  50% { box-shadow: 0 10px 26px rgba(17, 110, 248, 0.34), 0 0 0 4px rgba(17, 110, 248, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
}

@media (prefers-reduced-motion: reduce) {
  .cta-group .btn-storedesk { animation: none; }
  .btn-storedesk::before { display: none; }
  .landing-hero-stage::before,
  .section-block.has-bg::before {
    animation: none;
    transform: none;
  }
}

/* Box abbastanza largo: un filo più comodi, restano in riga */
@container hero-copy (min-width: 540px) {
  .cta-group {
    gap: 0.55rem;
  }

  .cta-group .btn,
  .cta-group .btn.btn-lg {
    min-height: 2.75rem;
    height: 2.75rem;
    padding: 0 0.9rem;
    font-size: 0.84rem;
  }
}

/* Box stretto: tutti e tre a capo, restano dentro al card */
@container hero-copy (max-width: 539px) {
  .cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .cta-group .btn,
  .cta-group .btn.btn-lg {
    width: 100%;
    min-height: 2.7rem;
    height: 2.7rem;
    font-size: 0.88rem;
    padding: 0 1rem;
  }
}

.landing-hero-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: none;
}

.landing-hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url(/assets/img/landing/hero-shop.jpg) center / cover no-repeat;
  transform: scale(1.06);
  animation: hero-kenburns 28s ease-in-out infinite alternate;
}

.landing-hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(10, 22, 40, 0.22) 0%, rgba(10, 22, 40, 0.08) 45%, rgba(10, 22, 40, 0.12) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(10, 22, 40, 0.18) 100%);
}

@keyframes hero-kenburns {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}

.landing-hero {
  padding: 4rem 0 3.5rem;
  position: relative;
}

.landing-hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0a1628;
  text-shadow: none;
}

.landing-hero .lead {
  font-size: 1.12rem;
  color: #243447;
  max-width: 560px;
  font-weight: 500;
  text-shadow: none;
}

.landing-hero .col-lg-6:first-child {
  padding: 1.4rem 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 42px rgba(10, 22, 40, 0.18);
  min-width: 0;
  container-type: inline-size;
  container-name: hero-copy;
}

.stat-pill {
  display: inline-block;
  background: rgba(17, 110, 248, 0.14);
  color: #0a1628;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0.2rem 0.2rem 0.2rem 0;
  border: 1px solid rgba(17, 110, 248, 0.22);
}

/* Evita testo troppo sbiadito sopra le foto */
.landing-storedesk .opacity-85,
.landing-storedesk .opacity-75,
.landing-storedesk .text-muted {
  opacity: 1 !important;
  color: #2a3b4d !important;
}

.landing-mockup {
  background: var(--storedesk-surface);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 24px 64px rgba(18, 44, 68, 0.14);
  color: #333;
  border: 1px solid var(--storedesk-border);
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.landing-mockup .mock-header {
  background: linear-gradient(135deg, var(--storedesk-primary) 0%, var(--storedesk-teal) 100%);
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  min-width: 0;
  gap: 0.5rem;
  border: 0;
  box-shadow: none;
}

.landing-mockup .mock-header > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.landing-mockup .mock-header img {
  height: 20px;
  width: 20px;
  max-width: 20px;
  object-fit: contain;
  flex-shrink: 0;
  padding: 5px;
  box-sizing: content-box;
  background: #fff;
  border-radius: 0.4rem;
}

.landing-mockup__kpis {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.landing-mockup__kpi {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  padding: 0.55rem 0.25rem;
  background: #f5f8fc;
  border-radius: 0.5rem;
  box-sizing: border-box;
}

.landing-mockup__kpi-value {
  font-weight: 700;
  font-size: clamp(0.85rem, 3.6vw, 1.2rem);
  line-height: 1.15;
}

.landing-mockup__kpi-label {
  font-size: clamp(0.6rem, 2.6vw, 0.75rem);
  color: #2a3b4d;
  line-height: 1.15;
  margin-top: 0.15rem;
}

.landing-mockup__foot {
  margin-top: 0.75rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--storedesk-border);
  border-radius: 0.5rem;
  font-size: 0.82rem;
  color: #2a3b4d;
}

.landing-cashback-teaser {
  margin-bottom: 0.85rem;
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(135deg, #03918f 0%, #0a7a78 48%, #116ef8 100%);
  box-shadow:
    0 10px 28px rgba(3, 145, 143, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #fff;
  animation:
    cashback-rise 0.6s ease-out both,
    cashback-glow 4.5s ease-in-out 0.6s infinite;
}

.landing-cashback-teaser__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.landing-cashback-teaser__badge {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.landing-cashback-teaser__copy {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.landing-cashback-teaser__amount {
  flex-shrink: 0;
  text-align: right;
  line-height: 1.05;
}

.landing-cashback-teaser__euro {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.landing-cashback-teaser__hint {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0.2rem;
  max-width: 7.5rem;
  margin-left: auto;
}

.landing-cashback-teaser__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.95rem;
  border-radius: 0.55rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--storedesk-navy) !important;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-cashback-teaser__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  color: var(--storedesk-primary) !important;
  text-decoration: none;
}

@keyframes cashback-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cashback-glow {
  0%, 100% {
    box-shadow:
      0 10px 28px rgba(3, 145, 143, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }
  50% {
    box-shadow:
      0 14px 32px rgba(3, 145, 143, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-cashback-teaser {
    animation: none;
  }
}

.landing-hero-logo {
  height: 56px;
  width: auto;
  margin-bottom: 1.25rem;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.35rem 0.6rem;
  box-shadow: 0 4px 16px rgba(18, 44, 68, 0.08);
}

.landing-video {
  max-width: 920px;
  margin: 2rem auto 0;
}

.landing-video__frame {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #122c43;
  aspect-ratio: 16 / 9;
}

.landing-video__cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #122c43;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.landing-video__frame.is-playing .landing-video__cover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.landing-video__cover-logo {
  width: min(280px, 55%);
  height: auto;
}

.landing-video__cover-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 700;
  text-align: center;
  max-width: 22rem;
}

.landing-video__cover-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 68px;
  height: 68px;
  min-width: 68px;
  min-height: 68px;
  max-width: 68px;
  max-height: 68px;
  padding: 0;
  margin-top: 0.35rem;
  border: 0;
  border-radius: 100px;
  background: var(--storedesk-teal, #03918f);
  color: #fff;
  font-size: 1.5rem;
  line-height: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.landing-video__cover-play:hover,
.landing-video__cover-play:focus-visible {
  transform: scale(1.06);
  outline: none;
}

.landing-video__cover-play i {
  margin-left: 0.15rem;
}

.landing-video__player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  vertical-align: top;
  background: #122c43;
}

.landing-video__caption a {
  color: var(--storedesk-teal, #03918f);
  text-decoration: none;
  font-weight: 600;
}

.landing-video__caption a:hover {
  text-decoration: underline;
}

.landing-footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 0.75rem;
  border-radius: 0.35rem;
}

.section-block {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.5rem 0;
  background: var(--storedesk-bg);
  border: none;
}

/* Sezione “Come funziona per il proprietario” — dopo .section-block per vincere sul background */
.section-block.section-owner-how {
  background: #122c43;
}

.section-block.section-owner-how .section-title {
  color: #fff;
}

.section-block.section-owner-how .section-lead {
  color: #c5d0db;
}

.section-block.section-owner-how .landing-video__caption {
  color: #a8b6c5;
}

.section-block.section-owner-how .landing-video__caption a {
  color: #5ed4d1;
}

.section-block.section-owner-how .landing-video__caption a:hover {
  color: #fff;
}

.section-block.alt {
  background: #f5f8fc;
}

.section-block.section-tone {
  background: linear-gradient(
    180deg,
    #e4eefb 0%,
    var(--storedesk-blue-soft) 40%,
    #e8f1fb 100%
  );
}

.section-block.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: section-drift 32s ease-in-out infinite alternate;
}

.section-block.has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    160deg,
    rgba(238, 243, 249, 0.72) 0%,
    rgba(219, 234, 254, 0.55) 45%,
    rgba(238, 243, 249, 0.78) 100%
  );
}

.section-block.bg-pos::before {
  background-image: url(/assets/img/landing/section-pos.jpg);
}

@keyframes section-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(1%, -0.8%, 0); }
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--storedesk-navy);
  display: inline-block;
  padding: 0;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
}

.section-lead {
  color: var(--storedesk-muted);
  max-width: 680px;
  margin-bottom: 2rem;
  font-weight: 500;
  padding: 0;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
}

.section-block.has-bg .section-title {
  padding: 0.4rem 0.75rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(18, 44, 68, 0.08);
}

.section-block.has-bg .section-lead {
  padding: 0.65rem 0.9rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 14px rgba(18, 44, 68, 0.06);
}

.desc-card,
.feature-card,
.contact-card,
.price-card,
.legal-card {
  background: var(--storedesk-surface);
  border: 1px solid var(--storedesk-border);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 4px 18px rgba(18, 44, 68, 0.06);
}

.section-block.has-bg .feature-card {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(18, 44, 68, 0.1);
  backdrop-filter: blur(6px);
}

.desc-card h5,
.feature-card h5,
.contact-card h5,
.price-card h5 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
  color: #0a1628;
  font-weight: 700;
}

.desc-card p,
.feature-card p,
.contact-card p {
  font-size: 0.92rem;
  color: #2a3b4d;
  margin: 0;
  font-weight: 500;
}

.desc-card i,
.feature-card i {
  font-size: 1.5rem;
  color: var(--storedesk-teal);
  margin-bottom: 0.75rem;
  display: block;
}

.feature-card { transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.feature-card:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(18, 44, 68, 0.1);
}
.feature-card i { font-size: 2rem; margin-bottom: 1rem; }

.contact-card { padding: 1.75rem; }
.contact-visual {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 4px 18px rgba(18, 44, 68, 0.06);
}
.contact-card i {
  color: var(--storedesk-teal);
  font-size: 1.35rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.contact-card .btn i {
  color: inherit;
  font-size: 1em;
  margin-right: 0;
  vertical-align: unset;
}

.contact-card a:not(.btn) {
  color: var(--storedesk-primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(17, 110, 248, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-card a:not(.btn):hover {
  color: var(--storedesk-teal);
  border-bottom-color: var(--storedesk-teal);
}

.contact-card .form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0a1628;
}

.contact-card .form-control,
.contact-card .input-group-text {
  border-color: var(--storedesk-border);
}

.contact-card .form-control.is-invalid,
.contact-card .form-check-input.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.18);
}

.contact-card .input-group.is-invalid .form-control,
.contact-card .input-group.is-invalid .input-group-text {
  border-color: #dc3545;
}

.contact-card .input-group.is-invalid .form-control {
  box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.18);
}

.contact-card .invalid-feedback {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #dc3545;
}

.contact-card .invalid-feedback.d-block {
  display: block;
}

.contact-card .form-check .invalid-feedback {
  margin-left: 0;
}

.contact-verify {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-verify-img {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.contact-verify-img img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0.55rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  cursor: pointer;
  background: #e8f8f7;
}

.contact-verify.is-invalid .form-control {
  border-color: #dc3545;
}

.contact-feedback {
  min-height: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-feedback.is-success {
  color: #0f5132;
  background: #d1e7dd;
  border: 1px solid #badbcc;
  border-radius: 0.55rem;
  padding: 0.75rem 0.9rem;
}

.contact-feedback.is-error {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f5c2c7;
  border-radius: 0.55rem;
  padding: 0.75rem 0.9rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  text-align: center;
  padding: 2rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 44, 68, 0.12);
}

.price-card.featured {
  border-color: rgba(17, 110, 248, 0.35);
  box-shadow: 0 16px 40px rgba(17, 110, 248, 0.14);
  background: linear-gradient(180deg, #fff 0%, #f0f6ff 100%);
}

.price-card .price-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--storedesk-navy);
  line-height: 1;
  margin: 0.75rem 0 0.25rem;
}

.price-card .price-period {
  color: var(--storedesk-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  flex: 1 1 auto;
}

.price-card .btn {
  margin-top: auto;
}

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--storedesk-muted);
  font-size: 0.92rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(18, 44, 68, 0.06);
  line-height: 1.35;
}

.price-card li::before {
  content: "✓";
  flex: 0 0 1rem;
  width: 1rem;
  color: var(--storedesk-teal);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.price-badge {
  display: inline-block;
  background: rgba(17, 110, 248, 0.12);
  color: var(--storedesk-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 2rem;
}

.addon-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--storedesk-border);
  border-radius: 0.75rem;
  background: var(--storedesk-surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.addon-card__price {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 1;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.2;
  padding: 0.35rem 0.75rem;
}

.addon-card h3 {
  padding-right: 4.5rem;
}

.addon-card__meta {
  padding-right: 4.5rem;
}

.addon-card__footer {
  margin-top: auto;
  padding-top: 1rem;
}

.addon-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18, 44, 68, 0.1);
}

.addon-card.featured {
  padding: 1.5rem 1.5rem 1.6rem;
  overflow: hidden;
}

.addon-card.featured::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 0.75rem 0 0 0.75rem;
}

/* Vantaggio / guadagno */
.addon-card.benefit {
  border-color: rgba(3, 145, 143, 0.4);
  background: linear-gradient(165deg, #fff 0%, #e8faf9 55%, #f0f6ff 100%);
  box-shadow: 0 14px 36px rgba(3, 145, 143, 0.16);
}

.addon-card.benefit::before {
  background: linear-gradient(180deg, var(--storedesk-teal), var(--storedesk-primary));
}

.price-badge.badge-benefit {
  background: rgba(3, 145, 143, 0.14);
  color: var(--storedesk-teal);
}

/* Costo / servizio a pagamento */
.addon-card.cost {
  border-color: rgba(18, 44, 68, 0.18);
  background: linear-gradient(165deg, #fff 0%, #f4f7fb 60%, #eef3f9 100%);
  box-shadow: 0 10px 28px rgba(18, 44, 68, 0.1);
}

.addon-card.cost::before {
  background: linear-gradient(180deg, var(--storedesk-navy), var(--storedesk-primary));
}

.price-badge.badge-cost {
  background: rgba(18, 44, 68, 0.1);
  color: var(--storedesk-navy);
}

.legal-page {
  padding: 3rem 0 4rem;
}

.legal-card {
  padding: 2rem 2.25rem;
  max-width: 860px;
  margin: 0 auto;
}

.legal-card h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--storedesk-navy);
  margin-bottom: 0.5rem;
}

.legal-card .legal-meta {
  color: var(--storedesk-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.legal-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--storedesk-navy);
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.legal-card p,
.legal-card li {
  color: var(--storedesk-muted);
  line-height: 1.65;
}

.legal-card ul { padding-left: 1.2rem; }

.landing-footer {
  position: relative;
  padding: 2rem 0;
  border-top: none;
  font-size: 0.9rem;
  color: var(--storedesk-muted);
  background: #f5f8fc;
}

.landing-footer a {
  color: var(--storedesk-muted);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease;
}

.landing-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--storedesk-primary), var(--storedesk-teal));
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.landing-footer a:hover { color: var(--storedesk-navy); }
.landing-footer a:hover::after { transform: scaleX(1); }

/* Footer multi-colonna (come Forbik / SalonePro landing) */
.landing-footer.landing-footer--rich {
  background: #080d16;
  color: #8896a7;
  text-align: left;
  padding: 4rem 0 2rem;
}

.landing-footer.landing-footer--rich a {
  color: #8896a7;
  font-weight: 500;
}

.landing-footer.landing-footer--rich a:hover {
  color: #fff;
}

.landing-footer.landing-footer--rich a::after {
  display: none;
}

.landing-footer .lh-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.lh-footer-grid {
  display: grid;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #162032;
}

@media (min-width: 992px) {
  .lh-footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  }
}

.lh-footer-brand img,
.lh-footer-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(220px, 100%);
  object-fit: contain;
  margin-bottom: 1rem;
  /* Niente invert: è già la variante chiara (Store bianco + Desk blu) */
  filter: none;
}

.lh-footer-brand p {
  max-width: 18rem;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.lh-footer-mail {
  display: inline-block;
  margin-top: 1rem;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
}

.lh-footer-mail:hover {
  color: var(--storedesk-teal) !important;
}

.lh-os-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  background: #0f1e2e;
  border: 1px solid #1e3048;
  border-radius: 0.5rem;
  padding: 0.4rem 0.75rem;
  font-size: 11px;
  color: #6b8ba4;
  font-weight: 500;
}

.lh-os-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.lh-footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4b6080;
  margin: 0 0 1.25rem;
}

.lh-footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 0.9rem;
}

.lh-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 12px;
  color: #4b6080;
}

.lh-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.lh-footer-legal a {
  color: #4b6080;
  font-size: 12px;
}

.lh-footer-legal a:hover {
  color: #fff;
}

.navbar-toggler {
  border: 1px solid rgba(18, 44, 68, 0.25);
  padding: 0.35rem 0.55rem;
  box-shadow: none;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
  outline: none;
  box-shadow: none;
  border-color: rgba(18, 44, 68, 0.25);
}

.navbar-toggler:focus-visible {
  box-shadow: 0 0 0 2px rgba(17, 110, 248, 0.28);
  border-color: var(--storedesk-primary);
}

.navbar-toggler-icon {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(18, 44, 68, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 1199.98px) {
  /* ── Drawer mobile da destra ─────────────────────────────────── */

  /* Il drawer viene spostato nel <body> solo sotto i 1200px (site-nav.js)
     per uscire dallo stacking context dell'header (backdrop-filter). */
  .landing-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 78vw;
    max-width: 340px;
    z-index: 1055;
    background: #fff;
    margin: 0;
    padding: 1rem 1.5rem 2rem;
    border-left: 1px solid var(--storedesk-border);
    box-shadow: -8px 0 32px rgba(18, 44, 68, 0.18);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(105%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
  }

  .landing-drawer.drawer-open {
    transform: translateX(0);
    visibility: visible;
  }

  /* Overlay scuro */
  #drawerOverlay {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(18, 44, 68, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
  }
  #drawerOverlay.overlay-visible {
    opacity: 1;
  }

  /* Header del drawer: X in alto a sinistra */
  .drawer-close {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 0.75rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid var(--storedesk-border);
    flex-shrink: 0;
  }
  .drawer-close-btn {
    background: none;
    border: 1.5px solid rgba(18, 44, 68, 0.25);
    padding: 0.25rem 0.1rem;
    cursor: pointer;
    color: var(--storedesk-navy);
    opacity: 0.7;
    line-height: 1;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
  }
  .drawer-close-btn:hover { opacity: 1; background: rgba(18,44,68,0.06); border-color: rgba(18,44,68,0.45); }

  /* Nav links nel drawer */
  .landing-drawer .navbar-nav {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100%;
  }

  .landing-drawer .nav-item {
    width: 100%;
  }

  .landing-drawer .nav-link {
    display: block !important;
    width: 100%;
    text-align: left !important;
    padding: 0.85rem 0 !important;
    border-bottom: none !important;
    font-size: 1rem !important;
    font-weight: 500;
    color: var(--storedesk-navy) !important;
    background: none !important;
    border-radius: 0 !important;
  }
  .landing-drawer .nav-link::after { display: none !important; }

  /* Azioni nel drawer — spingono in fondo */
  .landing-drawer .nav-actions {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-self: stretch;
    width: 100%;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--storedesk-border);
  }
  .landing-drawer .nav-actions .btn { width: 100%; text-align: center; }

  /* Il .drawer-close deve stare a sinistra e occupare la larghezza per il bordo */
  .landing-drawer .drawer-close {
    align-self: stretch;
  }
}

@media (max-width: 991.98px) {
  .landing-hero {
    padding: 2.25rem 0 2.5rem;
  }

  .landing-hero .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 1.25rem;
    margin-left: 0;
    margin-right: 0;
  }

  .landing-hero .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
    flex: 0 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: clip;
  }

  .landing-hero .col-lg-6:first-child {
    padding: 1.1rem 1.15rem;
  }

  .landing-cashback-teaser,
  .landing-mockup {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
    contain: inline-size;
  }

  .landing-cashback-teaser {
    margin-bottom: 1rem;
    padding: 1rem;
  }

  .landing-cashback-teaser__top {
    flex-wrap: wrap;
    align-items: center;
  }

  .landing-cashback-teaser__badge {
    font-size: 0.82rem;
  }

  .landing-cashback-teaser__euro {
    font-size: 1.75rem;
  }

  .landing-cashback-teaser__hint {
    max-width: none;
  }

  .landing-cashback-teaser__copy {
    overflow-wrap: anywhere;
  }

  .landing-cashback-teaser__link {
    width: 100%;
  }

  .landing-mockup .mock-header {
    font-size: 0.85rem;
    gap: 0.5rem;
  }

  .landing-mockup .mock-header > .small {
    display: none;
  }

  .landing-mockup__kpis {
    display: flex;
    gap: 0.35rem;
    width: 100%;
    min-width: 0;
  }

  .landing-mockup__kpi {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.45rem 0.2rem;
    overflow: hidden;
  }

  .landing-mockup__kpi-value {
    font-size: 0.95rem;
  }

  .landing-mockup__kpi-label {
    font-size: 0.62rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .landing-mockup__foot {
    font-size: 0.75rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
}

.brochure-page {
  padding: 2rem 0 3rem;
  min-height: calc(100vh - 10rem);
}

.brochure-page__frame {
  background: #122c43;
  border-radius: 1rem;
  overflow: hidden;
  min-height: min(78vh, 920px);
  height: min(78vh, 920px);
}

.brochure-page__embed {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

@media (max-width: 767.98px) {
  .brochure-page {
    padding: 1.25rem 0 2rem;
  }

  .brochure-page__frame {
    min-height: 70vh;
    height: 70vh;
    border-radius: 0.75rem;
  }

  .landing-cashback-teaser__amount {
    text-align: left;
  }

  .landing-cashback-teaser__hint {
    margin-left: 0;
  }

  #piani-grid > [class*="col-"],
  .section-block .row > .col-12 {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  #piani-grid .price-card,
  .section-block .addon-card {
    width: 100%;
    max-width: 100%;
  }
}

/* Avviso cookie (vetrina) */
.site-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  padding: 0.85rem 1rem;
  background: rgba(18, 44, 68, 0.96);
  color: #f4f7fb;
  box-shadow: 0 -8px 28px rgba(18, 44, 68, 0.22);
  transform: translateY(0);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.site-notice.is-hiding {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.site-notice__inner {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}

.site-notice__text {
  margin: 0;
  width: 100%;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(244, 247, 251, 0.92);
  text-align: left;
}

.site-notice__text a {
  color: #9ec5ff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-notice__text a:hover {
  color: #fff;
}

.site-notice__btn {
  flex: 0 0 auto;
  align-self: flex-end;
  min-width: 7.5rem;
}


/* —— Pagina manutenzione (offline) —— */
.maintenance-page {
  margin: 0;
  min-height: 100vh;
  color: #fff;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.maintenance-stage {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  overflow: hidden;
}

.maintenance-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url(/assets/img/landing/hero-shop.jpg) center / cover no-repeat;
  transform: scale(1.06);
  animation: hero-kenburns 28s ease-in-out infinite alternate;
}

.maintenance-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(10, 22, 40, 0.55) 0%, rgba(10, 22, 40, 0.42) 45%, rgba(10, 22, 40, 0.58) 100%),
    linear-gradient(180deg, rgba(10, 22, 40, 0.25) 0%, rgba(10, 22, 40, 0.55) 100%);
}

.maintenance-card {
  width: min(34rem, 100%);
  text-align: center;
}

.maintenance-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(280px, 80vw);
  margin: 0 auto 1.5rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.maintenance-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.maintenance-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.maintenance-text {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

@media (prefers-reduced-motion: reduce) {
  .maintenance-stage::before {
    animation: none;
    transform: none;
  }
}
