:root {
  --ink: #181716;
  --graphite: #252525;
  --night: #10242a;
  --teal: #173f44;
  --muted: #625f58;
  --paper: #f5f3ee;
  --surface: #fffefa;
  --mist: #dce3df;
  --warm: #e2ded5;
  --line: rgba(24, 23, 22, 0.11);
  --gold: #a98b5d;
  --gold-soft: #d8c69f;
  --copper: #9c6148;
  --blue: #173f44;
  --shadow: 0 24px 70px rgba(18, 26, 28, 0.13);
  --container: min(1180px, calc(100vw - 44px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfaf7 0%, #f1f2ee 42%, #e7ebe6 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

p {
  color: var(--muted);
  line-height: 1.75;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 0.94;
}

h2 {
font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1;
}

h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
  line-height: 1.08;
  font-weight: 600;
}

/* Nascondi il pulsante hamburger su desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--ink);
  cursor: pointer;
  padding: 0 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px max(22px, calc((100vw - 1180px) / 2));
  background: rgba(251, 250, 247, 0.86);
  border-bottom: 1px solid rgba(24, 23, 22, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--graphite), var(--night));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(16, 36, 42, 0.2);
  font-weight: 800;
}

.brand strong,
.brand small,
.brand em {
  display: block;
}

.brand strong {
  max-width: 320px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.12;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.brand em {
  margin-top: 2px;
  color: var(--copper);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: #5d625c;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta,
.button,
.contact-form button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  background: linear-gradient(145deg, var(--graphite), var(--night));
  color: #fff;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(16, 36, 42, 0.18);
}

.hero {
  position: relative;
  min-height: min(820px, calc(100vh - 76px));
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=85&w=1800");
  background-size: cover;
  background-position: center;
  filter: saturate(0.72) contrast(1.08) brightness(0.92);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 16, 17, 0.9), rgba(16, 36, 42, 0.7) 48%, rgba(16, 36, 42, 0.2)),
    linear-gradient(180deg, rgba(156, 97, 72, 0.1), rgba(10, 16, 17, 0.76));
}

.hero-content {
  width: var(--container);
  margin: 0 auto;
  padding: 112px 0 102px;
  color: #fff;
}

.kicker {
  margin: 0 0 14px;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  font-weight: 800;
}

.hero .kicker {
  color: var(--gold-soft);
}

.hero-lead {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255, 252, 246, 0.86);
  font-size: 1.12rem;
}

.page-lead {
  max-width: 710px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 820px;
  margin-top: 30px;
}

.hero-proof span {
  padding: 10px 12px;
  color: rgba(255, 252, 246, 0.86);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.button.primary {
  background: linear-gradient(135deg, #d9c79e, var(--gold));
  color: #18130e;
}

.button.light {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.trust-strip,
.section,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.trust-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: -42px;
}

.trust-strip div,
.audience-grid article,
.vision-grid article,
.path-card,
.contact-section {
  background: rgba(255, 254, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trust-strip div {
  padding: 28px;
  backdrop-filter: blur(14px);
}

.trust-strip span,
.path-label {
  display: block;
  margin-bottom: 9px;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 800;
}

.trust-strip strong {
  line-height: 1.45;
}

.section {
  padding: 108px 0;
}

.problem-section {
  padding-top: 92px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: 50px;
  align-items: center;
}

.section-copy p,
.section-head p {
  max-width: 780px;
}

.image-panel {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}

.image-panel figcaption {
  display: grid;
  gap: 8px;
  padding: 24px;
}

.rationale {
  margin-top: 28px;
  padding: 22px;
  background: rgba(220, 227, 223, 0.5);
  border: 1px solid var(--line);
  border-left: 4px solid var(--copper);
  border-radius: 8px;
}

.rationale p {
  margin: 8px 0 0;
}

.image-panel span {
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 800;
}

.muted-section {
  width: 100%;
  padding-left: max(22px, calc((100vw - 1180px) / 2));
  padding-right: max(22px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(145deg, rgba(16, 36, 42, 0.98), rgba(37, 37, 37, 0.98));
}

.muted-section .section-head {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.muted-section h2,
.muted-section h3 {
  color: #fff;
}

.muted-section p {
  color: rgba(246, 245, 239, 0.74);
}

.audience-grid,
.vision-grid,
.path-grid,
.signal-grid,
.process-timeline,
.conversion-grid,
.strategy-grid,
.copy-columns,
.ux-grid,
.mockup-board,
.platform-grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.signal-grid {
  grid-template-columns: repeat(3, 1fr);
}

.signal-grid article,
.outcome-list div {
  background: rgba(255, 254, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.signal-grid article {
  min-height: 250px;
  padding: 28px;
}

.signal-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #fff;
  background: linear-gradient(145deg, var(--teal), var(--graphite));
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
}

.audience-grid {
  width: min(1180px, 100%);
  grid-template-columns: repeat(3, 1fr);
  margin-left: auto;
  margin-right: auto;
}

.audience-grid article {
  min-height: 210px;
  padding: 28px;
  background: rgba(255, 254, 250, 0.07);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.method-section {
  padding-bottom: 84px;
}

.narrow {
  max-width: 860px;
}

.vision-grid {
  grid-template-columns: repeat(6, 1fr);
}

.vision-grid article {
  min-height: 250px;
  padding: 24px;
}

.vision-grid span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: #fff;
  background: linear-gradient(145deg, var(--teal), var(--graphite));
  border-radius: 50%;
  font-weight: 800;
}

.path-grid {
  grid-template-columns: repeat(3, 1fr);
}

.path-card {
  padding: 30px;
}

.path-card.featured {
  background:
    linear-gradient(145deg, rgba(16, 36, 42, 0.97), rgba(37, 37, 37, 0.98));
  color: #fff;
}

.path-card.featured p,
.path-card.featured li {
  color: rgba(255, 252, 246, 0.76);
}

.path-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

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

.process-timeline article,
.conversion-grid article,
.strategy-grid article,
.ux-grid article,
.mockup-board article,
.platform-grid article,
.faq-list details,
.seo-panel,
.cta-bank,
.html-structure {
  background: rgba(255, 254, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.process-timeline article,
.conversion-grid article,
.strategy-grid article,
.ux-grid article,
.mockup-board article,
.platform-grid article {
  padding: 28px;
}

.process-timeline span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #fff;
  background: linear-gradient(145deg, var(--teal), var(--graphite));
  border-radius: 50%;
  font-weight: 800;
}

.faq-section {
  padding-top: 78px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.faq-list details {
  padding: 22px 24px;
}

.faq-list summary {
  color: var(--ink);
  cursor: pointer;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 600;
}

.faq-list p {
  margin-bottom: 0;
}

.conversion-grid,
.ux-grid,
.mockup-board {
  grid-template-columns: repeat(4, 1fr);
}

.mockup-board {
  grid-template-columns: repeat(3, 1fr);
}

.mockup-board span {
  display: block;
  margin-bottom: 10px;
  color: var(--copper);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.strategy-grid {
  grid-template-columns: repeat(3, 1fr);
}

.strategy-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--copper);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.strategy-grid strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  line-height: 1.18;
  font-weight: 600;
}

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

.copy-columns article {
  padding: 30px;
  background: rgba(255, 254, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.copy-columns ol {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}

.cta-bank {
  margin-top: 16px;
  padding: 30px;
}

.cta-bank p {
  color: var(--ink);
  font-size: 1.05rem;
}

.seo-panel {
  margin-top: 32px;
  padding: 30px;
}

.seo-panel dl {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 16px 28px;
  margin: 0;
}

.seo-panel dt {
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.seo-panel dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
}

.platform-grid {
  grid-template-columns: repeat(3, 1fr);
}

.html-structure {
  margin-top: 16px;
  padding: 30px;
}

.html-structure pre {
  overflow-x: auto;
  margin: 18px 0 0;
  padding: 20px;
  background: #181716;
  color: #fffefa;
  border-radius: 8px;
  line-height: 1.55;
}

.price {
  margin: 18px 0 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 600;
}

.path-card.featured .price {
  color: #fff;
}

.path-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(23, 63, 68, 0.28);
}

.path-card.featured .path-link {
  color: var(--gold-soft);
  border-bottom-color: rgba(215, 195, 159, 0.38);
}

.outcomes-section {
  padding-top: 64px;
}

.outcome-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.outcome-list div {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px 28px;
}

.outcome-list strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.12;
  font-weight: 600;
}

.outcome-list p {
  margin: 0;
}

.pricing-section {
  padding-top: 76px;
}

.testimonials-section {
  padding-top: 78px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.testimonial-grid blockquote {
  min-height: 300px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  margin: 0;
  padding: 28px;
  background: rgba(255, 254, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.testimonial-grid p {
  margin: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.18;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.pricing-grid article {
  min-height: 330px;
  padding: 28px;
  background: rgba(255, 254, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pricing-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--copper);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pricing-note {
  max-width: 880px;
  margin: 24px 0 0;
  font-size: 0.95rem;
}

.quote-section {
  padding-top: 60px;
}

.quote-section blockquote {
  margin: 0;
  padding: 48px;
  background: linear-gradient(135deg, var(--mist), var(--warm));
  border-left: 5px solid var(--copper);
}

.quote-section p {
  max-width: 980px;
  margin: 0 0 18px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 4rem);
  line-height: 1.08;
}

cite {
  color: var(--teal);
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  padding: 46px;
  margin-bottom: 70px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.contact-details a {
  color: var(--teal);
  font-weight: 800;
  border-bottom: 1px solid rgba(23, 63, 68, 0.3);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
  border-radius: 6px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  background: linear-gradient(135deg, #d9c79e, var(--gold));
  color: #18130e;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0 42px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr;
    position: static;
  }

  .site-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .trust-strip,
  .split,
  .audience-grid,
  .signal-grid,
  .path-grid,
  .testimonial-grid,
  .pricing-grid,
  .contact-section,
  .process-timeline,
  .conversion-grid,
  .strategy-grid,
  .copy-columns,
  .ux-grid,
  .mockup-board,
  .platform-grid {
    grid-template-columns: 1fr;
  }

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

  .outcome-list div {
    grid-template-columns: 1fr;
  }

  .seo-panel dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .site-header {
    padding: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .brand {
    min-width: auto; /* Permette al logo di rimpicciolirsi se necessario */
  }

  /* Mostra il pulsante hamburger */
  .mobile-menu-toggle {
    display: block;
    order: 2; /* Lo posiziona dopo il logo */
  }

  /* Sposta la CTA su una riga separata o lasciala larga al 100% */
  .nav-cta {
    width: 100%;
    order: 4;
    margin-top: 15px;
  }

  /* Stile per il menu nascosto di default */
  .site-nav {
    display: none; /* Nascosto di base */
    flex-direction: column;
    width: 100%;
    order: 3;
    background: rgba(251, 250, 247, 0.95);
    padding: 20px 0;
    margin-top: 15px;
    text-align: center;
    border-top: 1px solid var(--line);
  }

  /* Classe aggiunta tramite JavaScript per mostrare il menu */
  .site-nav.is-open {
    display: flex;
  }

  .site-header {
    padding: 14px;
  }

  .site-nav {
    display: none;
  }

  .nav-cta,
  .button,
  .contact-form button {
    width: 100%;
  }

  .hero-proof span {
    width: 100%;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content {
    padding: 64px 0;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3.25rem);
  }

  .trust-strip {
    margin-top: 0;
  }

  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .image-panel img {
    height: 300px;
  }

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

  .quote-section blockquote,
  .contact-section {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
  }
}

.privacy-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    margin-top: 10px;
    margin-bottom: 15px;
    cursor: pointer;
}

.privacy-label input[type="checkbox"] {
    width: auto; 
    cursor: pointer;
}