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

:root {
  --dark: #2D3047;
  --red: #E8302A;
  --light: #F7F7F5;
  --text-muted: #777;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: #fff;
  font-size: 17px;
  line-height: 1.7;
}

.som-cambra { font-weight: 700; }

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.legal-nav img { height: 32px; display: block; }

.legal-nav a.back {
  color: var(--dark);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.65;
  transition: opacity .2s;
}

.legal-nav a.back:hover { opacity: 1; }

.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.legal-main h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--dark);
}

.legal-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-main h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin: 36px 0 12px;
  letter-spacing: -0.2px;
}

.legal-main h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin: 24px 0 8px;
}

.legal-main p,
.legal-main li {
  color: #444;
  margin-bottom: 14px;
}

.legal-main ul {
  margin: 0 0 16px 1.2em;
}

.legal-main a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

.legal-main a:hover { text-decoration: underline; }

.legal-data {
  background: var(--light);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 16px 0 24px;
  font-size: 16px;
  line-height: 1.8;
}

.legal-data strong { color: var(--dark); font-weight: 700; }

.legal-footer {
  background: var(--dark);
  padding: 32px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.legal-footer img {
  height: 24px;
  filter: brightness(0) invert(1);
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-footer-links a {
  color: rgba(255,255,255,0.35);
  font-size: 14px;
  text-decoration: none;
}

.legal-footer-links a:hover { color: rgba(255,255,255,0.65); }

.legal-footer-copy {
  color: rgba(255,255,255,0.25);
  font-size: 14px;
  width: 100%;
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  box-shadow: 0 -8px 32px rgba(45,48,71,0.1);
  padding: 20px 24px;
  transform: translateY(110%);
  transition: transform .35s ease;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 240px;
  font-size: 15px;
  color: #555;
  line-height: 1.55;
}

.cookie-banner-text a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

.cookie-banner-text a:hover { text-decoration: underline; }

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: background .2s;
}

.cookie-btn-accept {
  background: var(--red);
  color: #fff;
}

.cookie-btn-accept:hover { background: #c8271f; }

.cookie-btn-info {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid rgba(45,48,71,0.2);
}

.cookie-btn-info:hover { background: var(--light); }

@media (max-width: 768px) {
  .legal-nav { padding: 14px 20px; }
  .legal-main { padding: 40px 20px 64px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}
