/* ── PAGE WRAPPER ── */
.layout-page {
  width: 100%;
}

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
}

.logo-mark {
  font-family: var(--font-body);
  font-weight: var(--font-medium);
  font-size: var(--text-base);
  letter-spacing: 0.18em;
  color: var(--text-dark);
  text-transform: uppercase;
}

.logo-payoff {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--font-bold);
  font-size: var(--text-base);
  letter-spacing: 0.06em;
  color: var(--green);
}

nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: var(--font-normal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

nav a:hover,
nav a:active {
  color: var(--green);
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}

/* ── HERO ── */
.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 48px;
  border-right: 0.5px solid var(--border);
}

.hero-right {
  background: var(--bg-warm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 48px;
  position: relative;
}

/* ── SECTION BASE ── */
section {
  padding: 96px 48px;
}

.section-label {
  font-size: 11px;
  font-weight: var(--font-normal);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 0.5px;
  background: var(--text-light);
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: var(--font-light);
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: italic;
  color: var(--green);
}

/* ── SEZIONE PROBLEMA ── */
.section-problem {
  background: var(--white);
  border-top: 0.5px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
  margin-top: 64px;
}

.problem-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.problem-card {
  border-top: 0.5px solid var(--border);
  padding: 36px 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
}

.problem-card:last-child {
  border-bottom: 0.5px solid var(--border);
}

/* ── SEZIONE SOLUZIONE ── */
.section-solution {
  background: var(--bg-warm);
  border-top: 0.5px solid var(--border);
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 64px;
}

/* ── SEZIONE OPERATORI ── */
.section-operators {
  background: var(--white);
  border-top: 0.5px solid var(--border);
}

.operators-intro {
  max-width: 600px;
  margin-bottom: 64px;
}

.operators-intro p {
  margin-top: 20px;
  font-size: var(--text-base);
  line-height: 1.8;
}

.operators-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 0.5px solid var(--border);
}

.operator-col {
  padding: 48px;
}

.operator-col:first-child {
  border-right: 0.5px solid var(--border);
}

.operator-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.operator-item {
  border-top: 0.5px solid var(--border);
  padding: 16px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.operator-item:last-child {
  border-bottom: 0.5px solid var(--border);
}

/* ── SEZIONE DPP ── */
.section-dpp {
  background: var(--bg-warm);
  border-top: 0.5px solid var(--border);
}

.dpp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
  margin-top: 64px;
}

.dpp-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dpp-item {
  border-top: 0.5px solid var(--border);
  padding: 28px 0;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
}

.dpp-item:last-child {
  border-bottom: 0.5px solid var(--border);
}

/* ── SEZIONE CASE STUDY ── */
.section-case {
  background: var(--white);
  border-top: 0.5px solid var(--border);
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
  margin-top: 64px;
}

.case-illustration {
  background: var(--bg-warm);
  border: 0.5px solid var(--border);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

/* ── SEZIONE PRICING ── */
.section-pricing {
  background: var(--bg-warm);
  border-top: 0.5px solid var(--border);
}

.pricing-header {
  max-width: 580px;
  margin-bottom: 64px;
}

.pricing-header p {
  margin-top: 20px;
  font-size: var(--text-base);
  line-height: 1.8;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 0.5px solid var(--border);
}

.pricing-col {
  background: var(--white);
  padding: 40px 36px;
  border-right: 0.5px solid var(--border);
}

.pricing-col:last-child {
  border-right: none;
}

/* ── SEZIONE CTA FINALE ── */
.section-cta {
  background: var(--green);
  border-top: none;
  padding: 96px 48px;
  text-align: center;
}

.section-cta .section-label {
  color: var(--text-super-light);
  justify-content: center;
}

.section-cta .section-label::before {
  background: var(--text-super-light);
}

.section-cta .section-title {
  color: var(--text-super-light);
  text-align: center;
  margin-top: 16px;
}

.section-cta .section-title em {
  color: var(--text-super-light);
}

/* ── FOOTER INFO ── */
.footer-info-region {
  background: var(--white);
  border-top: 0.5px solid var(--border);
  padding: 20px 48px;
}

.footer-info-region ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
}

.footer-info-region ul li a {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-info-region ul li a:hover {
  color: var(--green);
}

/* ── FOOTER ── */
footer {
  background: var(--white);
  border-top: 0.5px solid var(--border);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-brand {
  font-size: 12px;
  font-weight: var(--font-medium);
  letter-spacing: 0.14em;
  color: var(--text-dark);
  text-transform: uppercase;
}

.footer-copy {
  font-size: 11px;
  color: var(--text-dark);
  letter-spacing: 0.04em;
}

.footer-slogan {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 11px;
  color: var(--text-dark);
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--green);
}

/* ── ARTICLE / NODE ── */
.node-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 48px;
}

.node-content h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: var(--font-light);
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 32px;
}

.node-content h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: var(--font-light);
  color: var(--text-dark);
  margin: 48px 0 20px;
}

.node-content p {
  font-size: var(--text-base);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* ── HUB ARTICOLO (hub_page non-homepage) ── */
.hero--article {
  padding: 80px 48px 64px;
  max-width: 860px;
  margin: 0 auto;
}

.hero--article .hero-left {
  max-width: 100%;
}

.hero--article .hero-title {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 24px;
}

.hero--article .hero-body {
  font-size: var(--text-lg);
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 32px;
  max-width: 680px;
}

.section-article {
  padding: 0 48px 80px;
  max-width: 860px;
  margin: 0 auto;
}

.article-body {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--text-dark);
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: var(--font-light);
  margin: 56px 0 20px;
  color: var(--text-dark);
}

.article-body h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
  margin: 36px 0 14px;
  color: var(--text-dark);
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-cta--light {
  background: var(--cream);
  padding: 56px 48px;
  text-align: center;
}

.section-cta--light .cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
