:root {
  --mc-bg-page: #081225;
  --mc-surface: #0e1b34;
  --mc-surface-soft: #13223f;
  --mc-border: #223554;
  --mc-border-soft: #34507f;
  --mc-primary: #2f6df6;
  --mc-primary-hover: #1f5ae0;
  --mc-primary-soft: rgba(47, 109, 246, 0.14);
  --mc-text-main: #f8fbff;
  --mc-text-muted: #94a7c6;
  --mc-shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.22);
  --mc-radius-md: 8px;
  --mc-radius-lg: 12px;
  --mc-radius-xl: 16px;
  --mc-input-bg: #1a2743;
  --mc-input-border: #2a3c5f;
  --mc-danger: #ef4444;
  --mc-success: #8fd19e;
  --mc-container: 1200px;
  --mc-header-height: 72px;
  --mc-font-main: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mc-bg-page);
  color: var(--mc-text-main);
  font-family: var(--mc-font-main);
  line-height: 1.55;
  min-height: 100vh;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--mc-container));
  margin: 0 auto;
}

.section {
  padding: 55px 0 72px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.97rem;
  font-weight: 700;
  font-family: var(--mc-font-main);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--mc-primary);
  color: var(--mc-text-main);
  box-shadow: 0 8px 18px rgba(47, 109, 246, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--mc-primary-hover);
}

/* SECTION KICKER */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--mc-primary-soft);
  border: 1px solid rgba(47, 109, 246, 0.16);
  color: #cbdcff;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ============================================
   PRIVACY PAGE
============================================ */

.privacy-page {
  padding-top: 26px;
}

/* HERO */

.privacy-hero {
  padding-bottom: 48px;
}

.privacy-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
}

.privacy-intro {
  max-width: 56ch;
  color: var(--mc-text-muted);
  font-size: 1.06rem;
  margin: 0;
}

.privacy-lastmod {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--mc-text-muted);
}

/* CONTENT AREA */

.privacy-content {
  padding-top: 0;
  padding-bottom: 80px;
}

.privacy-body {
  max-width: 780px;
}

/* SECTION BLOCKS */

.privacy-section {
  margin-bottom: 12px;
  border-radius: var(--mc-radius-xl);
  background: rgba(14, 27, 52, 0.86);
  border: 1px solid rgba(52, 80, 127, 0.34);
  box-shadow: var(--mc-shadow-soft);
  overflow: hidden;
}

.privacy-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(52, 80, 127, 0.22);
}

.privacy-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--mc-primary-soft);
  border: 1px solid rgba(47, 109, 246, 0.2);
  color: var(--mc-primary);
  flex-shrink: 0;
}

.privacy-section-icon .material-symbols-outlined {
  font-size: 20px;
}

.privacy-section-header h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.privacy-section-body {
  padding: 20px 24px;
  color: var(--mc-text-muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

.privacy-section-body p {
  margin: 0 0 12px;
}

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

.privacy-section-body strong {
  color: var(--mc-text-main);
  font-weight: 700;
}

.privacy-section-body a {
  color: #cbdcff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-section-body a:hover {
  color: var(--mc-text-main);
}

.privacy-section-body ul {
  margin: 6px 0 12px;
  padding-left: 20px;
  display: grid;
  gap: 5px;
}

.privacy-section-body ul:last-child {
  margin-bottom: 0;
}

.privacy-section-body li {
  padding-left: 4px;
}

/* SUB-LABEL (es. "Dati forniti volontariamente") */

.privacy-sub-label {
  display: block;
  margin: 14px 0 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mc-text-main);
  letter-spacing: 0.01em;
}

/* SERVICE ROW (per la sezione Strumenti) */

.privacy-service {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(52, 80, 127, 0.18);
}

.privacy-service:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.privacy-service:first-child {
  padding-top: 0;
}

.privacy-service-name {
  font-weight: 700;
  color: var(--mc-text-main);
  font-size: 0.96rem;
}

/* CONTACT NOTE */

.privacy-contact-note {
  padding: 16px 0 40px;
  text-align: center;
}

.privacy-contact-note p {
  color: var(--mc-text-muted);
  font-size: 0.94rem;
  margin: 0;
}

.privacy-contact-note a {
  color: #cbdcff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-contact-note a:hover {
  color: var(--mc-text-main);
}

/* ============================================
   RESPONSIVE
============================================ */

@media (max-width: 720px) {
  .section {
    padding: 20px 0 56px;
  }

  .container {
    width: min(calc(100% - 28px), var(--mc-container));
  }

  :root {
    --mc-header-height: 64px;
  }

  .privacy-hero {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .privacy-content {
    padding-bottom: 56px;
  }

  .privacy-section-header {
    padding: 16px 20px;
    gap: 12px;
  }

  .privacy-section-body {
    padding: 16px 20px;
  }
}
