/* ── Ordina — Estilos compartidos para páginas legales ─────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #1a2540; --blue: #4169e1; --blue-pale: #ebefff;
  --text: #1a2540; --text-2: #5a677d; --text-3: #8a97aa;
  --bg: #ffffff; --bg-soft: #f7f8fc;
  --border: #e8ebf2; --border-2: #cdd4e0;
  --shadow-sm: 0 1px 3px rgba(26,37,64,.07);
  --shadow-md: 0 4px 16px rgba(26,37,64,.10);
  --r: 16px;
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--bg);
       line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 5%; height: 68px;
      display: flex; align-items: center; justify-content: space-between;
      background: rgba(255,255,255,.95); backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-text { font-size: 1.1rem; font-weight: 700; letter-spacing: .08em; color: var(--navy); }
.nav-back { font-size: .88rem; font-weight: 500; color: var(--text-2); text-decoration: none;
            padding: 6px 14px; border-radius: 9px; border: 1.5px solid var(--border-2);
            display: flex; align-items: center; gap: 6px; transition: color .2s, border-color .2s, background .2s; }
.nav-back:hover { color: var(--navy); border-color: var(--blue); background: var(--blue-pale); }

/* ── LEGAL CONTENT ── */
.legal-page { padding: 112px 5% 96px; min-height: 80vh; }
.legal-wrap { max-width: 760px; margin: 0 auto; }

.legal-date { font-size: .8rem; color: var(--text-3); margin-bottom: 36px;
              display: inline-block; background: var(--bg-soft); padding: 5px 12px;
              border-radius: 999px; border: 1px solid var(--border); }
.legal-wrap h1 { font-family: 'DM Serif Display', serif;
                 font-size: clamp(1.85rem, 4vw, 2.6rem); color: var(--navy);
                 line-height: 1.2; margin-bottom: 12px; }
.legal-wrap h2 { font-family: 'DM Serif Display', serif; font-size: 1.3rem;
                 color: var(--navy); margin-top: 44px; margin-bottom: 14px;
                 padding-top: 20px; border-top: 1px solid var(--border); }
.legal-wrap h3 { font-size: .97rem; font-weight: 700; color: var(--navy);
                 margin-top: 22px; margin-bottom: 9px; }
.legal-wrap p { color: var(--text-2); font-size: .92rem; line-height: 1.78; margin-bottom: 14px; }
.legal-wrap ul, .legal-wrap ol { color: var(--text-2); font-size: .92rem;
                                  line-height: 1.78; margin-bottom: 14px; padding-left: 22px; }
.legal-wrap li { margin-bottom: 7px; }
.legal-wrap a { color: var(--blue); text-underline-offset: 3px; }
.legal-wrap a:hover { opacity: .8; }
.legal-wrap strong { color: var(--text); font-weight: 600; }

.legal-callout { background: var(--blue-pale); border: 1px solid rgba(65,105,225,.25);
                 border-radius: 12px; padding: 18px 22px; margin: 24px 0;
                 font-size: .88rem; color: var(--navy); line-height: 1.65; }
.legal-callout strong { color: var(--blue); }

.ph { background: #fff3cd; border-radius: 4px; padding: 1px 6px;
      font-size: .8rem; color: #7d5a00; border: 1px solid #ffe082;
      font-weight: 700; white-space: nowrap; }

/* Cookie table */
.cookie-table { width: 100%; border-collapse: collapse; font-size: .86rem;
                margin: 20px 0 28px; overflow-x: auto; display: block; }
.cookie-table th { background: var(--bg-soft); padding: 11px 14px; text-align: left;
                   font-weight: 700; color: var(--navy); border: 1px solid var(--border);
                   white-space: nowrap; }
.cookie-table td { padding: 11px 14px; color: var(--text-2); border: 1px solid var(--border);
                   vertical-align: top; line-height: 1.55; }
.cookie-table tr:hover td { background: var(--bg-soft); }

.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 9px;
         border-radius: 999px; letter-spacing: .04em; }
.badge-nec  { background: #e8f5e9; color: #2e7d32; }
.badge-pref { background: #e3f2fd; color: #1565c0; }
.badge-3rd  { background: #fff3e0; color: #e65100; }

/* ── FOOTER ── */
footer { background: #0f1829; color: rgba(255,255,255,.5); padding: 54px 5% 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 38px; margin-bottom: 44px; }
.footer-brand p { font-size: .86rem; line-height: 1.7; margin-top: 13px; max-width: 260px; }
.footer-col h4 { font-size: .79rem; font-weight: 700; color: rgba(255,255,255,.8);
                 letter-spacing: .05em; text-transform: uppercase; margin-bottom: 13px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,.45); font-size: .86rem; transition: color .2s; }
.footer-col a:hover { color: rgba(255,255,255,.85); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px;
                 display: flex; align-items: center; justify-content: space-between;
                 font-size: .79rem; flex-wrap: wrap; gap: 10px; }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-legal a { color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }
.footer-legal button { background: none; border: none; color: rgba(255,255,255,.35);
                        font-size: .79rem; cursor: pointer; font-family: 'DM Sans', sans-serif;
                        padding: 0; transition: color .2s; }
.footer-legal button:hover { color: rgba(255,255,255,.7); }

/* ── RESPONSIVE ── */
@media(max-width:900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .legal-page { padding: 100px 5% 60px; }
}
