:root {
  --primary: #123a63;
  --primary-dark: #0f2e4f;
  --accent: #2a9aa5;
  --accent-dark: #1f7f88;
  --text: #1f2d3a;
  --text-soft: #5a6a78;
  --text-muted: #365061;
  --bg: #f4f7fb;
  --bg-soft: #eef4f8;
  --bg-lighter: #f8fbfd;
  --white: #ffffff;
  --border: #dce6ee;
  --border-strong: #d9e3ec;
  --gold: #d1a139;
  --gold-hover: #e0b44d;
  --shadow-lg: 0 10px 24px rgba(10, 60, 90, 0.05);
  --shadow-md: 0 10px 24px rgba(10, 60, 90, 0.04);
  --shadow-strong: 0 10px 24px rgba(10, 60, 90, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(94%, 1400px);
  margin: 0 auto;
}

/* HEADER */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border-strong);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  justify-self: start;
}

.brand-text-only {
  gap: 0;
}

.brand-text {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  text-align: left;
  max-width: 320px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
}

.main-nav a {
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--accent);
}

.header-cta {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.3s ease;
  justify-self: end;
}

.header-cta:hover {
  background: var(--primary-dark);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-self: end;
  white-space: nowrap;
}

.header-cta-secondary {
  display: inline-block;
  background: #2a9aa5;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta-secondary:hover {
  background: #238892;
  color: #ffffff;
}

/* HERO */
.hero {
  background:
    linear-gradient(rgba(18, 58, 99, 0.9), rgba(18, 58, 99, 0.9)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  color: var(--white);
  padding: 90px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-content h1 {
  font-size: 66px;
  line-height: 1.08;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 18px;
  max-width: 760px;
  color: #e5f1f8;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
}

.btn-primary:hover {
  background: #eaf4fb;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 28px;
  backdrop-filter: blur(4px);
}

.hero-box h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.hero-box ul {
  padding-left: 18px;
}

.hero-box li {
  margin-bottom: 10px;
  color: #eef7fc;
}

/* GENERIC SECTIONS */
section {
  padding: 80px 0;
}

.section-heading {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.section-heading.left-aligned {
  text-align: left;
  margin: 0 0 32px 0;
  max-width: none;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: 40px;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-heading p {
  font-size: 17px;
  color: var(--text-soft);
}

/* INFO GRID */
.normativa-grid,
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card,
.highlight-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover,
.highlight-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.info-card h3,
.highlight-box h3 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 22px;
  padding-left: 14px;
}

.info-card h3::before,
.highlight-box h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
}

.info-card h3 i,
.highlight-box h3 i {
  color: var(--primary);
  font-size: 18px;
}

.info-card p,
.highlight-box p {
  color: var(--text-soft);
  line-height: 1.75;
}

/* NORMATIVA */
.highlight-banner {
  max-width: 960px;
  margin: 30px auto 0;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--gold);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  font-size: 16px;
}

.highlight-banner p {
  color: var(--text-muted);
  font-size: 17px;
  margin: 0;
}

/* COMPARISON */
.comparison-section {
  background: var(--bg-soft);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.comparison-card {
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.comparison-left {
  background: var(--white);
  border: 1px solid var(--border);
}

.comparison-right {
  background: var(--primary);
  color: var(--white);
}

.comparison-card h3 {
  font-size: 28px;
  margin-bottom: 18px;
}

.comparison-card ul {
  padding-left: 20px;
}

.comparison-card li {
  margin-bottom: 10px;
  font-size: 17px;
}

.comparison-right li,
.comparison-right h3 {
  color: var(--white);
}

/* PROCESS */
.process-section {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.process-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  text-align: left;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 18px;
}

.process-step h3 {
  position: relative;
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 12px;
  padding-left: 14px;
  min-height: 60px;
}

.process-step h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
}

.process-step p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

/* SOLUTION */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.solution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.solution-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e8f2f8;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 18px;
}

.solution-card h3 {
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 16px;
}

.solution-card ul {
  padding-left: 20px;
}

.solution-card li {
  margin-bottom: 10px;
  color: var(--text-soft);
}

/* NEWS */
.news-section {
  background: var(--bg-lighter);
}

.news-layout {
  display: grid;
  grid-template-columns: 2fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.news-thumb {
  height: 220px;
  background-size: cover;
  background-position: center 30%;
}

.news-thumb-1 {
  background-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1200&q=80");
}

.news-thumb-2 {
  background-image: url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1200&q=80");
}

.news-thumb-3 {
  background-image: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1200&q=80");
}

.news-thumb-4 {
  background-image: url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1200&q=80");
}

.news-body {
  padding: 24px;
}

.news-meta {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.news-body h3 {
  font-size: 26px;
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 14px;
}

.news-body p {
  color: var(--text-soft);
  margin-bottom: 16px;
}

.news-link {
  color: var(--primary);
  font-weight: 700;
}

.news-link:hover {
  color: var(--accent);
}

/* SIDEBAR */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sidebar-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.sidebar-highlight {
  border-left: 5px solid var(--gold);
}

.sidebar-box h3 {
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 16px;
}

.sidebar-box p {
  color: var(--text-soft);
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e2ebf1;
  color: var(--text-soft);
}

.sidebar-list li:last-child {
  border-bottom: none;
}

/* CTA */
.cta-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.cta-box {
  text-align: center;
}

.cta-box h2 {
  color: var(--primary);
  font-size: 38px;
  margin-bottom: 12px;
}

.cta-box p {
  max-width: 760px;
  margin: 0 auto 22px;
  font-size: 18px;
  color: #476172;
}

/* LEGAL PAGES */
.legal-page {
  padding: 56px 0 70px;
  background: var(--bg);
}

.legal-page .legal-section {
  padding: 0;
}

.legal-wrapper {
  max-width: 980px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 42px 32px;
  box-shadow: var(--shadow-lg);
}

.legal-kicker {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.legal-title {
  font-size: 42px;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 12px;
}

.legal-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 22px;
}

.legal-section {
  margin-bottom: 24px;
}

.legal-section h2 {
  font-size: 22px;
  line-height: 1.3;
  color: var(--primary);
  margin-bottom: 10px;
}

.legal-section p,
.legal-section li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.legal-section p {
  margin-bottom: 10px;
}

.legal-section ul {
  padding-left: 22px;
  margin-top: 8px;
}

.legal-section li + li {
  margin-top: 6px;
}

.legal-links {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-links a {
  color: var(--primary);
  font-weight: 700;
}

.legal-links a:hover {
  color: var(--accent);
}

.legal-share {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-share a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  transition: background 0.3s ease;
}

.legal-share a:hover {
  background: var(--accent);
  color: var(--white);
}

.legal-breadcrumb {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-soft);
}

.legal-breadcrumb a {
  color: var(--primary);
  font-weight: 700;
}

.legal-breadcrumb a:hover {
  color: var(--accent);
}

/* DEEP DIVE CTA */
.deep-dive-section {
  padding: 0 0 40px;
  background: var(--bg-soft);
}

.deep-dive-box {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: 0;
  padding: 28px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 10px 24px rgba(10, 60, 90, 0.10);
}

.deep-dive-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.deep-dive-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
}

.deep-dive-text h2 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 6px;
  color: var(--white);
}

.deep-dive-text p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.deep-dive-action {
  flex-shrink: 0;
}

.deep-dive-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #0b1f35;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 24px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.deep-dive-btn:hover {
  background: var(--gold-hover);
  color: #0b1f35;
}

/* TECH PAGE */
.tech-hero {
  background:
    linear-gradient(rgba(18, 58, 99, 0.92), rgba(18, 58, 99, 0.92)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  color: var(--white);
  padding: 72px 0;
}

.tech-hero-inner {
  display: block;
}

.tech-hero-content {
  max-width: 980px;
}

.tech-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.tech-hero-content h1 {
  font-size: 52px;
  line-height: 1.12;
  margin-bottom: 18px;
}

.tech-hero-content p {
  font-size: 19px;
  line-height: 1.7;
  color: #e5f1f8;
  max-width: 980px;
  margin-bottom: 22px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tags span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.tech-page {
  padding: 56px 0 70px;
  background: var(--bg);
}

.tech-wrapper {
  max-width: 1120px;
  margin: 0 auto;
}

.tech-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
}

.tech-section h2 {
  font-size: 34px;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 14px;
}

.tech-section p,
.tech-section li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
}

.tech-section p {
  margin-bottom: 12px;
}

.tech-section ul {
  padding-left: 22px;
  margin-top: 8px;
}

.tech-section li + li {
  margin-top: 8px;
}

.tech-highlight {
  margin-top: 18px;
  background: var(--bg-lighter);
  border: 1px solid var(--border);
  border-left: 5px solid var(--gold);
  border-radius: 14px;
  padding: 18px 20px;
}

.tech-highlight p {
  margin: 0;
}

.tech-grid {
  display: grid;
  gap: 22px;
  margin-top: 18px;
}

.tech-grid.two-cols {
  grid-template-columns: repeat(2, 1fr);
}

.tech-grid.three-cols {
  grid-template-columns: repeat(3, 1fr);
}

.tech-grid.four-cols {
  grid-template-columns: repeat(4, 1fr);
}

.tech-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.tech-card h3 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 12px;
}

.tech-card p,
.tech-card li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
}

.tech-card ul {
  padding-left: 20px;
  margin-top: 8px;
}

.tech-mini-card {
  background: var(--bg-lighter);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px;
  text-align: left;
  box-shadow: var(--shadow-md);
}

.tech-mini-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #e8f2f8;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.tech-mini-card h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 10px;
}

.tech-mini-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0;
}

.tech-bottom-cta {
  margin-top: 10px;
}

.tech-bottom-cta-inner {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: 18px;
  padding: 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  box-shadow: var(--shadow-strong);
}

.tech-bottom-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
}

.tech-bottom-text h2 {
  color: var(--white);
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.tech-bottom-text p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.tech-bottom-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* FOOTER BASE */
.site-footer {
  background: var(--primary);
  color: var(--white);
  margin-top: 40px;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  color: #d8e4ff;
}

/* =========================
   FOOTER PERSONALIZZATO
========================= */

.footer-tuttocup-style.site-footer {
  background: #123a63;
  color: #ffffff;
  margin-top: 0;
}

.footer-tuttocup-style a {
  color: #ffffff;
  text-decoration: none;
}

.footer-tuttocup-style a:hover {
  color: rgba(255, 255, 255, 0.82);
}

.footer-tuttocup-style .footer-top {
  padding: 38px 0 34px;
  border-top: 2px solid rgba(255, 255, 255, 0.12);
}

.footer-tuttocup-style .footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.footer-tuttocup-style .footer-col h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.footer-tuttocup-style .footer-brand-col {
  max-width: 320px;
}

.footer-tuttocup-style .footer-logo-link {
  display: inline-block;
  margin-bottom: 22px;
}

.footer-tuttocup-style .footer-logo {
  display: block;
  max-width: 280px;
  width: 100%;
  height: auto;
}

.footer-tuttocup-style .footer-brand-text {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  max-width: 290px;
}

.footer-tuttocup-style .footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 14px 26px;
}

.footer-tuttocup-style .footer-links-grid a {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
  line-height: 1.45;
  color: #ffffff;
  padding-left: 0;
}

.footer-tuttocup-style .footer-links-grid a::before {
  content: "";
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  margin-top: 9px;
  flex-shrink: 0;
  position: static;
}

.footer-tuttocup-style .footer-contact-block {
  margin-bottom: 14px;
}

.footer-tuttocup-style .footer-contact-block h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.footer-tuttocup-style .footer-contact-block p {
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.92);
}

.footer-tuttocup-style .footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.footer-tuttocup-style .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffffff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-tuttocup-style .footer-social a:hover {
  transform: translateY(-3px);
  opacity: 0.82;
}

.footer-tuttocup-style .footer-bottom-bar {
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
}

.footer-tuttocup-style .footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-tuttocup-style .footer-bottom-inner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #ffffff;
}

.footer-tuttocup-style .footer-policy-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-tuttocup-style .footer-policy-links a {
  font-size: 13px;
  color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .footer-tuttocup-style .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-tuttocup-style .footer-brand-col,
  .footer-tuttocup-style .footer-brand-text {
    max-width: none;
  }

  .footer-tuttocup-style .footer-logo {
    max-width: 260px;
  }
}

@media (max-width: 700px) {
  .footer-tuttocup-style .footer-top {
    padding: 28px 0 28px;
  }

  .footer-tuttocup-style .footer-col h3 {
    font-size: 17px;
    margin-bottom: 16px;
    padding-bottom: 8px;
  }

  .footer-tuttocup-style .footer-brand-text,
  .footer-tuttocup-style .footer-links-grid a,
  .footer-tuttocup-style .footer-contact-block p {
    font-size: 15px;
  }

  .footer-tuttocup-style .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-tuttocup-style .footer-social a {
    font-size: 20px;
  }

  .footer-tuttocup-style .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ===== VARIANTE PAGINA TECNICA ===== */

.tech-section-variant {
  border-left: 4px solid #0b4f7d;
}

/* QUADRO */
.law-layout-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  border: 1px solid #dce6ee;
}

.law-layout-header {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.law-layout-badge {
  width: 44px;
  height: 44px;
  background: #0b4f7d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.law-source-list {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.law-source-item {
  padding: 14px;
  background: #f8fbfd;
  border-radius: 10px;
}

.law-focus-box {
  background: #eef4f8;
  padding: 16px;
  border-radius: 12px;
}

/* PERIMETRO */
.scope-alt-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  border: 1px solid #dce6ee;
}

.scope-alt-header {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.scope-alt-icon {
  width: 44px;
  height: 44px;
  background: #2a9aa5;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

/* CARD */
.scope-pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.scope-pill {
  padding: 16px;
  border-radius: 12px;
}

.scope-pill-yes {
  background: #e7f6ee;
}

.scope-pill-partial {
  background: #fff6e5;
}

.scope-pill-no {
  background: #fdeaea;
}

/* TABELLA */
.scope-alt-table {
  width: 100%;
  border-collapse: collapse;
}

.scope-alt-table th {
  text-align: left;
  padding: 12px;
  background: #f4f7fb;
}

.scope-alt-table td {
  padding: 12px;
  border-bottom: 1px solid #e4edf3;
}

.ok { color: green; font-weight: bold; }
.partial { color: orange; font-weight: bold; }
.no { color: red; font-weight: bold; }
.normativa-section {
  background: var(--bg-soft);
}

.normativa-grid {
  margin-top: 30px;
}

.info-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.info-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-card h3::before {
  content: "";
  width: 4px;
  height: 22px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.info-card h3 i {
  color: var(--primary);
  font-size: 18px;
}
/* =========================
   PAGINA PRODOTTO
========================= */

.product-hero {
  padding: 84px 0 80px;
  background:
    linear-gradient(rgba(18, 58, 99, 0.85), rgba(18, 58, 99, 0.78)),
    url("../images/foto_pagina_prodotto.jpg") center/cover no-repeat;
  color: #ffffff;
}

.product-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.product-hero h1 {
  font-size: 50px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.product-hero .hero-subtitle {
  font-size: 19px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  max-width: 900px;
  margin: 0 auto 28px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}

.product-hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.product-btn-primary,
.product-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.product-btn-primary {
  background: #ffffff;
  color: var(--primary);
}

.product-btn-primary:hover {
  background: #eaf4fb;
  color: var(--primary);
}

.product-btn-secondary {
  background: #2a9aa5;
  color: #ffffff;
}

.product-btn-secondary:hover {
  background: #238892;
  color: #ffffff;
}

.product-page {
  padding: 56px 0;
  background: var(--bg);
}

.product-section {
  margin-bottom: 56px;
}

.product-intro-box {
  max-width: 1020px;
  margin: 0 auto 34px;
  text-align: center;
}

.product-intro-box p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-soft);
}

.product-tree-box {
  max-width: 1080px;
  margin: 0 auto 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
}

.tree-center {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.tree-center-node {
  background: var(--primary);
  color: var(--white);
  padding: 18px 24px;
  border-radius: 18px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  min-width: 260px;
  box-shadow: var(--shadow-strong);
}

.tree-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tree-branch-card {
  background: var(--bg-lighter);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.tree-branch-card i {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 12px;
}

.tree-branch-card h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 8px;
}

.tree-branch-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
  margin: 0;
}

.product-mini-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.product-mini-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.product-card-grid-3,
.product-card-grid-6 {
  display: grid;
  gap: 24px;
}

.product-card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-card-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

.product-card,
.product-feature-card,
.product-benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover,
.product-feature-card:hover,
.product-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.product-card h3,
.product-feature-card h3,
.product-benefit-card h3 {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--primary);
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.35;
  padding-left: 16px;
}

.product-card h3::before,
.product-feature-card h3::before,
.product-benefit-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
}

.product-card h3 i,
.product-feature-card h3 i,
.product-benefit-card h3 i {
  color: var(--primary);
  font-size: 17px;
  line-height: 1.35;
  margin-top: 3px;
  flex-shrink: 0;
}

.product-card p,
.product-feature-card p,
.product-benefit-card p {
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 0;
  font-size: 16px;
}

.product-card ul,
.product-feature-card ul {
  padding-left: 20px;
  margin-top: 12px;
}

.product-card li,
.product-feature-card li {
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 8px;
}

.product-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-flow-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.product-flow-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 18px;
}

.product-flow-step h3 {
  position: relative;
  color: var(--primary);
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 12px;
  padding-left: 16px;
  min-height: 64px;
}

.product-flow-step h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
}

.product-flow-step p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

.product-cta-final {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: 20px;
  padding: 34px 30px;
  box-shadow: var(--shadow-strong);
  text-align: center;
}

.product-cta-final h2 {
  color: var(--white);
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.product-cta-final p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.7;
  max-width: 860px;
  margin: 0 auto 24px;
}

.product-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .tree-branches,
  .product-card-grid-3,
  .product-card-grid-6,
  .product-flow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .product-hero {
    padding: 58px 0 46px;
  }

  .product-hero h1 {
    font-size: 34px;
  }

  .product-hero .hero-subtitle,
  .product-intro-box p,
  .product-card p,
  .product-feature-card p,
  .product-benefit-card p,
  .product-flow-step p,
  .tree-branch-card p,
  .product-cta-final p {
    font-size: 16px;
  }

  .product-hero-actions,
  .product-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-btn-primary,
  .product-btn-secondary {
    width: 100%;
  }

  .product-tree-box,
  .product-card,
  .product-feature-card,
  .product-benefit-card,
  .product-flow-step {
    padding: 22px 18px;
  }

  .tree-center-node {
    min-width: auto;
    width: 100%;
    font-size: 18px;
  }

  .product-cta-final {
    padding: 28px 18px;
  }

  .product-cta-final h2 {
    font-size: 28px;
  }
}
/* =========================
   ARCHIVIO NEWS
========================= */

.news-archive-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
}

.news-archive-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.3s ease;
}

.news-archive-btn:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.news-archive-hero {
  padding: 56px 0 16px;
  background: var(--bg);
}

.news-archive-title {
  font-size: 46px;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 14px;
}

.news-archive-subtitle {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.75;
}

.news-archive-page {
  padding-top: 28px;
}

.news-grid-archive {
  grid-template-columns: repeat(2, 1fr);
}

.news-archive-back {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

@media (max-width: 992px) {
  .news-grid-archive {
    grid-template-columns: 1fr;
  }

  .news-archive-title {
    font-size: 34px;
  }
}

@media (max-width: 700px) {
  .news-archive-action {
    justify-content: stretch;
  }

  .news-archive-btn {
    width: 100%;
    justify-content: center;
  }

  .news-archive-title {
    font-size: 28px;
  }

  .news-archive-subtitle {
    font-size: 16px;
  }
}

.news-archive-label {
  margin-bottom: 18px;
}

.news-archive-label p {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

/* =========================
   COMUNI ADERENTI
========================= */

.comuni-aderenti-section {
  padding: 0 0 56px;
  background: #f4f7fb;
}

.comuni-aderenti-box {
  background: #eef4f8;
  border: 1px solid #dce6ee;
  border-radius: 22px;
  padding: 38px 32px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(10, 60, 90, 0.04);
}

.comuni-aderenti-heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 28px;
}

.comuni-aderenti-heading .section-tag {
  color: #123a63;
  margin-bottom: 10px;
}

.comuni-aderenti-heading h2 {
  font-size: 40px;
  line-height: 1.15;
  color: #123a63;
  margin-bottom: 10px;
}

.comuni-aderenti-heading p {
  font-size: 18px;
  line-height: 1.7;
  color: #5f748a;
  margin: 0;
}

.comuni-slider-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 240px;
}

.comuni-slider {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 70px;
}

.comuni-slider.has-many-items {
  width: 100%;
  margin: 0;
}

.comuni-slider::-webkit-scrollbar {
  display: none;
}

.comune-card {
  flex: 0 0 300px;
  background: #ffffff;
  border: 1px solid #dce6ee;
  border-radius: 18px;
  padding: 20px 18px 18px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 10px 24px rgba(10, 60, 90, 0.05);
}

.comune-logo-wrap {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.comune-logo-wrap img {
  max-height: 100px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.comune-card p {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: #123a63;
  margin: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.comuni-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(18, 58, 99, 0.18);
  background: #ffffff;
  color: #123a63;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(10, 60, 90, 0.08);
  z-index: 2;
}

.comuni-slider-prev {
  left: 0;
}

.comuni-slider-next {
  right: 0;
}

.comuni-slider-btn:hover {
  background: #123a63;
  color: #ffffff;
}

.comuni-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.comuni-slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(18, 58, 99, 0.22);
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.comuni-slider-dots button.active {
  background: #123a63;
  transform: scale(1.15);
}

@media (max-width: 1100px) {
  .comuni-aderenti-box {
    padding: 32px 24px 26px;
  }

  .comuni-aderenti-heading h2 {
    font-size: 34px;
  }

  .comune-card {
    flex: 0 0 260px;
  }
}

@media (max-width: 700px) {
  .comuni-aderenti-section {
    padding: 0 0 42px;
  }

  .comuni-aderenti-box {
    padding: 26px 16px 22px;
    border-radius: 18px;
  }

  .comuni-aderenti-heading {
    margin-bottom: 22px;
  }

  .comuni-aderenti-heading h2 {
    font-size: 28px;
  }

  .comuni-aderenti-heading p {
    font-size: 16px;
  }

  .comuni-slider-wrap {
    gap: 10px;
  }

  .comuni-slider {
    gap: 14px;
  }

  .comune-card {
    flex: 0 0 100%;
    min-height: 190px;
    padding: 16px 14px 14px;
  }

  .comune-logo-wrap {
    height: 96px;
  }

  .comune-logo-wrap img {
    max-height: 72px;
  }

  .comune-card p {
    font-size: 16px;
    min-height: 42px;
  }

  .comuni-slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

.comuni-slider:has(.comune-card:nth-child(3)) {
  justify-content: flex-start;
}


/* =========================
   RESPONSIVE MOBILE FIX
========================= */

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    justify-items: start;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px 20px;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }

  .header-cta,
  .header-cta-secondary {
    justify-self: start;
  }

  .hero-inner,
  .comparison-grid,
  .process-grid,
  .normativa-grid,
  .highlights-grid,
  .news-grid,
  .product-card-grid-3,
  .product-card-grid-6,
  .product-flow-grid,
  .tree-branches {
    grid-template-columns: 1fr !important;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-box {
    margin-top: 24px;
  }

  .section-heading h2,
  .product-hero h1,
  .news-archive-title,
  .comuni-aderenti-heading h2 {
    font-size: 34px;
    line-height: 1.2;
  }

  .section-heading p,
  .hero-content p,
  .product-hero .hero-subtitle,
  .news-archive-subtitle,
  .comuni-aderenti-heading p {
    font-size: 16px;
    line-height: 1.7;
  }

  .cta-box,
  .product-cta-final,
  .comuni-aderenti-box,
  .product-tree-box {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(92%, 1180px);
  }

  .site-header {
    position: static;
  }

  .brand-text {
    font-size: 18px;
    max-width: none;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .header-cta,
  .header-cta-secondary,
  .btn,
  .product-btn-primary,
  .product-btn-secondary,
  .news-archive-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero {
    padding: 40px 0 32px;
  }

  .hero-label,
  .section-tag,
  .section-eyebrow {
    font-size: 12px;
  }

  .hero-content h1,
  .product-hero h1,
  .section-heading h2,
  .news-archive-title,
  .comuni-aderenti-heading h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-content p,
  .section-heading p,
  .product-hero .hero-subtitle,
  .news-archive-subtitle,
  .comuni-aderenti-heading p {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-actions,
  .product-hero-actions,
  .product-cta-actions,
  .news-archive-action {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-box,
  .info-card,
  .highlight-box,
  .comparison-card,
  .process-step,
  .news-card,
  .product-card,
  .product-feature-card,
  .product-benefit-card,
  .product-flow-step,
  .tree-branch-card,
  .comune-card {
    padding: 18px 16px;
  }

  .news-grid,
  .normativa-grid,
  .highlights-grid,
  .comparison-grid,
  .process-grid,
  .product-card-grid-3,
  .product-card-grid-6,
  .product-flow-grid,
  .tree-branches {
    gap: 16px;
  }

  .news-thumb {
    height: 220px;
  }

  .product-hero {
    padding: 52px 0 42px;
    background-position: center;
  }

  .product-tree-box {
    padding: 20px 16px;
  }

  .tree-center-node {
    width: 100%;
    min-width: auto;
    font-size: 18px;
  }

  .comuni-slider {
    padding: 0 46px;
  }

  .comuni-slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .footer-tuttocup-style .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-tuttocup-style .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-tuttocup-style .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 700px) {

  .product-cta-final,
  .cta-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .product-cta-actions,
  .cta-actions {
    width: 100%;
  }

  .product-cta-actions a,
  .cta-actions a {
    width: 100%;
    display: flex;
    justify-content: center;
  }

}