/* ═══════════════════════════════════════════════════════════════════════════
   MCU S.R.L.S. — Privacy & Cookie Policy Styles
   ═══════════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Barlow:wght@300;400;500;600;700&display=swap');

:root {
  --c-bg:          #0d0b09;
  --c-surface:     #141210;
  --c-surface-2:   #1c1916;
  --c-border:      rgba(200,175,130,0.15);
  --c-border-hi:   rgba(200,175,130,0.35);
  --c-gold:        #c8af82;
  --c-gold-light:  #dfc9a0;
  --c-gold-dim:    rgba(200,175,130,0.12);
  --c-text:        #e8e0d4;
  --c-text-muted:  #9e9486;
  --c-text-dim:    #5c5550;
  --c-white:       #f5f0e8;
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body:    'Barlow', system-ui, sans-serif;
  --r-sm:   6px; --r-md: 12px; --r-lg: 18px; --r-full: 999px;
  --hdr-h: 64px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--c-gold); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--c-gold-light); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%; max-width: 820px;
  margin-inline: auto; padding-inline: 20px;
}

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--hdr-h);
  background: rgba(13,11,9,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; padding-inline: 20px;
  max-width: 1160px; margin-inline: auto; gap: 16px;
}
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; border: 1px solid var(--c-border-hi); }
.logo-name { font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; color: var(--c-gold-light); letter-spacing: 0.08em; display: block; line-height: 1; }
.logo-sub  { font-size: 0.58rem; font-weight: 500; color: var(--c-text-muted); letter-spacing: 0.2em; text-transform: uppercase; display: block; }
.back-link { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; color: var(--c-text-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color var(--transition); }
.back-link:hover { color: var(--c-gold); }

/* Page hero */
.pp-hero {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: calc(var(--hdr-h) + 56px) 20px 56px;
  border-bottom: 1px solid var(--c-border);
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(200,175,130,0.05) 0%, transparent 70%);
}
.pp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 16px; border: 1px solid var(--c-border-hi);
  border-radius: var(--r-full); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-gold); background: var(--c-gold-dim); margin-bottom: 20px;
}
.pp-title { font-family: var(--f-display); font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 700; color: var(--c-white); line-height: 1.1; margin-bottom: 14px; }
.pp-updated { font-size: 0.78rem; color: var(--c-text-dim); }

/* TOC */
.pp-toc {
  margin: 40px 0 8px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
}
.pp-toc-title { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-gold); margin-bottom: 12px; }
.pp-toc ol { padding-left: 18px; list-style: decimal; display: flex; flex-direction: column; gap: 6px; }
.pp-toc li a { font-size: 0.88rem; color: var(--c-text-muted); text-decoration: none; transition: color var(--transition); }
.pp-toc li a:hover { color: var(--c-gold); }

/* Article body */
.pp-body { padding-block: 40px 96px; }
.pp-section { margin-bottom: 52px; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.pp-section-num {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--c-gold); margin-bottom: 8px;
}
.pp-section-title {
  font-family: var(--f-display); font-size: 1.6rem; font-weight: 700;
  color: var(--c-white); line-height: 1.2; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--c-border);
}
.pp-section p { font-size: 0.93rem; color: var(--c-text-muted); line-height: 1.8; margin-bottom: 12px; }
.pp-section p:last-child { margin-bottom: 0; }
.pp-section ul, .pp-section ol { padding-left: 22px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 6px; }
.pp-section ul { list-style: disc; }
.pp-section ol { list-style: decimal; }
.pp-section li { font-size: 0.92rem; color: var(--c-text-muted); line-height: 1.7; }
.pp-section strong { color: var(--c-text); font-weight: 600; }
.pp-section a { color: var(--c-gold); text-decoration: underline; text-underline-offset: 3px; }
.pp-section a:hover { color: var(--c-gold-light); }

/* Highlight box */
.pp-highlight {
  border: 1px solid var(--c-border-hi);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  background: var(--c-gold-dim);
  margin-block: 16px;
}
.pp-highlight p { color: var(--c-text) !important; font-size: 0.9rem !important; margin: 0 !important; }

/* Cookie table */
.pp-table-wrap { overflow-x: auto; margin-block: 16px; border-radius: var(--r-md); border: 1px solid var(--c-border); }
.pp-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.pp-table th {
  background: var(--c-surface); color: var(--c-gold);
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 12px 14px; text-align: left; font-weight: 600;
  border-bottom: 1px solid var(--c-border);
}
.pp-table td {
  padding: 11px 14px; color: var(--c-text-muted);
  border-bottom: 1px solid var(--c-border); vertical-align: top;
}
.pp-table tr:last-child td { border-bottom: none; }
.pp-table tr:hover td { background: var(--c-surface); }

/* Cookie preferences button */
.manage-cookie-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--r-md);
  font-family: var(--f-body); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--c-gold-dim); color: var(--c-gold);
  border: 1px solid var(--c-border-hi);
  transition: all var(--transition); cursor: pointer; margin-top: 16px;
}
.manage-cookie-btn:hover {
  background: rgba(200,175,130,0.2); border-color: var(--c-gold);
  transform: translateY(-1px); color: var(--c-gold-light);
}
.manage-cookie-btn svg { width: 16px; height: 16px; }

/* Divider */
.pp-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  margin-block: 48px;
}

/* Footer */
.site-footer { background: var(--c-bg); border-top: 1px solid var(--c-border); padding-block: 40px 28px; }
.footer-inner { display: flex; flex-direction: column; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 50%; border: 1px solid var(--c-border-hi); }
.footer-company { font-family: var(--f-display); font-size: 1.1rem; font-weight: 700; color: var(--c-gold-light); }
.footer-tagline { font-size: 0.72rem; color: var(--c-text-muted); letter-spacing: 0.1em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-nav a { font-size: 0.8rem; font-weight: 500; color: var(--c-text-muted); text-decoration: none; transition: color var(--transition); }
.footer-nav a:hover { color: var(--c-gold); }
.footer-legal { border-top: 1px solid var(--c-border); padding-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.footer-legal p { font-size: 0.76rem; color: var(--c-text-dim); }

@media (min-width: 768px) {
  :root { --hdr-h: 72px; }
  .footer-inner { flex-direction: row; align-items: flex-start; }
  .footer-brand { flex: 1; flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-nav { flex-direction: column; gap: 8px; }
  .footer-legal { border-top: none; padding-top: 0; margin-left: auto; text-align: right; }
}

:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-surface-2); border-radius: 3px; }

/* Hide cookie floating icon */
#cookieMinimizeIcon { display: none !important; }
