        :root {
            --primary: #2563eb;
            --primary-dark: #1e40af;
            --accent: #f59e0b;
            --dark: #0f172a;
            --light: #f8fafc;
        }

        body {
            background-color: #f8fafc;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #334155;
            line-height: 1.7;
        }

        /* ========================================== */
        /* BOTÓN VOLVER                               */
        /* ========================================== */
        .back-home-link {
            position: absolute;
            top: 30px;
            left: 30px;
            display: inline-flex;
            align-items: center;
            color: #fff;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            padding: 10px 20px;
            border-radius: 10px;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .back-home-link:hover {
            background: rgba(255, 255, 255, 0.2);
            color: #fff;
            transform: translateX(-5px);
            text-decoration: none;
        }

        /* ========================================== */
        /* HEADER                                     */
        /* ========================================== */
        .cookies-header {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
            color: #fff;
            padding: 80px 0 60px;
            position: relative;
            overflow: hidden;
        }

        .cookies-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
            border-radius: 50%;
        }

        .cookies-header h1 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 15px;
            position: relative;
        }

        .cookies-header p.lead {
            font-size: 1.2rem;
            opacity: 0.9;
            position: relative;
            max-width: 700px;
            margin: 0 auto;
        }

        .cookies-header .badge-legal {
            background: var(--accent);
            color: #000;
            padding: 6px 16px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.85rem;
            display: inline-block;
            margin-bottom: 15px;
            position: relative;
        }

        .cookies-header .last-update {
            margin-top: 15px;
            font-size: 0.9rem;
            opacity: 0.8;
            position: relative;
        }

        /* ========================================== */
        /* LAYOUT PRINCIPAL                           */
        /* ========================================== */
        .cookies-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .cookies-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 40px;
        }

        /* ========================================== */
        /* SIDEBAR DE NAVEGACIÓN                      */
        /* ========================================== */
        .cookies-sidebar {
            position: sticky;
            top: 20px;
            align-self: start;
            background: #fff;
            border-radius: 16px;
            padding: 25px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            height: fit-content;
            max-height: calc(100vh - 40px);
            overflow-y: auto;
        }

        .cookies-sidebar h5 {
            font-size: 0.85rem;
            font-weight: 700;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 15px;
        }

        .cookies-sidebar ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .cookies-sidebar ul li {
            margin-bottom: 4px;
        }

        .cookies-sidebar ul li a {
            display: flex;
            align-items: center;
            padding: 10px 14px;
            border-radius: 8px;
            color: #475569;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9rem;
            transition: all 0.2s;
        }

        .cookies-sidebar ul li a:hover {
            background: #f1f5f9;
            color: var(--primary);
        }

        .cookies-sidebar ul li a.active {
            background: var(--primary);
            color: #fff;
        }

        .cookies-sidebar ul li a i {
            margin-right: 10px;
            width: 18px;
            text-align: center;
            font-size: 0.85rem;
        }

        /* ========================================== */
        /* CONTENIDO PRINCIPAL                        */
        /* ========================================== */
        .cookies-content {
            background: #fff;
            border-radius: 16px;
            padding: 40px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }

        .cookies-section {
            margin-bottom: 50px;
            scroll-margin-top: 20px;
        }

        .cookies-section:last-child {
            margin-bottom: 0;
        }

        .cookies-section h2 {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            padding-bottom: 12px;
            border-bottom: 2px solid #f1f5f9;
        }

        .cookies-section h2 i {
            color: var(--primary);
            margin-right: 12px;
            font-size: 1.5rem;
        }

        .cookies-section h3 {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--dark);
            margin-top: 25px;
            margin-bottom: 12px;
        }

        .cookies-section p {
            color: #475569;
            margin-bottom: 15px;
        }

        .cookies-section ul,
        .cookies-section ol {
            padding-left: 25px;
            margin-bottom: 15px;
        }

        .cookies-section li {
            margin-bottom: 8px;
            color: #475569;
        }

        .cookies-section strong {
            color: var(--dark);
        }

        .cookies-section a {
            color: var(--primary);
            text-decoration: none;
        }

        .cookies-section a:hover {
            text-decoration: underline;
        }

        /* Cajas informativas */
        .info-box {
            background: #eff6ff;
            border-left: 4px solid var(--primary);
            padding: 16px 20px;
            border-radius: 8px;
            margin: 20px 0;
        }

        .warning-box {
            background: #fef3c7;
            border-left: 4px solid var(--accent);
            padding: 16px 20px;
            border-radius: 8px;
            margin: 20px 0;
        }

        .success-box {
            background: #d1fae5;
            border-left: 4px solid #10b981;
            padding: 16px 20px;
            border-radius: 8px;
            margin: 20px 0;
        }

        .info-box strong,
        .warning-box strong,
        .success-box strong {
            display: block;
            margin-bottom: 5px;
            color: var(--dark);
        }

        /* Tabla de cookies */
        .cookies-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            background: #f8fafc;
            border-radius: 12px;
            overflow: hidden;
        }

        .cookies-table thead {
            background: var(--primary);
            color: #fff;
        }

        .cookies-table th,
        .cookies-table td {
            padding: 12px 16px;
            text-align: left;
            border-bottom: 1px solid #e2e8f0;
        }

        .cookies-table th {
            font-weight: 600;
            font-size: 0.9rem;
        }

        .cookies-table td {
            color: #475569;
            font-size: 0.95rem;
        }

        .cookies-table tbody tr:last-child td {
            border-bottom: none;
        }

        .cookies-table tbody tr:hover {
            background: #fff;
        }

        /* Grid de tipos de cookies */
        .cookie-types-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin: 20px 0;
        }

        .cookie-type-card {
            background: #f8fafc;
            border-radius: 12px;
            padding: 25px;
            border-left: 4px solid var(--primary);
            transition: all 0.3s;
        }

        .cookie-type-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        }

        .cookie-type-card h4 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
        }

        .cookie-type-card h4 i {
            color: var(--primary);
            margin-right: 10px;
        }

        .cookie-type-card p {
            color: #64748b;
            font-size: 0.95rem;
            margin: 0;
            line-height: 1.6;
        }

        .cookie-type-card .duration {
            display: inline-block;
            background: #dbeafe;
            color: var(--primary);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-top: 10px;
        }

        /* Navegadores */
        .browser-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 20px 0;
        }

        .browser-card {
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            border-radius: 12px;
            padding: 25px;
            border: 2px solid #bae6fd;
        }

        .browser-card h4 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
        }

        .browser-card h4 i {
            margin-right: 10px;
            font-size: 1.3rem;
        }

        .browser-card ol {
            margin: 0;
            padding-left: 20px;
        }

        .browser-card li {
            margin-bottom: 6px;
            font-size: 0.9rem;
        }

        /* Contacto */
        .contact-card {
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            border-radius: 12px;
            padding: 30px;
            margin-top: 20px;
            border: 2px solid #bae6fd;
        }

        .contact-card h3 {
            margin-top: 0;
            color: var(--dark);
        }

        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
            color: #334155;
        }

        .contact-item i {
            width: 30px;
            height: 30px;
            background: var(--primary);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .contact-item strong {
            margin-right: 8px;
        }

        /* ========================================== */
        /* RESPONSIVE                                 */
        /* ========================================== */
        @media (max-width: 992px) {
            .cookies-layout {
                grid-template-columns: 1fr;
            }

            .cookies-sidebar {
                position: static;
                max-height: none;
            }

            .cookies-sidebar ul {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 5px;
            }
        }

        @media (max-width: 768px) {
            .cookies-header h1 {
                font-size: 2rem;
            }

            .cookies-content {
                padding: 25px 20px;
            }

            .cookies-section h2 {
                font-size: 1.4rem;
            }

            .cookies-sidebar ul {
                grid-template-columns: 1fr;
            }

            .back-home-link {
                top: 20px;
                left: 20px;
                padding: 8px 15px;
                font-size: 0.85rem;
            }

            .cookie-types-grid,
            .browser-grid {
                grid-template-columns: 1fr;
            }

            .cookies-table {
                font-size: 0.85rem;
            }

            .cookies-table th,
            .cookies-table td {
                padding: 8px 10px;
            }
        }