:root {
  --black: #000;
  --white: #fff;
  --gray-light: #f4f4f4;
  --gray-text: #2a2a2a;
  --font-display: "Anton", "Oswald", sans-serif;
  --font-heading: "Montserrat", -apple-system, sans-serif;
  --font-body: "Lato", -apple-system, sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ========== Section bases ========== */
.section { padding: 5rem 1.25rem; }

.section-photo, .section-whatsapp {
  position: relative;
  background-color: var(--black);
  color: var(--white);
  padding: 5rem 1.25rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.section-photo .bg-photo,
.section-whatsapp .bg-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: -1;
}
.section-photo > .container,
.section-whatsapp > .container { position: relative; z-index: 1; }

.section-light { background: var(--white); padding: 5rem 1.25rem; }

/* ========== HERO ========== */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--black);
  color: var(--white);
  padding: 4rem 1.25rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero .bg-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: -1;
}
.hero.hero--dim .bg-photo { opacity: 0.35; }
.hero > * { position: relative; z-index: 1; }

.hero-logo {
  width: 142px;
  height: auto;
  margin: 0 auto 4rem;
  display: block;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 57px;
  letter-spacing: 0.015em;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero--home h1 {
  font-size: 70px;
}

.hero p, .hero h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.4;
  max-width: 900px;
  margin: 0 auto 1rem;
}
.hero p + p { font-size: 23px; }
.hero--home p { font-size: 21px; }
.hero--home p + p, .hero--home p.body-small { font-size: 16px; font-weight: 500; }
.hero p strong { font-weight: 800; }
.hero p:last-of-type { margin-bottom: 0; }
.hero .body-small {
  font-weight: 500;
  font-size: 16px;
  margin-top: 1.4rem;
  line-height: 1.5;
}
.hero p.lead-big {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.4rem;
  max-width: 1000px;
}
.hero p.lead-big strong { font-weight: 800; }
.hero p.body-small { font-size: 18px; font-weight: 500; max-width: 880px; }
.hero .btn { margin-top: 2.4rem; }

/* ========== Headings ========== */
.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 47px;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  line-height: 1.05;
}
.h-section {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.15;
}
.h-section--big {
  font-size: 39px;
}
.h-section--xl {
  font-size: 43px;
}
.h-partners {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 27px;
  text-transform: uppercase;
  line-height: 1.15;
}
.h-italic-sub {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 27px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

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

.lead {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  max-width: 880px;
  margin: 1.25rem auto 0;
  line-height: 1.5;
}
.lead--big {
  font-size: 25px;
  font-weight: 700;
  margin-top: 1.25rem;
}
.lead strong { font-weight: 700; }

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1.1rem 2.4rem;
  border-radius: 999px;
  border: 0;
  transition: opacity .25s ease;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.btn:hover { opacity: 0.85; }
.btn--dark {
  background: var(--black);
  color: var(--white);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  box-shadow: none;
  border: 2px solid var(--white);
}
.btn + .btn { margin-left: 0.75rem; }

/* ========== Logo grids ========== */
.section--logos { padding: 4.5rem 1.25rem; }
.section--logos h2 { text-align: center; }
.logo-grid {
  display: grid;
  gap: 2.25rem 2.5rem;
  align-items: center;
  justify-items: center;
  margin: 3rem auto 0;
  max-width: 1100px;
}
.logo-grid--4 { grid-template-columns: repeat(4, 1fr); }
.logo-grid--5 { grid-template-columns: repeat(5, 1fr); }
.logo-grid img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
}

/* ========== Centered CTA blocks (WhatsApp / piattaforma) ========== */
.whatsapp-cta, .cta-block { text-align: center; }
.whatsapp-cta .h-section, .cta-block .h-section { margin-bottom: 0.4rem; }
.whatsapp-cta .h-italic-sub, .cta-block .h-italic-sub { margin-bottom: 3rem; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto 2.5rem;
}
.benefit { text-align: center; }
.benefit .num-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 4.2rem;
  line-height: 1;
}
.benefit p {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.45;
  max-width: 280px;
  margin: 0 auto;
  color: var(--white);
}
.benefit p strong { font-weight: 700; }

.whatsapp-cta .closing,
.cta-block .closing {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 27px;
  margin: 2rem auto 1.75rem;
  max-width: 900px;
  text-transform: uppercase;
  line-height: 1.3;
}
.whatsapp-cta .closing strong,
.cta-block .closing strong { font-weight: 800; }

.whatsapp-cta--small {
  padding: 3rem 1.25rem;
}
.whatsapp-cta--small .closing { margin: 0 auto 1.5rem; }

/* ========== Split CTA (azienda / persona) ========== */
.split-cta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.split-pane {
  position: relative;
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  padding: 5rem 2.5rem;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.split-pane .bg-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: -1;
}
.split-pane .h-display { font-size: 40px; margin-bottom: 1.5rem; }
.split-pane .lead {
  font-size: 19px;
  max-width: 480px;
  margin: 0 auto 1rem;
}
.split-pane .btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
.split-pane .btn-row .btn + .btn { margin-left: 0; }

/* ========== "Raggiungi i tuoi obiettivi" ========== */
.center-block {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.center-block h2 { color: var(--black); margin-bottom: 1.5rem; }
.center-block p {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--black);
  font-size: 21px;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.center-block p strong { font-weight: 700; }

/* ========== Service list (single-column) ========== */
.services {
  max-width: 1100px;
  margin: 3.5rem auto 0;
}
.service { margin-bottom: 2.25rem; }
.service-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1.15;
}
.service-title i {
  font-size: 0.95em;
  color: var(--black);
  flex-shrink: 0;
}
.service-body {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--black);
  font-size: 18px;
  line-height: 1.5;
}

/* ========== Service list (centered, icon above title) ========== */
.services--centered {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem 3rem;
}
.services--centered .service {
  margin-bottom: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.services--centered .service-icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--gray-light);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  font-size: 3rem;
  line-height: 1;
}
.services--centered .service:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.services--centered .service-title {
  display: block;
  font-size: 26px;
  margin-bottom: 0.75rem;
}

/* ========== Coming-soon block ========== */
.coming-soon { text-align: center; }
.coming-soon .h-section { margin-bottom: 1rem; }
.coming-soon p {
  font-family: var(--font-heading);
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 21px;
  line-height: 1.5;
}
.coming-soon p strong { font-weight: 700; }
.section-divider {
  border: 0;
  border-top: 1px solid #d8d8d8;
  max-width: 1100px;
  margin: 3.5rem auto 0;
}
.coming-soon .btn { margin-bottom: 4.5rem; }
.coming-soon .app-note {
  font-size: 18px;
  margin-bottom: 1rem;
}
.coming-soon .badge {
  display: block;
  background: var(--gray-light);
  color: var(--black);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 39px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1.5rem 1rem;
  max-width: 1300px;
  margin: 0 auto;
}

/* ========== Privacy / long-form ========== */
.prose {
  max-width: 820px;
  margin: 4rem auto;
  padding: 0 1.25rem;
  line-height: 1.7;
  font-family: var(--font-heading);
  font-weight: 400;
}
.prose h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  line-height: 1.2;
}
.prose h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 2.25rem 0 0.75rem;
}
.prose p { margin-bottom: 1rem; color: var(--gray-text); }
.prose ul { margin: 0 0 1.25rem 1.5rem; }
.prose ul li {
  list-style: disc;
  margin-bottom: 0.4rem;
  color: var(--gray-text);
}
.prose a { color: var(--black); text-decoration: underline; }
.prose hr {
  border: 0;
  border-top: 1px solid #e0e0e0;
  margin: 2.5rem 0;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 3.5rem 1.25rem 2.5rem;
}
.site-footer .footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.site-footer .brand img {
  width: 220px;
  max-width: 100%;
  height: auto;
}
.site-footer .info {
  text-align: right;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}
.site-footer .info .legal {
  font-style: italic;
  margin-top: 0.1rem;
}
.site-footer .info .legal a { text-decoration: none; }
.site-footer .info .group { margin-top: 1.25rem; }
.site-footer .info .group strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.1rem;
}
.site-footer .info a:hover { opacity: 0.7; }

/* Credit infrastruttura — barra discreta in fondo al footer.
   I margini negativi la portano a tutta larghezza, oltre il padding del footer. */
.footer-credit {
  margin: 2.5rem -1.25rem -2.5rem;
  padding: 0.85rem 1.25rem;
  background: #151515;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}
.footer-credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-credit a:hover { color: var(--white); }

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 5rem 1.25rem 4rem; }
  .hero-logo { width: 110px; margin-bottom: 2.5rem; }
  .hero h1, .hero--home h1 { font-size: 44px; }
  .hero p, .hero h2 { font-size: 18px; }
  .hero .body-small { font-size: 14px; }

  .h-display { font-size: 38px; }
  .h-section { font-size: 26px; }
  .h-section--big { font-size: 30px; }
  .h-section--xl { font-size: 32px; }
  .h-partners { font-size: 22px; }
  .h-italic-sub { font-size: 20px; }
  .lead { font-size: 17px; }
  .lead--big { font-size: 19px; }

  .center-block p { font-size: 17px; }

  .service-title { font-size: 22px; }
  .service-body { font-size: 16px; }

  .services--centered { grid-template-columns: 1fr; gap: 2.75rem; }
  .services--centered .service-title { font-size: 21px; }
  .services--centered .service-icon { width: 90px; height: 90px; font-size: 2.4rem; }

  .whatsapp-cta .closing,
  .cta-block .closing { font-size: 20px; }
  .coming-soon p { font-size: 17px; }
  .coming-soon .btn { margin-bottom: 3rem; }
  .coming-soon .app-note { font-size: 15px; }
  .coming-soon .badge { font-size: 28px; padding: 1rem 0.5rem; }

  .split-cta { grid-template-columns: 1fr; }
  .split-pane .h-display { font-size: 38px; }
  .split-pane { padding: 3.5rem 1.25rem; }
  .split-pane .lead { font-size: 17px; }

  .logo-grid--4,
  .logo-grid--5 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

  .benefits-grid { grid-template-columns: 1fr; gap: 2rem; }
  .benefit .num-circle { width: 90px; height: 90px; font-size: 3.5rem; }

  .site-footer .footer-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .site-footer .info { text-align: center; }
  .site-footer .brand img { margin: 0 auto; width: 180px; }
  .footer-credit { margin-top: 2rem; font-size: 10px; padding: 0.75rem 1.25rem; }

  .section, .section-photo, .section-whatsapp, .section-light { padding: 3.5rem 1.25rem; }
}
