/* Stili ricostruiti dalla pagina originale. Colori e spaziature seguono
   la pagina Lovable; le immagini di sfondo decorative sono gli asset
   originali. Vedi BUILD_NOTES.md. */

:root {
  --cream: #fdf0cd;
  --cream-soft: #fff7e0;
  --cream-card: #fff6dc;
  --white: #ffffff;
  --cyan: #d2eff9;
  --cyan-soft: #e4f6fc;
  --red: #e8262f;
  --red-dark: #c8161f;
  --brown: #3a2013;
  --brown-soft: #5a4636;
  --green-dark: #146b38;
  --green-dark-hover: #0f5429;
  --green: #1fa34a;
  --green-hover: #178a3c;
  --gold: #f2b705;
  --yellow: #ffd23f;
  --orange: #f97316;
  --border-tan: #ead9ae;
  --shadow: 0 10px 30px rgba(58, 32, 19, 0.12);
  --radius: 24px;
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

/* L'attributo hidden deve sempre nascondere l'elemento, anche quando la
   classe definisce display (es. overlay e lightbox usano display:flex). */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--brown-soft);
  background: var(--cream);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--brown);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 600;
  text-align: center;
}

p {
  margin: 0 0 1em;
}

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

a {
  color: var(--green-dark);
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 820px;
}

.center {
  text-align: center;
}

.text-red {
  color: var(--red);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brown);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  color: #fff;
}

section {
  padding: 56px 0;
}

.section-white {
  background: var(--white);
}

.section-cream {
  background: var(--cream);
}

.section-cyan {
  background: var(--cyan);
}

.section-intro {
  text-align: center;
  font-size: 1.15rem;
}

/* Le ancore non devono finire sotto la barra fissa quando si scorre. */
section[id] {
  scroll-margin-top: 64px;
}

/* Barra superiore */
.topbar {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar p {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.topbar-today {
  color: #ffc4c4;
}

/* Pulsanti */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border-radius: 999px;
  padding: 16px 32px;
  cursor: pointer;
  border: none;
  font-size: 1.05rem;
  line-height: 1.3;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-large {
  font-size: 1.15rem;
  padding: 18px 38px;
}

@keyframes cta-pulse {
  0%,
  100% {
    scale: 1;
  }
  50% {
    scale: 1.035;
  }
}

.btn-cta {
  animation: cta-pulse 2.2s ease-in-out infinite;
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 0 var(--red-dark), 0 12px 24px rgba(232, 38, 47, 0.3);
}

.btn-red:hover {
  background: #f2333c;
  color: #fff;
}

.btn-dark-green {
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 6px 18px rgba(20, 107, 56, 0.35);
}

.btn-dark-green:hover {
  background: var(--green-dark-hover);
  color: #fff;
}

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(31, 163, 74, 0.35);
}

.btn-green:hover {
  background: var(--green-hover);
  color: #fff;
}

.btn-outline-green {
  background: #fff;
  color: var(--green-dark);
  border: 3px solid var(--green-dark);
}

.btn-outline-green:hover {
  background: #eef8f0;
}

.btn-plan {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 96px;
  background: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  opacity: 0.9;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.hero-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 700;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--brown-soft);
}

.hero-pills {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-pills li {
  background: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brown);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(58, 32, 19, 0.08);
}

.pill-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-price {
  margin-top: 18px;
  font-weight: 600;
  color: var(--brown);
}

.hero-trust {
  font-size: 0.95rem;
}

.hero-media {
  position: sticky;
  top: 72px;
}

.video-frame {
  border: 5px solid #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 9 / 16;
  max-width: 400px;
  margin: 0 auto;
  background: #000;
  position: relative;
}

.video-facade {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
  position: relative;
}

.video-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.video-play svg {
  width: 80px;
  height: 80px;
  padding: 18px;
  border-radius: 50%;
  background: var(--red);
  fill: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}

.video-facade:hover .video-play svg {
  transform: scale(1.1);
}

.video-watch {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--brown);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 7px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-caption {
  background: #fff;
  border-radius: 20px;
  padding: 18px 22px;
  margin-top: 20px;
  font-size: 0.98rem;
  text-align: center;
  color: var(--brown);
  box-shadow: var(--shadow);
}

/* Fascia animata dei benefici */
.benefits-marquee {
  background: var(--gold);
  overflow: hidden;
  padding: 12px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee-set {
  display: flex;
  gap: 48px;
  padding-right: 48px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brown);
  font-size: 1rem;
}

/* Pubblico ideale / non ideale */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.audience-box {
  background: var(--cream-soft);
  border: 2px solid var(--border-tan);
  border-radius: var(--radius);
  padding: 28px;
}

.audience-box h2 {
  font-size: 1.4rem;
  text-align: left;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

/* Galleria */
.gallery {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.gallery-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  opacity: 0.9;
  pointer-events: none;
}

.gallery-inner {
  position: relative;
  z-index: 1;
}

.gallery-layout {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 8px;
}

.gallery-featured {
  margin: 0;
}

.gallery-featured-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 5px solid #fff;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: #fff;
  box-shadow: var(--shadow);
}

.gallery-featured-btn img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Le etichette arancioni con il nome del progetto sono già disegnate
   dentro le immagini originali della galleria: nessuna etichetta HTML. */

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-thumb {
  position: relative;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 4px 14px rgba(58, 32, 19, 0.1);
  aspect-ratio: 1 / 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover {
  border-color: var(--gold);
}

.gallery-thumb.is-active {
  border-color: var(--red);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(24, 12, 5, 0.88);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-dialog {
  position: relative;
  width: min(920px, 94vw);
}

.lightbox-figure {
  margin: 0;
}

.lightbox-figure img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 16px;
  margin: 0 auto;
}

.lightbox-figure figcaption {
  text-align: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  padding-top: 14px;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 2;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  background: #fff;
  color: var(--brown);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  line-height: 1;
}

.lightbox-close {
  top: 16px;
  right: 20px;
  width: 48px;
  height: 48px;
  font-size: 1.9rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 2rem;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-counter {
  position: fixed;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-weight: 700;
  margin: 0;
}

/* Elenco progetti */
.project-chips {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.project-chips li {
  background: #fff;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  color: var(--brown);
  box-shadow: 0 4px 14px rgba(58, 32, 19, 0.08);
}

.project-chips li.chip-highlight {
  background: var(--red);
  color: #fff;
}

/* FAQ */
.faq-mark {
  color: var(--red);
}

.faq-item {
  background: var(--cream-card);
  border: 2px solid var(--border-tan);
  border-radius: 24px;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item.is-open {
  border-color: var(--red);
}

.faq-item h3 {
  margin: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown);
  padding: 20px 24px;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--brown);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  content: "\00d7";
}

.faq-answer {
  padding: 0 24px 22px;
}

.faq-answer p {
  margin: 0;
}

.faq-cta {
  margin-top: 32px;
}

/* Carosello conversazioni */
.testimonials-note {
  text-align: center;
  color: var(--brown-soft);
  font-size: 0.95rem;
  margin-top: -6px;
}

.carousel {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.carousel:focus {
  outline: none;
}

.carousel:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 6px;
  border-radius: 24px;
}

.carousel-viewport {
  overflow: hidden;
  padding: 10px 0;
}

.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 auto;
  width: min(340px, 78vw);
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  opacity: 0.5;
  transform: scale(0.88);
  transition: opacity 0.3s ease, transform 0.45s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.carousel-slide img {
  border-radius: 14px;
  width: 100%;
  height: 460px;
  object-fit: contain;
  background: #fff;
  margin: 0 auto;
}

.carousel-slide figcaption {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brown);
  font-size: 1.15rem;
  padding-top: 12px;
}

.carousel-arrow {
  position: absolute;
  top: 250px;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--brown);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(58, 32, 19, 0.25);
}

.carousel-prev {
  left: 6px;
}

.carousel-next {
  right: 6px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.carousel-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.carousel-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  background: #e8d9b0;
  cursor: pointer;
  padding: 0;
  transition: width 0.25s ease, background 0.25s ease;
}

.carousel-dot.is-active {
  width: 30px;
  border-radius: 999px;
  background: var(--red);
}

.carousel-status {
  text-align: center;
  font-weight: 600;
  margin-top: 12px;
}

/* Garanzia */
.guarantee-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  gap: 32px;
  align-items: center;
}

.guarantee-card h2 {
  text-align: left;
}

.guarantee-seal {
  width: 100%;
}

.guarantee-simple {
  color: var(--green-dark);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0;
}

/* Bonus */
.bonus-kicker {
  text-align: center;
  margin-bottom: 8px;
}

.bonus-kicker-pill {
  display: inline-block;
  background: var(--yellow);
  color: var(--brown);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 10px 24px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(58, 32, 19, 0.1);
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.bonus-grid-small {
  grid-template-columns: repeat(4, 1fr);
}

.bonus-card {
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  color: #fff;
}

.bonus-card img {
  width: 132px;
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.bonus-body {
  min-width: 0;
}

.bonus-body h3 {
  color: #fff;
  font-size: 1.3rem;
}

.bonus-body p:last-child {
  margin-bottom: 0;
}

.bonus-green {
  background: #1ea446;
}

.bonus-blue {
  background: #1f7ad6;
}

.bonus-purple {
  background: #8a5cf6;
}

.bonus-teal {
  background: #0e9f8a;
}

.bonus-orange {
  background: #f59e0b;
}

.bonus-grid > .bonus-card:last-child {
  grid-column: 1 / -1;
  width: min(100%, 560px);
  justify-self: center;
}

.bonus-card-small {
  display: block;
  background: #fff;
  color: var(--brown-soft);
  text-align: center;
  padding: 20px;
}

.bonus-card-small img {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 14px;
  box-shadow: none;
}

.bonus-card-small h3 {
  font-size: 1.2rem;
}

.bonus-label {
  font-weight: 700;
  margin-bottom: 6px;
}

.bonus-card-small .bonus-label {
  color: var(--brown);
}

.bonus-value {
  margin-bottom: 6px;
}

.bonus-card-small .bonus-value {
  color: #8a8a8a;
}

.bonus-included {
  display: inline-block;
  background: #fff;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 999px;
}

.bonus-card-small .bonus-included {
  background: var(--green);
  color: #fff;
}

.bonus-more-title {
  text-align: center;
  font-size: 1.6rem;
  margin-top: 48px;
}

/* Piani */
.pricing-summary {
  background: var(--cream-card);
  border: 2px solid #f0d48a;
  border-radius: 20px;
  padding: 20px 24px;
  max-width: 720px;
  margin: 8px auto 0;
  text-align: center;
}

.pricing-total {
  margin-bottom: 2px;
}

.pricing-today {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brown);
  font-size: 1.45rem;
  margin-bottom: 2px;
}

.pricing-sub {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
  align-items: stretch;
}

.plan-card {
  background: #fff;
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.plan-base {
  border: 3px solid #e2ddd2;
}

.plan-premium {
  border: 4px solid var(--gold);
  box-shadow: 0 16px 40px rgba(58, 32, 19, 0.16);
}

.plan-card h3 {
  font-size: 1.5rem;
}

.plan-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--brown);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 8px 22px;
  border-radius: 999px;
  margin: 0;
  white-space: nowrap;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0;
  line-height: 1.1;
}

.plan-old-price {
  font-size: 1.3rem;
  color: var(--brown-soft);
  font-weight: 500;
}

.plan-payment {
  color: var(--brown-soft);
}

.plan-price-box {
  background: var(--cream-soft);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.plan-save {
  color: var(--green-dark);
  font-weight: 700;
  margin-bottom: 4px;
}

.plan-plus {
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0;
}

.plan-lead {
  font-weight: 600;
  color: var(--brown);
}

.plan-features {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.plan-features li {
  padding-left: 30px;
  position: relative;
}

.plan-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

.plan-excluded {
  text-align: center;
  font-size: 0.95rem;
  color: #c0392b;
  font-weight: 600;
}

.plan-chips {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-chips li {
  border: 2px solid var(--border-tan);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown);
}

.plan-expander {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown);
  padding: 8px 4px;
}

.expander-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.plan-expander[aria-expanded="true"] .expander-arrow {
  transform: rotate(180deg);
}

.plan-bonus-list {
  background: var(--cream-soft);
  border-radius: 16px;
  padding: 16px 20px;
  text-align: left;
  margin-bottom: 16px;
}

.plan-bonus-list p {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.plan-bonus-list p:last-child {
  margin-bottom: 0;
}

.plan-bonus-bar {
  background: var(--yellow);
  color: var(--brown);
  font-weight: 800;
  text-align: center;
  border-radius: 999px;
  padding: 12px 16px;
}

.plan-more {
  text-align: center;
}

.plan-footnote {
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.plan-includes {
  text-align: center;
  font-size: 0.9rem;
  color: var(--brown-soft);
  margin-top: 8px;
  margin-bottom: 0;
}

/* Supporto e piè di pagina */
.support-email {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brown);
}

.footer {
  background: var(--brown);
  color: #f5e9d3;
  padding: 40px 0;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: #fff;
}

.footer-legal {
  margin-bottom: 0.6em;
}

.footer a {
  color: #ffd23f;
}

.footer p {
  margin-bottom: 0.6em;
}

.footer p:last-child {
  margin-bottom: 0;
}

/* Barra fissa di invito all'azione (solo cellulare) */
.sticky-cta {
  display: none;
}

/* Pagine legali */
.legal-main {
  background: #fff;
}

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.legal h1 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.legal p {
  font-size: 1.1rem;
}

.back-home {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 700;
  text-decoration: none;
}

.back-home:hover {
  text-decoration: underline;
}

/* Modale upsell */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58, 32, 19, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  overflow-y: auto;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  background: #fff;
  border: 3px solid var(--gold);
  border-radius: 28px;
  max-width: 460px;
  width: 100%;
  padding: 32px 28px;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  margin: auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--brown);
  padding: 6px;
}

.modal-gift {
  margin-bottom: 8px;
}

.modal-gift-circle {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 1.8rem;
}

.modal h2 {
  font-size: 1.6rem;
}

.modal-old-price {
  margin-bottom: 0;
  color: var(--brown-soft);
}

.modal-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.1;
  margin-bottom: 4px;
}

.modal-save {
  font-weight: 700;
  color: var(--brown);
}

.modal-features {
  list-style: none;
  margin: 0 auto 16px;
  padding: 0;
  display: grid;
  gap: 8px;
  text-align: left;
  max-width: 320px;
}

.modal-features li {
  padding-left: 30px;
  position: relative;
}

.modal-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

.modal-note {
  font-size: 0.95rem;
}

.modal-continue {
  color: var(--brown-soft);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-media {
    position: static;
  }

  .video-frame {
    max-width: 360px;
  }

  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .audience-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .guarantee-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .guarantee-card h2 {
    text-align: center;
  }

  .guarantee-seal {
    max-width: 340px;
    margin: 0 auto;
  }

  .bonus-grid {
    grid-template-columns: 1fr;
  }

  .bonus-grid-small {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-premium {
    margin-top: 20px;
  }

  .carousel-slide img {
    height: 420px;
  }

  .carousel-arrow {
    top: 230px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 84px;
  }

  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: #fff;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.15);
  }

  .sticky-cta .btn {
    width: 100%;
    padding: 14px 20px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 17px;
  }

  section {
    padding: 40px 0;
  }

  .hero {
    padding: 40px 0 64px;
  }

  .hero-pills {
    grid-template-columns: 1fr;
  }

  .btn,
  .btn-large {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .gallery-thumbs {
    gap: 8px;
  }

  .bonus-grid .bonus-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bonus-grid .bonus-card img {
    width: 180px;
  }

  .bonus-grid-small {
    grid-template-columns: 1fr;
  }

  .plan-price {
    font-size: 2.5rem;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .carousel-slide img {
    height: 400px;
  }

  .carousel-arrow {
    top: 220px;
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }

  .marquee-track,
  .btn-cta {
    animation: none;
  }

  .carousel-track,
  .carousel-slide {
    transition: none;
  }
}
