*,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        :root {
            --primary: #a855f7;
            --primary-dark: #7c3aed;
            --primary-glow: rgba(168, 85, 247, 0.4);
            --secondary: #06b6d4;
            --accent: #f0abfc;
            --bg-deep: #0a0010;
            --glass-bg: rgba(255, 255, 255, 0.04);
            --glass-border: rgba(168, 85, 247, 0.25);
            --text-primary: #f5f0ff;
            --text-secondary: rgba(245, 240, 255, 0.60);
            --text-muted: rgba(245, 240, 255, 0.38);
        }

        html,
        body {
            font-family: 'Outfit', sans-serif;
            background: var(--bg-deep);
            color: var(--text-primary);
            line-height: 1.7;
            scroll-behavior: smooth;
        }

        /* Fondo animado */
        .bg-scene {
            position: fixed;
            inset: 0;
            z-index: 0;
            background:
                radial-gradient(ellipse 80% 70% at 20% 80%, rgba(124, 58, 237, .22) 0%, transparent 60%),
                radial-gradient(ellipse 60% 50% at 80% 20%, rgba(6, 182, 212, .12) 0%, transparent 60%),
                linear-gradient(160deg, #0a0010 0%, #120020 50%, #0d0018 100%);
        }

        .smoke {
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            opacity: 0;
            animation: float-up linear infinite;
            pointer-events: none;
        }

        .smoke:nth-child(1) {
            width: 300px;
            height: 300px;
            background: rgba(168, 85, 247, .10);
            left: 10%;
            animation-duration: 14s;
            animation-delay: 0s;
        }

        .smoke:nth-child(2) {
            width: 200px;
            height: 200px;
            background: rgba(6, 182, 212, .08);
            left: 40%;
            animation-duration: 18s;
            animation-delay: 4s;
        }

        .smoke:nth-child(3) {
            width: 260px;
            height: 260px;
            background: rgba(168, 85, 247, .07);
            left: 65%;
            animation-duration: 12s;
            animation-delay: 7s;
        }

        .smoke:nth-child(4) {
            width: 180px;
            height: 180px;
            background: rgba(240, 171, 252, .08);
            left: 85%;
            animation-duration: 20s;
            animation-delay: 2s;
        }

        @keyframes float-up {
            0% {
                transform: translateY(110vh) scale(.6);
                opacity: 0;
            }

            15% {
                opacity: .8;
            }

            85% {
                opacity: .5;
            }

            100% {
                transform: translateY(-15vh) scale(1.4);
                opacity: 0;
            }
        }

        .bg-grid {
            position: fixed;
            inset: 0;
            z-index: 0;
            background-image:
                linear-gradient(rgba(168, 85, 247, .03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(168, 85, 247, .03) 1px, transparent 1px);
            background-size: 60px 60px;
        }

        /* Layout */
        .page-wrapper {
            position: relative;
            z-index: 1;
            max-width: 860px;
            margin: 0 auto;
            padding: 48px 24px 80px;
        }

        /* Header */
        .site-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 48px;
            padding-bottom: 24px;
            border-bottom: 1px solid var(--glass-border);
        }

        .brand-link {
            text-decoration: none;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .brand-name {
            font-size: 1.6rem;
            font-weight: 800;
            letter-spacing: -.5px;
            background: linear-gradient(90deg, #e9d5ff, #a855f7, #06b6d4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .brand-tagline {
            font-size: .72rem;
            color: var(--text-muted);
            letter-spacing: .5px;
        }

        .back-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            color: var(--text-secondary);
            font-size: .85rem;
            font-weight: 500;
            padding: 8px 16px;
            border: 1px solid var(--glass-border);
            border-radius: 10px;
            background: var(--glass-bg);
            backdrop-filter: blur(12px);
            transition: color .2s, border-color .2s, background .2s, transform .15s;
        }

        .back-btn:hover {
            color: var(--primary);
            border-color: var(--primary);
            background: rgba(168, 85, 247, .08);
            transform: translateY(-1px);
        }

        .back-btn svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
        }

        /* Hero */
        .doc-hero {
            text-align: center;
            margin-bottom: 48px;
            padding: 40px 32px;
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            backdrop-filter: blur(20px);
            box-shadow: 0 0 60px rgba(168, 85, 247, .06) inset, 0 24px 60px rgba(0, 0, 0, .4);
        }

        .doc-hero-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 72px;
            height: 72px;
            border-radius: 20px;
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            box-shadow: 0 8px 32px var(--primary-glow);
            margin-bottom: 20px;
        }

        .doc-hero-icon svg {
            width: 36px;
            height: 36px;
            stroke: #fff;
            fill: none;
            stroke-width: 1.8;
        }

        .doc-title {
            font-size: 2rem;
            font-weight: 800;
            letter-spacing: -.5px;
            background: linear-gradient(90deg, #e9d5ff, #a855f7, #06b6d4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 10px;
        }

        .doc-meta {
            font-size: .82rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        .doc-meta span {
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .doc-meta svg {
            width: 14px;
            height: 14px;
            stroke: var(--primary);
            fill: none;
            stroke-width: 2;
        }

        /* TOC */
        .toc-card {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 18px;
            padding: 28px 32px;
            margin-bottom: 40px;
            backdrop-filter: blur(16px);
        }

        .toc-title {
            font-size: 1rem;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .toc-title svg {
            width: 18px;
            height: 18px;
            stroke: var(--accent);
            fill: none;
            stroke-width: 2;
        }

        .toc-list {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 6px 20px;
        }

        .toc-list li a {
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            color: var(--text-secondary);
            font-size: .85rem;
            padding: 5px 0;
            transition: color .2s;
        }

        .toc-list li a:hover {
            color: var(--primary);
        }

        .toc-num {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 22px;
            height: 22px;
            background: rgba(168, 85, 247, .15);
            border-radius: 6px;
            font-size: .72rem;
            font-weight: 700;
            color: var(--primary);
            flex-shrink: 0;
        }

        /* Secciones */
        .section {
            margin-bottom: 36px;
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 32px 36px;
            backdrop-filter: blur(16px);
            scroll-margin-top: 24px;
            transition: border-color .3s;
        }

        .section:hover {
            border-color: rgba(168, 85, 247, .4);
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 1px solid rgba(168, 85, 247, .15);
        }

        .section-num {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            border-radius: 10px;
            font-size: .85rem;
            font-weight: 800;
            color: #fff;
            flex-shrink: 0;
            box-shadow: 0 4px 16px rgba(168, 85, 247, .3);
        }

        .section-title {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text-primary);
        }

        p {
            color: var(--text-secondary);
            font-size: .93rem;
            margin-bottom: 14px;
        }

        p:last-child {
            margin-bottom: 0;
        }

        strong {
            color: var(--text-primary);
            font-weight: 600;
        }

        a {
            color: var(--accent);
            text-decoration: underline;
            text-decoration-style: dotted;
            transition: color .2s;
        }

        a:hover {
            color: var(--primary);
        }

        /* Listas */
        .data-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin: 16px 0;
        }

        .data-list li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: .9rem;
            color: var(--text-secondary);
            padding: 10px 14px;
            background: rgba(168, 85, 247, .05);
            border: 1px solid rgba(168, 85, 247, .12);
            border-radius: 10px;
        }

        .data-list li .bullet {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--primary);
            flex-shrink: 0;
            margin-top: 6px;
        }

        /* Tarjetas de derechos */
        .rights-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 12px;
            margin: 16px 0;
        }

        .right-card {
            background: rgba(168, 85, 247, .06);
            border: 1px solid rgba(168, 85, 247, .18);
            border-radius: 12px;
            padding: 16px;
        }

        .right-card-title {
            font-size: .88rem;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 5px;
        }

        .right-card-desc {
            font-size: .8rem;
            color: var(--text-secondary);
            line-height: 1.5;
        }

        /* Tabla cookies */
        .cookie-table {
            width: 100%;
            border-collapse: collapse;
            font-size: .83rem;
            margin: 16px 0;
            border-radius: 12px;
            overflow: hidden;
        }

        .cookie-table thead tr {
            background: linear-gradient(90deg, rgba(124, 58, 237, .4), rgba(168, 85, 247, .3));
        }

        .cookie-table th {
            padding: 12px 16px;
            text-align: left;
            font-weight: 700;
            color: var(--accent);
            font-size: .8rem;
            letter-spacing: .4px;
        }

        .cookie-table td {
            padding: 11px 16px;
            color: var(--text-secondary);
            border-bottom: 1px solid rgba(168, 85, 247, .08);
        }

        .cookie-table tbody tr:last-child td {
            border-bottom: none;
        }

        .cookie-table tbody tr:hover td {
            background: rgba(168, 85, 247, .05);
        }

        .cookie-type {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 6px;
            font-size: .74rem;
            font-weight: 600;
        }

        .cookie-type.technical {
            background: rgba(52, 211, 153, .15);
            color: #34d399;
        }

        .cookie-type.analytics {
            background: rgba(251, 191, 36, .12);
            color: #fbbf24;
        }

        .cookie-type.functional {
            background: rgba(168, 85, 247, .15);
            color: var(--accent);
        }

        /* Alertas */
        .alert {
            display: flex;
            gap: 12px;
            padding: 14px 16px;
            border-radius: 12px;
            margin: 18px 0;
            font-size: .87rem;
        }

        .alert svg {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            stroke-width: 2;
            fill: none;
            margin-top: 1px;
        }

        .alert-info {
            background: rgba(6, 182, 212, .08);
            border: 1px solid rgba(6, 182, 212, .25);
            color: rgba(6, 182, 212, .9);
        }

        .alert-info svg {
            stroke: #06b6d4;
        }

        .alert-warning {
            background: rgba(251, 191, 36, .07);
            border: 1px solid rgba(251, 191, 36, .2);
            color: rgba(251, 191, 36, .9);
        }

        .alert-warning svg {
            stroke: #fbbf24;
        }

        .alert-age {
            background: rgba(248, 113, 113, .07);
            border: 1px solid rgba(248, 113, 113, .25);
            color: rgba(248, 113, 113, .9);
        }

        .alert-age svg {
            stroke: #f87171;
        }

        /* Contact card */
        .contact-card {
            background: linear-gradient(135deg, rgba(124, 58, 237, .2), rgba(6, 182, 212, .12));
            border: 1px solid rgba(168, 85, 247, .35);
            border-radius: 18px;
            padding: 28px 32px;
            margin-top: 40px;
            text-align: center;
            box-shadow: 0 0 60px rgba(168, 85, 247, .1) inset;
        }

        .contact-card h2 {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 8px;
            background: linear-gradient(90deg, #e9d5ff, #a855f7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .contact-card p {
            margin-bottom: 20px;
        }

        .contact-email {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            color: #fff;
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            padding: 12px 24px;
            border-radius: 12px;
            font-weight: 600;
            font-size: .92rem;
            box-shadow: 0 4px 20px rgba(168, 85, 247, .35);
            transition: transform .15s, box-shadow .2s;
        }

        .contact-email:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(168, 85, 247, .5);
            color: #fff;
            text-decoration: none;
        }

        .contact-email svg {
            width: 16px;
            height: 16px;
            stroke: #fff;
            fill: none;
            stroke-width: 2;
        }

        /* Footer */
        .page-footer {
            text-align: center;
            margin-top: 56px;
            padding-top: 28px;
            border-top: 1px solid var(--glass-border);
            color: var(--text-muted);
            font-size: .8rem;
        }

        .page-footer a {
            color: var(--text-secondary);
            margin: 0 8px;
        }

        /* Responsive */
        @media (max-width: 640px) {
            .page-wrapper {
                padding: 28px 16px 60px;
            }

            .site-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 16px;
            }

            .doc-hero {
                padding: 28px 20px;
            }

            .doc-title {
                font-size: 1.5rem;
            }

            .section {
                padding: 24px 20px;
            }

            .toc-card {
                padding: 22px 20px;
            }

            .toc-list {
                grid-template-columns: 1fr;
            }

            .rights-grid {
                grid-template-columns: 1fr;
            }

            .cookie-table {
                font-size: .76rem;
            }

            .cookie-table th,
            .cookie-table td {
                padding: 9px 10px;
            }

            .contact-card {
                padding: 22px 18px;
            }
        }